Skip to content

Commit b2a857d

Browse files
committed
netbox v3.6 wip
1 parent 716c358 commit b2a857d

11 files changed

+385
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# This action was auto generated from the NetBox API Swagger Spec
2+
# NetBox API version: 3.6.9
3+
description: "Return all CablePaths which traverse a given pass-through port."
4+
enabled: true
5+
entry_point: run.py
6+
name: get.circuits.circuit_terminations.paths
7+
parameters:
8+
endpoint_uri:
9+
default: "/circuits/circuit-terminations/{{ id }}/paths/"
10+
immutable: true
11+
type: string
12+
http_verb:
13+
default: get
14+
immutable: true
15+
type: string
16+
get_detail_route_eligible:
17+
default: false
18+
immutable: true
19+
type: boolean
20+
id:
21+
required: true
22+
type: integer
23+
description: "ID of the object."
24+
save_in_key_store:
25+
type: boolean
26+
default: false
27+
description: Save the result of the action as a json object in the st2 key store. Used when the expected result from Netbox is very large and the result will be piped to another action. You must also specify a save_in_key_store_keyname and an optional save_in_key_store_ttl.
28+
save_in_key_store_key_name:
29+
type: string
30+
description: Name of the key to store the json result value in the st2 key store. Must be used with save_in_key_store and optionally save_in_key_store_ttl.
31+
save_in_key_store_ttl:
32+
type: integer
33+
default: 60
34+
description: TTL (seconds) of the saved json result in the st2 key store. Defaults to 60 seconds. Must be used with save_in_key_store and save_in_key_store_key_name.
35+
runner_type: python-script
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# This action was auto generated from the NetBox API Swagger Spec
2+
# NetBox API version: 3.6.9
3+
description: "Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination)."
4+
enabled: true
5+
entry_point: run.py
6+
name: get.dcim.console_ports.trace
7+
parameters:
8+
endpoint_uri:
9+
default: "/dcim/console-ports/{{ id }}/trace/"
10+
immutable: true
11+
type: string
12+
http_verb:
13+
default: get
14+
immutable: true
15+
type: string
16+
get_detail_route_eligible:
17+
default: false
18+
immutable: true
19+
type: boolean
20+
id:
21+
required: true
22+
type: integer
23+
description: "ID of the object."
24+
save_in_key_store:
25+
type: boolean
26+
default: false
27+
description: Save the result of the action as a json object in the st2 key store. Used when the expected result from Netbox is very large and the result will be piped to another action. You must also specify a save_in_key_store_keyname and an optional save_in_key_store_ttl.
28+
save_in_key_store_key_name:
29+
type: string
30+
description: Name of the key to store the json result value in the st2 key store. Must be used with save_in_key_store and optionally save_in_key_store_ttl.
31+
save_in_key_store_ttl:
32+
type: integer
33+
default: 60
34+
description: TTL (seconds) of the saved json result in the st2 key store. Defaults to 60 seconds. Must be used with save_in_key_store and save_in_key_store_key_name.
35+
runner_type: python-script
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# This action was auto generated from the NetBox API Swagger Spec
2+
# NetBox API version: 3.6.9
3+
description: "Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination)."
4+
enabled: true
5+
entry_point: run.py
6+
name: get.dcim.console_server_ports.trace
7+
parameters:
8+
endpoint_uri:
9+
default: "/dcim/console-server-ports/{{ id }}/trace/"
10+
immutable: true
11+
type: string
12+
http_verb:
13+
default: get
14+
immutable: true
15+
type: string
16+
get_detail_route_eligible:
17+
default: false
18+
immutable: true
19+
type: boolean
20+
id:
21+
required: true
22+
type: integer
23+
description: "ID of the object."
24+
save_in_key_store:
25+
type: boolean
26+
default: false
27+
description: Save the result of the action as a json object in the st2 key store. Used when the expected result from Netbox is very large and the result will be piped to another action. You must also specify a save_in_key_store_keyname and an optional save_in_key_store_ttl.
28+
save_in_key_store_key_name:
29+
type: string
30+
description: Name of the key to store the json result value in the st2 key store. Must be used with save_in_key_store and optionally save_in_key_store_ttl.
31+
save_in_key_store_ttl:
32+
type: integer
33+
default: 60
34+
description: TTL (seconds) of the saved json result in the st2 key store. Defaults to 60 seconds. Must be used with save_in_key_store and save_in_key_store_key_name.
35+
runner_type: python-script
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# This action was auto generated from the NetBox API Swagger Spec
2+
# NetBox API version: 3.6.9
3+
description: "Return all CablePaths which traverse a given pass-through port."
4+
enabled: true
5+
entry_point: run.py
6+
name: get.dcim.front_ports.paths
7+
parameters:
8+
endpoint_uri:
9+
default: "/dcim/front-ports/{{ id }}/paths/"
10+
immutable: true
11+
type: string
12+
http_verb:
13+
default: get
14+
immutable: true
15+
type: string
16+
get_detail_route_eligible:
17+
default: false
18+
immutable: true
19+
type: boolean
20+
id:
21+
required: true
22+
type: integer
23+
description: "ID of the object."
24+
save_in_key_store:
25+
type: boolean
26+
default: false
27+
description: Save the result of the action as a json object in the st2 key store. Used when the expected result from Netbox is very large and the result will be piped to another action. You must also specify a save_in_key_store_keyname and an optional save_in_key_store_ttl.
28+
save_in_key_store_key_name:
29+
type: string
30+
description: Name of the key to store the json result value in the st2 key store. Must be used with save_in_key_store and optionally save_in_key_store_ttl.
31+
save_in_key_store_ttl:
32+
type: integer
33+
default: 60
34+
description: TTL (seconds) of the saved json result in the st2 key store. Defaults to 60 seconds. Must be used with save_in_key_store and save_in_key_store_key_name.
35+
runner_type: python-script
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# This action was auto generated from the NetBox API Swagger Spec
2+
# NetBox API version: 3.6.9
3+
description: "Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination)."
4+
enabled: true
5+
entry_point: run.py
6+
name: get.dcim.interfaces.trace
7+
parameters:
8+
endpoint_uri:
9+
default: "/dcim/interfaces/{{ id }}/trace/"
10+
immutable: true
11+
type: string
12+
http_verb:
13+
default: get
14+
immutable: true
15+
type: string
16+
get_detail_route_eligible:
17+
default: false
18+
immutable: true
19+
type: boolean
20+
id:
21+
required: true
22+
type: integer
23+
description: "ID of the object."
24+
save_in_key_store:
25+
type: boolean
26+
default: false
27+
description: Save the result of the action as a json object in the st2 key store. Used when the expected result from Netbox is very large and the result will be piped to another action. You must also specify a save_in_key_store_keyname and an optional save_in_key_store_ttl.
28+
save_in_key_store_key_name:
29+
type: string
30+
description: Name of the key to store the json result value in the st2 key store. Must be used with save_in_key_store and optionally save_in_key_store_ttl.
31+
save_in_key_store_ttl:
32+
type: integer
33+
default: 60
34+
description: TTL (seconds) of the saved json result in the st2 key store. Defaults to 60 seconds. Must be used with save_in_key_store and save_in_key_store_key_name.
35+
runner_type: python-script
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# This action was auto generated from the NetBox API Swagger Spec
2+
# NetBox API version: 3.6.9
3+
description: "Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination)."
4+
enabled: true
5+
entry_point: run.py
6+
name: get.dcim.power_feeds.trace
7+
parameters:
8+
endpoint_uri:
9+
default: "/dcim/power-feeds/{{ id }}/trace/"
10+
immutable: true
11+
type: string
12+
http_verb:
13+
default: get
14+
immutable: true
15+
type: string
16+
get_detail_route_eligible:
17+
default: false
18+
immutable: true
19+
type: boolean
20+
id:
21+
required: true
22+
type: integer
23+
description: "ID of the object."
24+
save_in_key_store:
25+
type: boolean
26+
default: false
27+
description: Save the result of the action as a json object in the st2 key store. Used when the expected result from Netbox is very large and the result will be piped to another action. You must also specify a save_in_key_store_keyname and an optional save_in_key_store_ttl.
28+
save_in_key_store_key_name:
29+
type: string
30+
description: Name of the key to store the json result value in the st2 key store. Must be used with save_in_key_store and optionally save_in_key_store_ttl.
31+
save_in_key_store_ttl:
32+
type: integer
33+
default: 60
34+
description: TTL (seconds) of the saved json result in the st2 key store. Defaults to 60 seconds. Must be used with save_in_key_store and save_in_key_store_key_name.
35+
runner_type: python-script
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# This action was auto generated from the NetBox API Swagger Spec
2+
# NetBox API version: 3.6.9
3+
description: "Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination)."
4+
enabled: true
5+
entry_point: run.py
6+
name: get.dcim.power_outlets.trace
7+
parameters:
8+
endpoint_uri:
9+
default: "/dcim/power-outlets/{{ id }}/trace/"
10+
immutable: true
11+
type: string
12+
http_verb:
13+
default: get
14+
immutable: true
15+
type: string
16+
get_detail_route_eligible:
17+
default: false
18+
immutable: true
19+
type: boolean
20+
id:
21+
required: true
22+
type: integer
23+
description: "ID of the object."
24+
save_in_key_store:
25+
type: boolean
26+
default: false
27+
description: Save the result of the action as a json object in the st2 key store. Used when the expected result from Netbox is very large and the result will be piped to another action. You must also specify a save_in_key_store_keyname and an optional save_in_key_store_ttl.
28+
save_in_key_store_key_name:
29+
type: string
30+
description: Name of the key to store the json result value in the st2 key store. Must be used with save_in_key_store and optionally save_in_key_store_ttl.
31+
save_in_key_store_ttl:
32+
type: integer
33+
default: 60
34+
description: TTL (seconds) of the saved json result in the st2 key store. Defaults to 60 seconds. Must be used with save_in_key_store and save_in_key_store_key_name.
35+
runner_type: python-script
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# This action was auto generated from the NetBox API Swagger Spec
2+
# NetBox API version: 3.6.9
3+
description: "Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination)."
4+
enabled: true
5+
entry_point: run.py
6+
name: get.dcim.power_ports.trace
7+
parameters:
8+
endpoint_uri:
9+
default: "/dcim/power-ports/{{ id }}/trace/"
10+
immutable: true
11+
type: string
12+
http_verb:
13+
default: get
14+
immutable: true
15+
type: string
16+
get_detail_route_eligible:
17+
default: false
18+
immutable: true
19+
type: boolean
20+
id:
21+
required: true
22+
type: integer
23+
description: "ID of the object."
24+
save_in_key_store:
25+
type: boolean
26+
default: false
27+
description: Save the result of the action as a json object in the st2 key store. Used when the expected result from Netbox is very large and the result will be piped to another action. You must also specify a save_in_key_store_keyname and an optional save_in_key_store_ttl.
28+
save_in_key_store_key_name:
29+
type: string
30+
description: Name of the key to store the json result value in the st2 key store. Must be used with save_in_key_store and optionally save_in_key_store_ttl.
31+
save_in_key_store_ttl:
32+
type: integer
33+
default: 60
34+
description: TTL (seconds) of the saved json result in the st2 key store. Defaults to 60 seconds. Must be used with save_in_key_store and save_in_key_store_key_name.
35+
runner_type: python-script
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# This action was auto generated from the NetBox API Swagger Spec
2+
# NetBox API version: 3.6.9
3+
description: "Rack elevation representing the list of rack units. Also supports rendering the elevation as an SVG."
4+
enabled: true
5+
entry_point: run.py
6+
name: get.dcim.racks.elevation
7+
parameters:
8+
endpoint_uri:
9+
default: "/dcim/racks/{{ id }}/elevation/"
10+
immutable: true
11+
type: string
12+
http_verb:
13+
default: get
14+
immutable: true
15+
type: string
16+
get_detail_route_eligible:
17+
default: false
18+
immutable: true
19+
type: boolean
20+
id:
21+
required: true
22+
type: integer
23+
description: "ID of the object."
24+
save_in_key_store:
25+
type: boolean
26+
default: false
27+
description: Save the result of the action as a json object in the st2 key store. Used when the expected result from Netbox is very large and the result will be piped to another action. You must also specify a save_in_key_store_keyname and an optional save_in_key_store_ttl.
28+
save_in_key_store_key_name:
29+
type: string
30+
description: Name of the key to store the json result value in the st2 key store. Must be used with save_in_key_store and optionally save_in_key_store_ttl.
31+
save_in_key_store_ttl:
32+
type: integer
33+
default: 60
34+
description: TTL (seconds) of the saved json result in the st2 key store. Defaults to 60 seconds. Must be used with save_in_key_store and save_in_key_store_key_name.
35+
runner_type: python-script
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# This action was auto generated from the NetBox API Swagger Spec
2+
# NetBox API version: 3.6.9
3+
description: "Return all CablePaths which traverse a given pass-through port."
4+
enabled: true
5+
entry_point: run.py
6+
name: get.dcim.rear_ports.paths
7+
parameters:
8+
endpoint_uri:
9+
default: "/dcim/rear-ports/{{ id }}/paths/"
10+
immutable: true
11+
type: string
12+
http_verb:
13+
default: get
14+
immutable: true
15+
type: string
16+
get_detail_route_eligible:
17+
default: false
18+
immutable: true
19+
type: boolean
20+
id:
21+
required: true
22+
type: integer
23+
description: "ID of the object."
24+
save_in_key_store:
25+
type: boolean
26+
default: false
27+
description: Save the result of the action as a json object in the st2 key store. Used when the expected result from Netbox is very large and the result will be piped to another action. You must also specify a save_in_key_store_keyname and an optional save_in_key_store_ttl.
28+
save_in_key_store_key_name:
29+
type: string
30+
description: Name of the key to store the json result value in the st2 key store. Must be used with save_in_key_store and optionally save_in_key_store_ttl.
31+
save_in_key_store_ttl:
32+
type: integer
33+
default: 60
34+
description: TTL (seconds) of the saved json result in the st2 key store. Defaults to 60 seconds. Must be used with save_in_key_store and save_in_key_store_key_name.
35+
runner_type: python-script

0 commit comments

Comments
 (0)