Commit graph

182 commits

Author SHA1 Message Date
Ben Claussen
0fd989c82a Merge branch 'dev' of https://github.com/benclaussen/NetboxPS into dev 2023-03-17 15:29:29 -04:00
James Beck
d441a1ddac
Device port support (#44)
* Fixing #41

* Correct for OTBS

* Start work on Front and Rear ports

* Revert "Start work on Front and Rear ports"

This reverts commit 257709fe2af5af5fbe4496b2d5b68481d80bf101.

* Fixing #41

* Add-NetboxDCIMRearPort function

* Revert "Revert "Start work on Front and Rear ports""

This reverts commit 4f6625af2d.

* Fix incorrect parameter variable types

* Parameter type adjustments

* Create function to get tag information

* Added Mark_Connected parameter

* Add Set-NetboxDCIMRearPort function

* Added Remove-NetboxDCIMRearPort function

* Added validate pattern for Color parameter

* Added Add-NetboxDCIMFrontPort function

* Fixed param list missing Force parameter

* Added Set-NetboxDCIMFrontPort function

* Added Remove-NetboxDCIMFrontPort function

* Init. functions for cables and cable terminations

* Reformatting using OTBS
Also working on defining tags by slug as an extra parameter, which appears
only in Add-NetboxDCIMRearPort currently

* Remove Tags_Slug parameter
In hindsight implementing would create extra work that could be hard to
maintain. Can be easily achieved outside of the function.
2023-03-17 15:27:55 -04:00
Ben Claussen
7caf1a1d93 Merge branch 'master' of https://github.com/benclaussen/NetboxPS into dev 2023-03-13 09:57:58 -04:00
Ben Claussen
29dd7ac038
v1.7.3 (#43)
* Fixing Interface Type parameter (#42) @SheffSix 

* Fixing #41

* Update `deploy.ps1` to remove trailing whitespaces from psd1

* Increase version to 1.7.3

* Fix location of whitespace cleanup in `deploy.ps1`

---------

Co-authored-by: SheffSix <jbeck1867@gmail.com>
Co-authored-by: Ben Claussen <benclaussen@gmail.com>
2023-03-13 09:53:15 -04:00
Ben Claussen
eb4d0eeb3b Fix location of whitespace cleanup in deploy.ps1 2023-03-13 09:49:31 -04:00
Ben Claussen
6f4309aa04 Increase version to 1.7.3 2023-03-13 09:42:30 -04:00
Ben Claussen
5421febdd1 Update deploy.ps1 to remove trailing whitespaces from psd1 2023-03-13 09:42:08 -04:00
SheffSix
a4c1886a23
Fixing Interface Type parameter (#42)
* Fixing #41
2023-03-13 09:26:25 -04:00
Ben Claussen
441b06eb04 Update version to 1.7.2 2023-03-10 14:42:39 -05:00
Ben Claussen
5d6fb23e91 Add Invoke-PSScriptAnalyzer call to remove whitespace from files 2023-03-10 14:39:29 -05:00
Ben Claussen
e2a5157790 Remove whitespace 2023-03-10 14:37:49 -05:00
Ben Claussen
27209d6917 Remove references to ValidateDCIMChoice for #40 2023-03-10 14:37:35 -05:00
Ben Claussen
6965f61e6e Add Test-NetboxAPIConnected 2023-03-10 12:20:14 -05:00
Ben Claussen
ddf0a081b4 Remove whitespace 2023-02-24 15:14:04 -05:00
Ben Claussen
d09e20baee Fix conflicts for #38 2023-02-24 13:26:38 -05:00
Ben Claussen
7925db838f Increment version to 1.7.1 2023-02-24 12:13:24 -05:00
Ben Claussen
3e0d817267 Fix order of operations for Connect-NetboxAPI
- Move successful connection boolean declaration before call to Get-NetboxContentType
2023-02-24 12:12:54 -05:00
Ben Claussen
010fb0410b Increment version to 1.7.0 2023-02-24 11:51:04 -05:00
Ben Claussen
44dc6c86a2 Update deploy.ps1 2023-02-24 11:46:06 -05:00
Ben Claussen
5b7f0c658b Merge branch 'contact_functions' into dev 2023-02-24 11:42:39 -05:00
Ben Claussen
5333d10ce0 Merge commit '356bd71ac852c3ab0ecf945e5322a0d5157ed7a8' into dev 2023-02-24 11:41:53 -05:00
Ben Claussen
f289854ddf Merge branch 'dev' of https://github.com/benclaussen/NetboxPS into dev 2023-02-24 11:39:57 -05:00
Ben Claussen
1fed2d27e6 Fix #28
- Set DefaultParameterSetName = Query
2023-02-24 10:28:16 -05:00
Ben Claussen
c1a0675b02 Update psproj 2023-02-24 10:23:27 -05:00
Ben Claussen
6654f798b0 Add Set-NetboxContact 2023-02-24 10:23:10 -05:00
Ben Claussen
aa444871a4 Update psproj 2023-02-16 15:05:28 -05:00
Ben Claussen
1f3626f319 Update test version to 1.6.0 2023-02-16 09:49:13 -05:00
Ben Claussen
356bd71ac8 Remove invalid logic from deploy.ps1 2023-02-16 09:48:35 -05:00
Ben Claussen
f5c94b206f Update psproj 2023-02-16 09:48:06 -05:00
Ben Claussen
35916a5ab7 Add New-NetboxContactAssignment 2023-02-16 09:47:00 -05:00
Ben Claussen
c47d787447 Add Get-NetboxContactAssignment 2023-02-16 09:46:27 -05:00
Ben Claussen
1ec38d3da2 Add call to Get-NetboxContentType in Connect-NetboxAPI and NetboxConfigVariable storage 2023-02-16 09:45:51 -05:00
Ben Claussen
4a0bd1d2d0 Add Get-NetboxContentType 2023-02-16 09:44:29 -05:00
Ben Claussen
8b8ca091b1 Update psproj 2023-02-15 15:50:05 -05:00
Ben Claussen
b720c03851 Add New-NetboxTenant function 2023-02-15 15:49:49 -05:00
Ben Claussen
c0e18ec134 Move Get-NetboxTenant file to Tenancy/Tenants folder 2023-02-15 15:49:29 -05:00
Ben Claussen
049745554e Update psproj 2023-02-15 15:43:12 -05:00
Ben Claussen
c91d5fd32c Add New-NetboxContactRole function 2023-02-15 15:42:37 -05:00
Ben Claussen
458a4ae7c2 Add New-NetboxContact function 2023-02-15 15:42:09 -05:00
Ben Claussen
6dd82ee688 Add Get-NetboxContactRole function 2023-02-15 15:40:59 -05:00
Ben Claussen
d85f675469 Add Get-NetboxContact function 2023-02-15 15:39:36 -05:00
Alexis La Goutte
d7c008871d
Tests (integration) DCIM (#34)
* Tests: Add Initial support of Integration (using Pester v5)

* Site: Add Tests for New/Get/Remove (DCIM) Site
2022-12-06 13:49:35 -05:00
weidi
ea75e796ef
Add Basic usage in README.md (#30) 2022-12-06 13:48:46 -05:00
Claussen
6b8caf0bd7 1.5.6 - production function exports 2022-12-06 13:36:44 -05:00
Claussen
e7a67328bf 1.5.5 2022-12-06 13:35:56 -05:00
Claussen
ff0c0127cd Add explicit FunctionsToExport 2022-12-06 13:35:47 -05:00
Claussen
c3621f237e Remove unnecessary file headers 2022-12-06 13:34:52 -05:00
Ben Claussen
cad361c1b4 Update deploy.ps1 with new logic 2022-12-01 09:46:13 -05:00
Ben Claussen
cd0d6383e6 Update parent parameter type to string 2022-11-29 11:28:11 -05:00
Ben Claussen
7aedcf8338 Add Site parameter and validation logic 2022-11-28 15:45:19 -05:00