Skip to content

Commit 4dc0ed3

Browse files
authored
Merge pull request #20 from Onemind-Services-LLC/feat/v3
Regenerated files for v3.1
2 parents 6adeed8 + c29249f commit 4dc0ed3

File tree

440 files changed

+27715
-4919
lines changed

Some content is hidden

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

440 files changed

+27715
-4919
lines changed

CHANGES.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
# Change Log
22

3-
## 1.0.0
3+
## 3.0.0
4+
5+
- Updated actions generated to cover all routes available in the NetBox 3.1 API.
6+
7+
## 2.0.0
48

5-
* Drop Python 2.7 support
9+
- Drop Python 2.7 support
610

711
## 1.1.1
812
- Version bump to fix tagging issue, no code changes.
@@ -11,9 +15,11 @@
1115
- Added the `netbox_webhooks` sensor which listens for inbound webhooks from NetBox and fires triggers into StackStorm.
1216

1317
## 1.0.0
18+
1419
- Added script in `/bin` to auto generate all action meta definitions based on the NetBox OpenAPI (Swagger) spec.
1520
- All actions rewritten (auto generated) based on the new mechanism. Note existing actions have been renamed (see Breaking changes)
1621
- New actions generated to cover all routes available in the NetBox 2.4 API.
22+
1723
### Breaking changes
1824
- All pre-existing actions have been renamed to conform to a new, consistent naming scheme. That scheme is `<http_verb>.<app>.<route>`
1925

actions/delete.circuits.circuit_terminations.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This action was auto generated from the NetBox API Swagger Spec
2-
# NetBox API version: 2.4
3-
# Date: 2018-11-08 00:21:23.137165
2+
# NetBox API version: 3.1
3+
# Date: 2022-01-01 21:28:49.004667
44
description: "DELETE Circuit Terminations"
55
enabled: true
66
entry_point: run.py
@@ -15,11 +15,11 @@ parameters:
1515
immutable: true
1616
type: string
1717
get_detail_route_eligible:
18-
default: True
18+
default: true
1919
immutable: true
2020
type: boolean
2121
id:
2222
required: True
23-
type: "integer"
23+
type: "string"
2424
description: "ID of the object to delete."
25-
runner_type: python-script
25+
runner_type: python-script

actions/delete.circuits.circuit_types.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This action was auto generated from the NetBox API Swagger Spec
2-
# NetBox API version: 2.4
3-
# Date: 2018-11-08 00:21:23.115994
2+
# NetBox API version: 3.1
3+
# Date: 2022-01-01 21:28:49.005310
44
description: "DELETE Circuit Types"
55
enabled: true
66
entry_point: run.py
@@ -15,11 +15,11 @@ parameters:
1515
immutable: true
1616
type: string
1717
get_detail_route_eligible:
18-
default: True
18+
default: true
1919
immutable: true
2020
type: boolean
2121
id:
2222
required: True
23-
type: "integer"
23+
type: "string"
2424
description: "ID of the object to delete."
25-
runner_type: python-script
25+
runner_type: python-script

actions/delete.circuits.circuits.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This action was auto generated from the NetBox API Swagger Spec
2-
# NetBox API version: 2.4
3-
# Date: 2018-11-08 00:21:23.117062
2+
# NetBox API version: 3.1
3+
# Date: 2022-01-01 21:28:49.006162
44
description: "DELETE Circuits"
55
enabled: true
66
entry_point: run.py
@@ -15,11 +15,11 @@ parameters:
1515
immutable: true
1616
type: string
1717
get_detail_route_eligible:
18-
default: True
18+
default: true
1919
immutable: true
2020
type: boolean
2121
id:
2222
required: True
23-
type: "integer"
23+
type: "string"
2424
description: "ID of the object to delete."
25-
runner_type: python-script
25+
runner_type: python-script
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# This action was auto generated from the NetBox API Swagger Spec
2+
# NetBox API version: 3.1
3+
# Date: 2022-01-01 21:28:49.006703
4+
description: "DELETE Provider Networks"
5+
enabled: true
6+
entry_point: run.py
7+
name: delete.circuits.provider_networks
8+
parameters:
9+
endpoint_uri:
10+
default: "/circuits/provider-networks/{{ id }}/"
11+
immutable: true
12+
type: string
13+
http_verb:
14+
default: delete
15+
immutable: true
16+
type: string
17+
get_detail_route_eligible:
18+
default: true
19+
immutable: true
20+
type: boolean
21+
id:
22+
required: True
23+
type: "string"
24+
description: "ID of the object to delete."
25+
runner_type: python-script

actions/delete.circuits.providers.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This action was auto generated from the NetBox API Swagger Spec
2-
# NetBox API version: 2.4
3-
# Date: 2018-11-08 00:21:23.069204
2+
# NetBox API version: 3.1
3+
# Date: 2022-01-01 21:28:49.007452
44
description: "DELETE Providers"
55
enabled: true
66
entry_point: run.py
@@ -15,11 +15,11 @@ parameters:
1515
immutable: true
1616
type: string
1717
get_detail_route_eligible:
18-
default: True
18+
default: true
1919
immutable: true
2020
type: boolean
2121
id:
2222
required: True
23-
type: "integer"
23+
type: "string"
2424
description: "ID of the object to delete."
25-
runner_type: python-script
25+
runner_type: python-script
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
# This action was auto generated from the NetBox API Swagger Spec
2-
# NetBox API version: 2.4
3-
# Date: 2018-11-08 00:21:23.137612
4-
description: "DELETE Graphs"
2+
# NetBox API version: 3.1
3+
# Date: 2022-01-01 21:28:49.008291
4+
description: "DELETE Cables"
55
enabled: true
66
entry_point: run.py
7-
name: delete.extras.graphs
7+
name: delete.dcim.cables
88
parameters:
99
endpoint_uri:
10-
default: "/extras/graphs/{{ id }}/"
10+
default: "/dcim/cables/{{ id }}/"
1111
immutable: true
1212
type: string
1313
http_verb:
1414
default: delete
1515
immutable: true
1616
type: string
1717
get_detail_route_eligible:
18-
default: True
18+
default: true
1919
immutable: true
2020
type: boolean
2121
id:
2222
required: True
23-
type: "integer"
23+
type: "string"
2424
description: "ID of the object to delete."
25-
runner_type: python-script
25+
runner_type: python-script

actions/delete.dcim.console_port_templates.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This action was auto generated from the NetBox API Swagger Spec
2-
# NetBox API version: 2.4
3-
# Date: 2018-11-08 00:21:23.134952
2+
# NetBox API version: 3.1
3+
# Date: 2022-01-01 21:28:49.008859
44
description: "DELETE Console Port Templates"
55
enabled: true
66
entry_point: run.py
@@ -15,11 +15,11 @@ parameters:
1515
immutable: true
1616
type: string
1717
get_detail_route_eligible:
18-
default: True
18+
default: true
1919
immutable: true
2020
type: boolean
2121
id:
2222
required: True
23-
type: "integer"
23+
type: "string"
2424
description: "ID of the object to delete."
25-
runner_type: python-script
25+
runner_type: python-script

actions/delete.dcim.console_ports.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This action was auto generated from the NetBox API Swagger Spec
2-
# NetBox API version: 2.4
3-
# Date: 2018-11-08 00:21:23.146257
2+
# NetBox API version: 3.1
3+
# Date: 2022-01-01 21:28:49.009674
44
description: "DELETE Console Ports"
55
enabled: true
66
entry_point: run.py
@@ -15,11 +15,11 @@ parameters:
1515
immutable: true
1616
type: string
1717
get_detail_route_eligible:
18-
default: True
18+
default: true
1919
immutable: true
2020
type: boolean
2121
id:
2222
required: True
23-
type: "integer"
23+
type: "string"
2424
description: "ID of the object to delete."
25-
runner_type: python-script
25+
runner_type: python-script

actions/delete.dcim.console_server_port_templates.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This action was auto generated from the NetBox API Swagger Spec
2-
# NetBox API version: 2.4
3-
# Date: 2018-11-08 00:21:23.102452
2+
# NetBox API version: 3.1
3+
# Date: 2022-01-01 21:28:49.010238
44
description: "DELETE Console Server Port Templates"
55
enabled: true
66
entry_point: run.py
@@ -15,11 +15,11 @@ parameters:
1515
immutable: true
1616
type: string
1717
get_detail_route_eligible:
18-
default: True
18+
default: true
1919
immutable: true
2020
type: boolean
2121
id:
2222
required: True
23-
type: "integer"
23+
type: "string"
2424
description: "ID of the object to delete."
25-
runner_type: python-script
25+
runner_type: python-script

0 commit comments

Comments
 (0)