Skip to content

Commit 466e6bd

Browse files
authored
Merge pull request #30 from Onemind-Services-LLC/feat/nb341
Updated spec as per v3.4.1
2 parents b93f086 + 8844612 commit 466e6bd

File tree

477 files changed

+13626
-2289
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

477 files changed

+13626
-2289
lines changed

CHANGES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change Log
22

3+
## 3.1.0
4+
5+
- Updated spec as per v3.4.7
6+
37
## 3.0.7
48

59
- Add @abhi1693 as code owner.

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,28 @@ http://<ip-address>:<port>/netbox/webhooks/
6363
6464
**Note:** the sensor does not support HTTPS but this could be accomplished by fronting the sensor with Nginx/Apache/etc, which would terminate the SSL connection and then proxy the request to the sensor over HTTP.
6565
66+
# How to update the pack
67+
68+
The pack is auto generated from the NetBox OpenAPI (Swagger) spec file. To update the pack, follow these steps:
69+
70+
1. Create a virtual environment and install the required dependencies:
71+
```shell
72+
virtualenv -p python3 venv
73+
source venv/bin/activate
74+
pip install -r requirements.txt
75+
```
76+
77+
2. Change to `bin` directory and run the `generate.py` script:
78+
```shell
79+
cd bin
80+
python generate.py --https --port 443 demo.netbox.dev
81+
```
82+
83+
3. Update the `CHANGES.md` file with the new version of NetBox that was used to generate the pack.
84+
4. Update the `pack.yaml` file with the new version of NetBox that was used to generate the pack.
85+
5. Commit the changes and create a pull request.
86+
6. Once the pull request is merged, a new version of the pack will be released to the StackStorm Exchange.
87+
6688
## Maintainers
6789

6890
Active pack maintainers with review & write repository access and expertise with Netbox:

actions/delete.circuits.circuit_terminations.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This action was auto generated from the NetBox API Swagger Spec
2-
# NetBox API version: 3.1
2+
# NetBox API version: 3.4
33
description: "DELETE Circuit Terminations"
44
enabled: true
55
entry_point: run.py

actions/delete.circuits.circuit_types.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This action was auto generated from the NetBox API Swagger Spec
2-
# NetBox API version: 3.1
2+
# NetBox API version: 3.4
33
description: "DELETE Circuit Types"
44
enabled: true
55
entry_point: run.py

actions/delete.circuits.circuits.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This action was auto generated from the NetBox API Swagger Spec
2-
# NetBox API version: 3.1
2+
# NetBox API version: 3.4
33
description: "DELETE Circuits"
44
enabled: true
55
entry_point: run.py

actions/delete.circuits.provider_networks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This action was auto generated from the NetBox API Swagger Spec
2-
# NetBox API version: 3.1
2+
# NetBox API version: 3.4
33
description: "DELETE Provider Networks"
44
enabled: true
55
entry_point: run.py

actions/delete.circuits.providers.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This action was auto generated from the NetBox API Swagger Spec
2-
# NetBox API version: 3.1
2+
# NetBox API version: 3.4
33
description: "DELETE Providers"
44
enabled: true
55
entry_point: run.py
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# This action was auto generated from the NetBox API Swagger Spec
2+
# NetBox API version: 3.4
3+
description: "DELETE Cable Terminations"
4+
enabled: true
5+
entry_point: run.py
6+
name: delete.dcim.cable_terminations
7+
parameters:
8+
endpoint_uri:
9+
default: "/dcim/cable-terminations/{{ id }}/"
10+
immutable: true
11+
type: string
12+
http_verb:
13+
default: delete
14+
immutable: true
15+
type: string
16+
get_detail_route_eligible:
17+
default: true
18+
immutable: true
19+
type: boolean
20+
id:
21+
required: true
22+
type: string
23+
description: "ID of the object to delete."
24+
runner_type: python-script

actions/delete.dcim.cables.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This action was auto generated from the NetBox API Swagger Spec
2-
# NetBox API version: 3.1
2+
# NetBox API version: 3.4
33
description: "DELETE Cables"
44
enabled: true
55
entry_point: run.py

actions/delete.dcim.console_port_templates.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This action was auto generated from the NetBox API Swagger Spec
2-
# NetBox API version: 3.1
2+
# NetBox API version: 3.4
33
description: "DELETE Console Port Templates"
44
enabled: true
55
entry_point: run.py

0 commit comments

Comments
 (0)