diff --git a/CHANGES.md b/CHANGES.md index 8783b491..402d34ae 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,15 @@ # Change Log +## 3.4.4 + +- Add action parameter fail_non_2xx to allow the user to indicate if the + the action has failed when non-2xx http status codes are return by netbox. + The default value is False, which is to maintain the current pack behaviour. + +- Regenerated actions against v4.3 spec. + +- Applied Black code format to python code. + ## 3.4.3 - Enable use of encrypted KVs in pack config schema diff --git a/actions/delete.circuits.circuit_group_assignments.yaml b/actions/delete.circuits.circuit_group_assignments.yaml new file mode 100644 index 00000000..0300af1c --- /dev/null +++ b/actions/delete.circuits.circuit_group_assignments.yaml @@ -0,0 +1,28 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Delete a Circuit group assignment object." +enabled: true +entry_point: run.py +name: delete.circuits.circuit_group_assignments +parameters: + endpoint_uri: + default: "/circuits/circuit-group-assignments/{{ id }}/" + immutable: true + type: string + http_verb: + default: delete + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + id: + required: true + type: integer + description: "ID of the object to delete." +runner_type: python-script diff --git a/actions/delete.circuits.circuit_groups.yaml b/actions/delete.circuits.circuit_groups.yaml new file mode 100644 index 00000000..c2f0b804 --- /dev/null +++ b/actions/delete.circuits.circuit_groups.yaml @@ -0,0 +1,28 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Delete a circuit group object." +enabled: true +entry_point: run.py +name: delete.circuits.circuit_groups +parameters: + endpoint_uri: + default: "/circuits/circuit-groups/{{ id }}/" + immutable: true + type: string + http_verb: + default: delete + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + id: + required: true + type: integer + description: "ID of the object to delete." +runner_type: python-script diff --git a/actions/delete.circuits.circuit_terminations.yaml b/actions/delete.circuits.circuit_terminations.yaml index 8b99b8fa..5ad5e8bc 100644 --- a/actions/delete.circuits.circuit_terminations.yaml +++ b/actions/delete.circuits.circuit_terminations.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a circuit termination object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.circuits.circuit_types.yaml b/actions/delete.circuits.circuit_types.yaml index 5eb4ae7e..1206e016 100644 --- a/actions/delete.circuits.circuit_types.yaml +++ b/actions/delete.circuits.circuit_types.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a circuit type object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.circuits.circuits.yaml b/actions/delete.circuits.circuits.yaml index a986d4cc..d7e33de5 100644 --- a/actions/delete.circuits.circuits.yaml +++ b/actions/delete.circuits.circuits.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a circuit object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.circuits.provider_accounts.yaml b/actions/delete.circuits.provider_accounts.yaml index 799100ee..b008c94f 100644 --- a/actions/delete.circuits.provider_accounts.yaml +++ b/actions/delete.circuits.provider_accounts.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a provider account object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.circuits.provider_networks.yaml b/actions/delete.circuits.provider_networks.yaml index 67928cd3..a3d2b72d 100644 --- a/actions/delete.circuits.provider_networks.yaml +++ b/actions/delete.circuits.provider_networks.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a provider network object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.circuits.providers.yaml b/actions/delete.circuits.providers.yaml index c34d54cd..fa3d6d93 100644 --- a/actions/delete.circuits.providers.yaml +++ b/actions/delete.circuits.providers.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a provider object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.circuits.virtual_circuit_terminations.yaml b/actions/delete.circuits.virtual_circuit_terminations.yaml new file mode 100644 index 00000000..0c029fa7 --- /dev/null +++ b/actions/delete.circuits.virtual_circuit_terminations.yaml @@ -0,0 +1,28 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Delete a virtual circuit termination object." +enabled: true +entry_point: run.py +name: delete.circuits.virtual_circuit_terminations +parameters: + endpoint_uri: + default: "/circuits/virtual-circuit-terminations/{{ id }}/" + immutable: true + type: string + http_verb: + default: delete + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + id: + required: true + type: integer + description: "ID of the object to delete." +runner_type: python-script diff --git a/actions/delete.circuits.virtual_circuit_types.yaml b/actions/delete.circuits.virtual_circuit_types.yaml new file mode 100644 index 00000000..3ad57666 --- /dev/null +++ b/actions/delete.circuits.virtual_circuit_types.yaml @@ -0,0 +1,28 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Delete a virtual circuit type object." +enabled: true +entry_point: run.py +name: delete.circuits.virtual_circuit_types +parameters: + endpoint_uri: + default: "/circuits/virtual-circuit-types/{{ id }}/" + immutable: true + type: string + http_verb: + default: delete + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + id: + required: true + type: integer + description: "ID of the object to delete." +runner_type: python-script diff --git a/actions/delete.circuits.virtual_circuits.yaml b/actions/delete.circuits.virtual_circuits.yaml new file mode 100644 index 00000000..72b2576c --- /dev/null +++ b/actions/delete.circuits.virtual_circuits.yaml @@ -0,0 +1,28 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Delete a virtual circuit object." +enabled: true +entry_point: run.py +name: delete.circuits.virtual_circuits +parameters: + endpoint_uri: + default: "/circuits/virtual-circuits/{{ id }}/" + immutable: true + type: string + http_verb: + default: delete + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + id: + required: true + type: integer + description: "ID of the object to delete." +runner_type: python-script diff --git a/actions/delete.core.data_sources.yaml b/actions/delete.core.data_sources.yaml index 543f9696..88fbc90f 100644 --- a/actions/delete.core.data_sources.yaml +++ b/actions/delete.core.data_sources.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a data source object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.dcim.cable_terminations.yaml b/actions/delete.dcim.cable_terminations.yaml index cc165ef5..be827ebe 100644 --- a/actions/delete.dcim.cable_terminations.yaml +++ b/actions/delete.dcim.cable_terminations.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a cable termination object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.dcim.cables.yaml b/actions/delete.dcim.cables.yaml index 72f5acd5..ce78d6ce 100644 --- a/actions/delete.dcim.cables.yaml +++ b/actions/delete.dcim.cables.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a cable object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.dcim.console_port_templates.yaml b/actions/delete.dcim.console_port_templates.yaml index 3262564a..1379c3f5 100644 --- a/actions/delete.dcim.console_port_templates.yaml +++ b/actions/delete.dcim.console_port_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a console port template object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.dcim.console_ports.yaml b/actions/delete.dcim.console_ports.yaml index 9b3ab65f..78390e26 100644 --- a/actions/delete.dcim.console_ports.yaml +++ b/actions/delete.dcim.console_ports.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a console port object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.dcim.console_server_port_templates.yaml b/actions/delete.dcim.console_server_port_templates.yaml index 1a2091a7..029481ff 100644 --- a/actions/delete.dcim.console_server_port_templates.yaml +++ b/actions/delete.dcim.console_server_port_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a console server port template object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.dcim.console_server_ports.yaml b/actions/delete.dcim.console_server_ports.yaml index ead97c77..a8535cc5 100644 --- a/actions/delete.dcim.console_server_ports.yaml +++ b/actions/delete.dcim.console_server_ports.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a console server port object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.dcim.device_bay_templates.yaml b/actions/delete.dcim.device_bay_templates.yaml index abc3c276..33c25b1a 100644 --- a/actions/delete.dcim.device_bay_templates.yaml +++ b/actions/delete.dcim.device_bay_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a device bay template object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.dcim.device_bays.yaml b/actions/delete.dcim.device_bays.yaml index bd6647de..466c90e8 100644 --- a/actions/delete.dcim.device_bays.yaml +++ b/actions/delete.dcim.device_bays.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a device bay object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.dcim.device_roles.yaml b/actions/delete.dcim.device_roles.yaml index 4cee56e4..9b232fda 100644 --- a/actions/delete.dcim.device_roles.yaml +++ b/actions/delete.dcim.device_roles.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a device role object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.dcim.device_types.yaml b/actions/delete.dcim.device_types.yaml index e076bf90..e997090a 100644 --- a/actions/delete.dcim.device_types.yaml +++ b/actions/delete.dcim.device_types.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a device type object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.dcim.devices.yaml b/actions/delete.dcim.devices.yaml index 4ecf64a0..76389daa 100644 --- a/actions/delete.dcim.devices.yaml +++ b/actions/delete.dcim.devices.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a device object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.dcim.front_port_templates.yaml b/actions/delete.dcim.front_port_templates.yaml index a7a7e2da..d30bd825 100644 --- a/actions/delete.dcim.front_port_templates.yaml +++ b/actions/delete.dcim.front_port_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a front port template object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.dcim.front_ports.yaml b/actions/delete.dcim.front_ports.yaml index c2f91f90..0a5045ff 100644 --- a/actions/delete.dcim.front_ports.yaml +++ b/actions/delete.dcim.front_ports.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a front port object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.dcim.interface_templates.yaml b/actions/delete.dcim.interface_templates.yaml index edba1883..dee9164f 100644 --- a/actions/delete.dcim.interface_templates.yaml +++ b/actions/delete.dcim.interface_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a interface template object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.dcim.interfaces.yaml b/actions/delete.dcim.interfaces.yaml index 28a947f1..0a4093b3 100644 --- a/actions/delete.dcim.interfaces.yaml +++ b/actions/delete.dcim.interfaces.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a interface object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.dcim.inventory_item_roles.yaml b/actions/delete.dcim.inventory_item_roles.yaml index 3e5c6ea4..e77e4d0f 100644 --- a/actions/delete.dcim.inventory_item_roles.yaml +++ b/actions/delete.dcim.inventory_item_roles.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a inventory item role object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.dcim.inventory_item_templates.yaml b/actions/delete.dcim.inventory_item_templates.yaml index 79f5dcff..5fc651eb 100644 --- a/actions/delete.dcim.inventory_item_templates.yaml +++ b/actions/delete.dcim.inventory_item_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a inventory item template object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.dcim.inventory_items.yaml b/actions/delete.dcim.inventory_items.yaml index 403c6251..b6fb786d 100644 --- a/actions/delete.dcim.inventory_items.yaml +++ b/actions/delete.dcim.inventory_items.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a inventory item object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.dcim.locations.yaml b/actions/delete.dcim.locations.yaml index 744c71f3..3d14cbc6 100644 --- a/actions/delete.dcim.locations.yaml +++ b/actions/delete.dcim.locations.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a location object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.dcim.mac_addresses.yaml b/actions/delete.dcim.mac_addresses.yaml new file mode 100644 index 00000000..e09c0673 --- /dev/null +++ b/actions/delete.dcim.mac_addresses.yaml @@ -0,0 +1,28 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Delete a MAC address object." +enabled: true +entry_point: run.py +name: delete.dcim.mac_addresses +parameters: + endpoint_uri: + default: "/dcim/mac-addresses/{{ id }}/" + immutable: true + type: string + http_verb: + default: delete + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + id: + required: true + type: integer + description: "ID of the object to delete." +runner_type: python-script diff --git a/actions/delete.dcim.manufacturers.yaml b/actions/delete.dcim.manufacturers.yaml index ff880382..291cc394 100644 --- a/actions/delete.dcim.manufacturers.yaml +++ b/actions/delete.dcim.manufacturers.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a manufacturer object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.dcim.module_bay_templates.yaml b/actions/delete.dcim.module_bay_templates.yaml index 999a26e7..37f441dc 100644 --- a/actions/delete.dcim.module_bay_templates.yaml +++ b/actions/delete.dcim.module_bay_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a module bay template object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.dcim.module_bays.yaml b/actions/delete.dcim.module_bays.yaml index 9c904822..25229d4f 100644 --- a/actions/delete.dcim.module_bays.yaml +++ b/actions/delete.dcim.module_bays.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a module bay object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.dcim.module_type_profiles.yaml b/actions/delete.dcim.module_type_profiles.yaml new file mode 100644 index 00000000..10be6122 --- /dev/null +++ b/actions/delete.dcim.module_type_profiles.yaml @@ -0,0 +1,28 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Delete a module type profile object." +enabled: true +entry_point: run.py +name: delete.dcim.module_type_profiles +parameters: + endpoint_uri: + default: "/dcim/module-type-profiles/{{ id }}/" + immutable: true + type: string + http_verb: + default: delete + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + id: + required: true + type: integer + description: "ID of the object to delete." +runner_type: python-script diff --git a/actions/delete.dcim.module_types.yaml b/actions/delete.dcim.module_types.yaml index 123a68af..8dfd0658 100644 --- a/actions/delete.dcim.module_types.yaml +++ b/actions/delete.dcim.module_types.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a module type object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.dcim.modules.yaml b/actions/delete.dcim.modules.yaml index e51a925b..6c85e597 100644 --- a/actions/delete.dcim.modules.yaml +++ b/actions/delete.dcim.modules.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a module object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.dcim.platforms.yaml b/actions/delete.dcim.platforms.yaml index 639b0d17..6ce9c2c7 100644 --- a/actions/delete.dcim.platforms.yaml +++ b/actions/delete.dcim.platforms.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a platform object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.dcim.power_feeds.yaml b/actions/delete.dcim.power_feeds.yaml index 14ce2ad8..145c9173 100644 --- a/actions/delete.dcim.power_feeds.yaml +++ b/actions/delete.dcim.power_feeds.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a power feed object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.dcim.power_outlet_templates.yaml b/actions/delete.dcim.power_outlet_templates.yaml index 1ecc7d96..21d39050 100644 --- a/actions/delete.dcim.power_outlet_templates.yaml +++ b/actions/delete.dcim.power_outlet_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a power outlet template object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.dcim.power_outlets.yaml b/actions/delete.dcim.power_outlets.yaml index 2b4b1ce7..62d0c972 100644 --- a/actions/delete.dcim.power_outlets.yaml +++ b/actions/delete.dcim.power_outlets.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a power outlet object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.dcim.power_panels.yaml b/actions/delete.dcim.power_panels.yaml index cc5acc88..2b980a32 100644 --- a/actions/delete.dcim.power_panels.yaml +++ b/actions/delete.dcim.power_panels.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a power panel object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.dcim.power_port_templates.yaml b/actions/delete.dcim.power_port_templates.yaml index aa839352..70e42d5f 100644 --- a/actions/delete.dcim.power_port_templates.yaml +++ b/actions/delete.dcim.power_port_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a power port template object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.dcim.power_ports.yaml b/actions/delete.dcim.power_ports.yaml index 7ffd6493..83ce5933 100644 --- a/actions/delete.dcim.power_ports.yaml +++ b/actions/delete.dcim.power_ports.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a power port object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.dcim.rack_reservations.yaml b/actions/delete.dcim.rack_reservations.yaml index 1621ccda..7ed93c3c 100644 --- a/actions/delete.dcim.rack_reservations.yaml +++ b/actions/delete.dcim.rack_reservations.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a rack reservation object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.dcim.rack_roles.yaml b/actions/delete.dcim.rack_roles.yaml index d28b73a6..4b5e6053 100644 --- a/actions/delete.dcim.rack_roles.yaml +++ b/actions/delete.dcim.rack_roles.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a rack role object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.dcim.rack_types.yaml b/actions/delete.dcim.rack_types.yaml new file mode 100644 index 00000000..f80fa3ba --- /dev/null +++ b/actions/delete.dcim.rack_types.yaml @@ -0,0 +1,28 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Delete a rack type object." +enabled: true +entry_point: run.py +name: delete.dcim.rack_types +parameters: + endpoint_uri: + default: "/dcim/rack-types/{{ id }}/" + immutable: true + type: string + http_verb: + default: delete + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + id: + required: true + type: integer + description: "ID of the object to delete." +runner_type: python-script diff --git a/actions/delete.dcim.racks.yaml b/actions/delete.dcim.racks.yaml index d833c316..3d1e11df 100644 --- a/actions/delete.dcim.racks.yaml +++ b/actions/delete.dcim.racks.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a rack object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.dcim.rear_port_templates.yaml b/actions/delete.dcim.rear_port_templates.yaml index 51adbd84..9ee89950 100644 --- a/actions/delete.dcim.rear_port_templates.yaml +++ b/actions/delete.dcim.rear_port_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a rear port template object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.dcim.rear_ports.yaml b/actions/delete.dcim.rear_ports.yaml index c6d905ad..4e04029c 100644 --- a/actions/delete.dcim.rear_ports.yaml +++ b/actions/delete.dcim.rear_ports.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a rear port object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.dcim.regions.yaml b/actions/delete.dcim.regions.yaml index 59ab4931..e168a19e 100644 --- a/actions/delete.dcim.regions.yaml +++ b/actions/delete.dcim.regions.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a region object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.dcim.site_groups.yaml b/actions/delete.dcim.site_groups.yaml index 009cad62..6814bd83 100644 --- a/actions/delete.dcim.site_groups.yaml +++ b/actions/delete.dcim.site_groups.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a site group object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.dcim.sites.yaml b/actions/delete.dcim.sites.yaml index 4840a5c9..5692faa6 100644 --- a/actions/delete.dcim.sites.yaml +++ b/actions/delete.dcim.sites.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a site object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.dcim.virtual_chassis.yaml b/actions/delete.dcim.virtual_chassis.yaml index aa5c92fe..c241c626 100644 --- a/actions/delete.dcim.virtual_chassis.yaml +++ b/actions/delete.dcim.virtual_chassis.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a virtual chassis object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.dcim.virtual_device_contexts.yaml b/actions/delete.dcim.virtual_device_contexts.yaml index 948229bf..51497a44 100644 --- a/actions/delete.dcim.virtual_device_contexts.yaml +++ b/actions/delete.dcim.virtual_device_contexts.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a virtual device context object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.extras.bookmarks.yaml b/actions/delete.extras.bookmarks.yaml index 96db6c6e..34f23c21 100644 --- a/actions/delete.extras.bookmarks.yaml +++ b/actions/delete.extras.bookmarks.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a bookmark object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.extras.config_contexts.yaml b/actions/delete.extras.config_contexts.yaml index f702c37f..302e745b 100644 --- a/actions/delete.extras.config_contexts.yaml +++ b/actions/delete.extras.config_contexts.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a config context object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.extras.config_templates.yaml b/actions/delete.extras.config_templates.yaml index 92cfddaf..1a15d66b 100644 --- a/actions/delete.extras.config_templates.yaml +++ b/actions/delete.extras.config_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a config template object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.extras.custom_field_choice_sets.yaml b/actions/delete.extras.custom_field_choice_sets.yaml index f5ff7fd9..c516e065 100644 --- a/actions/delete.extras.custom_field_choice_sets.yaml +++ b/actions/delete.extras.custom_field_choice_sets.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a custom field choice set object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.extras.custom_fields.yaml b/actions/delete.extras.custom_fields.yaml index 85cfaa04..35f7f198 100644 --- a/actions/delete.extras.custom_fields.yaml +++ b/actions/delete.extras.custom_fields.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a custom field object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.extras.custom_links.yaml b/actions/delete.extras.custom_links.yaml index 97c6bc69..207598d9 100644 --- a/actions/delete.extras.custom_links.yaml +++ b/actions/delete.extras.custom_links.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a custom link object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.extras.dashboard.yaml b/actions/delete.extras.dashboard.yaml index 5ba7c0d1..186a9cb3 100644 --- a/actions/delete.extras.dashboard.yaml +++ b/actions/delete.extras.dashboard.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a list of dashboard objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.extras.event_rules.yaml b/actions/delete.extras.event_rules.yaml index d002c7c9..b09bf507 100644 --- a/actions/delete.extras.event_rules.yaml +++ b/actions/delete.extras.event_rules.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a event rule object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.extras.export_templates.yaml b/actions/delete.extras.export_templates.yaml index a2f26056..b7fed3ed 100644 --- a/actions/delete.extras.export_templates.yaml +++ b/actions/delete.extras.export_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a export template object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.extras.image_attachments.yaml b/actions/delete.extras.image_attachments.yaml index bcec69c2..dc6e77fd 100644 --- a/actions/delete.extras.image_attachments.yaml +++ b/actions/delete.extras.image_attachments.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a image attachment object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.extras.journal_entries.yaml b/actions/delete.extras.journal_entries.yaml index 48f05c08..e1f69a8e 100644 --- a/actions/delete.extras.journal_entries.yaml +++ b/actions/delete.extras.journal_entries.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a journal entry object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.extras.notification_groups.yaml b/actions/delete.extras.notification_groups.yaml new file mode 100644 index 00000000..aae8693e --- /dev/null +++ b/actions/delete.extras.notification_groups.yaml @@ -0,0 +1,28 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Delete a notification group object." +enabled: true +entry_point: run.py +name: delete.extras.notification_groups +parameters: + endpoint_uri: + default: "/extras/notification-groups/{{ id }}/" + immutable: true + type: string + http_verb: + default: delete + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + id: + required: true + type: integer + description: "ID of the object to delete." +runner_type: python-script diff --git a/actions/delete.extras.notifications.yaml b/actions/delete.extras.notifications.yaml new file mode 100644 index 00000000..5b04a618 --- /dev/null +++ b/actions/delete.extras.notifications.yaml @@ -0,0 +1,28 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Delete a notification object." +enabled: true +entry_point: run.py +name: delete.extras.notifications +parameters: + endpoint_uri: + default: "/extras/notifications/{{ id }}/" + immutable: true + type: string + http_verb: + default: delete + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + id: + required: true + type: integer + description: "ID of the object to delete." +runner_type: python-script diff --git a/actions/delete.extras.saved_filters.yaml b/actions/delete.extras.saved_filters.yaml index 80d194e2..c6e0f21d 100644 --- a/actions/delete.extras.saved_filters.yaml +++ b/actions/delete.extras.saved_filters.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a saved filter object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.extras.scripts.yaml b/actions/delete.extras.scripts.yaml index 4486bc52..ca2e6294 100644 --- a/actions/delete.extras.scripts.yaml +++ b/actions/delete.extras.scripts.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a script object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.extras.subscriptions.yaml b/actions/delete.extras.subscriptions.yaml new file mode 100644 index 00000000..58a1d2ac --- /dev/null +++ b/actions/delete.extras.subscriptions.yaml @@ -0,0 +1,28 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Delete a subscription object." +enabled: true +entry_point: run.py +name: delete.extras.subscriptions +parameters: + endpoint_uri: + default: "/extras/subscriptions/{{ id }}/" + immutable: true + type: string + http_verb: + default: delete + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + id: + required: true + type: integer + description: "ID of the object to delete." +runner_type: python-script diff --git a/actions/delete.extras.table_configs.yaml b/actions/delete.extras.table_configs.yaml new file mode 100644 index 00000000..235a0692 --- /dev/null +++ b/actions/delete.extras.table_configs.yaml @@ -0,0 +1,28 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Delete a table config object." +enabled: true +entry_point: run.py +name: delete.extras.table_configs +parameters: + endpoint_uri: + default: "/extras/table-configs/{{ id }}/" + immutable: true + type: string + http_verb: + default: delete + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + id: + required: true + type: integer + description: "ID of the object to delete." +runner_type: python-script diff --git a/actions/delete.extras.tags.yaml b/actions/delete.extras.tags.yaml index 7a68ac1d..416b2913 100644 --- a/actions/delete.extras.tags.yaml +++ b/actions/delete.extras.tags.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a tag object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.extras.webhooks.yaml b/actions/delete.extras.webhooks.yaml index ffd0f1e3..47021617 100644 --- a/actions/delete.extras.webhooks.yaml +++ b/actions/delete.extras.webhooks.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a webhook object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.ipam.aggregates.yaml b/actions/delete.ipam.aggregates.yaml index 80356a0d..ce3eeb2e 100644 --- a/actions/delete.ipam.aggregates.yaml +++ b/actions/delete.ipam.aggregates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a aggregate object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.ipam.asn_ranges.yaml b/actions/delete.ipam.asn_ranges.yaml index e097766f..80e15796 100644 --- a/actions/delete.ipam.asn_ranges.yaml +++ b/actions/delete.ipam.asn_ranges.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a ASN range object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.ipam.asns.yaml b/actions/delete.ipam.asns.yaml index 843899d3..3b4dd763 100644 --- a/actions/delete.ipam.asns.yaml +++ b/actions/delete.ipam.asns.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a ASN object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.ipam.fhrp_group_assignments.yaml b/actions/delete.ipam.fhrp_group_assignments.yaml index b927b4a3..f7854c2a 100644 --- a/actions/delete.ipam.fhrp_group_assignments.yaml +++ b/actions/delete.ipam.fhrp_group_assignments.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a FHRP group assignment object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.ipam.fhrp_groups.yaml b/actions/delete.ipam.fhrp_groups.yaml index 7fdc7f68..6073c6ee 100644 --- a/actions/delete.ipam.fhrp_groups.yaml +++ b/actions/delete.ipam.fhrp_groups.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a FHRP group object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.ipam.ip_addresses.yaml b/actions/delete.ipam.ip_addresses.yaml index 8ad46613..d8c88652 100644 --- a/actions/delete.ipam.ip_addresses.yaml +++ b/actions/delete.ipam.ip_addresses.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a IP address object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.ipam.ip_ranges.yaml b/actions/delete.ipam.ip_ranges.yaml index 033bcb0b..f7ca1fad 100644 --- a/actions/delete.ipam.ip_ranges.yaml +++ b/actions/delete.ipam.ip_ranges.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a IP range object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.ipam.prefixes.yaml b/actions/delete.ipam.prefixes.yaml index 36277e12..b08da8a9 100644 --- a/actions/delete.ipam.prefixes.yaml +++ b/actions/delete.ipam.prefixes.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a prefix object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.ipam.rirs.yaml b/actions/delete.ipam.rirs.yaml index 440007f2..7ed53b63 100644 --- a/actions/delete.ipam.rirs.yaml +++ b/actions/delete.ipam.rirs.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a RIR object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.ipam.roles.yaml b/actions/delete.ipam.roles.yaml index 13a1ad6f..650e09ae 100644 --- a/actions/delete.ipam.roles.yaml +++ b/actions/delete.ipam.roles.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a role object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.ipam.route_targets.yaml b/actions/delete.ipam.route_targets.yaml index 812afef3..80104620 100644 --- a/actions/delete.ipam.route_targets.yaml +++ b/actions/delete.ipam.route_targets.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a route target object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.ipam.service_templates.yaml b/actions/delete.ipam.service_templates.yaml index 4f6bfb1a..3b175f77 100644 --- a/actions/delete.ipam.service_templates.yaml +++ b/actions/delete.ipam.service_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a service template object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.ipam.services.yaml b/actions/delete.ipam.services.yaml index 7ed83d0c..d33c32c9 100644 --- a/actions/delete.ipam.services.yaml +++ b/actions/delete.ipam.services.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a service object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.ipam.vlan_groups.yaml b/actions/delete.ipam.vlan_groups.yaml index ce38578e..d32f0ee2 100644 --- a/actions/delete.ipam.vlan_groups.yaml +++ b/actions/delete.ipam.vlan_groups.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a VLAN group object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.ipam.vlan_translation_policies.yaml b/actions/delete.ipam.vlan_translation_policies.yaml new file mode 100644 index 00000000..4cc6d470 --- /dev/null +++ b/actions/delete.ipam.vlan_translation_policies.yaml @@ -0,0 +1,28 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Delete a VLAN translation policy object." +enabled: true +entry_point: run.py +name: delete.ipam.vlan_translation_policies +parameters: + endpoint_uri: + default: "/ipam/vlan-translation-policies/{{ id }}/" + immutable: true + type: string + http_verb: + default: delete + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + id: + required: true + type: integer + description: "ID of the object to delete." +runner_type: python-script diff --git a/actions/delete.ipam.vlan_translation_rules.yaml b/actions/delete.ipam.vlan_translation_rules.yaml new file mode 100644 index 00000000..fb3ea25c --- /dev/null +++ b/actions/delete.ipam.vlan_translation_rules.yaml @@ -0,0 +1,28 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Delete a VLAN translation rule object." +enabled: true +entry_point: run.py +name: delete.ipam.vlan_translation_rules +parameters: + endpoint_uri: + default: "/ipam/vlan-translation-rules/{{ id }}/" + immutable: true + type: string + http_verb: + default: delete + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + id: + required: true + type: integer + description: "ID of the object to delete." +runner_type: python-script diff --git a/actions/delete.ipam.vlans.yaml b/actions/delete.ipam.vlans.yaml index 9f408204..328d2f76 100644 --- a/actions/delete.ipam.vlans.yaml +++ b/actions/delete.ipam.vlans.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a VLAN object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.ipam.vrfs.yaml b/actions/delete.ipam.vrfs.yaml index 8336f74b..6b40fabd 100644 --- a/actions/delete.ipam.vrfs.yaml +++ b/actions/delete.ipam.vrfs.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a VRF object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.tenancy.contact_assignments.yaml b/actions/delete.tenancy.contact_assignments.yaml index 29dbae22..8b38e098 100644 --- a/actions/delete.tenancy.contact_assignments.yaml +++ b/actions/delete.tenancy.contact_assignments.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a contact assignment object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.tenancy.contact_groups.yaml b/actions/delete.tenancy.contact_groups.yaml index cffd0f50..7234571e 100644 --- a/actions/delete.tenancy.contact_groups.yaml +++ b/actions/delete.tenancy.contact_groups.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a contact group object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.tenancy.contact_roles.yaml b/actions/delete.tenancy.contact_roles.yaml index b4a40a1e..c73f820d 100644 --- a/actions/delete.tenancy.contact_roles.yaml +++ b/actions/delete.tenancy.contact_roles.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a contact role object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.tenancy.contacts.yaml b/actions/delete.tenancy.contacts.yaml index c0f39bcf..b80b7e50 100644 --- a/actions/delete.tenancy.contacts.yaml +++ b/actions/delete.tenancy.contacts.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a contact object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.tenancy.tenant_groups.yaml b/actions/delete.tenancy.tenant_groups.yaml index 0b4903d5..5be23668 100644 --- a/actions/delete.tenancy.tenant_groups.yaml +++ b/actions/delete.tenancy.tenant_groups.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a tenant group object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.tenancy.tenants.yaml b/actions/delete.tenancy.tenants.yaml index 2ec7f2ed..0fd57d94 100644 --- a/actions/delete.tenancy.tenants.yaml +++ b/actions/delete.tenancy.tenants.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a tenant object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.users.groups.yaml b/actions/delete.users.groups.yaml index 42fedec3..c36858b6 100644 --- a/actions/delete.users.groups.yaml +++ b/actions/delete.users.groups.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a group object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.users.permissions.yaml b/actions/delete.users.permissions.yaml index 4d92abc2..d1b017df 100644 --- a/actions/delete.users.permissions.yaml +++ b/actions/delete.users.permissions.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a permission object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.users.tokens.yaml b/actions/delete.users.tokens.yaml index 0d52bb5a..8aea8357 100644 --- a/actions/delete.users.tokens.yaml +++ b/actions/delete.users.tokens.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a token object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.users.users.yaml b/actions/delete.users.users.yaml index 75db379d..2ac84bab 100644 --- a/actions/delete.users.users.yaml +++ b/actions/delete.users.users.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a user object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.virtualization.cluster_groups.yaml b/actions/delete.virtualization.cluster_groups.yaml index e5a356a9..0f2d14f8 100644 --- a/actions/delete.virtualization.cluster_groups.yaml +++ b/actions/delete.virtualization.cluster_groups.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a cluster group object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.virtualization.cluster_types.yaml b/actions/delete.virtualization.cluster_types.yaml index b606b30e..e84fc4ea 100644 --- a/actions/delete.virtualization.cluster_types.yaml +++ b/actions/delete.virtualization.cluster_types.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a cluster type object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.virtualization.clusters.yaml b/actions/delete.virtualization.clusters.yaml index a4a37f68..97886ce9 100644 --- a/actions/delete.virtualization.clusters.yaml +++ b/actions/delete.virtualization.clusters.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a cluster object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.virtualization.interfaces.yaml b/actions/delete.virtualization.interfaces.yaml index e93a309e..254b3c20 100644 --- a/actions/delete.virtualization.interfaces.yaml +++ b/actions/delete.virtualization.interfaces.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a interface object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.virtualization.virtual_disks.yaml b/actions/delete.virtualization.virtual_disks.yaml index 3e741263..d27e47ef 100644 --- a/actions/delete.virtualization.virtual_disks.yaml +++ b/actions/delete.virtualization.virtual_disks.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a virtual disk object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.virtualization.virtual_machines.yaml b/actions/delete.virtualization.virtual_machines.yaml index 62e75dc8..3ca59faa 100644 --- a/actions/delete.virtualization.virtual_machines.yaml +++ b/actions/delete.virtualization.virtual_machines.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a virtual machine object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.vpn.ike_policies.yaml b/actions/delete.vpn.ike_policies.yaml index 6e569d30..8da93cd7 100644 --- a/actions/delete.vpn.ike_policies.yaml +++ b/actions/delete.vpn.ike_policies.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a IKE policy object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.vpn.ike_proposals.yaml b/actions/delete.vpn.ike_proposals.yaml index b4eba1d7..0c9e5d2d 100644 --- a/actions/delete.vpn.ike_proposals.yaml +++ b/actions/delete.vpn.ike_proposals.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a IKE proposal object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.vpn.ipsec_policies.yaml b/actions/delete.vpn.ipsec_policies.yaml index e4711005..1abe18e9 100644 --- a/actions/delete.vpn.ipsec_policies.yaml +++ b/actions/delete.vpn.ipsec_policies.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a IPSec policy object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.vpn.ipsec_profiles.yaml b/actions/delete.vpn.ipsec_profiles.yaml index 7d173031..768e48f0 100644 --- a/actions/delete.vpn.ipsec_profiles.yaml +++ b/actions/delete.vpn.ipsec_profiles.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a IPSec profile object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.vpn.ipsec_proposals.yaml b/actions/delete.vpn.ipsec_proposals.yaml index 3e241ae3..49a6461d 100644 --- a/actions/delete.vpn.ipsec_proposals.yaml +++ b/actions/delete.vpn.ipsec_proposals.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a IPSec proposal object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.vpn.l2vpn_terminations.yaml b/actions/delete.vpn.l2vpn_terminations.yaml index b9c4da81..4ee91059 100644 --- a/actions/delete.vpn.l2vpn_terminations.yaml +++ b/actions/delete.vpn.l2vpn_terminations.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a L2VPN termination object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.vpn.l2vpns.yaml b/actions/delete.vpn.l2vpns.yaml index 680f4482..329df741 100644 --- a/actions/delete.vpn.l2vpns.yaml +++ b/actions/delete.vpn.l2vpns.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a L2VPN object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.vpn.tunnel_groups.yaml b/actions/delete.vpn.tunnel_groups.yaml index 2e08d008..551bbe7d 100644 --- a/actions/delete.vpn.tunnel_groups.yaml +++ b/actions/delete.vpn.tunnel_groups.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a tunnel group object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.vpn.tunnel_terminations.yaml b/actions/delete.vpn.tunnel_terminations.yaml index 5777ca17..98e3097a 100644 --- a/actions/delete.vpn.tunnel_terminations.yaml +++ b/actions/delete.vpn.tunnel_terminations.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a tunnel termination object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.vpn.tunnels.yaml b/actions/delete.vpn.tunnels.yaml index 451fac94..69ce372f 100644 --- a/actions/delete.vpn.tunnels.yaml +++ b/actions/delete.vpn.tunnels.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a tunnel object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.wireless.wireless_lan_groups.yaml b/actions/delete.wireless.wireless_lan_groups.yaml index 35cc94bc..25473cf8 100644 --- a/actions/delete.wireless.wireless_lan_groups.yaml +++ b/actions/delete.wireless.wireless_lan_groups.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a wireless LAN group object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.wireless.wireless_lans.yaml b/actions/delete.wireless.wireless_lans.yaml index f2a08ce9..5266e29a 100644 --- a/actions/delete.wireless.wireless_lans.yaml +++ b/actions/delete.wireless.wireless_lans.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a wireless LAN object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/delete.wireless.wireless_links.yaml b/actions/delete.wireless.wireless_links.yaml index 85824d6e..4c4ced39 100644 --- a/actions/delete.wireless.wireless_links.yaml +++ b/actions/delete.wireless.wireless_links.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Delete a wireless link object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/get.circuits.circuit_group_assignments.yaml b/actions/get.circuits.circuit_group_assignments.yaml new file mode 100644 index 00000000..bd52d681 --- /dev/null +++ b/actions/get.circuits.circuit_group_assignments.yaml @@ -0,0 +1,246 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Get a list of Circuit group assignment objects." +enabled: true +entry_point: run.py +name: get.circuits.circuit_group_assignments +parameters: + endpoint_uri: + default: "/circuits/circuit-group-assignments/" + immutable: true + type: string + http_verb: + default: get + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + circuit: + required: false + type: array + description: "Circuit" + circuit_id: + required: false + type: array + description: "Circuit_id" + created: + required: false + type: array + description: "Created" + created__empty: + required: false + type: array + description: "Created is empty/null (boolean)" + created__gt: + required: false + type: array + description: "Created greater than" + created__gte: + required: false + type: array + description: "Created greater than or equal to" + created__lt: + required: false + type: array + description: "Created less than" + created__lte: + required: false + type: array + description: "Created less than or equal to" + created__n: + required: false + type: array + description: "Created not equal to" + created_by_request: + required: false + type: string + description: "Created_by_request" + group: + required: false + type: array + description: "Circuit group (slug)" + group__n: + required: false + type: array + description: "Group not equal to" + group_id: + required: false + type: array + description: "Circuit group (ID)" + group_id__n: + required: false + type: array + description: "Group_id not equal to" + id: + required: false + type: array + description: "Id" + id__empty: + required: false + type: boolean + description: "Id is empty/null (boolean)" + id__gt: + required: false + type: array + description: "Id greater than" + id__gte: + required: false + type: array + description: "Id greater than or equal to" + id__lt: + required: false + type: array + description: "Id less than" + id__lte: + required: false + type: array + description: "Id less than or equal to" + id__n: + required: false + type: array + description: "Id not equal to" + last_updated: + required: false + type: array + description: "Last_updated" + last_updated__empty: + required: false + type: array + description: "Last_updated is empty/null (boolean)" + last_updated__gt: + required: false + type: array + description: "Last_updated greater than" + last_updated__gte: + required: false + type: array + description: "Last_updated greater than or equal to" + last_updated__lt: + required: false + type: array + description: "Last_updated less than" + last_updated__lte: + required: false + type: array + description: "Last_updated less than or equal to" + last_updated__n: + required: false + type: array + description: "Last_updated not equal to" + limit: + required: false + type: integer + description: "Number of results to return per page." + member_id: + required: false + type: array + description: "Member_id" + member_id__empty: + required: false + type: boolean + description: "Member_id is empty/null (boolean)" + member_id__gt: + required: false + type: array + description: "Member_id greater than" + member_id__gte: + required: false + type: array + description: "Member_id greater than or equal to" + member_id__lt: + required: false + type: array + description: "Member_id less than" + member_id__lte: + required: false + type: array + description: "Member_id less than or equal to" + member_id__n: + required: false + type: array + description: "Member_id not equal to" + member_type: + required: false + type: string + description: "Member_type" + member_type__n: + required: false + type: string + description: "Member_type not equal to" + modified_by_request: + required: false + type: string + description: "Modified_by_request" + offset: + required: false + type: integer + description: "The initial index from which to return the results." + ordering: + required: false + type: string + description: "Which field to use when ordering the results." + priority: + required: false + type: string + description: "* `primary` - Primary +* `secondary` - Secondary +* `tertiary` - Tertiary +* `inactive` - Inactive" + provider: + required: false + type: array + description: "Provider" + provider_id: + required: false + type: array + description: "Provider_id" + q: + required: false + type: string + description: "Search" + tag: + required: false + type: array + description: "Tag" + tag__n: + required: false + type: array + description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" + updated_by_request: + required: false + type: string + description: "Updated_by_request" + virtual_circuit: + required: false + type: array + description: "Virtual_circuit" + virtual_circuit_id: + required: false + type: array + description: "Virtual_circuit_id" + save_in_key_store: + type: boolean + default: false + 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. + save_in_key_store_key_name: + type: string + 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. + save_in_key_store_ttl: + type: integer + default: 60 + 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. +runner_type: python-script diff --git a/actions/get.circuits.circuit_groups.yaml b/actions/get.circuits.circuit_groups.yaml new file mode 100644 index 00000000..31d95005 --- /dev/null +++ b/actions/get.circuits.circuit_groups.yaml @@ -0,0 +1,327 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Get a list of circuit group objects." +enabled: true +entry_point: run.py +name: get.circuits.circuit_groups +parameters: + endpoint_uri: + default: "/circuits/circuit-groups/" + immutable: true + type: string + http_verb: + default: get + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + created: + required: false + type: array + description: "Created" + created__empty: + required: false + type: array + description: "Created is empty/null (boolean)" + created__gt: + required: false + type: array + description: "Created greater than" + created__gte: + required: false + type: array + description: "Created greater than or equal to" + created__lt: + required: false + type: array + description: "Created less than" + created__lte: + required: false + type: array + description: "Created less than or equal to" + created__n: + required: false + type: array + description: "Created not equal to" + created_by_request: + required: false + type: string + description: "Created_by_request" + description: + required: false + type: array + description: "Description" + description__empty: + required: false + type: boolean + description: "Description is empty/null (boolean)" + description__ic: + required: false + type: array + description: "Description contains (case-insensitive)" + description__ie: + required: false + type: array + description: "Description exact match (case-insensitive)" + description__iew: + required: false + type: array + description: "Description ends with (case-insensitive)" + description__isw: + required: false + type: array + description: "Description starts with (case-sensitive)" + description__n: + required: false + type: array + description: "Description not equal to" + description__nic: + required: false + type: array + description: "Description does not contain (case-insensitive)" + description__nie: + required: false + type: array + description: "Description inverse exact match (case-insensitive)" + description__niew: + required: false + type: array + description: "Description does not end with (case-insensitive)" + description__nisw: + required: false + type: array + description: "Description does not start with (case-sensitive)" + id: + required: false + type: array + description: "Id" + id__empty: + required: false + type: boolean + description: "Id is empty/null (boolean)" + id__gt: + required: false + type: array + description: "Id greater than" + id__gte: + required: false + type: array + description: "Id greater than or equal to" + id__lt: + required: false + type: array + description: "Id less than" + id__lte: + required: false + type: array + description: "Id less than or equal to" + id__n: + required: false + type: array + description: "Id not equal to" + last_updated: + required: false + type: array + description: "Last_updated" + last_updated__empty: + required: false + type: array + description: "Last_updated is empty/null (boolean)" + last_updated__gt: + required: false + type: array + description: "Last_updated greater than" + last_updated__gte: + required: false + type: array + description: "Last_updated greater than or equal to" + last_updated__lt: + required: false + type: array + description: "Last_updated less than" + last_updated__lte: + required: false + type: array + description: "Last_updated less than or equal to" + last_updated__n: + required: false + type: array + description: "Last_updated not equal to" + limit: + required: false + type: integer + description: "Number of results to return per page." + modified_by_request: + required: false + type: string + description: "Modified_by_request" + name: + required: false + type: array + description: "Name" + name__empty: + required: false + type: boolean + description: "Name is empty/null (boolean)" + name__ic: + required: false + type: array + description: "Name contains (case-insensitive)" + name__ie: + required: false + type: array + description: "Name exact match (case-insensitive)" + name__iew: + required: false + type: array + description: "Name ends with (case-insensitive)" + name__isw: + required: false + type: array + description: "Name starts with (case-sensitive)" + name__n: + required: false + type: array + description: "Name not equal to" + name__nic: + required: false + type: array + description: "Name does not contain (case-insensitive)" + name__nie: + required: false + type: array + description: "Name inverse exact match (case-insensitive)" + name__niew: + required: false + type: array + description: "Name does not end with (case-insensitive)" + name__nisw: + required: false + type: array + description: "Name does not start with (case-sensitive)" + offset: + required: false + type: integer + description: "The initial index from which to return the results." + ordering: + required: false + type: string + description: "Which field to use when ordering the results." + q: + required: false + type: string + description: "Search" + slug: + required: false + type: array + description: "Slug" + slug__empty: + required: false + type: boolean + description: "Slug is empty/null (boolean)" + slug__ic: + required: false + type: array + description: "Slug contains (case-insensitive)" + slug__ie: + required: false + type: array + description: "Slug exact match (case-insensitive)" + slug__iew: + required: false + type: array + description: "Slug ends with (case-insensitive)" + slug__isw: + required: false + type: array + description: "Slug starts with (case-sensitive)" + slug__n: + required: false + type: array + description: "Slug not equal to" + slug__nic: + required: false + type: array + description: "Slug does not contain (case-insensitive)" + slug__nie: + required: false + type: array + description: "Slug inverse exact match (case-insensitive)" + slug__niew: + required: false + type: array + description: "Slug does not end with (case-insensitive)" + slug__nisw: + required: false + type: array + description: "Slug does not start with (case-sensitive)" + tag: + required: false + type: array + description: "Tag" + tag__n: + required: false + type: array + description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" + tenant: + required: false + type: array + description: "Tenant (slug)" + tenant__n: + required: false + type: array + description: "Tenant not equal to" + tenant_group: + required: false + type: array + description: "Tenant_group" + tenant_group__n: + required: false + type: array + description: "Tenant_group not equal to" + tenant_group_id: + required: false + type: array + description: "Tenant_group_id" + tenant_group_id__n: + required: false + type: array + description: "Tenant_group_id not equal to" + tenant_id: + required: false + type: array + description: "Tenant (ID)" + tenant_id__n: + required: false + type: array + description: "Tenant_id not equal to" + updated_by_request: + required: false + type: string + description: "Updated_by_request" + save_in_key_store: + type: boolean + default: false + 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. + save_in_key_store_key_name: + type: string + 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. + save_in_key_store_ttl: + type: integer + default: 60 + 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. +runner_type: python-script diff --git a/actions/get.circuits.circuit_terminations.paths.yaml b/actions/get.circuits.circuit_terminations.paths.yaml index 5f65fd5f..8c88f7e8 100644 --- a/actions/get.circuits.circuit_terminations.paths.yaml +++ b/actions/get.circuits.circuit_terminations.paths.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Return all CablePaths which traverse a given pass-through port." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: false immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/get.circuits.circuit_terminations.yaml b/actions/get.circuits.circuit_terminations.yaml index 571ce911..ebf840cc 100644 --- a/actions/get.circuits.circuit_terminations.yaml +++ b/actions/get.circuits.circuit_terminations.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of circuit termination objects." enabled: true entry_point: run.py @@ -17,15 +17,15 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. cable_end: required: false type: string description: "* `A` - A * `B` - B" - cable_end__n: - required: false - type: string - description: "Cable_end not equal to" cable_id: required: false type: array @@ -182,6 +182,22 @@ parameters: required: false type: integer description: "Number of results to return per page." + location: + required: false + type: array + description: "Location" + location__n: + required: false + type: array + description: "Location not equal to" + location_id: + required: false + type: array + description: "Location_id" + location_id__n: + required: false + type: array + description: "Location_id not equal to" mark_connected: required: false type: boolean @@ -302,6 +318,22 @@ parameters: required: false type: string description: "Search" + region: + required: false + type: array + description: "Region" + region__n: + required: false + type: array + description: "Region not equal to" + region_id: + required: false + type: array + description: "Region_id" + region_id__n: + required: false + type: array + description: "Region_id not equal to" site: required: false type: array @@ -310,6 +342,22 @@ parameters: required: false type: array description: "Site not equal to" + site_group: + required: false + type: array + description: "Site_group" + site_group__n: + required: false + type: array + description: "Site_group not equal to" + site_group_id: + required: false + type: array + description: "Site_group_id" + site_group_id__n: + required: false + type: array + description: "Site_group_id not equal to" site_id: required: false type: array @@ -326,15 +374,55 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" term_side: required: false type: string description: "* `A` - A * `Z` - Z" - term_side__n: + termination_id: + required: false + type: array + description: "Termination_id" + termination_id__empty: + required: false + type: boolean + description: "Termination_id is empty/null (boolean)" + termination_id__gt: + required: false + type: array + description: "Termination_id greater than" + termination_id__gte: + required: false + type: array + description: "Termination_id greater than or equal to" + termination_id__lt: + required: false + type: array + description: "Termination_id less than" + termination_id__lte: + required: false + type: array + description: "Termination_id less than or equal to" + termination_id__n: + required: false + type: array + description: "Termination_id not equal to" + termination_type: + required: false + type: string + description: "Termination_type" + termination_type__n: required: false type: string - description: "Term_side not equal to" + description: "Termination_type not equal to" updated_by_request: required: false type: string diff --git a/actions/get.circuits.circuit_types.yaml b/actions/get.circuits.circuit_types.yaml index 745f6f3c..23f84689 100644 --- a/actions/get.circuits.circuit_types.yaml +++ b/actions/get.circuits.circuit_types.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of circuit type objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. color: required: false type: array @@ -309,6 +313,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" updated_by_request: required: false type: string diff --git a/actions/get.circuits.circuits.yaml b/actions/get.circuits.circuits.yaml index 42fb6132..f96a7810 100644 --- a/actions/get.circuits.circuits.yaml +++ b/actions/get.circuits.circuits.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of circuit objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. cid: required: false type: array @@ -100,7 +104,7 @@ parameters: contact_group: required: false type: array - description: "Contact group" + description: "Contact_group" contact_group__n: required: false type: array @@ -189,6 +193,41 @@ parameters: required: false type: array description: "Description does not start with (case-sensitive)" + distance: + required: false + type: array + description: "Distance" + distance__empty: + required: false + type: boolean + description: "Distance is empty/null (boolean)" + distance__gt: + required: false + type: array + description: "Distance greater than" + distance__gte: + required: false + type: array + description: "Distance greater than or equal to" + distance__lt: + required: false + type: array + description: "Distance less than" + distance__lte: + required: false + type: array + description: "Distance less than or equal to" + distance__n: + required: false + type: array + description: "Distance not equal to" + distance_unit: + required: false + type: string + description: "* `km` - Kilometers +* `m` - Meters +* `mi` - Miles +* `ft` - Feet" id: required: false type: array @@ -277,6 +316,14 @@ parameters: required: false type: integer description: "Number of results to return per page." + location_id: + required: false + type: array + description: "Location (ID)" + location_id__n: + required: false + type: array + description: "Location_id not equal to" modified_by_request: required: false type: string @@ -336,7 +383,7 @@ parameters: region: required: false type: array - description: "Region (slug)" + description: "Region" region__n: required: false type: array @@ -344,7 +391,7 @@ parameters: region_id: required: false type: array - description: "Region (ID)" + description: "Region_id" region_id__n: required: false type: array @@ -360,7 +407,7 @@ parameters: site_group: required: false type: array - description: "Site group (slug)" + description: "Site_group" site_group__n: required: false type: array @@ -368,7 +415,7 @@ parameters: site_group_id: required: false type: array - description: "Site group (ID)" + description: "Site_group_id" site_group_id__n: required: false type: array @@ -385,10 +432,46 @@ parameters: required: false type: array description: "Status" + status__empty: + required: false + type: boolean + description: "Status is empty/null (boolean)" + status__ic: + required: false + type: array + description: "Status contains (case-insensitive)" + status__ie: + required: false + type: array + description: "Status exact match (case-insensitive)" + status__iew: + required: false + type: array + description: "Status ends with (case-insensitive)" + status__isw: + required: false + type: array + description: "Status starts with (case-sensitive)" status__n: required: false type: array description: "Status not equal to" + status__nic: + required: false + type: array + description: "Status does not contain (case-insensitive)" + status__nie: + required: false + type: array + description: "Status inverse exact match (case-insensitive)" + status__niew: + required: false + type: array + description: "Status does not end with (case-insensitive)" + status__nisw: + required: false + type: array + description: "Status does not start with (case-sensitive)" tag: required: false type: array @@ -397,6 +480,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" tenant: required: false type: array @@ -408,7 +499,7 @@ parameters: tenant_group: required: false type: array - description: "Tenant Group (slug)" + description: "Tenant_group" tenant_group__n: required: false type: array @@ -416,7 +507,7 @@ parameters: tenant_group_id: required: false type: array - description: "Tenant Group (ID)" + description: "Tenant_group_id" tenant_group_id__n: required: false type: array diff --git a/actions/get.circuits.provider_accounts.yaml b/actions/get.circuits.provider_accounts.yaml index 461facbe..cf0668fe 100644 --- a/actions/get.circuits.provider_accounts.yaml +++ b/actions/get.circuits.provider_accounts.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of provider account objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. account: required: false type: array @@ -61,6 +65,30 @@ parameters: required: false type: array description: "Account does not start with (case-sensitive)" + contact: + required: false + type: array + description: "Contact" + contact__n: + required: false + type: array + description: "Contact not equal to" + contact_group: + required: false + type: array + description: "Contact_group" + contact_group__n: + required: false + type: array + description: "Contact_group not equal to" + contact_role: + required: false + type: array + description: "Contact Role" + contact_role__n: + required: false + type: array + description: "Contact_role not equal to" created: required: false type: array @@ -281,6 +309,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" updated_by_request: required: false type: string diff --git a/actions/get.circuits.provider_networks.yaml b/actions/get.circuits.provider_networks.yaml index b618b221..20645325 100644 --- a/actions/get.circuits.provider_networks.yaml +++ b/actions/get.circuits.provider_networks.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of provider network objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. created: required: false type: array @@ -281,6 +285,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" updated_by_request: required: false type: string diff --git a/actions/get.circuits.providers.yaml b/actions/get.circuits.providers.yaml index f83f0d3b..04221d04 100644 --- a/actions/get.circuits.providers.yaml +++ b/actions/get.circuits.providers.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of provider objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. asn: required: false type: array @@ -44,7 +48,7 @@ parameters: contact_group: required: false type: array - description: "Contact group" + description: "Contact_group" contact_group__n: required: false type: array @@ -256,7 +260,7 @@ parameters: region: required: false type: array - description: "Region (slug)" + description: "Region" region__n: required: false type: array @@ -264,7 +268,7 @@ parameters: region_id: required: false type: array - description: "Region (ID)" + description: "Region_id" region_id__n: required: false type: array @@ -280,7 +284,7 @@ parameters: site_group: required: false type: array - description: "Site group (slug)" + description: "Site_group" site_group__n: required: false type: array @@ -288,7 +292,7 @@ parameters: site_group_id: required: false type: array - description: "Site group (ID)" + description: "Site_group_id" site_group_id__n: required: false type: array @@ -353,6 +357,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" updated_by_request: required: false type: string diff --git a/actions/get.circuits.virtual_circuit_terminations.paths.yaml b/actions/get.circuits.virtual_circuit_terminations.paths.yaml new file mode 100644 index 00000000..06ae8106 --- /dev/null +++ b/actions/get.circuits.virtual_circuit_terminations.paths.yaml @@ -0,0 +1,39 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Return all CablePaths which traverse a given pass-through port." +enabled: true +entry_point: run.py +name: get.circuits.virtual_circuit_terminations.paths +parameters: + endpoint_uri: + default: "/circuits/virtual-circuit-terminations/{{ id }}/paths/" + immutable: true + type: string + http_verb: + default: get + immutable: true + type: string + get_detail_route_eligible: + default: false + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + id: + required: true + type: integer + description: "ID of the object." + save_in_key_store: + type: boolean + default: false + 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. + save_in_key_store_key_name: + type: string + 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. + save_in_key_store_ttl: + type: integer + default: 60 + 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. +runner_type: python-script diff --git a/actions/get.circuits.virtual_circuit_terminations.yaml b/actions/get.circuits.virtual_circuit_terminations.yaml new file mode 100644 index 00000000..28ccfdb4 --- /dev/null +++ b/actions/get.circuits.virtual_circuit_terminations.yaml @@ -0,0 +1,307 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Get a list of virtual circuit termination objects." +enabled: true +entry_point: run.py +name: get.circuits.virtual_circuit_terminations +parameters: + endpoint_uri: + default: "/circuits/virtual-circuit-terminations/" + immutable: true + type: string + http_verb: + default: get + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + created: + required: false + type: array + description: "Created" + created__empty: + required: false + type: array + description: "Created is empty/null (boolean)" + created__gt: + required: false + type: array + description: "Created greater than" + created__gte: + required: false + type: array + description: "Created greater than or equal to" + created__lt: + required: false + type: array + description: "Created less than" + created__lte: + required: false + type: array + description: "Created less than or equal to" + created__n: + required: false + type: array + description: "Created not equal to" + created_by_request: + required: false + type: string + description: "Created_by_request" + description: + required: false + type: array + description: "Description" + description__empty: + required: false + type: boolean + description: "Description is empty/null (boolean)" + description__ic: + required: false + type: array + description: "Description contains (case-insensitive)" + description__ie: + required: false + type: array + description: "Description exact match (case-insensitive)" + description__iew: + required: false + type: array + description: "Description ends with (case-insensitive)" + description__isw: + required: false + type: array + description: "Description starts with (case-sensitive)" + description__n: + required: false + type: array + description: "Description not equal to" + description__nic: + required: false + type: array + description: "Description does not contain (case-insensitive)" + description__nie: + required: false + type: array + description: "Description inverse exact match (case-insensitive)" + description__niew: + required: false + type: array + description: "Description does not end with (case-insensitive)" + description__nisw: + required: false + type: array + description: "Description does not start with (case-sensitive)" + id: + required: false + type: array + description: "Id" + id__empty: + required: false + type: boolean + description: "Id is empty/null (boolean)" + id__gt: + required: false + type: array + description: "Id greater than" + id__gte: + required: false + type: array + description: "Id greater than or equal to" + id__lt: + required: false + type: array + description: "Id less than" + id__lte: + required: false + type: array + description: "Id less than or equal to" + id__n: + required: false + type: array + description: "Id not equal to" + interface_id: + required: false + type: array + description: "Interface (ID)" + interface_id__n: + required: false + type: array + description: "Interface_id not equal to" + last_updated: + required: false + type: array + description: "Last_updated" + last_updated__empty: + required: false + type: array + description: "Last_updated is empty/null (boolean)" + last_updated__gt: + required: false + type: array + description: "Last_updated greater than" + last_updated__gte: + required: false + type: array + description: "Last_updated greater than or equal to" + last_updated__lt: + required: false + type: array + description: "Last_updated less than" + last_updated__lte: + required: false + type: array + description: "Last_updated less than or equal to" + last_updated__n: + required: false + type: array + description: "Last_updated not equal to" + limit: + required: false + type: integer + description: "Number of results to return per page." + modified_by_request: + required: false + type: string + description: "Modified_by_request" + offset: + required: false + type: integer + description: "The initial index from which to return the results." + ordering: + required: false + type: string + description: "Which field to use when ordering the results." + provider: + required: false + type: array + description: "Provider (slug)" + provider__n: + required: false + type: array + description: "Provider not equal to" + provider_account: + required: false + type: array + description: "Provider account (account)" + provider_account__n: + required: false + type: array + description: "Provider_account not equal to" + provider_account_id: + required: false + type: array + description: "Provider account (ID)" + provider_account_id__n: + required: false + type: array + description: "Provider_account_id not equal to" + provider_id: + required: false + type: array + description: "Provider (ID)" + provider_id__n: + required: false + type: array + description: "Provider_id not equal to" + provider_network_id: + required: false + type: array + description: "Provider network (ID)" + provider_network_id__n: + required: false + type: array + description: "Provider_network_id not equal to" + q: + required: false + type: string + description: "Search" + role: + required: false + type: array + description: "Role" + role__empty: + required: false + type: boolean + description: "Role is empty/null (boolean)" + role__ic: + required: false + type: array + description: "Role contains (case-insensitive)" + role__ie: + required: false + type: array + description: "Role exact match (case-insensitive)" + role__iew: + required: false + type: array + description: "Role ends with (case-insensitive)" + role__isw: + required: false + type: array + description: "Role starts with (case-sensitive)" + role__n: + required: false + type: array + description: "Role not equal to" + role__nic: + required: false + type: array + description: "Role does not contain (case-insensitive)" + role__nie: + required: false + type: array + description: "Role inverse exact match (case-insensitive)" + role__niew: + required: false + type: array + description: "Role does not end with (case-insensitive)" + role__nisw: + required: false + type: array + description: "Role does not start with (case-sensitive)" + tag: + required: false + type: array + description: "Tag" + tag__n: + required: false + type: array + description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" + updated_by_request: + required: false + type: string + description: "Updated_by_request" + virtual_circuit_id: + required: false + type: array + description: "Virtual circuit" + virtual_circuit_id__n: + required: false + type: array + description: "Virtual_circuit_id not equal to" + save_in_key_store: + type: boolean + default: false + 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. + save_in_key_store_key_name: + type: string + 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. + save_in_key_store_ttl: + type: integer + default: 60 + 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. +runner_type: python-script diff --git a/actions/get.circuits.virtual_circuit_types.yaml b/actions/get.circuits.virtual_circuit_types.yaml new file mode 100644 index 00000000..4d37f69a --- /dev/null +++ b/actions/get.circuits.virtual_circuit_types.yaml @@ -0,0 +1,339 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Get a list of virtual circuit type objects." +enabled: true +entry_point: run.py +name: get.circuits.virtual_circuit_types +parameters: + endpoint_uri: + default: "/circuits/virtual-circuit-types/" + immutable: true + type: string + http_verb: + default: get + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + color: + required: false + type: array + description: "Color" + color__empty: + required: false + type: boolean + description: "Color is empty/null (boolean)" + color__ic: + required: false + type: array + description: "Color contains (case-insensitive)" + color__ie: + required: false + type: array + description: "Color exact match (case-insensitive)" + color__iew: + required: false + type: array + description: "Color ends with (case-insensitive)" + color__isw: + required: false + type: array + description: "Color starts with (case-sensitive)" + color__n: + required: false + type: array + description: "Color not equal to" + color__nic: + required: false + type: array + description: "Color does not contain (case-insensitive)" + color__nie: + required: false + type: array + description: "Color inverse exact match (case-insensitive)" + color__niew: + required: false + type: array + description: "Color does not end with (case-insensitive)" + color__nisw: + required: false + type: array + description: "Color does not start with (case-sensitive)" + created: + required: false + type: array + description: "Created" + created__empty: + required: false + type: array + description: "Created is empty/null (boolean)" + created__gt: + required: false + type: array + description: "Created greater than" + created__gte: + required: false + type: array + description: "Created greater than or equal to" + created__lt: + required: false + type: array + description: "Created less than" + created__lte: + required: false + type: array + description: "Created less than or equal to" + created__n: + required: false + type: array + description: "Created not equal to" + created_by_request: + required: false + type: string + description: "Created_by_request" + description: + required: false + type: array + description: "Description" + description__empty: + required: false + type: boolean + description: "Description is empty/null (boolean)" + description__ic: + required: false + type: array + description: "Description contains (case-insensitive)" + description__ie: + required: false + type: array + description: "Description exact match (case-insensitive)" + description__iew: + required: false + type: array + description: "Description ends with (case-insensitive)" + description__isw: + required: false + type: array + description: "Description starts with (case-sensitive)" + description__n: + required: false + type: array + description: "Description not equal to" + description__nic: + required: false + type: array + description: "Description does not contain (case-insensitive)" + description__nie: + required: false + type: array + description: "Description inverse exact match (case-insensitive)" + description__niew: + required: false + type: array + description: "Description does not end with (case-insensitive)" + description__nisw: + required: false + type: array + description: "Description does not start with (case-sensitive)" + id: + required: false + type: array + description: "Id" + id__empty: + required: false + type: boolean + description: "Id is empty/null (boolean)" + id__gt: + required: false + type: array + description: "Id greater than" + id__gte: + required: false + type: array + description: "Id greater than or equal to" + id__lt: + required: false + type: array + description: "Id less than" + id__lte: + required: false + type: array + description: "Id less than or equal to" + id__n: + required: false + type: array + description: "Id not equal to" + last_updated: + required: false + type: array + description: "Last_updated" + last_updated__empty: + required: false + type: array + description: "Last_updated is empty/null (boolean)" + last_updated__gt: + required: false + type: array + description: "Last_updated greater than" + last_updated__gte: + required: false + type: array + description: "Last_updated greater than or equal to" + last_updated__lt: + required: false + type: array + description: "Last_updated less than" + last_updated__lte: + required: false + type: array + description: "Last_updated less than or equal to" + last_updated__n: + required: false + type: array + description: "Last_updated not equal to" + limit: + required: false + type: integer + description: "Number of results to return per page." + modified_by_request: + required: false + type: string + description: "Modified_by_request" + name: + required: false + type: array + description: "Name" + name__empty: + required: false + type: boolean + description: "Name is empty/null (boolean)" + name__ic: + required: false + type: array + description: "Name contains (case-insensitive)" + name__ie: + required: false + type: array + description: "Name exact match (case-insensitive)" + name__iew: + required: false + type: array + description: "Name ends with (case-insensitive)" + name__isw: + required: false + type: array + description: "Name starts with (case-sensitive)" + name__n: + required: false + type: array + description: "Name not equal to" + name__nic: + required: false + type: array + description: "Name does not contain (case-insensitive)" + name__nie: + required: false + type: array + description: "Name inverse exact match (case-insensitive)" + name__niew: + required: false + type: array + description: "Name does not end with (case-insensitive)" + name__nisw: + required: false + type: array + description: "Name does not start with (case-sensitive)" + offset: + required: false + type: integer + description: "The initial index from which to return the results." + ordering: + required: false + type: string + description: "Which field to use when ordering the results." + q: + required: false + type: string + description: "Search" + slug: + required: false + type: array + description: "Slug" + slug__empty: + required: false + type: boolean + description: "Slug is empty/null (boolean)" + slug__ic: + required: false + type: array + description: "Slug contains (case-insensitive)" + slug__ie: + required: false + type: array + description: "Slug exact match (case-insensitive)" + slug__iew: + required: false + type: array + description: "Slug ends with (case-insensitive)" + slug__isw: + required: false + type: array + description: "Slug starts with (case-sensitive)" + slug__n: + required: false + type: array + description: "Slug not equal to" + slug__nic: + required: false + type: array + description: "Slug does not contain (case-insensitive)" + slug__nie: + required: false + type: array + description: "Slug inverse exact match (case-insensitive)" + slug__niew: + required: false + type: array + description: "Slug does not end with (case-insensitive)" + slug__nisw: + required: false + type: array + description: "Slug does not start with (case-sensitive)" + tag: + required: false + type: array + description: "Tag" + tag__n: + required: false + type: array + description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" + updated_by_request: + required: false + type: string + description: "Updated_by_request" + save_in_key_store: + type: boolean + default: false + 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. + save_in_key_store_key_name: + type: string + 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. + save_in_key_store_ttl: + type: integer + default: 60 + 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. +runner_type: python-script diff --git a/actions/get.circuits.virtual_circuits.yaml b/actions/get.circuits.virtual_circuits.yaml new file mode 100644 index 00000000..f4ab0679 --- /dev/null +++ b/actions/get.circuits.virtual_circuits.yaml @@ -0,0 +1,383 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Get a list of virtual circuit objects." +enabled: true +entry_point: run.py +name: get.circuits.virtual_circuits +parameters: + endpoint_uri: + default: "/circuits/virtual-circuits/" + immutable: true + type: string + http_verb: + default: get + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + cid: + required: false + type: array + description: "Cid" + cid__empty: + required: false + type: boolean + description: "Cid is empty/null (boolean)" + cid__ic: + required: false + type: array + description: "Cid contains (case-insensitive)" + cid__ie: + required: false + type: array + description: "Cid exact match (case-insensitive)" + cid__iew: + required: false + type: array + description: "Cid ends with (case-insensitive)" + cid__isw: + required: false + type: array + description: "Cid starts with (case-sensitive)" + cid__n: + required: false + type: array + description: "Cid not equal to" + cid__nic: + required: false + type: array + description: "Cid does not contain (case-insensitive)" + cid__nie: + required: false + type: array + description: "Cid inverse exact match (case-insensitive)" + cid__niew: + required: false + type: array + description: "Cid does not end with (case-insensitive)" + cid__nisw: + required: false + type: array + description: "Cid does not start with (case-sensitive)" + created: + required: false + type: array + description: "Created" + created__empty: + required: false + type: array + description: "Created is empty/null (boolean)" + created__gt: + required: false + type: array + description: "Created greater than" + created__gte: + required: false + type: array + description: "Created greater than or equal to" + created__lt: + required: false + type: array + description: "Created less than" + created__lte: + required: false + type: array + description: "Created less than or equal to" + created__n: + required: false + type: array + description: "Created not equal to" + created_by_request: + required: false + type: string + description: "Created_by_request" + description: + required: false + type: array + description: "Description" + description__empty: + required: false + type: boolean + description: "Description is empty/null (boolean)" + description__ic: + required: false + type: array + description: "Description contains (case-insensitive)" + description__ie: + required: false + type: array + description: "Description exact match (case-insensitive)" + description__iew: + required: false + type: array + description: "Description ends with (case-insensitive)" + description__isw: + required: false + type: array + description: "Description starts with (case-sensitive)" + description__n: + required: false + type: array + description: "Description not equal to" + description__nic: + required: false + type: array + description: "Description does not contain (case-insensitive)" + description__nie: + required: false + type: array + description: "Description inverse exact match (case-insensitive)" + description__niew: + required: false + type: array + description: "Description does not end with (case-insensitive)" + description__nisw: + required: false + type: array + description: "Description does not start with (case-sensitive)" + id: + required: false + type: array + description: "Id" + id__empty: + required: false + type: boolean + description: "Id is empty/null (boolean)" + id__gt: + required: false + type: array + description: "Id greater than" + id__gte: + required: false + type: array + description: "Id greater than or equal to" + id__lt: + required: false + type: array + description: "Id less than" + id__lte: + required: false + type: array + description: "Id less than or equal to" + id__n: + required: false + type: array + description: "Id not equal to" + last_updated: + required: false + type: array + description: "Last_updated" + last_updated__empty: + required: false + type: array + description: "Last_updated is empty/null (boolean)" + last_updated__gt: + required: false + type: array + description: "Last_updated greater than" + last_updated__gte: + required: false + type: array + description: "Last_updated greater than or equal to" + last_updated__lt: + required: false + type: array + description: "Last_updated less than" + last_updated__lte: + required: false + type: array + description: "Last_updated less than or equal to" + last_updated__n: + required: false + type: array + description: "Last_updated not equal to" + limit: + required: false + type: integer + description: "Number of results to return per page." + modified_by_request: + required: false + type: string + description: "Modified_by_request" + offset: + required: false + type: integer + description: "The initial index from which to return the results." + ordering: + required: false + type: string + description: "Which field to use when ordering the results." + provider: + required: false + type: array + description: "Provider (slug)" + provider__n: + required: false + type: array + description: "Provider not equal to" + provider_account: + required: false + type: array + description: "Provider account (account)" + provider_account__n: + required: false + type: array + description: "Provider_account not equal to" + provider_account_id: + required: false + type: array + description: "Provider account (ID)" + provider_account_id__n: + required: false + type: array + description: "Provider_account_id not equal to" + provider_id: + required: false + type: array + description: "Provider (ID)" + provider_id__n: + required: false + type: array + description: "Provider_id not equal to" + provider_network_id: + required: false + type: array + description: "Provider network (ID)" + provider_network_id__n: + required: false + type: array + description: "Provider_network_id not equal to" + q: + required: false + type: string + description: "Search" + status: + required: false + type: array + description: "Status" + status__empty: + required: false + type: boolean + description: "Status is empty/null (boolean)" + status__ic: + required: false + type: array + description: "Status contains (case-insensitive)" + status__ie: + required: false + type: array + description: "Status exact match (case-insensitive)" + status__iew: + required: false + type: array + description: "Status ends with (case-insensitive)" + status__isw: + required: false + type: array + description: "Status starts with (case-sensitive)" + status__n: + required: false + type: array + description: "Status not equal to" + status__nic: + required: false + type: array + description: "Status does not contain (case-insensitive)" + status__nie: + required: false + type: array + description: "Status inverse exact match (case-insensitive)" + status__niew: + required: false + type: array + description: "Status does not end with (case-insensitive)" + status__nisw: + required: false + type: array + description: "Status does not start with (case-sensitive)" + tag: + required: false + type: array + description: "Tag" + tag__n: + required: false + type: array + description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" + tenant: + required: false + type: array + description: "Tenant (slug)" + tenant__n: + required: false + type: array + description: "Tenant not equal to" + tenant_group: + required: false + type: array + description: "Tenant_group" + tenant_group__n: + required: false + type: array + description: "Tenant_group not equal to" + tenant_group_id: + required: false + type: array + description: "Tenant_group_id" + tenant_group_id__n: + required: false + type: array + description: "Tenant_group_id not equal to" + tenant_id: + required: false + type: array + description: "Tenant (ID)" + tenant_id__n: + required: false + type: array + description: "Tenant_id not equal to" + type: + required: false + type: array + description: "Virtual circuit type (slug)" + type__n: + required: false + type: array + description: "Type not equal to" + type_id: + required: false + type: array + description: "Virtual circuit type (ID)" + type_id__n: + required: false + type: array + description: "Type_id not equal to" + updated_by_request: + required: false + type: string + description: "Updated_by_request" + save_in_key_store: + type: boolean + default: false + 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. + save_in_key_store_key_name: + type: string + 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. + save_in_key_store_ttl: + type: integer + default: 60 + 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. +runner_type: python-script diff --git a/actions/get.core.data_files.yaml b/actions/get.core.data_files.yaml index 56457a2c..9724b7ee 100644 --- a/actions/get.core.data_files.yaml +++ b/actions/get.core.data_files.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of data file objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. created: required: false type: array diff --git a/actions/get.core.data_sources.yaml b/actions/get.core.data_sources.yaml index 25ad7d9d..0930eb24 100644 --- a/actions/get.core.data_sources.yaml +++ b/actions/get.core.data_sources.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of data source objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. created: required: false type: array @@ -293,10 +297,86 @@ parameters: required: false type: array description: "Status" + status__empty: + required: false + type: boolean + description: "Status is empty/null (boolean)" + status__ic: + required: false + type: array + description: "Status contains (case-insensitive)" + status__ie: + required: false + type: array + description: "Status exact match (case-insensitive)" + status__iew: + required: false + type: array + description: "Status ends with (case-insensitive)" + status__isw: + required: false + type: array + description: "Status starts with (case-sensitive)" status__n: required: false type: array description: "Status not equal to" + status__nic: + required: false + type: array + description: "Status does not contain (case-insensitive)" + status__nie: + required: false + type: array + description: "Status inverse exact match (case-insensitive)" + status__niew: + required: false + type: array + description: "Status does not end with (case-insensitive)" + status__nisw: + required: false + type: array + description: "Status does not start with (case-sensitive)" + sync_interval: + required: false + type: array + description: "Sync_interval" + sync_interval__ic: + required: false + type: array + description: "Sync_interval contains (case-insensitive)" + sync_interval__ie: + required: false + type: array + description: "Sync_interval exact match (case-insensitive)" + sync_interval__iew: + required: false + type: array + description: "Sync_interval ends with (case-insensitive)" + sync_interval__isw: + required: false + type: array + description: "Sync_interval starts with (case-sensitive)" + sync_interval__n: + required: false + type: array + description: "Sync_interval not equal to" + sync_interval__nic: + required: false + type: array + description: "Sync_interval does not contain (case-insensitive)" + sync_interval__nie: + required: false + type: array + description: "Sync_interval inverse exact match (case-insensitive)" + sync_interval__niew: + required: false + type: array + description: "Sync_interval does not end with (case-insensitive)" + sync_interval__nisw: + required: false + type: array + description: "Sync_interval does not start with (case-sensitive)" tag: required: false type: array @@ -305,14 +385,58 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" type: required: false type: array description: "Type" + type__empty: + required: false + type: boolean + description: "Type is empty/null (boolean)" + type__ic: + required: false + type: array + description: "Type contains (case-insensitive)" + type__ie: + required: false + type: array + description: "Type exact match (case-insensitive)" + type__iew: + required: false + type: array + description: "Type ends with (case-insensitive)" + type__isw: + required: false + type: array + description: "Type starts with (case-sensitive)" type__n: required: false type: array description: "Type not equal to" + type__nic: + required: false + type: array + description: "Type does not contain (case-insensitive)" + type__nie: + required: false + type: array + description: "Type inverse exact match (case-insensitive)" + type__niew: + required: false + type: array + description: "Type does not end with (case-insensitive)" + type__nisw: + required: false + type: array + description: "Type does not start with (case-sensitive)" updated_by_request: required: false type: string diff --git a/actions/get.core.jobs.yaml b/actions/get.core.jobs.yaml index b727e8af..704be785 100644 --- a/actions/get.core.jobs.yaml +++ b/actions/get.core.jobs.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Retrieve a list of job results" enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. completed: required: false type: string @@ -225,10 +229,46 @@ parameters: required: false type: array description: "Status" + status__empty: + required: false + type: boolean + description: "Status is empty/null (boolean)" + status__ic: + required: false + type: array + description: "Status contains (case-insensitive)" + status__ie: + required: false + type: array + description: "Status exact match (case-insensitive)" + status__iew: + required: false + type: array + description: "Status ends with (case-insensitive)" + status__isw: + required: false + type: array + description: "Status starts with (case-sensitive)" status__n: required: false type: array description: "Status not equal to" + status__nic: + required: false + type: array + description: "Status does not contain (case-insensitive)" + status__nie: + required: false + type: array + description: "Status inverse exact match (case-insensitive)" + status__niew: + required: false + type: array + description: "Status does not end with (case-insensitive)" + status__nisw: + required: false + type: array + description: "Status does not start with (case-sensitive)" user: required: false type: integer diff --git a/actions/get.extras.object_changes.yaml b/actions/get.core.object_changes.yaml similarity index 97% rename from actions/get.extras.object_changes.yaml rename to actions/get.core.object_changes.yaml index e67b4c64..f0eb0a74 100644 --- a/actions/get.extras.object_changes.yaml +++ b/actions/get.core.object_changes.yaml @@ -1,12 +1,12 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Retrieve a list of recent changes." enabled: true entry_point: run.py -name: get.extras.object_changes +name: get.core.object_changes parameters: endpoint_uri: - default: "/extras/object-changes/" + default: "/core/object-changes/" immutable: true type: string http_verb: @@ -17,16 +17,16 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. action: required: false type: string description: "* `create` - Created * `update` - Updated * `delete` - Deleted" - action__n: - required: false - type: string - description: "Action not equal to" changed_object_id: required: false type: array diff --git a/actions/get.dcim.cable_terminations.yaml b/actions/get.dcim.cable_terminations.yaml index 3c5c348b..861f5e1c 100644 --- a/actions/get.dcim.cable_terminations.yaml +++ b/actions/get.dcim.cable_terminations.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of cable termination objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. cable: required: false type: integer @@ -30,10 +34,6 @@ parameters: type: string description: "* `A` - A * `B` - B" - cable_end__n: - required: false - type: string - description: "Cable_end not equal to" created: required: false type: array diff --git a/actions/get.dcim.cables.yaml b/actions/get.dcim.cables.yaml index 88a7ab84..81a7cf99 100644 --- a/actions/get.dcim.cables.yaml +++ b/actions/get.dcim.cables.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of cable objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. circuittermination_id: required: false type: array @@ -25,10 +29,46 @@ parameters: required: false type: array description: "Color" + color__empty: + required: false + type: boolean + description: "Color is empty/null (boolean)" + color__ic: + required: false + type: array + description: "Color contains (case-insensitive)" + color__ie: + required: false + type: array + description: "Color exact match (case-insensitive)" + color__iew: + required: false + type: array + description: "Color ends with (case-insensitive)" + color__isw: + required: false + type: array + description: "Color starts with (case-sensitive)" color__n: required: false type: array description: "Color not equal to" + color__nic: + required: false + type: array + description: "Color does not contain (case-insensitive)" + color__nie: + required: false + type: array + description: "Color inverse exact match (case-insensitive)" + color__niew: + required: false + type: array + description: "Color does not end with (case-insensitive)" + color__nisw: + required: false + type: array + description: "Color does not start with (case-sensitive)" consoleport_id: required: false type: array @@ -266,10 +306,6 @@ parameters: * `mi` - Miles * `ft` - Feet * `in` - Inches" - length_unit__n: - required: false - type: string - description: "Length_unit not equal to" limit: required: false type: integer @@ -334,10 +370,46 @@ parameters: required: false type: array description: "Status" + status__empty: + required: false + type: boolean + description: "Status is empty/null (boolean)" + status__ic: + required: false + type: array + description: "Status contains (case-insensitive)" + status__ie: + required: false + type: array + description: "Status exact match (case-insensitive)" + status__iew: + required: false + type: array + description: "Status ends with (case-insensitive)" + status__isw: + required: false + type: array + description: "Status starts with (case-sensitive)" status__n: required: false type: array description: "Status not equal to" + status__nic: + required: false + type: array + description: "Status does not contain (case-insensitive)" + status__nie: + required: false + type: array + description: "Status inverse exact match (case-insensitive)" + status__niew: + required: false + type: array + description: "Status does not end with (case-insensitive)" + status__nisw: + required: false + type: array + description: "Status does not start with (case-sensitive)" tag: required: false type: array @@ -346,6 +418,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" tenant: required: false type: array @@ -357,7 +437,7 @@ parameters: tenant_group: required: false type: array - description: "Tenant Group (slug)" + description: "Tenant_group" tenant_group__n: required: false type: array @@ -365,7 +445,7 @@ parameters: tenant_group_id: required: false type: array - description: "Tenant Group (ID)" + description: "Tenant_group_id" tenant_group_id__n: required: false type: array @@ -406,10 +486,46 @@ parameters: required: false type: array description: "Type" + type__empty: + required: false + type: boolean + description: "Type is empty/null (boolean)" + type__ic: + required: false + type: array + description: "Type contains (case-insensitive)" + type__ie: + required: false + type: array + description: "Type exact match (case-insensitive)" + type__iew: + required: false + type: array + description: "Type ends with (case-insensitive)" + type__isw: + required: false + type: array + description: "Type starts with (case-sensitive)" type__n: required: false type: array description: "Type not equal to" + type__nic: + required: false + type: array + description: "Type does not contain (case-insensitive)" + type__nie: + required: false + type: array + description: "Type inverse exact match (case-insensitive)" + type__niew: + required: false + type: array + description: "Type does not end with (case-insensitive)" + type__nisw: + required: false + type: array + description: "Type does not start with (case-sensitive)" unterminated: required: false type: boolean diff --git a/actions/get.dcim.connected_device.yaml b/actions/get.dcim.connected_device.yaml index 05d2cbdc..d4f4d53c 100644 --- a/actions/get.dcim.connected_device.yaml +++ b/actions/get.dcim.connected_device.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "This endpoint allows a user to determine what device (if any) is connected to a given peer device and peer interface. This is useful in a situation where a device boots with no configuration, but can detect its neighbors via a protocol such as LLDP. Two query parameters must be included in the request: @@ -22,6 +22,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. peer_device: required: false type: string diff --git a/actions/get.dcim.console_port_templates.yaml b/actions/get.dcim.console_port_templates.yaml index fd91047b..9ffba8f9 100644 --- a/actions/get.dcim.console_port_templates.yaml +++ b/actions/get.dcim.console_port_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of console port template objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. created: required: false type: array @@ -101,14 +105,6 @@ parameters: required: false type: array description: "Device_type_id not equal to" - devicetype_id: - required: false - type: array - description: "Device type (ID)" - devicetype_id__n: - required: false - type: array - description: "Devicetype_id not equal to" id: required: false type: array @@ -225,14 +221,6 @@ parameters: required: false type: array description: "Module_type_id not equal to" - moduletype_id: - required: false - type: array - description: "Module type (ID)" - moduletype_id__n: - required: false - type: array - description: "Moduletype_id not equal to" name: required: false type: array @@ -295,10 +283,6 @@ parameters: description: "* `Serial` - [('de-9', 'DE-9'), ('db-25', 'DB-25'), ('rj-11', 'RJ-11'), ('rj-12', 'RJ-12'), ('rj-45', 'RJ-45'), ('mini-din-8', 'Mini-DIN 8')] * `USB` - [('usb-a', 'USB Type A'), ('usb-b', 'USB Type B'), ('usb-c', 'USB Type C'), ('usb-mini-a', 'USB Mini A'), ('usb-mini-b', 'USB Mini B'), ('usb-micro-a', 'USB Micro A'), ('usb-micro-b', 'USB Micro B'), ('usb-micro-ab', 'USB Micro AB')] * `Other` - [('other', 'Other')]" - type__n: - required: false - type: string - description: "Type not equal to" updated_by_request: required: false type: string diff --git a/actions/get.dcim.console_ports.trace.yaml b/actions/get.dcim.console_ports.trace.yaml index 2a90b1b5..28038927 100644 --- a/actions/get.dcim.console_ports.trace.yaml +++ b/actions/get.dcim.console_ports.trace.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination)." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: false immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/get.dcim.console_ports.yaml b/actions/get.dcim.console_ports.yaml index 841bddae..ba553cd4 100644 --- a/actions/get.dcim.console_ports.yaml +++ b/actions/get.dcim.console_ports.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of console port objects." enabled: true entry_point: run.py @@ -17,15 +17,15 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. cable_end: required: false type: string description: "* `A` - A * `B` - B" - cable_end__n: - required: false - type: string - description: "Cable_end not equal to" cable_id: required: false type: array @@ -134,6 +134,66 @@ parameters: required: false type: array description: "Device_id not equal to" + device_role: + required: false + type: array + description: "Device role (slug)" + device_role__n: + required: false + type: array + description: "Device_role not equal to" + device_role_id: + required: false + type: array + description: "Device role (ID)" + device_role_id__n: + required: false + type: array + description: "Device_role_id not equal to" + device_status: + required: false + type: array + description: "Device_status" + device_status__empty: + required: false + type: boolean + description: "Device_status is empty/null (boolean)" + device_status__ic: + required: false + type: array + description: "Device_status contains (case-insensitive)" + device_status__ie: + required: false + type: array + description: "Device_status exact match (case-insensitive)" + device_status__iew: + required: false + type: array + description: "Device_status ends with (case-insensitive)" + device_status__isw: + required: false + type: array + description: "Device_status starts with (case-sensitive)" + device_status__n: + required: false + type: array + description: "Device_status not equal to" + device_status__nic: + required: false + type: array + description: "Device_status does not contain (case-insensitive)" + device_status__nie: + required: false + type: array + description: "Device_status inverse exact match (case-insensitive)" + device_status__niew: + required: false + type: array + description: "Device_status does not end with (case-insensitive)" + device_status__nisw: + required: false + type: array + description: "Device_status does not start with (case-sensitive)" device_type: required: false type: array @@ -365,7 +425,7 @@ parameters: region: required: false type: array - description: "Region (slug)" + description: "Region" region__n: required: false type: array @@ -373,27 +433,11 @@ parameters: region_id: required: false type: array - description: "Region (ID)" + description: "Region_id" region_id__n: required: false type: array description: "Region_id not equal to" - role: - required: false - type: array - description: "Device role (slug)" - role__n: - required: false - type: array - description: "Role not equal to" - role_id: - required: false - type: array - description: "Device role (ID)" - role_id__n: - required: false - type: array - description: "Role_id not equal to" site: required: false type: array @@ -405,7 +449,7 @@ parameters: site_group: required: false type: array - description: "Site group (slug)" + description: "Site_group" site_group__n: required: false type: array @@ -413,7 +457,7 @@ parameters: site_group_id: required: false type: array - description: "Site group (ID)" + description: "Site_group_id" site_group_id__n: required: false type: array @@ -439,10 +483,6 @@ parameters: * `38400` - 38.4 kbps * `57600` - 57.6 kbps * `115200` - 115.2 kbps" - speed__n: - required: false - type: integer - description: "Speed not equal to" tag: required: false type: array @@ -451,14 +491,58 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" type: required: false type: array description: "Physical port type" + type__empty: + required: false + type: boolean + description: "Type is empty/null (boolean)" + type__ic: + required: false + type: array + description: "Type contains (case-insensitive)" + type__ie: + required: false + type: array + description: "Type exact match (case-insensitive)" + type__iew: + required: false + type: array + description: "Type ends with (case-insensitive)" + type__isw: + required: false + type: array + description: "Type starts with (case-sensitive)" type__n: required: false type: array description: "Type not equal to" + type__nic: + required: false + type: array + description: "Type does not contain (case-insensitive)" + type__nie: + required: false + type: array + description: "Type inverse exact match (case-insensitive)" + type__niew: + required: false + type: array + description: "Type does not end with (case-insensitive)" + type__nisw: + required: false + type: array + description: "Type does not start with (case-sensitive)" updated_by_request: required: false type: string diff --git a/actions/get.dcim.console_server_port_templates.yaml b/actions/get.dcim.console_server_port_templates.yaml index 4c3fbc34..d1f28b36 100644 --- a/actions/get.dcim.console_server_port_templates.yaml +++ b/actions/get.dcim.console_server_port_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of console server port template objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. created: required: false type: array @@ -101,14 +105,6 @@ parameters: required: false type: array description: "Device_type_id not equal to" - devicetype_id: - required: false - type: array - description: "Device type (ID)" - devicetype_id__n: - required: false - type: array - description: "Devicetype_id not equal to" id: required: false type: array @@ -225,14 +221,6 @@ parameters: required: false type: array description: "Module_type_id not equal to" - moduletype_id: - required: false - type: array - description: "Module type (ID)" - moduletype_id__n: - required: false - type: array - description: "Moduletype_id not equal to" name: required: false type: array @@ -295,10 +283,6 @@ parameters: description: "* `Serial` - [('de-9', 'DE-9'), ('db-25', 'DB-25'), ('rj-11', 'RJ-11'), ('rj-12', 'RJ-12'), ('rj-45', 'RJ-45'), ('mini-din-8', 'Mini-DIN 8')] * `USB` - [('usb-a', 'USB Type A'), ('usb-b', 'USB Type B'), ('usb-c', 'USB Type C'), ('usb-mini-a', 'USB Mini A'), ('usb-mini-b', 'USB Mini B'), ('usb-micro-a', 'USB Micro A'), ('usb-micro-b', 'USB Micro B'), ('usb-micro-ab', 'USB Micro AB')] * `Other` - [('other', 'Other')]" - type__n: - required: false - type: string - description: "Type not equal to" updated_by_request: required: false type: string diff --git a/actions/get.dcim.console_server_ports.trace.yaml b/actions/get.dcim.console_server_ports.trace.yaml index fc044dde..c1a4db9f 100644 --- a/actions/get.dcim.console_server_ports.trace.yaml +++ b/actions/get.dcim.console_server_ports.trace.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination)." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: false immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/get.dcim.console_server_ports.yaml b/actions/get.dcim.console_server_ports.yaml index 20bbd4b1..ffc96ce3 100644 --- a/actions/get.dcim.console_server_ports.yaml +++ b/actions/get.dcim.console_server_ports.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of console server port objects." enabled: true entry_point: run.py @@ -17,15 +17,15 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. cable_end: required: false type: string description: "* `A` - A * `B` - B" - cable_end__n: - required: false - type: string - description: "Cable_end not equal to" cable_id: required: false type: array @@ -134,6 +134,66 @@ parameters: required: false type: array description: "Device_id not equal to" + device_role: + required: false + type: array + description: "Device role (slug)" + device_role__n: + required: false + type: array + description: "Device_role not equal to" + device_role_id: + required: false + type: array + description: "Device role (ID)" + device_role_id__n: + required: false + type: array + description: "Device_role_id not equal to" + device_status: + required: false + type: array + description: "Device_status" + device_status__empty: + required: false + type: boolean + description: "Device_status is empty/null (boolean)" + device_status__ic: + required: false + type: array + description: "Device_status contains (case-insensitive)" + device_status__ie: + required: false + type: array + description: "Device_status exact match (case-insensitive)" + device_status__iew: + required: false + type: array + description: "Device_status ends with (case-insensitive)" + device_status__isw: + required: false + type: array + description: "Device_status starts with (case-sensitive)" + device_status__n: + required: false + type: array + description: "Device_status not equal to" + device_status__nic: + required: false + type: array + description: "Device_status does not contain (case-insensitive)" + device_status__nie: + required: false + type: array + description: "Device_status inverse exact match (case-insensitive)" + device_status__niew: + required: false + type: array + description: "Device_status does not end with (case-insensitive)" + device_status__nisw: + required: false + type: array + description: "Device_status does not start with (case-sensitive)" device_type: required: false type: array @@ -365,7 +425,7 @@ parameters: region: required: false type: array - description: "Region (slug)" + description: "Region" region__n: required: false type: array @@ -373,27 +433,11 @@ parameters: region_id: required: false type: array - description: "Region (ID)" + description: "Region_id" region_id__n: required: false type: array description: "Region_id not equal to" - role: - required: false - type: array - description: "Device role (slug)" - role__n: - required: false - type: array - description: "Role not equal to" - role_id: - required: false - type: array - description: "Device role (ID)" - role_id__n: - required: false - type: array - description: "Role_id not equal to" site: required: false type: array @@ -405,7 +449,7 @@ parameters: site_group: required: false type: array - description: "Site group (slug)" + description: "Site_group" site_group__n: required: false type: array @@ -413,7 +457,7 @@ parameters: site_group_id: required: false type: array - description: "Site group (ID)" + description: "Site_group_id" site_group_id__n: required: false type: array @@ -439,10 +483,6 @@ parameters: * `38400` - 38.4 kbps * `57600` - 57.6 kbps * `115200` - 115.2 kbps" - speed__n: - required: false - type: integer - description: "Speed not equal to" tag: required: false type: array @@ -451,14 +491,58 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" type: required: false type: array description: "Physical port type" + type__empty: + required: false + type: boolean + description: "Type is empty/null (boolean)" + type__ic: + required: false + type: array + description: "Type contains (case-insensitive)" + type__ie: + required: false + type: array + description: "Type exact match (case-insensitive)" + type__iew: + required: false + type: array + description: "Type ends with (case-insensitive)" + type__isw: + required: false + type: array + description: "Type starts with (case-sensitive)" type__n: required: false type: array description: "Type not equal to" + type__nic: + required: false + type: array + description: "Type does not contain (case-insensitive)" + type__nie: + required: false + type: array + description: "Type inverse exact match (case-insensitive)" + type__niew: + required: false + type: array + description: "Type does not end with (case-insensitive)" + type__nisw: + required: false + type: array + description: "Type does not start with (case-sensitive)" updated_by_request: required: false type: string diff --git a/actions/get.dcim.device_bay_templates.yaml b/actions/get.dcim.device_bay_templates.yaml index 620af3ea..7f3fad0c 100644 --- a/actions/get.dcim.device_bay_templates.yaml +++ b/actions/get.dcim.device_bay_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of device bay template objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. created: required: false type: array @@ -101,14 +105,6 @@ parameters: required: false type: array description: "Device_type_id not equal to" - devicetype_id: - required: false - type: array - description: "Device type (ID)" - devicetype_id__n: - required: false - type: array - description: "Devicetype_id not equal to" id: required: false type: array diff --git a/actions/get.dcim.device_bays.yaml b/actions/get.dcim.device_bays.yaml index 37c7231b..508af49b 100644 --- a/actions/get.dcim.device_bays.yaml +++ b/actions/get.dcim.device_bays.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of device bay objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. created: required: false type: array @@ -109,6 +113,66 @@ parameters: required: false type: array description: "Device_id not equal to" + device_role: + required: false + type: array + description: "Device role (slug)" + device_role__n: + required: false + type: array + description: "Device_role not equal to" + device_role_id: + required: false + type: array + description: "Device role (ID)" + device_role_id__n: + required: false + type: array + description: "Device_role_id not equal to" + device_status: + required: false + type: array + description: "Device_status" + device_status__empty: + required: false + type: boolean + description: "Device_status is empty/null (boolean)" + device_status__ic: + required: false + type: array + description: "Device_status contains (case-insensitive)" + device_status__ie: + required: false + type: array + description: "Device_status exact match (case-insensitive)" + device_status__iew: + required: false + type: array + description: "Device_status ends with (case-insensitive)" + device_status__isw: + required: false + type: array + description: "Device_status starts with (case-sensitive)" + device_status__n: + required: false + type: array + description: "Device_status not equal to" + device_status__nic: + required: false + type: array + description: "Device_status does not contain (case-insensitive)" + device_status__nie: + required: false + type: array + description: "Device_status inverse exact match (case-insensitive)" + device_status__niew: + required: false + type: array + description: "Device_status does not end with (case-insensitive)" + device_status__nisw: + required: false + type: array + description: "Device_status does not start with (case-sensitive)" device_type: required: false type: array @@ -340,7 +404,7 @@ parameters: region: required: false type: array - description: "Region (slug)" + description: "Region" region__n: required: false type: array @@ -348,27 +412,11 @@ parameters: region_id: required: false type: array - description: "Region (ID)" + description: "Region_id" region_id__n: required: false type: array description: "Region_id not equal to" - role: - required: false - type: array - description: "Device role (slug)" - role__n: - required: false - type: array - description: "Role not equal to" - role_id: - required: false - type: array - description: "Device role (ID)" - role_id__n: - required: false - type: array - description: "Role_id not equal to" site: required: false type: array @@ -380,7 +428,7 @@ parameters: site_group: required: false type: array - description: "Site group (slug)" + description: "Site_group" site_group__n: required: false type: array @@ -388,7 +436,7 @@ parameters: site_group_id: required: false type: array - description: "Site group (ID)" + description: "Site_group_id" site_group_id__n: required: false type: array @@ -409,6 +457,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" updated_by_request: required: false type: string diff --git a/actions/get.dcim.device_roles.yaml b/actions/get.dcim.device_roles.yaml index 0fde49fb..0d090002 100644 --- a/actions/get.dcim.device_roles.yaml +++ b/actions/get.dcim.device_roles.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of device role objects." enabled: true entry_point: run.py @@ -17,6 +17,26 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + ancestor: + required: false + type: array + description: "Ancestor" + ancestor__n: + required: false + type: array + description: "Ancestor not equal to" + ancestor_id: + required: false + type: array + description: "Ancestor_id" + ancestor_id__n: + required: false + type: array + description: "Ancestor_id not equal to" color: required: false type: array @@ -261,6 +281,22 @@ parameters: required: false type: string description: "Which field to use when ordering the results." + parent: + required: false + type: array + description: "Parent device role (slug)" + parent__n: + required: false + type: array + description: "Parent not equal to" + parent_id: + required: false + type: array + description: "Parent device role (ID)" + parent_id__n: + required: false + type: array + description: "Parent_id not equal to" q: required: false type: string @@ -317,6 +353,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" updated_by_request: required: false type: string diff --git a/actions/get.dcim.device_types.yaml b/actions/get.dcim.device_types.yaml index bb418bcb..e26b7038 100644 --- a/actions/get.dcim.device_types.yaml +++ b/actions/get.dcim.device_types.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of device type objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. airflow: required: false type: string @@ -25,12 +29,11 @@ parameters: * `left-to-right` - Left to right * `right-to-left` - Right to left * `side-to-rear` - Side to rear +* `rear-to-side` - Rear to side +* `bottom-to-top` - Bottom to top +* `top-to-bottom` - Top to bottom * `passive` - Passive * `mixed` - Mixed" - airflow__n: - required: false - type: string - description: "Airflow not equal to" console_port_template_count: required: false type: array @@ -686,10 +689,6 @@ parameters: * `parent` - Parent * `child` - Child" - subdevice_role__n: - required: false - type: string - description: "Subdevice_role not equal to" tag: required: false type: array @@ -698,6 +697,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" u_height: required: false type: array @@ -765,10 +772,6 @@ parameters: * `g` - Grams * `lb` - Pounds * `oz` - Ounces" - weight_unit__n: - required: false - type: string - description: "Weight_unit not equal to" save_in_key_store: type: boolean default: false diff --git a/actions/get.dcim.devices.yaml b/actions/get.dcim.devices.yaml index a5cf80ce..2355c788 100644 --- a/actions/get.dcim.devices.yaml +++ b/actions/get.dcim.devices.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of device objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. airflow: required: false type: string @@ -25,12 +29,11 @@ parameters: * `left-to-right` - Left to right * `right-to-left` - Right to left * `side-to-rear` - Side to rear +* `rear-to-side` - Rear to side +* `bottom-to-top` - Bottom to top +* `top-to-bottom` - Top to bottom * `passive` - Passive * `mixed` - Mixed" - airflow__n: - required: false - type: string - description: "Airflow not equal to" asset_tag: required: false type: array @@ -75,6 +78,22 @@ parameters: required: false type: array description: "Asset_tag does not start with (case-sensitive)" + cluster_group: + required: false + type: array + description: "Cluster group (slug)" + cluster_group__n: + required: false + type: array + description: "Cluster_group not equal to" + cluster_group_id: + required: false + type: array + description: "Cluster group (ID)" + cluster_group_id__n: + required: false + type: array + description: "Cluster_group_id not equal to" cluster_id: required: false type: array @@ -166,7 +185,7 @@ parameters: contact_group: required: false type: array - description: "Contact group" + description: "Contact_group" contact_group__n: required: false type: array @@ -308,10 +327,6 @@ parameters: type: string description: "* `front` - Front * `rear` - Rear" - face__n: - required: false - type: string - description: "Face not equal to" front_port_count: required: false type: array @@ -508,10 +523,18 @@ parameters: required: false type: boolean description: "Has local config context data" + location: + required: false + type: array + description: "Location" + location__n: + required: false + type: array + description: "Location not equal to" location_id: required: false type: array - description: "Location (ID)" + description: "Location_id" location_id__n: required: false type: array @@ -832,6 +855,14 @@ parameters: required: false type: boolean description: "Has power ports" + primary_ip4: + required: false + type: array + description: "Primary IPv4 (address)" + primary_ip4__n: + required: false + type: array + description: "Primary_ip4 not equal to" primary_ip4_id: required: false type: array @@ -840,6 +871,14 @@ parameters: required: false type: array description: "Primary_ip4_id not equal to" + primary_ip6: + required: false + type: array + description: "Primary IPv6 (address)" + primary_ip6__n: + required: false + type: array + description: "Primary_ip6 not equal to" primary_ip6_id: required: false type: array @@ -891,7 +930,7 @@ parameters: region: required: false type: array - description: "Region (slug)" + description: "Region" region__n: required: false type: array @@ -899,7 +938,7 @@ parameters: region_id: required: false type: array - description: "Region (ID)" + description: "Region_id" region_id__n: required: false type: array @@ -907,7 +946,7 @@ parameters: role: required: false type: array - description: "Role (slug)" + description: "Role" role__n: required: false type: array @@ -915,7 +954,7 @@ parameters: role_id: required: false type: array - description: "Role (ID)" + description: "Role_id" role_id__n: required: false type: array @@ -975,7 +1014,7 @@ parameters: site_group: required: false type: array - description: "Site group (slug)" + description: "Site_group" site_group__n: required: false type: array @@ -983,7 +1022,7 @@ parameters: site_group_id: required: false type: array - description: "Site group (ID)" + description: "Site_group_id" site_group_id__n: required: false type: array @@ -1000,10 +1039,46 @@ parameters: required: false type: array description: "Status" + status__empty: + required: false + type: boolean + description: "Status is empty/null (boolean)" + status__ic: + required: false + type: array + description: "Status contains (case-insensitive)" + status__ie: + required: false + type: array + description: "Status exact match (case-insensitive)" + status__iew: + required: false + type: array + description: "Status ends with (case-insensitive)" + status__isw: + required: false + type: array + description: "Status starts with (case-sensitive)" status__n: required: false type: array description: "Status not equal to" + status__nic: + required: false + type: array + description: "Status does not contain (case-insensitive)" + status__nie: + required: false + type: array + description: "Status inverse exact match (case-insensitive)" + status__niew: + required: false + type: array + description: "Status does not end with (case-insensitive)" + status__nisw: + required: false + type: array + description: "Status does not start with (case-sensitive)" tag: required: false type: array @@ -1012,6 +1087,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" tenant: required: false type: array @@ -1023,7 +1106,7 @@ parameters: tenant_group: required: false type: array - description: "Tenant Group (slug)" + description: "Tenant_group" tenant_group__n: required: false type: array @@ -1031,7 +1114,7 @@ parameters: tenant_group_id: required: false type: array - description: "Tenant Group (ID)" + description: "Tenant_group_id" tenant_group_id__n: required: false type: array diff --git a/actions/get.dcim.front_port_templates.yaml b/actions/get.dcim.front_port_templates.yaml index cefa31cd..62f9c187 100644 --- a/actions/get.dcim.front_port_templates.yaml +++ b/actions/get.dcim.front_port_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of front port template objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. color: required: false type: array @@ -145,14 +149,6 @@ parameters: required: false type: array description: "Device_type_id not equal to" - devicetype_id: - required: false - type: array - description: "Device type (ID)" - devicetype_id__n: - required: false - type: array - description: "Devicetype_id not equal to" id: required: false type: array @@ -269,14 +265,6 @@ parameters: required: false type: array description: "Module_type_id not equal to" - moduletype_id: - required: false - type: array - description: "Module type (ID)" - moduletype_id__n: - required: false - type: array - description: "Moduletype_id not equal to" name: required: false type: array @@ -373,10 +361,46 @@ parameters: required: false type: array description: "Type" + type__empty: + required: false + type: boolean + description: "Type is empty/null (boolean)" + type__ic: + required: false + type: array + description: "Type contains (case-insensitive)" + type__ie: + required: false + type: array + description: "Type exact match (case-insensitive)" + type__iew: + required: false + type: array + description: "Type ends with (case-insensitive)" + type__isw: + required: false + type: array + description: "Type starts with (case-sensitive)" type__n: required: false type: array description: "Type not equal to" + type__nic: + required: false + type: array + description: "Type does not contain (case-insensitive)" + type__nie: + required: false + type: array + description: "Type inverse exact match (case-insensitive)" + type__niew: + required: false + type: array + description: "Type does not end with (case-insensitive)" + type__nisw: + required: false + type: array + description: "Type does not start with (case-sensitive)" updated_by_request: required: false type: string diff --git a/actions/get.dcim.front_ports.paths.yaml b/actions/get.dcim.front_ports.paths.yaml index 5e00515e..905984a6 100644 --- a/actions/get.dcim.front_ports.paths.yaml +++ b/actions/get.dcim.front_ports.paths.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Return all CablePaths which traverse a given pass-through port." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: false immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/get.dcim.front_ports.yaml b/actions/get.dcim.front_ports.yaml index 6e25625d..f0c3f5ea 100644 --- a/actions/get.dcim.front_ports.yaml +++ b/actions/get.dcim.front_ports.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of front port objects." enabled: true entry_point: run.py @@ -17,15 +17,15 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. cable_end: required: false type: string description: "* `A` - A * `B` - B" - cable_end__n: - required: false - type: string - description: "Cable_end not equal to" cable_id: required: false type: array @@ -174,6 +174,66 @@ parameters: required: false type: array description: "Device_id not equal to" + device_role: + required: false + type: array + description: "Device role (slug)" + device_role__n: + required: false + type: array + description: "Device_role not equal to" + device_role_id: + required: false + type: array + description: "Device role (ID)" + device_role_id__n: + required: false + type: array + description: "Device_role_id not equal to" + device_status: + required: false + type: array + description: "Device_status" + device_status__empty: + required: false + type: boolean + description: "Device_status is empty/null (boolean)" + device_status__ic: + required: false + type: array + description: "Device_status contains (case-insensitive)" + device_status__ie: + required: false + type: array + description: "Device_status exact match (case-insensitive)" + device_status__iew: + required: false + type: array + description: "Device_status ends with (case-insensitive)" + device_status__isw: + required: false + type: array + description: "Device_status starts with (case-sensitive)" + device_status__n: + required: false + type: array + description: "Device_status not equal to" + device_status__nic: + required: false + type: array + description: "Device_status does not contain (case-insensitive)" + device_status__nie: + required: false + type: array + description: "Device_status inverse exact match (case-insensitive)" + device_status__niew: + required: false + type: array + description: "Device_status does not end with (case-insensitive)" + device_status__nisw: + required: false + type: array + description: "Device_status does not start with (case-sensitive)" device_type: required: false type: array @@ -441,7 +501,7 @@ parameters: region: required: false type: array - description: "Region (slug)" + description: "Region" region__n: required: false type: array @@ -449,27 +509,11 @@ parameters: region_id: required: false type: array - description: "Region (ID)" + description: "Region_id" region_id__n: required: false type: array description: "Region_id not equal to" - role: - required: false - type: array - description: "Device role (slug)" - role__n: - required: false - type: array - description: "Role not equal to" - role_id: - required: false - type: array - description: "Device role (ID)" - role_id__n: - required: false - type: array - description: "Role_id not equal to" site: required: false type: array @@ -481,7 +525,7 @@ parameters: site_group: required: false type: array - description: "Site group (slug)" + description: "Site_group" site_group__n: required: false type: array @@ -489,7 +533,7 @@ parameters: site_group_id: required: false type: array - description: "Site group (ID)" + description: "Site_group_id" site_group_id__n: required: false type: array @@ -510,14 +554,58 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" type: required: false type: array description: "Type" + type__empty: + required: false + type: boolean + description: "Type is empty/null (boolean)" + type__ic: + required: false + type: array + description: "Type contains (case-insensitive)" + type__ie: + required: false + type: array + description: "Type exact match (case-insensitive)" + type__iew: + required: false + type: array + description: "Type ends with (case-insensitive)" + type__isw: + required: false + type: array + description: "Type starts with (case-sensitive)" type__n: required: false type: array description: "Type not equal to" + type__nic: + required: false + type: array + description: "Type does not contain (case-insensitive)" + type__nie: + required: false + type: array + description: "Type inverse exact match (case-insensitive)" + type__niew: + required: false + type: array + description: "Type does not end with (case-insensitive)" + type__nisw: + required: false + type: array + description: "Type does not start with (case-sensitive)" updated_by_request: required: false type: string diff --git a/actions/get.dcim.interface_templates.yaml b/actions/get.dcim.interface_templates.yaml index 50bf1bd7..2d26c748 100644 --- a/actions/get.dcim.interface_templates.yaml +++ b/actions/get.dcim.interface_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of interface template objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. bridge_id: required: false type: array @@ -109,14 +113,6 @@ parameters: required: false type: array description: "Device_type_id not equal to" - devicetype_id: - required: false - type: array - description: "Device type (ID)" - devicetype_id__n: - required: false - type: array - description: "Devicetype_id not equal to" enabled: required: false type: boolean @@ -241,14 +237,6 @@ parameters: required: false type: array description: "Module_type_id not equal to" - moduletype_id: - required: false - type: array - description: "Module type (ID)" - moduletype_id__n: - required: false - type: array - description: "Moduletype_id not equal to" name: required: false type: array @@ -305,18 +293,90 @@ parameters: required: false type: array description: "Poe_mode" + poe_mode__empty: + required: false + type: boolean + description: "Poe_mode is empty/null (boolean)" + poe_mode__ic: + required: false + type: array + description: "Poe_mode contains (case-insensitive)" + poe_mode__ie: + required: false + type: array + description: "Poe_mode exact match (case-insensitive)" + poe_mode__iew: + required: false + type: array + description: "Poe_mode ends with (case-insensitive)" + poe_mode__isw: + required: false + type: array + description: "Poe_mode starts with (case-sensitive)" poe_mode__n: required: false type: array description: "Poe_mode not equal to" + poe_mode__nic: + required: false + type: array + description: "Poe_mode does not contain (case-insensitive)" + poe_mode__nie: + required: false + type: array + description: "Poe_mode inverse exact match (case-insensitive)" + poe_mode__niew: + required: false + type: array + description: "Poe_mode does not end with (case-insensitive)" + poe_mode__nisw: + required: false + type: array + description: "Poe_mode does not start with (case-sensitive)" poe_type: required: false type: array description: "Poe_type" + poe_type__empty: + required: false + type: boolean + description: "Poe_type is empty/null (boolean)" + poe_type__ic: + required: false + type: array + description: "Poe_type contains (case-insensitive)" + poe_type__ie: + required: false + type: array + description: "Poe_type exact match (case-insensitive)" + poe_type__iew: + required: false + type: array + description: "Poe_type ends with (case-insensitive)" + poe_type__isw: + required: false + type: array + description: "Poe_type starts with (case-sensitive)" poe_type__n: required: false type: array description: "Poe_type not equal to" + poe_type__nic: + required: false + type: array + description: "Poe_type does not contain (case-insensitive)" + poe_type__nie: + required: false + type: array + description: "Poe_type inverse exact match (case-insensitive)" + poe_type__niew: + required: false + type: array + description: "Poe_type does not end with (case-insensitive)" + poe_type__nisw: + required: false + type: array + description: "Poe_type does not start with (case-sensitive)" q: required: false type: string @@ -325,18 +385,90 @@ parameters: required: false type: array description: "Rf_role" + rf_role__empty: + required: false + type: boolean + description: "Rf_role is empty/null (boolean)" + rf_role__ic: + required: false + type: array + description: "Rf_role contains (case-insensitive)" + rf_role__ie: + required: false + type: array + description: "Rf_role exact match (case-insensitive)" + rf_role__iew: + required: false + type: array + description: "Rf_role ends with (case-insensitive)" + rf_role__isw: + required: false + type: array + description: "Rf_role starts with (case-sensitive)" rf_role__n: required: false type: array description: "Rf_role not equal to" + rf_role__nic: + required: false + type: array + description: "Rf_role does not contain (case-insensitive)" + rf_role__nie: + required: false + type: array + description: "Rf_role inverse exact match (case-insensitive)" + rf_role__niew: + required: false + type: array + description: "Rf_role does not end with (case-insensitive)" + rf_role__nisw: + required: false + type: array + description: "Rf_role does not start with (case-sensitive)" type: required: false type: array description: "Type" + type__empty: + required: false + type: boolean + description: "Type is empty/null (boolean)" + type__ic: + required: false + type: array + description: "Type contains (case-insensitive)" + type__ie: + required: false + type: array + description: "Type exact match (case-insensitive)" + type__iew: + required: false + type: array + description: "Type ends with (case-insensitive)" + type__isw: + required: false + type: array + description: "Type starts with (case-sensitive)" type__n: required: false type: array description: "Type not equal to" + type__nic: + required: false + type: array + description: "Type does not contain (case-insensitive)" + type__nie: + required: false + type: array + description: "Type inverse exact match (case-insensitive)" + type__niew: + required: false + type: array + description: "Type does not end with (case-insensitive)" + type__nisw: + required: false + type: array + description: "Type does not start with (case-sensitive)" updated_by_request: required: false type: string diff --git a/actions/get.dcim.interfaces.trace.yaml b/actions/get.dcim.interfaces.trace.yaml index 3b33cb01..ab3ca51e 100644 --- a/actions/get.dcim.interfaces.trace.yaml +++ b/actions/get.dcim.interfaces.trace.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination)." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: false immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/get.dcim.interfaces.yaml b/actions/get.dcim.interfaces.yaml index d82c7822..e88887b1 100644 --- a/actions/get.dcim.interfaces.yaml +++ b/actions/get.dcim.interfaces.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of interface objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. bridge_id: required: false type: array @@ -30,10 +34,6 @@ parameters: type: string description: "* `A` - A * `B` - B" - cable_end__n: - required: false - type: string - description: "Cable_end not equal to" cable_id: required: false type: array @@ -142,6 +142,66 @@ parameters: required: false type: array description: "Device_id not equal to" + device_role: + required: false + type: array + description: "Device role (slug)" + device_role__n: + required: false + type: array + description: "Device_role not equal to" + device_role_id: + required: false + type: array + description: "Device role (ID)" + device_role_id__n: + required: false + type: array + description: "Device_role_id not equal to" + device_status: + required: false + type: array + description: "Device_status" + device_status__empty: + required: false + type: boolean + description: "Device_status is empty/null (boolean)" + device_status__ic: + required: false + type: array + description: "Device_status contains (case-insensitive)" + device_status__ie: + required: false + type: array + description: "Device_status exact match (case-insensitive)" + device_status__iew: + required: false + type: array + description: "Device_status ends with (case-insensitive)" + device_status__isw: + required: false + type: array + description: "Device_status starts with (case-sensitive)" + device_status__n: + required: false + type: array + description: "Device_status not equal to" + device_status__nic: + required: false + type: array + description: "Device_status does not contain (case-insensitive)" + device_status__nie: + required: false + type: array + description: "Device_status inverse exact match (case-insensitive)" + device_status__niew: + required: false + type: array + description: "Device_status does not end with (case-insensitive)" + device_status__nisw: + required: false + type: array + description: "Device_status does not start with (case-sensitive)" device_type: required: false type: array @@ -162,10 +222,46 @@ parameters: required: false type: array description: "Duplex" + duplex__empty: + required: false + type: boolean + description: "Duplex is empty/null (boolean)" + duplex__ic: + required: false + type: array + description: "Duplex contains (case-insensitive)" + duplex__ie: + required: false + type: array + description: "Duplex exact match (case-insensitive)" + duplex__iew: + required: false + type: array + description: "Duplex ends with (case-insensitive)" + duplex__isw: + required: false + type: array + description: "Duplex starts with (case-sensitive)" duplex__n: required: false type: array description: "Duplex not equal to" + duplex__nic: + required: false + type: array + description: "Duplex does not contain (case-insensitive)" + duplex__nie: + required: false + type: array + description: "Duplex inverse exact match (case-insensitive)" + duplex__niew: + required: false + type: array + description: "Duplex does not end with (case-insensitive)" + duplex__nisw: + required: false + type: array + description: "Duplex does not start with (case-sensitive)" enabled: required: false type: boolean @@ -368,16 +464,48 @@ parameters: description: "Mgmt_only" mode: required: false - type: string - description: "IEEE 802.1Q tagging strategy - -* `access` - Access -* `tagged` - Tagged -* `tagged-all` - Tagged (All)" + type: array + description: "802.1Q Mode" + mode__empty: + required: false + type: boolean + description: "Mode is empty/null (boolean)" + mode__ic: + required: false + type: array + description: "Mode contains (case-insensitive)" + mode__ie: + required: false + type: array + description: "Mode exact match (case-insensitive)" + mode__iew: + required: false + type: array + description: "Mode ends with (case-insensitive)" + mode__isw: + required: false + type: array + description: "Mode starts with (case-sensitive)" mode__n: required: false - type: string + type: array description: "Mode not equal to" + mode__nic: + required: false + type: array + description: "Mode does not contain (case-insensitive)" + mode__nie: + required: false + type: array + description: "Mode inverse exact match (case-insensitive)" + mode__niew: + required: false + type: array + description: "Mode does not end with (case-insensitive)" + mode__nisw: + required: false + type: array + description: "Mode does not start with (case-sensitive)" modified_by_request: required: false type: string @@ -486,18 +614,106 @@ parameters: required: false type: array description: "Poe_mode" + poe_mode__empty: + required: false + type: boolean + description: "Poe_mode is empty/null (boolean)" + poe_mode__ic: + required: false + type: array + description: "Poe_mode contains (case-insensitive)" + poe_mode__ie: + required: false + type: array + description: "Poe_mode exact match (case-insensitive)" + poe_mode__iew: + required: false + type: array + description: "Poe_mode ends with (case-insensitive)" + poe_mode__isw: + required: false + type: array + description: "Poe_mode starts with (case-sensitive)" poe_mode__n: required: false type: array description: "Poe_mode not equal to" + poe_mode__nic: + required: false + type: array + description: "Poe_mode does not contain (case-insensitive)" + poe_mode__nie: + required: false + type: array + description: "Poe_mode inverse exact match (case-insensitive)" + poe_mode__niew: + required: false + type: array + description: "Poe_mode does not end with (case-insensitive)" + poe_mode__nisw: + required: false + type: array + description: "Poe_mode does not start with (case-sensitive)" poe_type: required: false type: array description: "Poe_type" + poe_type__empty: + required: false + type: boolean + description: "Poe_type is empty/null (boolean)" + poe_type__ic: + required: false + type: array + description: "Poe_type contains (case-insensitive)" + poe_type__ie: + required: false + type: array + description: "Poe_type exact match (case-insensitive)" + poe_type__iew: + required: false + type: array + description: "Poe_type ends with (case-insensitive)" + poe_type__isw: + required: false + type: array + description: "Poe_type starts with (case-sensitive)" poe_type__n: required: false type: array description: "Poe_type not equal to" + poe_type__nic: + required: false + type: array + description: "Poe_type does not contain (case-insensitive)" + poe_type__nie: + required: false + type: array + description: "Poe_type inverse exact match (case-insensitive)" + poe_type__niew: + required: false + type: array + description: "Poe_type does not end with (case-insensitive)" + poe_type__nisw: + required: false + type: array + description: "Poe_type does not start with (case-sensitive)" + primary_mac_address: + required: false + type: array + description: "Primary MAC address" + primary_mac_address__n: + required: false + type: array + description: "Primary_mac_address not equal to" + primary_mac_address_id: + required: false + type: array + description: "Primary MAC address (ID)" + primary_mac_address_id__n: + required: false + type: array + description: "Primary_mac_address_id not equal to" q: required: false type: string @@ -521,7 +737,7 @@ parameters: region: required: false type: array - description: "Region (slug)" + description: "Region" region__n: required: false type: array @@ -529,7 +745,7 @@ parameters: region_id: required: false type: array - description: "Region (ID)" + description: "Region_id" region_id__n: required: false type: array @@ -538,10 +754,46 @@ parameters: required: false type: array description: "Rf_channel" + rf_channel__empty: + required: false + type: boolean + description: "Rf_channel is empty/null (boolean)" + rf_channel__ic: + required: false + type: array + description: "Rf_channel contains (case-insensitive)" + rf_channel__ie: + required: false + type: array + description: "Rf_channel exact match (case-insensitive)" + rf_channel__iew: + required: false + type: array + description: "Rf_channel ends with (case-insensitive)" + rf_channel__isw: + required: false + type: array + description: "Rf_channel starts with (case-sensitive)" rf_channel__n: required: false type: array description: "Rf_channel not equal to" + rf_channel__nic: + required: false + type: array + description: "Rf_channel does not contain (case-insensitive)" + rf_channel__nie: + required: false + type: array + description: "Rf_channel inverse exact match (case-insensitive)" + rf_channel__niew: + required: false + type: array + description: "Rf_channel does not end with (case-insensitive)" + rf_channel__nisw: + required: false + type: array + description: "Rf_channel does not start with (case-sensitive)" rf_channel_frequency: required: false type: array @@ -602,26 +854,46 @@ parameters: required: false type: array description: "Rf_role" + rf_role__empty: + required: false + type: boolean + description: "Rf_role is empty/null (boolean)" + rf_role__ic: + required: false + type: array + description: "Rf_role contains (case-insensitive)" + rf_role__ie: + required: false + type: array + description: "Rf_role exact match (case-insensitive)" + rf_role__iew: + required: false + type: array + description: "Rf_role ends with (case-insensitive)" + rf_role__isw: + required: false + type: array + description: "Rf_role starts with (case-sensitive)" rf_role__n: required: false type: array description: "Rf_role not equal to" - role: + rf_role__nic: required: false type: array - description: "Device role (slug)" - role__n: + description: "Rf_role does not contain (case-insensitive)" + rf_role__nie: required: false type: array - description: "Role not equal to" - role_id: + description: "Rf_role inverse exact match (case-insensitive)" + rf_role__niew: required: false type: array - description: "Device role (ID)" - role_id__n: + description: "Rf_role does not end with (case-insensitive)" + rf_role__nisw: required: false type: array - description: "Role_id not equal to" + description: "Rf_role does not start with (case-sensitive)" site: required: false type: array @@ -633,7 +905,7 @@ parameters: site_group: required: false type: array - description: "Site group (slug)" + description: "Site_group" site_group__n: required: false type: array @@ -641,7 +913,7 @@ parameters: site_group_id: required: false type: array - description: "Site group (ID)" + description: "Site_group_id" site_group_id__n: required: false type: array @@ -690,6 +962,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" tx_power: required: false type: array @@ -722,10 +1002,46 @@ parameters: required: false type: array description: "Type" + type__empty: + required: false + type: boolean + description: "Type is empty/null (boolean)" + type__ic: + required: false + type: array + description: "Type contains (case-insensitive)" + type__ie: + required: false + type: array + description: "Type exact match (case-insensitive)" + type__iew: + required: false + type: array + description: "Type ends with (case-insensitive)" + type__isw: + required: false + type: array + description: "Type starts with (case-sensitive)" type__n: required: false type: array description: "Type not equal to" + type__nic: + required: false + type: array + description: "Type does not contain (case-insensitive)" + type__nie: + required: false + type: array + description: "Type inverse exact match (case-insensitive)" + type__niew: + required: false + type: array + description: "Type does not end with (case-insensitive)" + type__nisw: + required: false + type: array + description: "Type does not start with (case-sensitive)" updated_by_request: required: false type: string @@ -778,6 +1094,22 @@ parameters: required: false type: array description: "Virtual_chassis_member_id" + virtual_circuit_id: + required: false + type: array + description: "Virtual circuit (ID)" + virtual_circuit_id__n: + required: false + type: array + description: "Virtual_circuit_id not equal to" + virtual_circuit_termination_id: + required: false + type: array + description: "Virtual circuit termination (ID)" + virtual_circuit_termination_id__n: + required: false + type: array + description: "Virtual_circuit_termination_id not equal to" vlan: required: false type: string @@ -786,6 +1118,22 @@ parameters: required: false type: string description: "Assigned VLAN" + vlan_translation_policy: + required: false + type: array + description: "VLAN Translation Policy" + vlan_translation_policy__n: + required: false + type: array + description: "Vlan_translation_policy not equal to" + vlan_translation_policy_id: + required: false + type: array + description: "VLAN Translation Policy (ID)" + vlan_translation_policy_id__n: + required: false + type: array + description: "Vlan_translation_policy_id not equal to" vrf: required: false type: array diff --git a/actions/get.dcim.inventory_item_roles.yaml b/actions/get.dcim.inventory_item_roles.yaml index 32e05aba..e52cd094 100644 --- a/actions/get.dcim.inventory_item_roles.yaml +++ b/actions/get.dcim.inventory_item_roles.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of inventory item role objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. color: required: false type: array @@ -309,6 +313,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" updated_by_request: required: false type: string diff --git a/actions/get.dcim.inventory_item_templates.yaml b/actions/get.dcim.inventory_item_templates.yaml index 3301d5ee..38ca4ff2 100644 --- a/actions/get.dcim.inventory_item_templates.yaml +++ b/actions/get.dcim.inventory_item_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of inventory item template objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. component_id: required: false type: array @@ -137,14 +141,6 @@ parameters: required: false type: array description: "Device_type_id not equal to" - devicetype_id: - required: false - type: array - description: "Device type (ID)" - devicetype_id__n: - required: false - type: array - description: "Devicetype_id not equal to" id: required: false type: array diff --git a/actions/get.dcim.inventory_items.yaml b/actions/get.dcim.inventory_items.yaml index 1773b5ac..1c7f2691 100644 --- a/actions/get.dcim.inventory_items.yaml +++ b/actions/get.dcim.inventory_items.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of inventory item objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. asset_tag: required: false type: array @@ -189,6 +193,66 @@ parameters: required: false type: array description: "Device_id not equal to" + device_role: + required: false + type: array + description: "Device role (slug)" + device_role__n: + required: false + type: array + description: "Device_role not equal to" + device_role_id: + required: false + type: array + description: "Device role (ID)" + device_role_id__n: + required: false + type: array + description: "Device_role_id not equal to" + device_status: + required: false + type: array + description: "Device_status" + device_status__empty: + required: false + type: boolean + description: "Device_status is empty/null (boolean)" + device_status__ic: + required: false + type: array + description: "Device_status contains (case-insensitive)" + device_status__ie: + required: false + type: array + description: "Device_status exact match (case-insensitive)" + device_status__iew: + required: false + type: array + description: "Device_status ends with (case-insensitive)" + device_status__isw: + required: false + type: array + description: "Device_status starts with (case-sensitive)" + device_status__n: + required: false + type: array + description: "Device_status not equal to" + device_status__nic: + required: false + type: array + description: "Device_status does not contain (case-insensitive)" + device_status__nie: + required: false + type: array + description: "Device_status inverse exact match (case-insensitive)" + device_status__niew: + required: false + type: array + description: "Device_status does not end with (case-insensitive)" + device_status__nisw: + required: false + type: array + description: "Device_status does not start with (case-sensitive)" device_type: required: false type: array @@ -476,7 +540,7 @@ parameters: region: required: false type: array - description: "Region (slug)" + description: "Region" region__n: required: false type: array @@ -484,7 +548,7 @@ parameters: region_id: required: false type: array - description: "Region (ID)" + description: "Region_id" region_id__n: required: false type: array @@ -560,7 +624,7 @@ parameters: site_group: required: false type: array - description: "Site group (slug)" + description: "Site_group" site_group__n: required: false type: array @@ -568,7 +632,7 @@ parameters: site_group_id: required: false type: array - description: "Site group (ID)" + description: "Site_group_id" site_group_id__n: required: false type: array @@ -581,6 +645,50 @@ parameters: required: false type: array description: "Site_id not equal to" + status: + required: false + type: array + description: "Status" + status__empty: + required: false + type: boolean + description: "Status is empty/null (boolean)" + status__ic: + required: false + type: array + description: "Status contains (case-insensitive)" + status__ie: + required: false + type: array + description: "Status exact match (case-insensitive)" + status__iew: + required: false + type: array + description: "Status ends with (case-insensitive)" + status__isw: + required: false + type: array + description: "Status starts with (case-sensitive)" + status__n: + required: false + type: array + description: "Status not equal to" + status__nic: + required: false + type: array + description: "Status does not contain (case-insensitive)" + status__nie: + required: false + type: array + description: "Status inverse exact match (case-insensitive)" + status__niew: + required: false + type: array + description: "Status does not end with (case-insensitive)" + status__nisw: + required: false + type: array + description: "Status does not start with (case-sensitive)" tag: required: false type: array @@ -589,6 +697,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" updated_by_request: required: false type: string diff --git a/actions/get.dcim.locations.yaml b/actions/get.dcim.locations.yaml index ce43d92e..91c57f2c 100644 --- a/actions/get.dcim.locations.yaml +++ b/actions/get.dcim.locations.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of location objects." enabled: true entry_point: run.py @@ -17,10 +17,14 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. ancestor: required: false type: array - description: "Location (slug)" + description: "Ancestor" ancestor__n: required: false type: array @@ -28,7 +32,7 @@ parameters: ancestor_id: required: false type: array - description: "Location (ID)" + description: "Ancestor_id" ancestor_id__n: required: false type: array @@ -44,7 +48,7 @@ parameters: contact_group: required: false type: array - description: "Contact group" + description: "Contact_group" contact_group__n: required: false type: array @@ -316,7 +320,7 @@ parameters: region: required: false type: array - description: "Region (slug)" + description: "Region" region__n: required: false type: array @@ -324,7 +328,7 @@ parameters: region_id: required: false type: array - description: "Region (ID)" + description: "Region_id" region_id__n: required: false type: array @@ -340,7 +344,7 @@ parameters: site_group: required: false type: array - description: "Site group (slug)" + description: "Site_group" site_group__n: required: false type: array @@ -348,7 +352,7 @@ parameters: site_group_id: required: false type: array - description: "Site group (ID)" + description: "Site_group_id" site_group_id__n: required: false type: array @@ -409,10 +413,46 @@ parameters: required: false type: array description: "Status" + status__empty: + required: false + type: boolean + description: "Status is empty/null (boolean)" + status__ic: + required: false + type: array + description: "Status contains (case-insensitive)" + status__ie: + required: false + type: array + description: "Status exact match (case-insensitive)" + status__iew: + required: false + type: array + description: "Status ends with (case-insensitive)" + status__isw: + required: false + type: array + description: "Status starts with (case-sensitive)" status__n: required: false type: array description: "Status not equal to" + status__nic: + required: false + type: array + description: "Status does not contain (case-insensitive)" + status__nie: + required: false + type: array + description: "Status inverse exact match (case-insensitive)" + status__niew: + required: false + type: array + description: "Status does not end with (case-insensitive)" + status__nisw: + required: false + type: array + description: "Status does not start with (case-sensitive)" tag: required: false type: array @@ -421,6 +461,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" tenant: required: false type: array @@ -432,7 +480,7 @@ parameters: tenant_group: required: false type: array - description: "Tenant Group (slug)" + description: "Tenant_group" tenant_group__n: required: false type: array @@ -440,7 +488,7 @@ parameters: tenant_group_id: required: false type: array - description: "Tenant Group (ID)" + description: "Tenant_group_id" tenant_group_id__n: required: false type: array diff --git a/actions/get.dcim.mac_addresses.yaml b/actions/get.dcim.mac_addresses.yaml new file mode 100644 index 00000000..af466a42 --- /dev/null +++ b/actions/get.dcim.mac_addresses.yaml @@ -0,0 +1,331 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Get a list of MAC address objects." +enabled: true +entry_point: run.py +name: get.dcim.mac_addresses +parameters: + endpoint_uri: + default: "/dcim/mac-addresses/" + immutable: true + type: string + http_verb: + default: get + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + assigned_object_id: + required: false + type: array + description: "Assigned_object_id" + assigned_object_id__empty: + required: false + type: boolean + description: "Assigned_object_id is empty/null (boolean)" + assigned_object_id__gt: + required: false + type: array + description: "Assigned_object_id greater than" + assigned_object_id__gte: + required: false + type: array + description: "Assigned_object_id greater than or equal to" + assigned_object_id__lt: + required: false + type: array + description: "Assigned_object_id less than" + assigned_object_id__lte: + required: false + type: array + description: "Assigned_object_id less than or equal to" + assigned_object_id__n: + required: false + type: array + description: "Assigned_object_id not equal to" + assigned_object_type: + required: false + type: integer + description: "Assigned_object_type" + assigned_object_type__n: + required: false + type: integer + description: "Assigned_object_type not equal to" + created: + required: false + type: array + description: "Created" + created__empty: + required: false + type: array + description: "Created is empty/null (boolean)" + created__gt: + required: false + type: array + description: "Created greater than" + created__gte: + required: false + type: array + description: "Created greater than or equal to" + created__lt: + required: false + type: array + description: "Created less than" + created__lte: + required: false + type: array + description: "Created less than or equal to" + created__n: + required: false + type: array + description: "Created not equal to" + created_by_request: + required: false + type: string + description: "Created_by_request" + description: + required: false + type: array + description: "Description" + description__empty: + required: false + type: boolean + description: "Description is empty/null (boolean)" + description__ic: + required: false + type: array + description: "Description contains (case-insensitive)" + description__ie: + required: false + type: array + description: "Description exact match (case-insensitive)" + description__iew: + required: false + type: array + description: "Description ends with (case-insensitive)" + description__isw: + required: false + type: array + description: "Description starts with (case-sensitive)" + description__n: + required: false + type: array + description: "Description not equal to" + description__nic: + required: false + type: array + description: "Description does not contain (case-insensitive)" + description__nie: + required: false + type: array + description: "Description inverse exact match (case-insensitive)" + description__niew: + required: false + type: array + description: "Description does not end with (case-insensitive)" + description__nisw: + required: false + type: array + description: "Description does not start with (case-sensitive)" + device: + required: false + type: array + description: "Device" + device_id: + required: false + type: array + description: "Device_id" + id: + required: false + type: array + description: "Id" + id__empty: + required: false + type: boolean + description: "Id is empty/null (boolean)" + id__gt: + required: false + type: array + description: "Id greater than" + id__gte: + required: false + type: array + description: "Id greater than or equal to" + id__lt: + required: false + type: array + description: "Id less than" + id__lte: + required: false + type: array + description: "Id less than or equal to" + id__n: + required: false + type: array + description: "Id not equal to" + interface: + required: false + type: array + description: "Interface (name)" + interface__n: + required: false + type: array + description: "Interface not equal to" + interface_id: + required: false + type: array + description: "Interface (ID)" + interface_id__n: + required: false + type: array + description: "Interface_id not equal to" + last_updated: + required: false + type: array + description: "Last_updated" + last_updated__empty: + required: false + type: array + description: "Last_updated is empty/null (boolean)" + last_updated__gt: + required: false + type: array + description: "Last_updated greater than" + last_updated__gte: + required: false + type: array + description: "Last_updated greater than or equal to" + last_updated__lt: + required: false + type: array + description: "Last_updated less than" + last_updated__lte: + required: false + type: array + description: "Last_updated less than or equal to" + last_updated__n: + required: false + type: array + description: "Last_updated not equal to" + limit: + required: false + type: integer + description: "Number of results to return per page." + mac_address: + required: false + type: array + description: "Mac_address" + mac_address__ic: + required: false + type: array + description: "Mac_address contains (case-insensitive)" + mac_address__ie: + required: false + type: array + description: "Mac_address exact match (case-insensitive)" + mac_address__iew: + required: false + type: array + description: "Mac_address ends with (case-insensitive)" + mac_address__isw: + required: false + type: array + description: "Mac_address starts with (case-sensitive)" + mac_address__n: + required: false + type: array + description: "Mac_address not equal to" + mac_address__nic: + required: false + type: array + description: "Mac_address does not contain (case-insensitive)" + mac_address__nie: + required: false + type: array + description: "Mac_address inverse exact match (case-insensitive)" + mac_address__niew: + required: false + type: array + description: "Mac_address does not end with (case-insensitive)" + mac_address__nisw: + required: false + type: array + description: "Mac_address does not start with (case-sensitive)" + modified_by_request: + required: false + type: string + description: "Modified_by_request" + offset: + required: false + type: integer + description: "The initial index from which to return the results." + ordering: + required: false + type: string + description: "Which field to use when ordering the results." + q: + required: false + type: string + description: "Search" + tag: + required: false + type: array + description: "Tag" + tag__n: + required: false + type: array + description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" + updated_by_request: + required: false + type: string + description: "Updated_by_request" + virtual_machine: + required: false + type: array + description: "Virtual_machine" + virtual_machine_id: + required: false + type: array + description: "Virtual_machine_id" + vminterface: + required: false + type: array + description: "VM interface (name)" + vminterface__n: + required: false + type: array + description: "Vminterface not equal to" + vminterface_id: + required: false + type: array + description: "VM interface (ID)" + vminterface_id__n: + required: false + type: array + description: "Vminterface_id not equal to" + save_in_key_store: + type: boolean + default: false + 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. + save_in_key_store_key_name: + type: string + 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. + save_in_key_store_ttl: + type: integer + default: 60 + 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. +runner_type: python-script diff --git a/actions/get.dcim.manufacturers.yaml b/actions/get.dcim.manufacturers.yaml index aa560e7e..baffed5f 100644 --- a/actions/get.dcim.manufacturers.yaml +++ b/actions/get.dcim.manufacturers.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of manufacturer objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. contact: required: false type: array @@ -28,7 +32,7 @@ parameters: contact_group: required: false type: array - description: "Contact group" + description: "Contact_group" contact_group__n: required: false type: array @@ -289,6 +293,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" updated_by_request: required: false type: string diff --git a/actions/get.dcim.module_bay_templates.yaml b/actions/get.dcim.module_bay_templates.yaml index 9c65ef7a..a037b3c6 100644 --- a/actions/get.dcim.module_bay_templates.yaml +++ b/actions/get.dcim.module_bay_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of module bay template objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. created: required: false type: array @@ -101,14 +105,6 @@ parameters: required: false type: array description: "Device_type_id not equal to" - devicetype_id: - required: false - type: array - description: "Device type (ID)" - devicetype_id__n: - required: false - type: array - description: "Devicetype_id not equal to" id: required: false type: array @@ -217,6 +213,14 @@ parameters: required: false type: string description: "Modified_by_request" + module_type_id: + required: false + type: array + description: "Module type (ID)" + module_type_id__n: + required: false + type: array + description: "Module_type_id not equal to" name: required: false type: array diff --git a/actions/get.dcim.module_bays.yaml b/actions/get.dcim.module_bays.yaml index b5b79d52..716905c1 100644 --- a/actions/get.dcim.module_bays.yaml +++ b/actions/get.dcim.module_bays.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of module bay objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. created: required: false type: array @@ -109,6 +113,66 @@ parameters: required: false type: array description: "Device_id not equal to" + device_role: + required: false + type: array + description: "Device role (slug)" + device_role__n: + required: false + type: array + description: "Device_role not equal to" + device_role_id: + required: false + type: array + description: "Device role (ID)" + device_role_id__n: + required: false + type: array + description: "Device_role_id not equal to" + device_status: + required: false + type: array + description: "Device_status" + device_status__empty: + required: false + type: boolean + description: "Device_status is empty/null (boolean)" + device_status__ic: + required: false + type: array + description: "Device_status contains (case-insensitive)" + device_status__ie: + required: false + type: array + description: "Device_status exact match (case-insensitive)" + device_status__iew: + required: false + type: array + description: "Device_status ends with (case-insensitive)" + device_status__isw: + required: false + type: array + description: "Device_status starts with (case-sensitive)" + device_status__n: + required: false + type: array + description: "Device_status not equal to" + device_status__nic: + required: false + type: array + description: "Device_status does not contain (case-insensitive)" + device_status__nie: + required: false + type: array + description: "Device_status inverse exact match (case-insensitive)" + device_status__niew: + required: false + type: array + description: "Device_status does not end with (case-insensitive)" + device_status__nisw: + required: false + type: array + description: "Device_status does not start with (case-sensitive)" device_type: required: false type: array @@ -257,6 +321,14 @@ parameters: required: false type: string description: "Modified_by_request" + module_id: + required: false + type: array + description: "Module (ID)" + module_id__n: + required: false + type: array + description: "Module_id not equal to" name: required: false type: array @@ -309,6 +381,14 @@ parameters: required: false type: string description: "Which field to use when ordering the results." + parent_id: + required: false + type: array + description: "Parent module bay (ID)" + parent_id__n: + required: false + type: array + description: "Parent_id not equal to" position: required: false type: array @@ -376,7 +456,7 @@ parameters: region: required: false type: array - description: "Region (slug)" + description: "Region" region__n: required: false type: array @@ -384,27 +464,11 @@ parameters: region_id: required: false type: array - description: "Region (ID)" + description: "Region_id" region_id__n: required: false type: array description: "Region_id not equal to" - role: - required: false - type: array - description: "Device role (slug)" - role__n: - required: false - type: array - description: "Role not equal to" - role_id: - required: false - type: array - description: "Device role (ID)" - role_id__n: - required: false - type: array - description: "Role_id not equal to" site: required: false type: array @@ -416,7 +480,7 @@ parameters: site_group: required: false type: array - description: "Site group (slug)" + description: "Site_group" site_group__n: required: false type: array @@ -424,7 +488,7 @@ parameters: site_group_id: required: false type: array - description: "Site group (ID)" + description: "Site_group_id" site_group_id__n: required: false type: array @@ -445,6 +509,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" updated_by_request: required: false type: string diff --git a/actions/get.dcim.module_type_profiles.yaml b/actions/get.dcim.module_type_profiles.yaml new file mode 100644 index 00000000..5d8501e0 --- /dev/null +++ b/actions/get.dcim.module_type_profiles.yaml @@ -0,0 +1,251 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Get a list of module type profile objects." +enabled: true +entry_point: run.py +name: get.dcim.module_type_profiles +parameters: + endpoint_uri: + default: "/dcim/module-type-profiles/" + immutable: true + type: string + http_verb: + default: get + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + created: + required: false + type: array + description: "Created" + created__empty: + required: false + type: array + description: "Created is empty/null (boolean)" + created__gt: + required: false + type: array + description: "Created greater than" + created__gte: + required: false + type: array + description: "Created greater than or equal to" + created__lt: + required: false + type: array + description: "Created less than" + created__lte: + required: false + type: array + description: "Created less than or equal to" + created__n: + required: false + type: array + description: "Created not equal to" + created_by_request: + required: false + type: string + description: "Created_by_request" + description: + required: false + type: array + description: "Description" + description__empty: + required: false + type: boolean + description: "Description is empty/null (boolean)" + description__ic: + required: false + type: array + description: "Description contains (case-insensitive)" + description__ie: + required: false + type: array + description: "Description exact match (case-insensitive)" + description__iew: + required: false + type: array + description: "Description ends with (case-insensitive)" + description__isw: + required: false + type: array + description: "Description starts with (case-sensitive)" + description__n: + required: false + type: array + description: "Description not equal to" + description__nic: + required: false + type: array + description: "Description does not contain (case-insensitive)" + description__nie: + required: false + type: array + description: "Description inverse exact match (case-insensitive)" + description__niew: + required: false + type: array + description: "Description does not end with (case-insensitive)" + description__nisw: + required: false + type: array + description: "Description does not start with (case-sensitive)" + id: + required: false + type: array + description: "Id" + id__empty: + required: false + type: boolean + description: "Id is empty/null (boolean)" + id__gt: + required: false + type: array + description: "Id greater than" + id__gte: + required: false + type: array + description: "Id greater than or equal to" + id__lt: + required: false + type: array + description: "Id less than" + id__lte: + required: false + type: array + description: "Id less than or equal to" + id__n: + required: false + type: array + description: "Id not equal to" + last_updated: + required: false + type: array + description: "Last_updated" + last_updated__empty: + required: false + type: array + description: "Last_updated is empty/null (boolean)" + last_updated__gt: + required: false + type: array + description: "Last_updated greater than" + last_updated__gte: + required: false + type: array + description: "Last_updated greater than or equal to" + last_updated__lt: + required: false + type: array + description: "Last_updated less than" + last_updated__lte: + required: false + type: array + description: "Last_updated less than or equal to" + last_updated__n: + required: false + type: array + description: "Last_updated not equal to" + limit: + required: false + type: integer + description: "Number of results to return per page." + modified_by_request: + required: false + type: string + description: "Modified_by_request" + name: + required: false + type: array + description: "Name" + name__empty: + required: false + type: boolean + description: "Name is empty/null (boolean)" + name__ic: + required: false + type: array + description: "Name contains (case-insensitive)" + name__ie: + required: false + type: array + description: "Name exact match (case-insensitive)" + name__iew: + required: false + type: array + description: "Name ends with (case-insensitive)" + name__isw: + required: false + type: array + description: "Name starts with (case-sensitive)" + name__n: + required: false + type: array + description: "Name not equal to" + name__nic: + required: false + type: array + description: "Name does not contain (case-insensitive)" + name__nie: + required: false + type: array + description: "Name inverse exact match (case-insensitive)" + name__niew: + required: false + type: array + description: "Name does not end with (case-insensitive)" + name__nisw: + required: false + type: array + description: "Name does not start with (case-sensitive)" + offset: + required: false + type: integer + description: "The initial index from which to return the results." + ordering: + required: false + type: string + description: "Which field to use when ordering the results." + q: + required: false + type: string + description: "Search" + tag: + required: false + type: array + description: "Tag" + tag__n: + required: false + type: array + description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" + updated_by_request: + required: false + type: string + description: "Updated_by_request" + save_in_key_store: + type: boolean + default: false + 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. + save_in_key_store_key_name: + type: string + 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. + save_in_key_store_ttl: + type: integer + default: 60 + 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. +runner_type: python-script diff --git a/actions/get.dcim.module_types.yaml b/actions/get.dcim.module_types.yaml index c80c7b10..957ac7b5 100644 --- a/actions/get.dcim.module_types.yaml +++ b/actions/get.dcim.module_types.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of module type objects." enabled: true entry_point: run.py @@ -17,6 +17,19 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + airflow: + required: false + type: string + description: "* `front-to-rear` - Front to rear +* `rear-to-front` - Rear to front +* `left-to-right` - Left to right +* `right-to-left` - Right to left +* `side-to-rear` - Side to rear +* `passive` - Passive" console_ports: required: false type: boolean @@ -293,6 +306,22 @@ parameters: required: false type: boolean description: "Has power ports" + profile: + required: false + type: array + description: "Profile (name)" + profile__n: + required: false + type: array + description: "Profile not equal to" + profile_id: + required: false + type: array + description: "Profile (ID)" + profile_id__n: + required: false + type: array + description: "Profile_id not equal to" q: required: false type: string @@ -305,6 +334,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" updated_by_request: required: false type: string @@ -344,10 +381,6 @@ parameters: * `g` - Grams * `lb` - Pounds * `oz` - Ounces" - weight_unit__n: - required: false - type: string - description: "Weight_unit not equal to" save_in_key_store: type: boolean default: false diff --git a/actions/get.dcim.modules.yaml b/actions/get.dcim.modules.yaml index 67a8113e..c5b05e2e 100644 --- a/actions/get.dcim.modules.yaml +++ b/actions/get.dcim.modules.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of module objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. asset_tag: required: false type: array @@ -137,6 +141,14 @@ parameters: required: false type: array description: "Description does not start with (case-sensitive)" + device: + required: false + type: array + description: "Device (name)" + device__n: + required: false + type: array + description: "Device not equal to" device_id: required: false type: array @@ -205,6 +217,22 @@ parameters: required: false type: integer description: "Number of results to return per page." + location: + required: false + type: array + description: "Location (slug)" + location__n: + required: false + type: array + description: "Location not equal to" + location_id: + required: false + type: array + description: "Location (ID)" + location_id__n: + required: false + type: array + description: "Location_id not equal to" manufacturer: required: false type: array @@ -228,7 +256,7 @@ parameters: module_bay_id: required: false type: array - description: "Module Bay (ID)" + description: "Module_bay_id" module_bay_id__n: required: false type: array @@ -261,6 +289,38 @@ parameters: required: false type: string description: "Search" + rack: + required: false + type: array + description: "Rack (name)" + rack__n: + required: false + type: array + description: "Rack not equal to" + rack_id: + required: false + type: array + description: "Rack (ID)" + rack_id__n: + required: false + type: array + description: "Rack_id not equal to" + region: + required: false + type: array + description: "Region" + region__n: + required: false + type: array + description: "Region not equal to" + region_id: + required: false + type: array + description: "Region_id" + region_id__n: + required: false + type: array + description: "Region_id not equal to" serial: required: false type: array @@ -305,14 +365,82 @@ parameters: required: false type: array description: "Serial does not start with (case-sensitive)" + site: + required: false + type: array + description: "Site name (slug)" + site__n: + required: false + type: array + description: "Site not equal to" + site_group: + required: false + type: array + description: "Site_group" + site_group__n: + required: false + type: array + description: "Site_group not equal to" + site_group_id: + required: false + type: array + description: "Site_group_id" + site_group_id__n: + required: false + type: array + description: "Site_group_id not equal to" + site_id: + required: false + type: array + description: "Site (ID)" + site_id__n: + required: false + type: array + description: "Site_id not equal to" status: required: false type: array description: "Status" + status__empty: + required: false + type: boolean + description: "Status is empty/null (boolean)" + status__ic: + required: false + type: array + description: "Status contains (case-insensitive)" + status__ie: + required: false + type: array + description: "Status exact match (case-insensitive)" + status__iew: + required: false + type: array + description: "Status ends with (case-insensitive)" + status__isw: + required: false + type: array + description: "Status starts with (case-sensitive)" status__n: required: false type: array description: "Status not equal to" + status__nic: + required: false + type: array + description: "Status does not contain (case-insensitive)" + status__nie: + required: false + type: array + description: "Status inverse exact match (case-insensitive)" + status__niew: + required: false + type: array + description: "Status does not end with (case-insensitive)" + status__nisw: + required: false + type: array + description: "Status does not start with (case-sensitive)" tag: required: false type: array @@ -321,6 +449,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" updated_by_request: required: false type: string diff --git a/actions/get.dcim.platforms.yaml b/actions/get.dcim.platforms.yaml index 53596e9f..d0fd71f2 100644 --- a/actions/get.dcim.platforms.yaml +++ b/actions/get.dcim.platforms.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of platform objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. available_for_device_type: required: false type: string @@ -293,6 +297,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" updated_by_request: required: false type: string diff --git a/actions/get.dcim.power_feeds.trace.yaml b/actions/get.dcim.power_feeds.trace.yaml index bb0f8679..e31a0722 100644 --- a/actions/get.dcim.power_feeds.trace.yaml +++ b/actions/get.dcim.power_feeds.trace.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination)." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: false immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/get.dcim.power_feeds.yaml b/actions/get.dcim.power_feeds.yaml index d6482ac8..b2943722 100644 --- a/actions/get.dcim.power_feeds.yaml +++ b/actions/get.dcim.power_feeds.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of power feed objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. amperage: required: false type: array @@ -78,10 +82,6 @@ parameters: type: string description: "* `A` - A * `B` - B" - cable_end__n: - required: false - type: string - description: "Cable_end not equal to" cable_id: required: false type: array @@ -331,10 +331,6 @@ parameters: type: string description: "* `single-phase` - Single phase * `three-phase` - Three-phase" - phase__n: - required: false - type: string - description: "Phase not equal to" power_panel_id: required: false type: array @@ -358,7 +354,7 @@ parameters: region: required: false type: array - description: "Region (slug)" + description: "Region" region__n: required: false type: array @@ -366,7 +362,7 @@ parameters: region_id: required: false type: array - description: "Region (ID)" + description: "Region_id" region_id__n: required: false type: array @@ -382,7 +378,7 @@ parameters: site_group: required: false type: array - description: "Site group (slug)" + description: "Site_group" site_group__n: required: false type: array @@ -390,7 +386,7 @@ parameters: site_group_id: required: false type: array - description: "Site group (ID)" + description: "Site_group_id" site_group_id__n: required: false type: array @@ -407,19 +403,51 @@ parameters: required: false type: array description: "Status" + status__empty: + required: false + type: boolean + description: "Status is empty/null (boolean)" + status__ic: + required: false + type: array + description: "Status contains (case-insensitive)" + status__ie: + required: false + type: array + description: "Status exact match (case-insensitive)" + status__iew: + required: false + type: array + description: "Status ends with (case-insensitive)" + status__isw: + required: false + type: array + description: "Status starts with (case-sensitive)" status__n: required: false type: array description: "Status not equal to" + status__nic: + required: false + type: array + description: "Status does not contain (case-insensitive)" + status__nie: + required: false + type: array + description: "Status inverse exact match (case-insensitive)" + status__niew: + required: false + type: array + description: "Status does not end with (case-insensitive)" + status__nisw: + required: false + type: array + description: "Status does not start with (case-sensitive)" supply: required: false type: string description: "* `ac` - AC * `dc` - DC" - supply__n: - required: false - type: string - description: "Supply not equal to" tag: required: false type: array @@ -428,6 +456,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" tenant: required: false type: array @@ -439,7 +475,7 @@ parameters: tenant_group: required: false type: array - description: "Tenant Group (slug)" + description: "Tenant_group" tenant_group__n: required: false type: array @@ -447,7 +483,7 @@ parameters: tenant_group_id: required: false type: array - description: "Tenant Group (ID)" + description: "Tenant_group_id" tenant_group_id__n: required: false type: array @@ -465,10 +501,6 @@ parameters: type: string description: "* `primary` - Primary * `redundant` - Redundant" - type__n: - required: false - type: string - description: "Type not equal to" updated_by_request: required: false type: string diff --git a/actions/get.dcim.power_outlet_templates.yaml b/actions/get.dcim.power_outlet_templates.yaml index 300aaa18..14c015a8 100644 --- a/actions/get.dcim.power_outlet_templates.yaml +++ b/actions/get.dcim.power_outlet_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of power outlet template objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. created: required: false type: array @@ -101,22 +105,50 @@ parameters: required: false type: array description: "Device_type_id not equal to" - devicetype_id: + feed_leg: required: false type: array - description: "Device type (ID)" - devicetype_id__n: + description: "Phase (for three-phase feeds)" + feed_leg__empty: + required: false + type: boolean + description: "Feed_leg is empty/null (boolean)" + feed_leg__ic: required: false type: array - description: "Devicetype_id not equal to" - feed_leg: + description: "Feed_leg contains (case-insensitive)" + feed_leg__ie: required: false type: array - description: "Phase (for three-phase feeds)" + description: "Feed_leg exact match (case-insensitive)" + feed_leg__iew: + required: false + type: array + description: "Feed_leg ends with (case-insensitive)" + feed_leg__isw: + required: false + type: array + description: "Feed_leg starts with (case-sensitive)" feed_leg__n: required: false type: array description: "Feed_leg not equal to" + feed_leg__nic: + required: false + type: array + description: "Feed_leg does not contain (case-insensitive)" + feed_leg__nie: + required: false + type: array + description: "Feed_leg inverse exact match (case-insensitive)" + feed_leg__niew: + required: false + type: array + description: "Feed_leg does not end with (case-insensitive)" + feed_leg__nisw: + required: false + type: array + description: "Feed_leg does not start with (case-sensitive)" id: required: false type: array @@ -233,14 +265,6 @@ parameters: required: false type: array description: "Module_type_id not equal to" - moduletype_id: - required: false - type: array - description: "Module type (ID)" - moduletype_id__n: - required: false - type: array - description: "Moduletype_id not equal to" name: required: false type: array @@ -312,18 +336,14 @@ parameters: * `IEC 60309` - [('iec-60309-p-n-e-4h', 'P+N+E 4H'), ('iec-60309-p-n-e-6h', 'P+N+E 6H'), ('iec-60309-p-n-e-9h', 'P+N+E 9H'), ('iec-60309-2p-e-4h', '2P+E 4H'), ('iec-60309-2p-e-6h', '2P+E 6H'), ('iec-60309-2p-e-9h', '2P+E 9H'), ('iec-60309-3p-e-4h', '3P+E 4H'), ('iec-60309-3p-e-6h', '3P+E 6H'), ('iec-60309-3p-e-9h', '3P+E 9H'), ('iec-60309-3p-n-e-4h', '3P+N+E 4H'), ('iec-60309-3p-n-e-6h', '3P+N+E 6H'), ('iec-60309-3p-n-e-9h', '3P+N+E 9H')] * `IEC 60906-1` - [('iec-60906-1', 'IEC 60906-1'), ('nbr-14136-10a', '2P+T 10A (NBR 14136)'), ('nbr-14136-20a', '2P+T 20A (NBR 14136)')] * `NEMA (Non-locking)` - [('nema-1-15r', 'NEMA 1-15R'), ('nema-5-15r', 'NEMA 5-15R'), ('nema-5-20r', 'NEMA 5-20R'), ('nema-5-30r', 'NEMA 5-30R'), ('nema-5-50r', 'NEMA 5-50R'), ('nema-6-15r', 'NEMA 6-15R'), ('nema-6-20r', 'NEMA 6-20R'), ('nema-6-30r', 'NEMA 6-30R'), ('nema-6-50r', 'NEMA 6-50R'), ('nema-10-30r', 'NEMA 10-30R'), ('nema-10-50r', 'NEMA 10-50R'), ('nema-14-20r', 'NEMA 14-20R'), ('nema-14-30r', 'NEMA 14-30R'), ('nema-14-50r', 'NEMA 14-50R'), ('nema-14-60r', 'NEMA 14-60R'), ('nema-15-15r', 'NEMA 15-15R'), ('nema-15-20r', 'NEMA 15-20R'), ('nema-15-30r', 'NEMA 15-30R'), ('nema-15-50r', 'NEMA 15-50R'), ('nema-15-60r', 'NEMA 15-60R')] -* `NEMA (Locking)` - [('nema-l1-15r', 'NEMA L1-15R'), ('nema-l5-15r', 'NEMA L5-15R'), ('nema-l5-20r', 'NEMA L5-20R'), ('nema-l5-30r', 'NEMA L5-30R'), ('nema-l5-50r', 'NEMA L5-50R'), ('nema-l6-15r', 'NEMA L6-15R'), ('nema-l6-20r', 'NEMA L6-20R'), ('nema-l6-30r', 'NEMA L6-30R'), ('nema-l6-50r', 'NEMA L6-50R'), ('nema-l10-30r', 'NEMA L10-30R'), ('nema-l14-20r', 'NEMA L14-20R'), ('nema-l14-30r', 'NEMA L14-30R'), ('nema-l14-50r', 'NEMA L14-50R'), ('nema-l14-60r', 'NEMA L14-60R'), ('nema-l15-20r', 'NEMA L15-20R'), ('nema-l15-30r', 'NEMA L15-30R'), ('nema-l15-50r', 'NEMA L15-50R'), ('nema-l15-60r', 'NEMA L15-60R'), ('nema-l21-20r', 'NEMA L21-20R'), ('nema-l21-30r', 'NEMA L21-30R'), ('nema-l22-30r', 'NEMA L22-30R')] +* `NEMA (Locking)` - [('nema-l1-15r', 'NEMA L1-15R'), ('nema-l5-15r', 'NEMA L5-15R'), ('nema-l5-20r', 'NEMA L5-20R'), ('nema-l5-30r', 'NEMA L5-30R'), ('nema-l5-50r', 'NEMA L5-50R'), ('nema-l6-15r', 'NEMA L6-15R'), ('nema-l6-20r', 'NEMA L6-20R'), ('nema-l6-30r', 'NEMA L6-30R'), ('nema-l6-50r', 'NEMA L6-50R'), ('nema-l10-30r', 'NEMA L10-30R'), ('nema-l14-20r', 'NEMA L14-20R'), ('nema-l14-30r', 'NEMA L14-30R'), ('nema-l14-50r', 'NEMA L14-50R'), ('nema-l14-60r', 'NEMA L14-60R'), ('nema-l15-20r', 'NEMA L15-20R'), ('nema-l15-30r', 'NEMA L15-30R'), ('nema-l15-50r', 'NEMA L15-50R'), ('nema-l15-60r', 'NEMA L15-60R'), ('nema-l21-20r', 'NEMA L21-20R'), ('nema-l21-30r', 'NEMA L21-30R'), ('nema-l22-20r', 'NEMA L22-20R'), ('nema-l22-30r', 'NEMA L22-30R')] * `California Style` - [('CS6360C', 'CS6360C'), ('CS6364C', 'CS6364C'), ('CS8164C', 'CS8164C'), ('CS8264C', 'CS8264C'), ('CS8364C', 'CS8364C'), ('CS8464C', 'CS8464C')] * `ITA/International` - [('ita-e', 'ITA Type E (CEE 7/5)'), ('ita-f', 'ITA Type F (CEE 7/3)'), ('ita-g', 'ITA Type G (BS 1363)'), ('ita-h', 'ITA Type H'), ('ita-i', 'ITA Type I'), ('ita-j', 'ITA Type J'), ('ita-k', 'ITA Type K'), ('ita-l', 'ITA Type L (CEI 23-50)'), ('ita-m', 'ITA Type M (BS 546)'), ('ita-n', 'ITA Type N'), ('ita-o', 'ITA Type O'), ('ita-multistandard', 'ITA Multistandard')] * `USB` - [('usb-a', 'USB Type A'), ('usb-micro-b', 'USB Micro B'), ('usb-c', 'USB Type C')] * `Molex` - [('molex-micro-fit-1x2', 'Molex Micro-Fit 1x2'), ('molex-micro-fit-2x2', 'Molex Micro-Fit 2x2'), ('molex-micro-fit-2x4', 'Molex Micro-Fit 2x4')] * `DC` - [('dc-terminal', 'DC Terminal')] -* `Proprietary` - [('hdot-cx', 'HDOT Cx'), ('saf-d-grid', 'Saf-D-Grid'), ('neutrik-powercon-20a', 'Neutrik powerCON (20A)'), ('neutrik-powercon-32a', 'Neutrik powerCON (32A)'), ('neutrik-powercon-true1', 'Neutrik powerCON TRUE1'), ('neutrik-powercon-true1-top', 'Neutrik powerCON TRUE1 TOP'), ('ubiquiti-smartpower', 'Ubiquiti SmartPower')] +* `Proprietary` - [('eaton-c39', 'Eaton C39'), ('hdot-cx', 'HDOT Cx'), ('saf-d-grid', 'Saf-D-Grid'), ('neutrik-powercon-20a', 'Neutrik powerCON (20A)'), ('neutrik-powercon-32a', 'Neutrik powerCON (32A)'), ('neutrik-powercon-true1', 'Neutrik powerCON TRUE1'), ('neutrik-powercon-true1-top', 'Neutrik powerCON TRUE1 TOP'), ('ubiquiti-smartpower', 'Ubiquiti SmartPower')] * `Other` - [('hardwired', 'Hardwired'), ('other', 'Other')]" - type__n: - required: false - type: string - description: "Type not equal to" updated_by_request: required: false type: string diff --git a/actions/get.dcim.power_outlets.trace.yaml b/actions/get.dcim.power_outlets.trace.yaml index 09a0f959..4d70b14b 100644 --- a/actions/get.dcim.power_outlets.trace.yaml +++ b/actions/get.dcim.power_outlets.trace.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination)." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: false immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/get.dcim.power_outlets.yaml b/actions/get.dcim.power_outlets.yaml index 7ab98ff7..f582f496 100644 --- a/actions/get.dcim.power_outlets.yaml +++ b/actions/get.dcim.power_outlets.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of power outlet objects." enabled: true entry_point: run.py @@ -17,15 +17,15 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. cable_end: required: false type: string description: "* `A` - A * `B` - B" - cable_end__n: - required: false - type: string - description: "Cable_end not equal to" cable_id: required: false type: array @@ -38,6 +38,50 @@ parameters: required: false type: boolean description: "Cabled" + color: + required: false + type: array + description: "Color" + color__empty: + required: false + type: boolean + description: "Color is empty/null (boolean)" + color__ic: + required: false + type: array + description: "Color contains (case-insensitive)" + color__ie: + required: false + type: array + description: "Color exact match (case-insensitive)" + color__iew: + required: false + type: array + description: "Color ends with (case-insensitive)" + color__isw: + required: false + type: array + description: "Color starts with (case-sensitive)" + color__n: + required: false + type: array + description: "Color not equal to" + color__nic: + required: false + type: array + description: "Color does not contain (case-insensitive)" + color__nie: + required: false + type: array + description: "Color inverse exact match (case-insensitive)" + color__niew: + required: false + type: array + description: "Color does not end with (case-insensitive)" + color__nisw: + required: false + type: array + description: "Color does not start with (case-sensitive)" connected: required: false type: boolean @@ -134,6 +178,66 @@ parameters: required: false type: array description: "Device_id not equal to" + device_role: + required: false + type: array + description: "Device role (slug)" + device_role__n: + required: false + type: array + description: "Device_role not equal to" + device_role_id: + required: false + type: array + description: "Device role (ID)" + device_role_id__n: + required: false + type: array + description: "Device_role_id not equal to" + device_status: + required: false + type: array + description: "Device_status" + device_status__empty: + required: false + type: boolean + description: "Device_status is empty/null (boolean)" + device_status__ic: + required: false + type: array + description: "Device_status contains (case-insensitive)" + device_status__ie: + required: false + type: array + description: "Device_status exact match (case-insensitive)" + device_status__iew: + required: false + type: array + description: "Device_status ends with (case-insensitive)" + device_status__isw: + required: false + type: array + description: "Device_status starts with (case-sensitive)" + device_status__n: + required: false + type: array + description: "Device_status not equal to" + device_status__nic: + required: false + type: array + description: "Device_status does not contain (case-insensitive)" + device_status__nie: + required: false + type: array + description: "Device_status inverse exact match (case-insensitive)" + device_status__niew: + required: false + type: array + description: "Device_status does not end with (case-insensitive)" + device_status__nisw: + required: false + type: array + description: "Device_status does not start with (case-sensitive)" device_type: required: false type: array @@ -154,10 +258,46 @@ parameters: required: false type: array description: "Phase (for three-phase feeds)" + feed_leg__empty: + required: false + type: boolean + description: "Feed_leg is empty/null (boolean)" + feed_leg__ic: + required: false + type: array + description: "Feed_leg contains (case-insensitive)" + feed_leg__ie: + required: false + type: array + description: "Feed_leg exact match (case-insensitive)" + feed_leg__iew: + required: false + type: array + description: "Feed_leg ends with (case-insensitive)" + feed_leg__isw: + required: false + type: array + description: "Feed_leg starts with (case-sensitive)" feed_leg__n: required: false type: array description: "Feed_leg not equal to" + feed_leg__nic: + required: false + type: array + description: "Feed_leg does not contain (case-insensitive)" + feed_leg__nie: + required: false + type: array + description: "Feed_leg inverse exact match (case-insensitive)" + feed_leg__niew: + required: false + type: array + description: "Feed_leg does not end with (case-insensitive)" + feed_leg__nisw: + required: false + type: array + description: "Feed_leg does not start with (case-sensitive)" id: required: false type: array @@ -381,7 +521,7 @@ parameters: region: required: false type: array - description: "Region (slug)" + description: "Region" region__n: required: false type: array @@ -389,27 +529,11 @@ parameters: region_id: required: false type: array - description: "Region (ID)" + description: "Region_id" region_id__n: required: false type: array description: "Region_id not equal to" - role: - required: false - type: array - description: "Device role (slug)" - role__n: - required: false - type: array - description: "Role not equal to" - role_id: - required: false - type: array - description: "Device role (ID)" - role_id__n: - required: false - type: array - description: "Role_id not equal to" site: required: false type: array @@ -421,7 +545,7 @@ parameters: site_group: required: false type: array - description: "Site group (slug)" + description: "Site_group" site_group__n: required: false type: array @@ -429,7 +553,7 @@ parameters: site_group_id: required: false type: array - description: "Site group (ID)" + description: "Site_group_id" site_group_id__n: required: false type: array @@ -442,6 +566,50 @@ parameters: required: false type: array description: "Site_id not equal to" + status: + required: false + type: array + description: "Status" + status__empty: + required: false + type: boolean + description: "Status is empty/null (boolean)" + status__ic: + required: false + type: array + description: "Status contains (case-insensitive)" + status__ie: + required: false + type: array + description: "Status exact match (case-insensitive)" + status__iew: + required: false + type: array + description: "Status ends with (case-insensitive)" + status__isw: + required: false + type: array + description: "Status starts with (case-sensitive)" + status__n: + required: false + type: array + description: "Status not equal to" + status__nic: + required: false + type: array + description: "Status does not contain (case-insensitive)" + status__nie: + required: false + type: array + description: "Status inverse exact match (case-insensitive)" + status__niew: + required: false + type: array + description: "Status does not end with (case-insensitive)" + status__nisw: + required: false + type: array + description: "Status does not start with (case-sensitive)" tag: required: false type: array @@ -450,14 +618,58 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" type: required: false type: array description: "Physical port type" + type__empty: + required: false + type: boolean + description: "Type is empty/null (boolean)" + type__ic: + required: false + type: array + description: "Type contains (case-insensitive)" + type__ie: + required: false + type: array + description: "Type exact match (case-insensitive)" + type__iew: + required: false + type: array + description: "Type ends with (case-insensitive)" + type__isw: + required: false + type: array + description: "Type starts with (case-sensitive)" type__n: required: false type: array description: "Type not equal to" + type__nic: + required: false + type: array + description: "Type does not contain (case-insensitive)" + type__nie: + required: false + type: array + description: "Type inverse exact match (case-insensitive)" + type__niew: + required: false + type: array + description: "Type does not end with (case-insensitive)" + type__nisw: + required: false + type: array + description: "Type does not start with (case-sensitive)" updated_by_request: required: false type: string diff --git a/actions/get.dcim.power_panels.yaml b/actions/get.dcim.power_panels.yaml index 56d5cad8..a1c3d34f 100644 --- a/actions/get.dcim.power_panels.yaml +++ b/actions/get.dcim.power_panels.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of power panel objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. contact: required: false type: array @@ -28,7 +32,7 @@ parameters: contact_group: required: false type: array - description: "Contact group" + description: "Contact_group" contact_group__n: required: false type: array @@ -180,7 +184,7 @@ parameters: location_id: required: false type: array - description: "Location (ID)" + description: "Location_id" location_id__n: required: false type: array @@ -248,7 +252,7 @@ parameters: region: required: false type: array - description: "Region (slug)" + description: "Region" region__n: required: false type: array @@ -256,7 +260,7 @@ parameters: region_id: required: false type: array - description: "Region (ID)" + description: "Region_id" region_id__n: required: false type: array @@ -272,7 +276,7 @@ parameters: site_group: required: false type: array - description: "Site group (slug)" + description: "Site_group" site_group__n: required: false type: array @@ -280,7 +284,7 @@ parameters: site_group_id: required: false type: array - description: "Site group (ID)" + description: "Site_group_id" site_group_id__n: required: false type: array @@ -301,6 +305,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" updated_by_request: required: false type: string diff --git a/actions/get.dcim.power_port_templates.yaml b/actions/get.dcim.power_port_templates.yaml index dd2f8310..beb12361 100644 --- a/actions/get.dcim.power_port_templates.yaml +++ b/actions/get.dcim.power_port_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of power port template objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. allocated_draw: required: false type: array @@ -129,14 +133,6 @@ parameters: required: false type: array description: "Device_type_id not equal to" - devicetype_id: - required: false - type: array - description: "Device type (ID)" - devicetype_id__n: - required: false - type: array - description: "Devicetype_id not equal to" id: required: false type: array @@ -281,14 +277,6 @@ parameters: required: false type: array description: "Module_type_id not equal to" - moduletype_id: - required: false - type: array - description: "Module type (ID)" - moduletype_id__n: - required: false - type: array - description: "Moduletype_id not equal to" name: required: false type: array @@ -352,7 +340,7 @@ parameters: * `IEC 60309` - [('iec-60309-p-n-e-4h', 'P+N+E 4H'), ('iec-60309-p-n-e-6h', 'P+N+E 6H'), ('iec-60309-p-n-e-9h', 'P+N+E 9H'), ('iec-60309-2p-e-4h', '2P+E 4H'), ('iec-60309-2p-e-6h', '2P+E 6H'), ('iec-60309-2p-e-9h', '2P+E 9H'), ('iec-60309-3p-e-4h', '3P+E 4H'), ('iec-60309-3p-e-6h', '3P+E 6H'), ('iec-60309-3p-e-9h', '3P+E 9H'), ('iec-60309-3p-n-e-4h', '3P+N+E 4H'), ('iec-60309-3p-n-e-6h', '3P+N+E 6H'), ('iec-60309-3p-n-e-9h', '3P+N+E 9H')] * `IEC 60906-1` - [('iec-60906-1', 'IEC 60906-1'), ('nbr-14136-10a', '2P+T 10A (NBR 14136)'), ('nbr-14136-20a', '2P+T 20A (NBR 14136)')] * `NEMA (Non-locking)` - [('nema-1-15p', 'NEMA 1-15P'), ('nema-5-15p', 'NEMA 5-15P'), ('nema-5-20p', 'NEMA 5-20P'), ('nema-5-30p', 'NEMA 5-30P'), ('nema-5-50p', 'NEMA 5-50P'), ('nema-6-15p', 'NEMA 6-15P'), ('nema-6-20p', 'NEMA 6-20P'), ('nema-6-30p', 'NEMA 6-30P'), ('nema-6-50p', 'NEMA 6-50P'), ('nema-10-30p', 'NEMA 10-30P'), ('nema-10-50p', 'NEMA 10-50P'), ('nema-14-20p', 'NEMA 14-20P'), ('nema-14-30p', 'NEMA 14-30P'), ('nema-14-50p', 'NEMA 14-50P'), ('nema-14-60p', 'NEMA 14-60P'), ('nema-15-15p', 'NEMA 15-15P'), ('nema-15-20p', 'NEMA 15-20P'), ('nema-15-30p', 'NEMA 15-30P'), ('nema-15-50p', 'NEMA 15-50P'), ('nema-15-60p', 'NEMA 15-60P')] -* `NEMA (Locking)` - [('nema-l1-15p', 'NEMA L1-15P'), ('nema-l5-15p', 'NEMA L5-15P'), ('nema-l5-20p', 'NEMA L5-20P'), ('nema-l5-30p', 'NEMA L5-30P'), ('nema-l5-50p', 'NEMA L5-50P'), ('nema-l6-15p', 'NEMA L6-15P'), ('nema-l6-20p', 'NEMA L6-20P'), ('nema-l6-30p', 'NEMA L6-30P'), ('nema-l6-50p', 'NEMA L6-50P'), ('nema-l10-30p', 'NEMA L10-30P'), ('nema-l14-20p', 'NEMA L14-20P'), ('nema-l14-30p', 'NEMA L14-30P'), ('nema-l14-50p', 'NEMA L14-50P'), ('nema-l14-60p', 'NEMA L14-60P'), ('nema-l15-20p', 'NEMA L15-20P'), ('nema-l15-30p', 'NEMA L15-30P'), ('nema-l15-50p', 'NEMA L15-50P'), ('nema-l15-60p', 'NEMA L15-60P'), ('nema-l21-20p', 'NEMA L21-20P'), ('nema-l21-30p', 'NEMA L21-30P'), ('nema-l22-30p', 'NEMA L22-30P')] +* `NEMA (Locking)` - [('nema-l1-15p', 'NEMA L1-15P'), ('nema-l5-15p', 'NEMA L5-15P'), ('nema-l5-20p', 'NEMA L5-20P'), ('nema-l5-30p', 'NEMA L5-30P'), ('nema-l5-50p', 'NEMA L5-50P'), ('nema-l6-15p', 'NEMA L6-15P'), ('nema-l6-20p', 'NEMA L6-20P'), ('nema-l6-30p', 'NEMA L6-30P'), ('nema-l6-50p', 'NEMA L6-50P'), ('nema-l10-30p', 'NEMA L10-30P'), ('nema-l14-20p', 'NEMA L14-20P'), ('nema-l14-30p', 'NEMA L14-30P'), ('nema-l14-50p', 'NEMA L14-50P'), ('nema-l14-60p', 'NEMA L14-60P'), ('nema-l15-20p', 'NEMA L15-20P'), ('nema-l15-30p', 'NEMA L15-30P'), ('nema-l15-50p', 'NEMA L15-50P'), ('nema-l15-60p', 'NEMA L15-60P'), ('nema-l21-20p', 'NEMA L21-20P'), ('nema-l21-30p', 'NEMA L21-30P'), ('nema-l22-20p', 'NEMA L22-20P'), ('nema-l22-30p', 'NEMA L22-30P')] * `California Style` - [('cs6361c', 'CS6361C'), ('cs6365c', 'CS6365C'), ('cs8165c', 'CS8165C'), ('cs8265c', 'CS8265C'), ('cs8365c', 'CS8365C'), ('cs8465c', 'CS8465C')] * `International/ITA` - [('ita-c', 'ITA Type C (CEE 7/16)'), ('ita-e', 'ITA Type E (CEE 7/6)'), ('ita-f', 'ITA Type F (CEE 7/4)'), ('ita-ef', 'ITA Type E/F (CEE 7/7)'), ('ita-g', 'ITA Type G (BS 1363)'), ('ita-h', 'ITA Type H'), ('ita-i', 'ITA Type I'), ('ita-j', 'ITA Type J'), ('ita-k', 'ITA Type K'), ('ita-l', 'ITA Type L (CEI 23-50)'), ('ita-m', 'ITA Type M (BS 546)'), ('ita-n', 'ITA Type N'), ('ita-o', 'ITA Type O')] * `USB` - [('usb-a', 'USB Type A'), ('usb-b', 'USB Type B'), ('usb-c', 'USB Type C'), ('usb-mini-a', 'USB Mini A'), ('usb-mini-b', 'USB Mini B'), ('usb-micro-a', 'USB Micro A'), ('usb-micro-b', 'USB Micro B'), ('usb-micro-ab', 'USB Micro AB'), ('usb-3-b', 'USB 3.0 Type B'), ('usb-3-micro-b', 'USB 3.0 Micro B')] @@ -360,10 +348,6 @@ parameters: * `DC` - [('dc-terminal', 'DC Terminal')] * `Proprietary` - [('saf-d-grid', 'Saf-D-Grid'), ('neutrik-powercon-20', 'Neutrik powerCON (20A)'), ('neutrik-powercon-32', 'Neutrik powerCON (32A)'), ('neutrik-powercon-true1', 'Neutrik powerCON TRUE1'), ('neutrik-powercon-true1-top', 'Neutrik powerCON TRUE1 TOP'), ('ubiquiti-smartpower', 'Ubiquiti SmartPower')] * `Other` - [('hardwired', 'Hardwired'), ('other', 'Other')]" - type__n: - required: false - type: string - description: "Type not equal to" updated_by_request: required: false type: string diff --git a/actions/get.dcim.power_ports.trace.yaml b/actions/get.dcim.power_ports.trace.yaml index 5ea2b0fd..8c2fcfec 100644 --- a/actions/get.dcim.power_ports.trace.yaml +++ b/actions/get.dcim.power_ports.trace.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination)." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: false immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/get.dcim.power_ports.yaml b/actions/get.dcim.power_ports.yaml index 91b3d24b..13c99b5a 100644 --- a/actions/get.dcim.power_ports.yaml +++ b/actions/get.dcim.power_ports.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of power port objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. allocated_draw: required: false type: array @@ -50,10 +54,6 @@ parameters: type: string description: "* `A` - A * `B` - B" - cable_end__n: - required: false - type: string - description: "Cable_end not equal to" cable_id: required: false type: array @@ -162,6 +162,66 @@ parameters: required: false type: array description: "Device_id not equal to" + device_role: + required: false + type: array + description: "Device role (slug)" + device_role__n: + required: false + type: array + description: "Device_role not equal to" + device_role_id: + required: false + type: array + description: "Device role (ID)" + device_role_id__n: + required: false + type: array + description: "Device_role_id not equal to" + device_status: + required: false + type: array + description: "Device_status" + device_status__empty: + required: false + type: boolean + description: "Device_status is empty/null (boolean)" + device_status__ic: + required: false + type: array + description: "Device_status contains (case-insensitive)" + device_status__ie: + required: false + type: array + description: "Device_status exact match (case-insensitive)" + device_status__iew: + required: false + type: array + description: "Device_status ends with (case-insensitive)" + device_status__isw: + required: false + type: array + description: "Device_status starts with (case-sensitive)" + device_status__n: + required: false + type: array + description: "Device_status not equal to" + device_status__nic: + required: false + type: array + description: "Device_status does not contain (case-insensitive)" + device_status__nie: + required: false + type: array + description: "Device_status inverse exact match (case-insensitive)" + device_status__niew: + required: false + type: array + description: "Device_status does not end with (case-insensitive)" + device_status__nisw: + required: false + type: array + description: "Device_status does not start with (case-sensitive)" device_type: required: false type: array @@ -421,7 +481,7 @@ parameters: region: required: false type: array - description: "Region (slug)" + description: "Region" region__n: required: false type: array @@ -429,27 +489,11 @@ parameters: region_id: required: false type: array - description: "Region (ID)" + description: "Region_id" region_id__n: required: false type: array description: "Region_id not equal to" - role: - required: false - type: array - description: "Device role (slug)" - role__n: - required: false - type: array - description: "Role not equal to" - role_id: - required: false - type: array - description: "Device role (ID)" - role_id__n: - required: false - type: array - description: "Role_id not equal to" site: required: false type: array @@ -461,7 +505,7 @@ parameters: site_group: required: false type: array - description: "Site group (slug)" + description: "Site_group" site_group__n: required: false type: array @@ -469,7 +513,7 @@ parameters: site_group_id: required: false type: array - description: "Site group (ID)" + description: "Site_group_id" site_group_id__n: required: false type: array @@ -490,14 +534,58 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" type: required: false type: array description: "Physical port type" + type__empty: + required: false + type: boolean + description: "Type is empty/null (boolean)" + type__ic: + required: false + type: array + description: "Type contains (case-insensitive)" + type__ie: + required: false + type: array + description: "Type exact match (case-insensitive)" + type__iew: + required: false + type: array + description: "Type ends with (case-insensitive)" + type__isw: + required: false + type: array + description: "Type starts with (case-sensitive)" type__n: required: false type: array description: "Type not equal to" + type__nic: + required: false + type: array + description: "Type does not contain (case-insensitive)" + type__nie: + required: false + type: array + description: "Type inverse exact match (case-insensitive)" + type__niew: + required: false + type: array + description: "Type does not end with (case-insensitive)" + type__nisw: + required: false + type: array + description: "Type does not start with (case-sensitive)" updated_by_request: required: false type: string diff --git a/actions/get.dcim.rack_reservations.yaml b/actions/get.dcim.rack_reservations.yaml index 8ab739d5..756af5a9 100644 --- a/actions/get.dcim.rack_reservations.yaml +++ b/actions/get.dcim.rack_reservations.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of rack reservation objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. created: required: false type: array @@ -156,7 +160,7 @@ parameters: location: required: false type: array - description: "Location (slug)" + description: "Location" location__n: required: false type: array @@ -164,7 +168,7 @@ parameters: location_id: required: false type: array - description: "Location (ID)" + description: "Location_id" location_id__n: required: false type: array @@ -196,7 +200,7 @@ parameters: region: required: false type: array - description: "Region (slug)" + description: "Region" region__n: required: false type: array @@ -204,7 +208,7 @@ parameters: region_id: required: false type: array - description: "Region (ID)" + description: "Region_id" region_id__n: required: false type: array @@ -220,7 +224,7 @@ parameters: site_group: required: false type: array - description: "Site group (slug)" + description: "Site_group" site_group__n: required: false type: array @@ -228,7 +232,7 @@ parameters: site_group_id: required: false type: array - description: "Site group (ID)" + description: "Site_group_id" site_group_id__n: required: false type: array @@ -249,6 +253,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" tenant: required: false type: array @@ -260,7 +272,7 @@ parameters: tenant_group: required: false type: array - description: "Tenant Group (slug)" + description: "Tenant_group" tenant_group__n: required: false type: array @@ -268,7 +280,7 @@ parameters: tenant_group_id: required: false type: array - description: "Tenant Group (ID)" + description: "Tenant_group_id" tenant_group_id__n: required: false type: array diff --git a/actions/get.dcim.rack_roles.yaml b/actions/get.dcim.rack_roles.yaml index 1e438acb..95e6b2e5 100644 --- a/actions/get.dcim.rack_roles.yaml +++ b/actions/get.dcim.rack_roles.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of rack role objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. color: required: false type: array @@ -309,6 +313,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" updated_by_request: required: false type: string diff --git a/actions/get.dcim.rack_types.yaml b/actions/get.dcim.rack_types.yaml new file mode 100644 index 00000000..79a7dbd6 --- /dev/null +++ b/actions/get.dcim.rack_types.yaml @@ -0,0 +1,635 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Get a list of rack type objects." +enabled: true +entry_point: run.py +name: get.dcim.rack_types +parameters: + endpoint_uri: + default: "/dcim/rack-types/" + immutable: true + type: string + http_verb: + default: get + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + created: + required: false + type: array + description: "Created" + created__empty: + required: false + type: array + description: "Created is empty/null (boolean)" + created__gt: + required: false + type: array + description: "Created greater than" + created__gte: + required: false + type: array + description: "Created greater than or equal to" + created__lt: + required: false + type: array + description: "Created less than" + created__lte: + required: false + type: array + description: "Created less than or equal to" + created__n: + required: false + type: array + description: "Created not equal to" + created_by_request: + required: false + type: string + description: "Created_by_request" + desc_units: + required: false + type: boolean + description: "Desc_units" + description: + required: false + type: array + description: "Description" + description__empty: + required: false + type: boolean + description: "Description is empty/null (boolean)" + description__ic: + required: false + type: array + description: "Description contains (case-insensitive)" + description__ie: + required: false + type: array + description: "Description exact match (case-insensitive)" + description__iew: + required: false + type: array + description: "Description ends with (case-insensitive)" + description__isw: + required: false + type: array + description: "Description starts with (case-sensitive)" + description__n: + required: false + type: array + description: "Description not equal to" + description__nic: + required: false + type: array + description: "Description does not contain (case-insensitive)" + description__nie: + required: false + type: array + description: "Description inverse exact match (case-insensitive)" + description__niew: + required: false + type: array + description: "Description does not end with (case-insensitive)" + description__nisw: + required: false + type: array + description: "Description does not start with (case-sensitive)" + form_factor: + required: false + type: array + description: "Form_factor" + form_factor__empty: + required: false + type: boolean + description: "Form_factor is empty/null (boolean)" + form_factor__ic: + required: false + type: array + description: "Form_factor contains (case-insensitive)" + form_factor__ie: + required: false + type: array + description: "Form_factor exact match (case-insensitive)" + form_factor__iew: + required: false + type: array + description: "Form_factor ends with (case-insensitive)" + form_factor__isw: + required: false + type: array + description: "Form_factor starts with (case-sensitive)" + form_factor__n: + required: false + type: array + description: "Form_factor not equal to" + form_factor__nic: + required: false + type: array + description: "Form_factor does not contain (case-insensitive)" + form_factor__nie: + required: false + type: array + description: "Form_factor inverse exact match (case-insensitive)" + form_factor__niew: + required: false + type: array + description: "Form_factor does not end with (case-insensitive)" + form_factor__nisw: + required: false + type: array + description: "Form_factor does not start with (case-sensitive)" + id: + required: false + type: array + description: "Id" + id__empty: + required: false + type: boolean + description: "Id is empty/null (boolean)" + id__gt: + required: false + type: array + description: "Id greater than" + id__gte: + required: false + type: array + description: "Id greater than or equal to" + id__lt: + required: false + type: array + description: "Id less than" + id__lte: + required: false + type: array + description: "Id less than or equal to" + id__n: + required: false + type: array + description: "Id not equal to" + last_updated: + required: false + type: array + description: "Last_updated" + last_updated__empty: + required: false + type: array + description: "Last_updated is empty/null (boolean)" + last_updated__gt: + required: false + type: array + description: "Last_updated greater than" + last_updated__gte: + required: false + type: array + description: "Last_updated greater than or equal to" + last_updated__lt: + required: false + type: array + description: "Last_updated less than" + last_updated__lte: + required: false + type: array + description: "Last_updated less than or equal to" + last_updated__n: + required: false + type: array + description: "Last_updated not equal to" + limit: + required: false + type: integer + description: "Number of results to return per page." + manufacturer: + required: false + type: array + description: "Manufacturer (slug)" + manufacturer__n: + required: false + type: array + description: "Manufacturer not equal to" + manufacturer_id: + required: false + type: array + description: "Manufacturer (ID)" + manufacturer_id__n: + required: false + type: array + description: "Manufacturer_id not equal to" + max_weight: + required: false + type: array + description: "Max_weight" + max_weight__empty: + required: false + type: boolean + description: "Max_weight is empty/null (boolean)" + max_weight__gt: + required: false + type: array + description: "Max_weight greater than" + max_weight__gte: + required: false + type: array + description: "Max_weight greater than or equal to" + max_weight__lt: + required: false + type: array + description: "Max_weight less than" + max_weight__lte: + required: false + type: array + description: "Max_weight less than or equal to" + max_weight__n: + required: false + type: array + description: "Max_weight not equal to" + model: + required: false + type: array + description: "Model" + model__empty: + required: false + type: boolean + description: "Model is empty/null (boolean)" + model__ic: + required: false + type: array + description: "Model contains (case-insensitive)" + model__ie: + required: false + type: array + description: "Model exact match (case-insensitive)" + model__iew: + required: false + type: array + description: "Model ends with (case-insensitive)" + model__isw: + required: false + type: array + description: "Model starts with (case-sensitive)" + model__n: + required: false + type: array + description: "Model not equal to" + model__nic: + required: false + type: array + description: "Model does not contain (case-insensitive)" + model__nie: + required: false + type: array + description: "Model inverse exact match (case-insensitive)" + model__niew: + required: false + type: array + description: "Model does not end with (case-insensitive)" + model__nisw: + required: false + type: array + description: "Model does not start with (case-sensitive)" + modified_by_request: + required: false + type: string + description: "Modified_by_request" + mounting_depth: + required: false + type: array + description: "Mounting_depth" + mounting_depth__empty: + required: false + type: boolean + description: "Mounting_depth is empty/null (boolean)" + mounting_depth__gt: + required: false + type: array + description: "Mounting_depth greater than" + mounting_depth__gte: + required: false + type: array + description: "Mounting_depth greater than or equal to" + mounting_depth__lt: + required: false + type: array + description: "Mounting_depth less than" + mounting_depth__lte: + required: false + type: array + description: "Mounting_depth less than or equal to" + mounting_depth__n: + required: false + type: array + description: "Mounting_depth not equal to" + offset: + required: false + type: integer + description: "The initial index from which to return the results." + ordering: + required: false + type: string + description: "Which field to use when ordering the results." + outer_depth: + required: false + type: array + description: "Outer_depth" + outer_depth__empty: + required: false + type: boolean + description: "Outer_depth is empty/null (boolean)" + outer_depth__gt: + required: false + type: array + description: "Outer_depth greater than" + outer_depth__gte: + required: false + type: array + description: "Outer_depth greater than or equal to" + outer_depth__lt: + required: false + type: array + description: "Outer_depth less than" + outer_depth__lte: + required: false + type: array + description: "Outer_depth less than or equal to" + outer_depth__n: + required: false + type: array + description: "Outer_depth not equal to" + outer_height: + required: false + type: array + description: "Outer_height" + outer_height__empty: + required: false + type: boolean + description: "Outer_height is empty/null (boolean)" + outer_height__gt: + required: false + type: array + description: "Outer_height greater than" + outer_height__gte: + required: false + type: array + description: "Outer_height greater than or equal to" + outer_height__lt: + required: false + type: array + description: "Outer_height less than" + outer_height__lte: + required: false + type: array + description: "Outer_height less than or equal to" + outer_height__n: + required: false + type: array + description: "Outer_height not equal to" + outer_unit: + required: false + type: string + description: "* `mm` - Millimeters +* `in` - Inches" + outer_width: + required: false + type: array + description: "Outer_width" + outer_width__empty: + required: false + type: boolean + description: "Outer_width is empty/null (boolean)" + outer_width__gt: + required: false + type: array + description: "Outer_width greater than" + outer_width__gte: + required: false + type: array + description: "Outer_width greater than or equal to" + outer_width__lt: + required: false + type: array + description: "Outer_width less than" + outer_width__lte: + required: false + type: array + description: "Outer_width less than or equal to" + outer_width__n: + required: false + type: array + description: "Outer_width not equal to" + q: + required: false + type: string + description: "Search" + slug: + required: false + type: array + description: "Slug" + slug__empty: + required: false + type: boolean + description: "Slug is empty/null (boolean)" + slug__ic: + required: false + type: array + description: "Slug contains (case-insensitive)" + slug__ie: + required: false + type: array + description: "Slug exact match (case-insensitive)" + slug__iew: + required: false + type: array + description: "Slug ends with (case-insensitive)" + slug__isw: + required: false + type: array + description: "Slug starts with (case-sensitive)" + slug__n: + required: false + type: array + description: "Slug not equal to" + slug__nic: + required: false + type: array + description: "Slug does not contain (case-insensitive)" + slug__nie: + required: false + type: array + description: "Slug inverse exact match (case-insensitive)" + slug__niew: + required: false + type: array + description: "Slug does not end with (case-insensitive)" + slug__nisw: + required: false + type: array + description: "Slug does not start with (case-sensitive)" + starting_unit: + required: false + type: array + description: "Starting_unit" + starting_unit__empty: + required: false + type: boolean + description: "Starting_unit is empty/null (boolean)" + starting_unit__gt: + required: false + type: array + description: "Starting_unit greater than" + starting_unit__gte: + required: false + type: array + description: "Starting_unit greater than or equal to" + starting_unit__lt: + required: false + type: array + description: "Starting_unit less than" + starting_unit__lte: + required: false + type: array + description: "Starting_unit less than or equal to" + starting_unit__n: + required: false + type: array + description: "Starting_unit not equal to" + tag: + required: false + type: array + description: "Tag" + tag__n: + required: false + type: array + description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" + u_height: + required: false + type: array + description: "U_height" + u_height__empty: + required: false + type: boolean + description: "U_height is empty/null (boolean)" + u_height__gt: + required: false + type: array + description: "U_height greater than" + u_height__gte: + required: false + type: array + description: "U_height greater than or equal to" + u_height__lt: + required: false + type: array + description: "U_height less than" + u_height__lte: + required: false + type: array + description: "U_height less than or equal to" + u_height__n: + required: false + type: array + description: "U_height not equal to" + updated_by_request: + required: false + type: string + description: "Updated_by_request" + weight: + required: false + type: array + description: "Weight" + weight__empty: + required: false + type: boolean + description: "Weight is empty/null (boolean)" + weight__gt: + required: false + type: array + description: "Weight greater than" + weight__gte: + required: false + type: array + description: "Weight greater than or equal to" + weight__lt: + required: false + type: array + description: "Weight less than" + weight__lte: + required: false + type: array + description: "Weight less than or equal to" + weight__n: + required: false + type: array + description: "Weight not equal to" + weight_unit: + required: false + type: string + description: "* `kg` - Kilograms +* `g` - Grams +* `lb` - Pounds +* `oz` - Ounces" + width: + required: false + type: array + description: "Rail-to-rail width" + width__ic: + required: false + type: array + description: "Width contains (case-insensitive)" + width__ie: + required: false + type: array + description: "Width exact match (case-insensitive)" + width__iew: + required: false + type: array + description: "Width ends with (case-insensitive)" + width__isw: + required: false + type: array + description: "Width starts with (case-sensitive)" + width__n: + required: false + type: array + description: "Width not equal to" + width__nic: + required: false + type: array + description: "Width does not contain (case-insensitive)" + width__nie: + required: false + type: array + description: "Width inverse exact match (case-insensitive)" + width__niew: + required: false + type: array + description: "Width does not end with (case-insensitive)" + width__nisw: + required: false + type: array + description: "Width does not start with (case-sensitive)" + save_in_key_store: + type: boolean + default: false + 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. + save_in_key_store_key_name: + type: string + 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. + save_in_key_store_ttl: + type: integer + default: 60 + 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. +runner_type: python-script diff --git a/actions/get.dcim.racks.elevation.yaml b/actions/get.dcim.racks.elevation.yaml index 3ad3a1ea..e28528bf 100644 --- a/actions/get.dcim.racks.elevation.yaml +++ b/actions/get.dcim.racks.elevation.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Rack elevation representing the list of rack units. Also supports rendering the elevation as an SVG." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: false immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/get.dcim.racks.yaml b/actions/get.dcim.racks.yaml index 07c4421e..1445deb1 100644 --- a/actions/get.dcim.racks.yaml +++ b/actions/get.dcim.racks.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of rack objects." enabled: true entry_point: run.py @@ -17,6 +17,15 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + airflow: + required: false + type: string + description: "* `front-to-rear` - Front to rear +* `rear-to-front` - Rear to front" asset_tag: required: false type: array @@ -72,7 +81,7 @@ parameters: contact_group: required: false type: array - description: "Contact group" + description: "Contact_group" contact_group__n: required: false type: array @@ -209,6 +218,50 @@ parameters: required: false type: array description: "Facility_id does not start with (case-sensitive)" + form_factor: + required: false + type: array + description: "Form_factor" + form_factor__empty: + required: false + type: boolean + description: "Form_factor is empty/null (boolean)" + form_factor__ic: + required: false + type: array + description: "Form_factor contains (case-insensitive)" + form_factor__ie: + required: false + type: array + description: "Form_factor exact match (case-insensitive)" + form_factor__iew: + required: false + type: array + description: "Form_factor ends with (case-insensitive)" + form_factor__isw: + required: false + type: array + description: "Form_factor starts with (case-sensitive)" + form_factor__n: + required: false + type: array + description: "Form_factor not equal to" + form_factor__nic: + required: false + type: array + description: "Form_factor does not contain (case-insensitive)" + form_factor__nie: + required: false + type: array + description: "Form_factor inverse exact match (case-insensitive)" + form_factor__niew: + required: false + type: array + description: "Form_factor does not end with (case-insensitive)" + form_factor__nisw: + required: false + type: array + description: "Form_factor does not start with (case-sensitive)" id: required: false type: array @@ -272,7 +325,7 @@ parameters: location: required: false type: array - description: "Location (slug)" + description: "Location" location__n: required: false type: array @@ -280,11 +333,27 @@ parameters: location_id: required: false type: array - description: "Location (ID)" + description: "Location_id" location_id__n: required: false type: array description: "Location_id not equal to" + manufacturer: + required: false + type: array + description: "Manufacturer (slug)" + manufacturer__n: + required: false + type: array + description: "Manufacturer not equal to" + manufacturer_id: + required: false + type: array + description: "Manufacturer (ID)" + manufacturer_id__n: + required: false + type: array + description: "Manufacturer_id not equal to" max_weight: required: false type: array @@ -425,15 +494,39 @@ parameters: required: false type: array description: "Outer_depth not equal to" + outer_height: + required: false + type: array + description: "Outer_height" + outer_height__empty: + required: false + type: boolean + description: "Outer_height is empty/null (boolean)" + outer_height__gt: + required: false + type: array + description: "Outer_height greater than" + outer_height__gte: + required: false + type: array + description: "Outer_height greater than or equal to" + outer_height__lt: + required: false + type: array + description: "Outer_height less than" + outer_height__lte: + required: false + type: array + description: "Outer_height less than or equal to" + outer_height__n: + required: false + type: array + description: "Outer_height not equal to" outer_unit: required: false type: string description: "* `mm` - Millimeters * `in` - Inches" - outer_unit__n: - required: false - type: string - description: "Outer_unit not equal to" outer_width: required: false type: array @@ -466,10 +559,26 @@ parameters: required: false type: string description: "Search" + rack_type: + required: false + type: array + description: "Rack type (slug)" + rack_type__n: + required: false + type: array + description: "Rack_type not equal to" + rack_type_id: + required: false + type: array + description: "Rack type (ID)" + rack_type_id__n: + required: false + type: array + description: "Rack_type_id not equal to" region: required: false type: array - description: "Region (slug)" + description: "Region" region__n: required: false type: array @@ -477,7 +586,7 @@ parameters: region_id: required: false type: array - description: "Region (ID)" + description: "Region_id" region_id__n: required: false type: array @@ -553,7 +662,7 @@ parameters: site_group: required: false type: array - description: "Site group (slug)" + description: "Site_group" site_group__n: required: false type: array @@ -561,7 +670,7 @@ parameters: site_group_id: required: false type: array - description: "Site group (ID)" + description: "Site_group_id" site_group_id__n: required: false type: array @@ -606,10 +715,46 @@ parameters: required: false type: array description: "Status" + status__empty: + required: false + type: boolean + description: "Status is empty/null (boolean)" + status__ic: + required: false + type: array + description: "Status contains (case-insensitive)" + status__ie: + required: false + type: array + description: "Status exact match (case-insensitive)" + status__iew: + required: false + type: array + description: "Status ends with (case-insensitive)" + status__isw: + required: false + type: array + description: "Status starts with (case-sensitive)" status__n: required: false type: array description: "Status not equal to" + status__nic: + required: false + type: array + description: "Status does not contain (case-insensitive)" + status__nie: + required: false + type: array + description: "Status inverse exact match (case-insensitive)" + status__niew: + required: false + type: array + description: "Status does not end with (case-insensitive)" + status__nisw: + required: false + type: array + description: "Status does not start with (case-sensitive)" tag: required: false type: array @@ -618,6 +763,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" tenant: required: false type: array @@ -629,7 +782,7 @@ parameters: tenant_group: required: false type: array - description: "Tenant Group (slug)" + description: "Tenant_group" tenant_group__n: required: false type: array @@ -637,7 +790,7 @@ parameters: tenant_group_id: required: false type: array - description: "Tenant Group (ID)" + description: "Tenant_group_id" tenant_group_id__n: required: false type: array @@ -650,14 +803,6 @@ parameters: required: false type: array description: "Tenant_id not equal to" - type: - required: false - type: array - description: "Type" - type__n: - required: false - type: array - description: "Type not equal to" u_height: required: false type: array @@ -725,18 +870,46 @@ parameters: * `g` - Grams * `lb` - Pounds * `oz` - Ounces" - weight_unit__n: - required: false - type: string - description: "Weight_unit not equal to" width: required: false type: array description: "Rail-to-rail width" + width__ic: + required: false + type: array + description: "Width contains (case-insensitive)" + width__ie: + required: false + type: array + description: "Width exact match (case-insensitive)" + width__iew: + required: false + type: array + description: "Width ends with (case-insensitive)" + width__isw: + required: false + type: array + description: "Width starts with (case-sensitive)" width__n: required: false type: array description: "Width not equal to" + width__nic: + required: false + type: array + description: "Width does not contain (case-insensitive)" + width__nie: + required: false + type: array + description: "Width inverse exact match (case-insensitive)" + width__niew: + required: false + type: array + description: "Width does not end with (case-insensitive)" + width__nisw: + required: false + type: array + description: "Width does not start with (case-sensitive)" save_in_key_store: type: boolean default: false diff --git a/actions/get.dcim.rear_port_templates.yaml b/actions/get.dcim.rear_port_templates.yaml index 9f6c5e50..e5897e3d 100644 --- a/actions/get.dcim.rear_port_templates.yaml +++ b/actions/get.dcim.rear_port_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of rear port template objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. color: required: false type: array @@ -145,14 +149,6 @@ parameters: required: false type: array description: "Device_type_id not equal to" - devicetype_id: - required: false - type: array - description: "Device type (ID)" - devicetype_id__n: - required: false - type: array - description: "Devicetype_id not equal to" id: required: false type: array @@ -269,14 +265,6 @@ parameters: required: false type: array description: "Module_type_id not equal to" - moduletype_id: - required: false - type: array - description: "Module type (ID)" - moduletype_id__n: - required: false - type: array - description: "Moduletype_id not equal to" name: required: false type: array @@ -365,10 +353,46 @@ parameters: required: false type: array description: "Type" + type__empty: + required: false + type: boolean + description: "Type is empty/null (boolean)" + type__ic: + required: false + type: array + description: "Type contains (case-insensitive)" + type__ie: + required: false + type: array + description: "Type exact match (case-insensitive)" + type__iew: + required: false + type: array + description: "Type ends with (case-insensitive)" + type__isw: + required: false + type: array + description: "Type starts with (case-sensitive)" type__n: required: false type: array description: "Type not equal to" + type__nic: + required: false + type: array + description: "Type does not contain (case-insensitive)" + type__nie: + required: false + type: array + description: "Type inverse exact match (case-insensitive)" + type__niew: + required: false + type: array + description: "Type does not end with (case-insensitive)" + type__nisw: + required: false + type: array + description: "Type does not start with (case-sensitive)" updated_by_request: required: false type: string diff --git a/actions/get.dcim.rear_ports.paths.yaml b/actions/get.dcim.rear_ports.paths.yaml index b8b3ec92..02daf3eb 100644 --- a/actions/get.dcim.rear_ports.paths.yaml +++ b/actions/get.dcim.rear_ports.paths.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Return all CablePaths which traverse a given pass-through port." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: false immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/get.dcim.rear_ports.yaml b/actions/get.dcim.rear_ports.yaml index 7ffc2594..7771a1e1 100644 --- a/actions/get.dcim.rear_ports.yaml +++ b/actions/get.dcim.rear_ports.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of rear port objects." enabled: true entry_point: run.py @@ -17,15 +17,15 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. cable_end: required: false type: string description: "* `A` - A * `B` - B" - cable_end__n: - required: false - type: string - description: "Cable_end not equal to" cable_id: required: false type: array @@ -174,6 +174,66 @@ parameters: required: false type: array description: "Device_id not equal to" + device_role: + required: false + type: array + description: "Device role (slug)" + device_role__n: + required: false + type: array + description: "Device_role not equal to" + device_role_id: + required: false + type: array + description: "Device role (ID)" + device_role_id__n: + required: false + type: array + description: "Device_role_id not equal to" + device_status: + required: false + type: array + description: "Device_status" + device_status__empty: + required: false + type: boolean + description: "Device_status is empty/null (boolean)" + device_status__ic: + required: false + type: array + description: "Device_status contains (case-insensitive)" + device_status__ie: + required: false + type: array + description: "Device_status exact match (case-insensitive)" + device_status__iew: + required: false + type: array + description: "Device_status ends with (case-insensitive)" + device_status__isw: + required: false + type: array + description: "Device_status starts with (case-sensitive)" + device_status__n: + required: false + type: array + description: "Device_status not equal to" + device_status__nic: + required: false + type: array + description: "Device_status does not contain (case-insensitive)" + device_status__nie: + required: false + type: array + description: "Device_status inverse exact match (case-insensitive)" + device_status__niew: + required: false + type: array + description: "Device_status does not end with (case-insensitive)" + device_status__nisw: + required: false + type: array + description: "Device_status does not start with (case-sensitive)" device_type: required: false type: array @@ -433,7 +493,7 @@ parameters: region: required: false type: array - description: "Region (slug)" + description: "Region" region__n: required: false type: array @@ -441,27 +501,11 @@ parameters: region_id: required: false type: array - description: "Region (ID)" + description: "Region_id" region_id__n: required: false type: array description: "Region_id not equal to" - role: - required: false - type: array - description: "Device role (slug)" - role__n: - required: false - type: array - description: "Role not equal to" - role_id: - required: false - type: array - description: "Device role (ID)" - role_id__n: - required: false - type: array - description: "Role_id not equal to" site: required: false type: array @@ -473,7 +517,7 @@ parameters: site_group: required: false type: array - description: "Site group (slug)" + description: "Site_group" site_group__n: required: false type: array @@ -481,7 +525,7 @@ parameters: site_group_id: required: false type: array - description: "Site group (ID)" + description: "Site_group_id" site_group_id__n: required: false type: array @@ -502,14 +546,58 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" type: required: false type: array description: "Type" + type__empty: + required: false + type: boolean + description: "Type is empty/null (boolean)" + type__ic: + required: false + type: array + description: "Type contains (case-insensitive)" + type__ie: + required: false + type: array + description: "Type exact match (case-insensitive)" + type__iew: + required: false + type: array + description: "Type ends with (case-insensitive)" + type__isw: + required: false + type: array + description: "Type starts with (case-sensitive)" type__n: required: false type: array description: "Type not equal to" + type__nic: + required: false + type: array + description: "Type does not contain (case-insensitive)" + type__nie: + required: false + type: array + description: "Type inverse exact match (case-insensitive)" + type__niew: + required: false + type: array + description: "Type does not end with (case-insensitive)" + type__nisw: + required: false + type: array + description: "Type does not start with (case-sensitive)" updated_by_request: required: false type: string diff --git a/actions/get.dcim.regions.yaml b/actions/get.dcim.regions.yaml index 67f30659..36d27b3b 100644 --- a/actions/get.dcim.regions.yaml +++ b/actions/get.dcim.regions.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of region objects." enabled: true entry_point: run.py @@ -17,10 +17,14 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. ancestor: required: false type: array - description: "Region (slug)" + description: "Ancestor" ancestor__n: required: false type: array @@ -28,7 +32,7 @@ parameters: ancestor_id: required: false type: array - description: "Region (ID)" + description: "Ancestor_id" ancestor_id__n: required: false type: array @@ -44,7 +48,7 @@ parameters: contact_group: required: false type: array - description: "Contact group" + description: "Contact_group" contact_group__n: required: false type: array @@ -321,6 +325,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" updated_by_request: required: false type: string diff --git a/actions/get.dcim.site_groups.yaml b/actions/get.dcim.site_groups.yaml index c96e5a6e..71d06e49 100644 --- a/actions/get.dcim.site_groups.yaml +++ b/actions/get.dcim.site_groups.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of site group objects." enabled: true entry_point: run.py @@ -17,10 +17,14 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. ancestor: required: false type: array - description: "Site group (slug)" + description: "Ancestor" ancestor__n: required: false type: array @@ -28,7 +32,7 @@ parameters: ancestor_id: required: false type: array - description: "Site group (ID)" + description: "Ancestor_id" ancestor_id__n: required: false type: array @@ -44,7 +48,7 @@ parameters: contact_group: required: false type: array - description: "Contact group" + description: "Contact_group" contact_group__n: required: false type: array @@ -321,6 +325,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" updated_by_request: required: false type: string diff --git a/actions/get.dcim.sites.yaml b/actions/get.dcim.sites.yaml index 686e1bb5..f31ecce9 100644 --- a/actions/get.dcim.sites.yaml +++ b/actions/get.dcim.sites.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of site objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. asn: required: false type: array @@ -44,7 +48,7 @@ parameters: contact_group: required: false type: array - description: "Contact group" + description: "Contact_group" contact_group__n: required: false type: array @@ -180,7 +184,7 @@ parameters: group: required: false type: array - description: "Group (slug)" + description: "Group" group__n: required: false type: array @@ -188,7 +192,7 @@ parameters: group_id: required: false type: array - description: "Group (ID)" + description: "Group_id" group_id__n: required: false type: array @@ -372,7 +376,7 @@ parameters: region: required: false type: array - description: "Region (slug)" + description: "Region" region__n: required: false type: array @@ -380,7 +384,7 @@ parameters: region_id: required: false type: array - description: "Region (ID)" + description: "Region_id" region_id__n: required: false type: array @@ -433,10 +437,46 @@ parameters: required: false type: array description: "Status" + status__empty: + required: false + type: boolean + description: "Status is empty/null (boolean)" + status__ic: + required: false + type: array + description: "Status contains (case-insensitive)" + status__ie: + required: false + type: array + description: "Status exact match (case-insensitive)" + status__iew: + required: false + type: array + description: "Status ends with (case-insensitive)" + status__isw: + required: false + type: array + description: "Status starts with (case-sensitive)" status__n: required: false type: array description: "Status not equal to" + status__nic: + required: false + type: array + description: "Status does not contain (case-insensitive)" + status__nie: + required: false + type: array + description: "Status inverse exact match (case-insensitive)" + status__niew: + required: false + type: array + description: "Status does not end with (case-insensitive)" + status__nisw: + required: false + type: array + description: "Status does not start with (case-sensitive)" tag: required: false type: array @@ -445,6 +485,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" tenant: required: false type: array @@ -456,7 +504,7 @@ parameters: tenant_group: required: false type: array - description: "Tenant Group (slug)" + description: "Tenant_group" tenant_group__n: required: false type: array @@ -464,7 +512,7 @@ parameters: tenant_group_id: required: false type: array - description: "Tenant Group (ID)" + description: "Tenant_group_id" tenant_group_id__n: required: false type: array diff --git a/actions/get.dcim.virtual_chassis.yaml b/actions/get.dcim.virtual_chassis.yaml index 73174c75..839dd2e3 100644 --- a/actions/get.dcim.virtual_chassis.yaml +++ b/actions/get.dcim.virtual_chassis.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of virtual chassis objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. created: required: false type: array @@ -304,7 +308,7 @@ parameters: region: required: false type: array - description: "Region (slug)" + description: "Region" region__n: required: false type: array @@ -312,7 +316,7 @@ parameters: region_id: required: false type: array - description: "Region (ID)" + description: "Region_id" region_id__n: required: false type: array @@ -328,7 +332,7 @@ parameters: site_group: required: false type: array - description: "Site group (slug)" + description: "Site_group" site_group__n: required: false type: array @@ -336,7 +340,7 @@ parameters: site_group_id: required: false type: array - description: "Site group (ID)" + description: "Site_group_id" site_group_id__n: required: false type: array @@ -357,6 +361,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" tenant: required: false type: array diff --git a/actions/get.dcim.virtual_device_contexts.yaml b/actions/get.dcim.virtual_device_contexts.yaml index 4dbfde18..319d2a34 100644 --- a/actions/get.dcim.virtual_device_contexts.yaml +++ b/actions/get.dcim.virtual_device_contexts.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of virtual device context objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. created: required: false type: array @@ -265,6 +269,14 @@ parameters: required: false type: string description: "Which field to use when ordering the results." + primary_ip4: + required: false + type: array + description: "Primary IPv4 (address)" + primary_ip4__n: + required: false + type: array + description: "Primary_ip4 not equal to" primary_ip4_id: required: false type: array @@ -273,6 +285,14 @@ parameters: required: false type: array description: "Primary_ip4_id not equal to" + primary_ip6: + required: false + type: array + description: "Primary IPv6 (address)" + primary_ip6__n: + required: false + type: array + description: "Primary_ip6 not equal to" primary_ip6_id: required: false type: array @@ -289,10 +309,46 @@ parameters: required: false type: array description: "Status" + status__empty: + required: false + type: boolean + description: "Status is empty/null (boolean)" + status__ic: + required: false + type: array + description: "Status contains (case-insensitive)" + status__ie: + required: false + type: array + description: "Status exact match (case-insensitive)" + status__iew: + required: false + type: array + description: "Status ends with (case-insensitive)" + status__isw: + required: false + type: array + description: "Status starts with (case-sensitive)" status__n: required: false type: array description: "Status not equal to" + status__nic: + required: false + type: array + description: "Status does not contain (case-insensitive)" + status__nie: + required: false + type: array + description: "Status inverse exact match (case-insensitive)" + status__niew: + required: false + type: array + description: "Status does not end with (case-insensitive)" + status__nisw: + required: false + type: array + description: "Status does not start with (case-sensitive)" tag: required: false type: array @@ -301,6 +357,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" tenant: required: false type: array @@ -312,7 +376,7 @@ parameters: tenant_group: required: false type: array - description: "Tenant Group (slug)" + description: "Tenant_group" tenant_group__n: required: false type: array @@ -320,7 +384,7 @@ parameters: tenant_group_id: required: false type: array - description: "Tenant Group (ID)" + description: "Tenant_group_id" tenant_group_id__n: required: false type: array diff --git a/actions/get.extras.bookmarks.yaml b/actions/get.extras.bookmarks.yaml index 368c5f94..8ac3c58d 100644 --- a/actions/get.extras.bookmarks.yaml +++ b/actions/get.extras.bookmarks.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of bookmark objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. created: required: false type: string diff --git a/actions/get.extras.config_contexts.yaml b/actions/get.extras.config_contexts.yaml index 4bd3579a..24f790c8 100644 --- a/actions/get.extras.config_contexts.yaml +++ b/actions/get.extras.config_contexts.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of config context objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. auto_sync_enabled: required: false type: boolean @@ -377,22 +381,6 @@ parameters: required: false type: array description: "Region_id not equal to" - role: - required: false - type: array - description: "Role (slug)" - role__n: - required: false - type: array - description: "Role not equal to" - role_id: - required: false - type: array - description: "Role" - role_id__n: - required: false - type: array - description: "Role_id not equal to" site: required: false type: array diff --git a/actions/get.extras.config_templates.yaml b/actions/get.extras.config_templates.yaml index 54145c03..ec1b0426 100644 --- a/actions/get.extras.config_templates.yaml +++ b/actions/get.extras.config_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of config template objects." enabled: true entry_point: run.py @@ -17,6 +17,14 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + as_attachment: + required: false + type: boolean + description: "As_attachment" auto_sync_enabled: required: false type: boolean @@ -141,6 +149,94 @@ parameters: required: false type: array description: "Description does not start with (case-sensitive)" + file_extension: + required: false + type: array + description: "File_extension" + file_extension__empty: + required: false + type: boolean + description: "File_extension is empty/null (boolean)" + file_extension__ic: + required: false + type: array + description: "File_extension contains (case-insensitive)" + file_extension__ie: + required: false + type: array + description: "File_extension exact match (case-insensitive)" + file_extension__iew: + required: false + type: array + description: "File_extension ends with (case-insensitive)" + file_extension__isw: + required: false + type: array + description: "File_extension starts with (case-sensitive)" + file_extension__n: + required: false + type: array + description: "File_extension not equal to" + file_extension__nic: + required: false + type: array + description: "File_extension does not contain (case-insensitive)" + file_extension__nie: + required: false + type: array + description: "File_extension inverse exact match (case-insensitive)" + file_extension__niew: + required: false + type: array + description: "File_extension does not end with (case-insensitive)" + file_extension__nisw: + required: false + type: array + description: "File_extension does not start with (case-sensitive)" + file_name: + required: false + type: array + description: "File_name" + file_name__empty: + required: false + type: boolean + description: "File_name is empty/null (boolean)" + file_name__ic: + required: false + type: array + description: "File_name contains (case-insensitive)" + file_name__ie: + required: false + type: array + description: "File_name exact match (case-insensitive)" + file_name__iew: + required: false + type: array + description: "File_name ends with (case-insensitive)" + file_name__isw: + required: false + type: array + description: "File_name starts with (case-sensitive)" + file_name__n: + required: false + type: array + description: "File_name not equal to" + file_name__nic: + required: false + type: array + description: "File_name does not contain (case-insensitive)" + file_name__nie: + required: false + type: array + description: "File_name inverse exact match (case-insensitive)" + file_name__niew: + required: false + type: array + description: "File_name does not end with (case-insensitive)" + file_name__nisw: + required: false + type: array + description: "File_name does not start with (case-sensitive)" id: required: false type: array @@ -201,6 +297,50 @@ parameters: required: false type: integer description: "Number of results to return per page." + mime_type: + required: false + type: array + description: "Mime_type" + mime_type__empty: + required: false + type: boolean + description: "Mime_type is empty/null (boolean)" + mime_type__ic: + required: false + type: array + description: "Mime_type contains (case-insensitive)" + mime_type__ie: + required: false + type: array + description: "Mime_type exact match (case-insensitive)" + mime_type__iew: + required: false + type: array + description: "Mime_type ends with (case-insensitive)" + mime_type__isw: + required: false + type: array + description: "Mime_type starts with (case-sensitive)" + mime_type__n: + required: false + type: array + description: "Mime_type not equal to" + mime_type__nic: + required: false + type: array + description: "Mime_type does not contain (case-insensitive)" + mime_type__nie: + required: false + type: array + description: "Mime_type inverse exact match (case-insensitive)" + mime_type__niew: + required: false + type: array + description: "Mime_type does not end with (case-insensitive)" + mime_type__nisw: + required: false + type: array + description: "Mime_type does not start with (case-sensitive)" modified_by_request: required: false type: string @@ -269,6 +409,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" updated_by_request: required: false type: string diff --git a/actions/get.extras.custom_field_choice_sets.choices.yaml b/actions/get.extras.custom_field_choice_sets.choices.yaml index 8770defb..714bcffc 100644 --- a/actions/get.extras.custom_field_choice_sets.choices.yaml +++ b/actions/get.extras.custom_field_choice_sets.choices.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Provides an endpoint to iterate through each choice in a set." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: false immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: true type: integer diff --git a/actions/get.extras.custom_field_choice_sets.yaml b/actions/get.extras.custom_field_choice_sets.yaml index c513d1e1..6b328b13 100644 --- a/actions/get.extras.custom_field_choice_sets.yaml +++ b/actions/get.extras.custom_field_choice_sets.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of custom field choice set objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. base_choices: required: false type: string @@ -25,10 +29,6 @@ parameters: * `IATA` - IATA (Airport codes) * `ISO_3166` - ISO 3166 (Country codes) * `UN_LOCODE` - UN/LOCODE (Location codes)" - base_choices__n: - required: false - type: string - description: "Base_choices not equal to" choice: required: false type: array diff --git a/actions/get.extras.custom_fields.yaml b/actions/get.extras.custom_fields.yaml index 09c0bade..a0ea7f2e 100644 --- a/actions/get.extras.custom_fields.yaml +++ b/actions/get.extras.custom_fields.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of custom field objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. choice_set: required: false type: array @@ -117,10 +121,6 @@ parameters: * `disabled` - Disabled * `loose` - Loose * `exact` - Exact" - filter_logic__n: - required: false - type: string - description: "Filter_logic not equal to" group_name: required: false type: array @@ -433,10 +433,46 @@ parameters: required: false type: array description: "The type of data this custom field holds" + type__empty: + required: false + type: boolean + description: "Type is empty/null (boolean)" + type__ic: + required: false + type: array + description: "Type contains (case-insensitive)" + type__ie: + required: false + type: array + description: "Type exact match (case-insensitive)" + type__iew: + required: false + type: array + description: "Type ends with (case-insensitive)" + type__isw: + required: false + type: array + description: "Type starts with (case-sensitive)" type__n: required: false type: array description: "Type not equal to" + type__nic: + required: false + type: array + description: "Type does not contain (case-insensitive)" + type__nie: + required: false + type: array + description: "Type inverse exact match (case-insensitive)" + type__niew: + required: false + type: array + description: "Type does not end with (case-insensitive)" + type__nisw: + required: false + type: array + description: "Type does not start with (case-sensitive)" ui_editable: required: false type: string @@ -445,10 +481,6 @@ parameters: * `yes` - Yes * `no` - No * `hidden` - Hidden" - ui_editable__n: - required: false - type: string - description: "Ui_editable not equal to" ui_visible: required: false type: string @@ -457,10 +489,10 @@ parameters: * `always` - Always * `if-set` - If set * `hidden` - Hidden" - ui_visible__n: + unique: required: false - type: string - description: "Ui_visible not equal to" + type: boolean + description: "Unique" updated_by_request: required: false type: string diff --git a/actions/get.extras.custom_links.yaml b/actions/get.extras.custom_links.yaml index 09d5dd86..49a1bd20 100644 --- a/actions/get.extras.custom_links.yaml +++ b/actions/get.extras.custom_links.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of custom link objects." enabled: true entry_point: run.py @@ -17,12 +17,16 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. button_class: required: false type: string description: "The class of the first link in a group will be used for the dropdown button -* `outline-dark` - Default +* `default` - Default * `blue` - Blue * `indigo` - Indigo * `purple` - Purple @@ -37,10 +41,6 @@ parameters: * `black` - Black * `white` - White * `ghost-dark` - Link" - button_class__n: - required: false - type: string - description: "Button_class not equal to" created: required: false type: array diff --git a/actions/get.extras.event_rules.yaml b/actions/get.extras.event_rules.yaml index 0db5fe0c..f9b3ac1a 100644 --- a/actions/get.extras.event_rules.yaml +++ b/actions/get.extras.event_rules.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of event rule objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. action_object_id: required: false type: array @@ -57,10 +61,46 @@ parameters: required: false type: array description: "Action_type" + action_type__empty: + required: false + type: boolean + description: "Action_type is empty/null (boolean)" + action_type__ic: + required: false + type: array + description: "Action_type contains (case-insensitive)" + action_type__ie: + required: false + type: array + description: "Action_type exact match (case-insensitive)" + action_type__iew: + required: false + type: array + description: "Action_type ends with (case-insensitive)" + action_type__isw: + required: false + type: array + description: "Action_type starts with (case-sensitive)" action_type__n: required: false type: array description: "Action_type not equal to" + action_type__nic: + required: false + type: array + description: "Action_type does not contain (case-insensitive)" + action_type__nie: + required: false + type: array + description: "Action_type inverse exact match (case-insensitive)" + action_type__niew: + required: false + type: array + description: "Action_type does not end with (case-insensitive)" + action_type__nisw: + required: false + type: array + description: "Action_type does not start with (case-sensitive)" created: required: false type: array @@ -141,6 +181,10 @@ parameters: required: false type: boolean description: "Enabled" + event_type: + required: false + type: array + description: "Event_type" id: required: false type: array @@ -317,26 +361,14 @@ parameters: required: false type: array description: "Tag not equal to" - type_create: - required: false - type: boolean - description: "Type_create" - type_delete: + tag_id: required: false - type: boolean - description: "Type_delete" - type_job_end: - required: false - type: boolean - description: "Type_job_end" - type_job_start: - required: false - type: boolean - description: "Type_job_start" - type_update: + type: array + description: "Tag_id" + tag_id__n: required: false - type: boolean - description: "Type_update" + type: array + description: "Tag_id not equal to" updated_by_request: required: false type: string diff --git a/actions/get.extras.export_templates.yaml b/actions/get.extras.export_templates.yaml index cc4a75bd..ad50fd10 100644 --- a/actions/get.extras.export_templates.yaml +++ b/actions/get.extras.export_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of export template objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. as_attachment: required: false type: boolean @@ -189,6 +193,50 @@ parameters: required: false type: array description: "File_extension does not start with (case-sensitive)" + file_name: + required: false + type: array + description: "File_name" + file_name__empty: + required: false + type: boolean + description: "File_name is empty/null (boolean)" + file_name__ic: + required: false + type: array + description: "File_name contains (case-insensitive)" + file_name__ie: + required: false + type: array + description: "File_name exact match (case-insensitive)" + file_name__iew: + required: false + type: array + description: "File_name ends with (case-insensitive)" + file_name__isw: + required: false + type: array + description: "File_name starts with (case-sensitive)" + file_name__n: + required: false + type: array + description: "File_name not equal to" + file_name__nic: + required: false + type: array + description: "File_name does not contain (case-insensitive)" + file_name__nie: + required: false + type: array + description: "File_name inverse exact match (case-insensitive)" + file_name__niew: + required: false + type: array + description: "File_name does not end with (case-insensitive)" + file_name__nisw: + required: false + type: array + description: "File_name does not start with (case-sensitive)" id: required: false type: array diff --git a/actions/get.extras.image_attachments.yaml b/actions/get.extras.image_attachments.yaml index 4a2a4cf5..43d3a35a 100644 --- a/actions/get.extras.image_attachments.yaml +++ b/actions/get.extras.image_attachments.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of image attachment objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. created: required: false type: array diff --git a/actions/get.extras.journal_entries.yaml b/actions/get.extras.journal_entries.yaml index 7023c0b4..f30f6761 100644 --- a/actions/get.extras.journal_entries.yaml +++ b/actions/get.extras.journal_entries.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of journal entry objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. assigned_object_id: required: false type: array @@ -121,10 +125,46 @@ parameters: required: false type: array description: "Kind" + kind__empty: + required: false + type: boolean + description: "Kind is empty/null (boolean)" + kind__ic: + required: false + type: array + description: "Kind contains (case-insensitive)" + kind__ie: + required: false + type: array + description: "Kind exact match (case-insensitive)" + kind__iew: + required: false + type: array + description: "Kind ends with (case-insensitive)" + kind__isw: + required: false + type: array + description: "Kind starts with (case-sensitive)" kind__n: required: false type: array description: "Kind not equal to" + kind__nic: + required: false + type: array + description: "Kind does not contain (case-insensitive)" + kind__nie: + required: false + type: array + description: "Kind inverse exact match (case-insensitive)" + kind__niew: + required: false + type: array + description: "Kind does not end with (case-insensitive)" + kind__nisw: + required: false + type: array + description: "Kind does not start with (case-sensitive)" last_updated: required: false type: array @@ -181,6 +221,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" updated_by_request: required: false type: string diff --git a/actions/get.extras.notification_groups.yaml b/actions/get.extras.notification_groups.yaml new file mode 100644 index 00000000..0a7000ce --- /dev/null +++ b/actions/get.extras.notification_groups.yaml @@ -0,0 +1,47 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Get a list of notification group objects." +enabled: true +entry_point: run.py +name: get.extras.notification_groups +parameters: + endpoint_uri: + default: "/extras/notification-groups/" + immutable: true + type: string + http_verb: + default: get + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + limit: + required: false + type: integer + description: "Number of results to return per page." + offset: + required: false + type: integer + description: "The initial index from which to return the results." + ordering: + required: false + type: string + description: "Which field to use when ordering the results." + save_in_key_store: + type: boolean + default: false + 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. + save_in_key_store_key_name: + type: string + 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. + save_in_key_store_ttl: + type: integer + default: 60 + 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. +runner_type: python-script diff --git a/actions/get.extras.notifications.yaml b/actions/get.extras.notifications.yaml new file mode 100644 index 00000000..7b54b104 --- /dev/null +++ b/actions/get.extras.notifications.yaml @@ -0,0 +1,47 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Get a list of notification objects." +enabled: true +entry_point: run.py +name: get.extras.notifications +parameters: + endpoint_uri: + default: "/extras/notifications/" + immutable: true + type: string + http_verb: + default: get + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + limit: + required: false + type: integer + description: "Number of results to return per page." + offset: + required: false + type: integer + description: "The initial index from which to return the results." + ordering: + required: false + type: string + description: "Which field to use when ordering the results." + save_in_key_store: + type: boolean + default: false + 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. + save_in_key_store_key_name: + type: string + 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. + save_in_key_store_ttl: + type: integer + default: 60 + 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. +runner_type: python-script diff --git a/actions/get.extras.object_types.yaml b/actions/get.extras.object_types.yaml index 641695f9..3857aaf8 100644 --- a/actions/get.extras.object_types.yaml +++ b/actions/get.extras.object_types.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Read-only list of ObjectTypes." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. app_label: required: false type: string diff --git a/actions/get.extras.saved_filters.yaml b/actions/get.extras.saved_filters.yaml index e82abdb8..a068dd0a 100644 --- a/actions/get.extras.saved_filters.yaml +++ b/actions/get.extras.saved_filters.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of saved filter objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. created: required: false type: array diff --git a/actions/get.extras.scripts.yaml b/actions/get.extras.scripts.yaml index 67d514b6..90debc97 100644 --- a/actions/get.extras.scripts.yaml +++ b/actions/get.extras.scripts.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of script objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: false type: array diff --git a/actions/get.extras.subscriptions.yaml b/actions/get.extras.subscriptions.yaml new file mode 100644 index 00000000..3761e86d --- /dev/null +++ b/actions/get.extras.subscriptions.yaml @@ -0,0 +1,47 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Get a list of subscription objects." +enabled: true +entry_point: run.py +name: get.extras.subscriptions +parameters: + endpoint_uri: + default: "/extras/subscriptions/" + immutable: true + type: string + http_verb: + default: get + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + limit: + required: false + type: integer + description: "Number of results to return per page." + offset: + required: false + type: integer + description: "The initial index from which to return the results." + ordering: + required: false + type: string + description: "Which field to use when ordering the results." + save_in_key_store: + type: boolean + default: false + 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. + save_in_key_store_key_name: + type: string + 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. + save_in_key_store_ttl: + type: integer + default: 60 + 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. +runner_type: python-script diff --git a/actions/get.extras.table_configs.yaml b/actions/get.extras.table_configs.yaml new file mode 100644 index 00000000..f81f8ee1 --- /dev/null +++ b/actions/get.extras.table_configs.yaml @@ -0,0 +1,351 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Get a list of table config objects." +enabled: true +entry_point: run.py +name: get.extras.table_configs +parameters: + endpoint_uri: + default: "/extras/table-configs/" + immutable: true + type: string + http_verb: + default: get + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + created: + required: false + type: array + description: "Created" + created__empty: + required: false + type: array + description: "Created is empty/null (boolean)" + created__gt: + required: false + type: array + description: "Created greater than" + created__gte: + required: false + type: array + description: "Created greater than or equal to" + created__lt: + required: false + type: array + description: "Created less than" + created__lte: + required: false + type: array + description: "Created less than or equal to" + created__n: + required: false + type: array + description: "Created not equal to" + created_by_request: + required: false + type: string + description: "Created_by_request" + description: + required: false + type: array + description: "Description" + description__empty: + required: false + type: boolean + description: "Description is empty/null (boolean)" + description__ic: + required: false + type: array + description: "Description contains (case-insensitive)" + description__ie: + required: false + type: array + description: "Description exact match (case-insensitive)" + description__iew: + required: false + type: array + description: "Description ends with (case-insensitive)" + description__isw: + required: false + type: array + description: "Description starts with (case-sensitive)" + description__n: + required: false + type: array + description: "Description not equal to" + description__nic: + required: false + type: array + description: "Description does not contain (case-insensitive)" + description__nie: + required: false + type: array + description: "Description inverse exact match (case-insensitive)" + description__niew: + required: false + type: array + description: "Description does not end with (case-insensitive)" + description__nisw: + required: false + type: array + description: "Description does not start with (case-sensitive)" + enabled: + required: false + type: boolean + description: "Enabled" + id: + required: false + type: array + description: "Id" + id__empty: + required: false + type: boolean + description: "Id is empty/null (boolean)" + id__gt: + required: false + type: array + description: "Id greater than" + id__gte: + required: false + type: array + description: "Id greater than or equal to" + id__lt: + required: false + type: array + description: "Id less than" + id__lte: + required: false + type: array + description: "Id less than or equal to" + id__n: + required: false + type: array + description: "Id not equal to" + last_updated: + required: false + type: array + description: "Last_updated" + last_updated__empty: + required: false + type: array + description: "Last_updated is empty/null (boolean)" + last_updated__gt: + required: false + type: array + description: "Last_updated greater than" + last_updated__gte: + required: false + type: array + description: "Last_updated greater than or equal to" + last_updated__lt: + required: false + type: array + description: "Last_updated less than" + last_updated__lte: + required: false + type: array + description: "Last_updated less than or equal to" + last_updated__n: + required: false + type: array + description: "Last_updated not equal to" + limit: + required: false + type: integer + description: "Number of results to return per page." + modified_by_request: + required: false + type: string + description: "Modified_by_request" + name: + required: false + type: array + description: "Name" + name__empty: + required: false + type: boolean + description: "Name is empty/null (boolean)" + name__ic: + required: false + type: array + description: "Name contains (case-insensitive)" + name__ie: + required: false + type: array + description: "Name exact match (case-insensitive)" + name__iew: + required: false + type: array + description: "Name ends with (case-insensitive)" + name__isw: + required: false + type: array + description: "Name starts with (case-sensitive)" + name__n: + required: false + type: array + description: "Name not equal to" + name__nic: + required: false + type: array + description: "Name does not contain (case-insensitive)" + name__nie: + required: false + type: array + description: "Name inverse exact match (case-insensitive)" + name__niew: + required: false + type: array + description: "Name does not end with (case-insensitive)" + name__nisw: + required: false + type: array + description: "Name does not start with (case-sensitive)" + object_type: + required: false + type: string + description: "Object_type" + object_type__n: + required: false + type: string + description: "Object_type not equal to" + object_type_id: + required: false + type: array + description: "Object_type_id" + object_type_id__n: + required: false + type: array + description: "Object_type_id not equal to" + offset: + required: false + type: integer + description: "The initial index from which to return the results." + ordering: + required: false + type: string + description: "Which field to use when ordering the results." + q: + required: false + type: string + description: "Search" + shared: + required: false + type: boolean + description: "Shared" + table: + required: false + type: array + description: "Table" + table__empty: + required: false + type: boolean + description: "Table is empty/null (boolean)" + table__ic: + required: false + type: array + description: "Table contains (case-insensitive)" + table__ie: + required: false + type: array + description: "Table exact match (case-insensitive)" + table__iew: + required: false + type: array + description: "Table ends with (case-insensitive)" + table__isw: + required: false + type: array + description: "Table starts with (case-sensitive)" + table__n: + required: false + type: array + description: "Table not equal to" + table__nic: + required: false + type: array + description: "Table does not contain (case-insensitive)" + table__nie: + required: false + type: array + description: "Table inverse exact match (case-insensitive)" + table__niew: + required: false + type: array + description: "Table does not end with (case-insensitive)" + table__nisw: + required: false + type: array + description: "Table does not start with (case-sensitive)" + updated_by_request: + required: false + type: string + description: "Updated_by_request" + usable: + required: false + type: boolean + description: "Usable" + user: + required: false + type: array + description: "User (name)" + user__n: + required: false + type: array + description: "User not equal to" + user_id: + required: false + type: array + description: "User (ID)" + user_id__n: + required: false + type: array + description: "User_id not equal to" + weight: + required: false + type: array + description: "Weight" + weight__empty: + required: false + type: boolean + description: "Weight is empty/null (boolean)" + weight__gt: + required: false + type: array + description: "Weight greater than" + weight__gte: + required: false + type: array + description: "Weight greater than or equal to" + weight__lt: + required: false + type: array + description: "Weight less than" + weight__lte: + required: false + type: array + description: "Weight less than or equal to" + weight__n: + required: false + type: array + description: "Weight not equal to" + save_in_key_store: + type: boolean + default: false + 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. + save_in_key_store_key_name: + type: string + 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. + save_in_key_store_ttl: + type: integer + default: 60 + 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. +runner_type: python-script diff --git a/actions/get.extras.tagged_objects.yaml b/actions/get.extras.tagged_objects.yaml new file mode 100644 index 00000000..06c9f2d3 --- /dev/null +++ b/actions/get.extras.tagged_objects.yaml @@ -0,0 +1,139 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Get a list of tagged item objects." +enabled: true +entry_point: run.py +name: get.extras.tagged_objects +parameters: + endpoint_uri: + default: "/extras/tagged-objects/" + immutable: true + type: string + http_verb: + default: get + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + id: + required: false + type: array + description: "Id" + id__empty: + required: false + type: boolean + description: "Id is empty/null (boolean)" + id__gt: + required: false + type: array + description: "Id greater than" + id__gte: + required: false + type: array + description: "Id greater than or equal to" + id__lt: + required: false + type: array + description: "Id less than" + id__lte: + required: false + type: array + description: "Id less than or equal to" + id__n: + required: false + type: array + description: "Id not equal to" + limit: + required: false + type: integer + description: "Number of results to return per page." + object_id: + required: false + type: array + description: "Object_id" + object_id__empty: + required: false + type: boolean + description: "Object_id is empty/null (boolean)" + object_id__gt: + required: false + type: array + description: "Object_id greater than" + object_id__gte: + required: false + type: array + description: "Object_id greater than or equal to" + object_id__lt: + required: false + type: array + description: "Object_id less than" + object_id__lte: + required: false + type: array + description: "Object_id less than or equal to" + object_id__n: + required: false + type: array + description: "Object_id not equal to" + object_type: + required: false + type: string + description: "Object_type" + object_type__n: + required: false + type: string + description: "Object_type not equal to" + object_type_id: + required: false + type: array + description: "Object_type_id" + object_type_id__n: + required: false + type: array + description: "Object_type_id not equal to" + offset: + required: false + type: integer + description: "The initial index from which to return the results." + ordering: + required: false + type: string + description: "Which field to use when ordering the results." + q: + required: false + type: string + description: "Search" + tag: + required: false + type: array + description: "Tag" + tag__n: + required: false + type: array + description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" + save_in_key_store: + type: boolean + default: false + 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. + save_in_key_store_key_name: + type: string + 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. + save_in_key_store_ttl: + type: integer + default: 60 + 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. +runner_type: python-script diff --git a/actions/get.extras.tags.yaml b/actions/get.extras.tags.yaml index f98ce0f5..8c4f73a0 100644 --- a/actions/get.extras.tags.yaml +++ b/actions/get.extras.tags.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of tag objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. color: required: false type: array @@ -325,6 +329,34 @@ parameters: required: false type: string description: "Updated_by_request" + weight: + required: false + type: array + description: "Weight" + weight__empty: + required: false + type: boolean + description: "Weight is empty/null (boolean)" + weight__gt: + required: false + type: array + description: "Weight greater than" + weight__gte: + required: false + type: array + description: "Weight greater than or equal to" + weight__lt: + required: false + type: array + description: "Weight less than" + weight__lte: + required: false + type: array + description: "Weight less than or equal to" + weight__n: + required: false + type: array + description: "Weight not equal to" save_in_key_store: type: boolean default: false diff --git a/actions/get.extras.webhooks.yaml b/actions/get.extras.webhooks.yaml index f7bd07ca..c857c7db 100644 --- a/actions/get.extras.webhooks.yaml +++ b/actions/get.extras.webhooks.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of webhook objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. ca_file_path: required: false type: array @@ -185,10 +189,46 @@ parameters: required: false type: array description: "Http_method" + http_method__empty: + required: false + type: boolean + description: "Http_method is empty/null (boolean)" + http_method__ic: + required: false + type: array + description: "Http_method contains (case-insensitive)" + http_method__ie: + required: false + type: array + description: "Http_method exact match (case-insensitive)" + http_method__iew: + required: false + type: array + description: "Http_method ends with (case-insensitive)" + http_method__isw: + required: false + type: array + description: "Http_method starts with (case-sensitive)" http_method__n: required: false type: array description: "Http_method not equal to" + http_method__nic: + required: false + type: array + description: "Http_method does not contain (case-insensitive)" + http_method__nie: + required: false + type: array + description: "Http_method inverse exact match (case-insensitive)" + http_method__niew: + required: false + type: array + description: "Http_method does not end with (case-insensitive)" + http_method__nisw: + required: false + type: array + description: "Http_method does not start with (case-sensitive)" id: required: false type: array @@ -369,6 +409,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" updated_by_request: required: false type: string diff --git a/actions/get.ipam.aggregates.yaml b/actions/get.ipam.aggregates.yaml index a23c4b33..4942cbd7 100644 --- a/actions/get.ipam.aggregates.yaml +++ b/actions/get.ipam.aggregates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of aggregate objects." enabled: true entry_point: run.py @@ -17,6 +17,34 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + contact: + required: false + type: array + description: "Contact" + contact__n: + required: false + type: array + description: "Contact not equal to" + contact_group: + required: false + type: array + description: "Contact_group" + contact_group__n: + required: false + type: array + description: "Contact_group not equal to" + contact_role: + required: false + type: array + description: "Contact Role" + contact_role__n: + required: false + type: array + description: "Contact_role not equal to" created: required: false type: array @@ -229,6 +257,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" tenant: required: false type: array @@ -240,7 +276,7 @@ parameters: tenant_group: required: false type: array - description: "Tenant Group (slug)" + description: "Tenant_group" tenant_group__n: required: false type: array @@ -248,7 +284,7 @@ parameters: tenant_group_id: required: false type: array - description: "Tenant Group (ID)" + description: "Tenant_group_id" tenant_group_id__n: required: false type: array diff --git a/actions/get.ipam.asn_ranges.available_asns.yaml b/actions/get.ipam.asn_ranges.available_asns.yaml index 8305cbd1..ab217f1d 100644 --- a/actions/get.ipam.asn_ranges.available_asns.yaml +++ b/actions/get.ipam.asn_ranges.available_asns.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a ASN object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: false type: integer diff --git a/actions/get.ipam.asn_ranges.yaml b/actions/get.ipam.asn_ranges.yaml index 1761fd3a..a597abd0 100644 --- a/actions/get.ipam.asn_ranges.yaml +++ b/actions/get.ipam.asn_ranges.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of ASN range objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. created: required: false type: array @@ -337,6 +341,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" tenant: required: false type: array @@ -348,7 +360,7 @@ parameters: tenant_group: required: false type: array - description: "Tenant Group (slug)" + description: "Tenant_group" tenant_group__n: required: false type: array @@ -356,7 +368,7 @@ parameters: tenant_group_id: required: false type: array - description: "Tenant Group (ID)" + description: "Tenant_group_id" tenant_group_id__n: required: false type: array diff --git a/actions/get.ipam.asns.yaml b/actions/get.ipam.asns.yaml index 3de74fa4..9c369ad1 100644 --- a/actions/get.ipam.asns.yaml +++ b/actions/get.ipam.asns.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of ASN objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. asn: required: false type: array @@ -237,6 +241,22 @@ parameters: required: false type: array description: "Site not equal to" + site_group: + required: false + type: array + description: "Site_group" + site_group__n: + required: false + type: array + description: "Site_group not equal to" + site_group_id: + required: false + type: array + description: "Site_group_id" + site_group_id__n: + required: false + type: array + description: "Site_group_id not equal to" site_id: required: false type: array @@ -253,6 +273,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" tenant: required: false type: array @@ -264,7 +292,7 @@ parameters: tenant_group: required: false type: array - description: "Tenant Group (slug)" + description: "Tenant_group" tenant_group__n: required: false type: array @@ -272,7 +300,7 @@ parameters: tenant_group_id: required: false type: array - description: "Tenant Group (ID)" + description: "Tenant_group_id" tenant_group_id__n: required: false type: array diff --git a/actions/get.ipam.fhrp_group_assignments.yaml b/actions/get.ipam.fhrp_group_assignments.yaml index ad856a52..b436b781 100644 --- a/actions/get.ipam.fhrp_group_assignments.yaml +++ b/actions/get.ipam.fhrp_group_assignments.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of FHRP group assignment objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. created: required: false type: array diff --git a/actions/get.ipam.fhrp_groups.yaml b/actions/get.ipam.fhrp_groups.yaml index a4107759..a9ef8bfa 100644 --- a/actions/get.ipam.fhrp_groups.yaml +++ b/actions/get.ipam.fhrp_groups.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of FHRP group objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. auth_key: required: false type: array @@ -65,10 +69,46 @@ parameters: required: false type: array description: "Auth_type" + auth_type__empty: + required: false + type: boolean + description: "Auth_type is empty/null (boolean)" + auth_type__ic: + required: false + type: array + description: "Auth_type contains (case-insensitive)" + auth_type__ie: + required: false + type: array + description: "Auth_type exact match (case-insensitive)" + auth_type__iew: + required: false + type: array + description: "Auth_type ends with (case-insensitive)" + auth_type__isw: + required: false + type: array + description: "Auth_type starts with (case-sensitive)" auth_type__n: required: false type: array description: "Auth_type not equal to" + auth_type__nic: + required: false + type: array + description: "Auth_type does not contain (case-insensitive)" + auth_type__nie: + required: false + type: array + description: "Auth_type inverse exact match (case-insensitive)" + auth_type__niew: + required: false + type: array + description: "Auth_type does not end with (case-insensitive)" + auth_type__nisw: + required: false + type: array + description: "Auth_type does not start with (case-sensitive)" created: required: false type: array @@ -293,10 +333,46 @@ parameters: required: false type: array description: "Protocol" + protocol__empty: + required: false + type: boolean + description: "Protocol is empty/null (boolean)" + protocol__ic: + required: false + type: array + description: "Protocol contains (case-insensitive)" + protocol__ie: + required: false + type: array + description: "Protocol exact match (case-insensitive)" + protocol__iew: + required: false + type: array + description: "Protocol ends with (case-insensitive)" + protocol__isw: + required: false + type: array + description: "Protocol starts with (case-sensitive)" protocol__n: required: false type: array description: "Protocol not equal to" + protocol__nic: + required: false + type: array + description: "Protocol does not contain (case-insensitive)" + protocol__nie: + required: false + type: array + description: "Protocol inverse exact match (case-insensitive)" + protocol__niew: + required: false + type: array + description: "Protocol does not end with (case-insensitive)" + protocol__nisw: + required: false + type: array + description: "Protocol does not start with (case-sensitive)" q: required: false type: string @@ -313,6 +389,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" updated_by_request: required: false type: string diff --git a/actions/get.ipam.ip_addresses.yaml b/actions/get.ipam.ip_addresses.yaml index f48c40f2..e16a3955 100644 --- a/actions/get.ipam.ip_addresses.yaml +++ b/actions/get.ipam.ip_addresses.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of IP address objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. address: required: false type: array @@ -65,6 +69,30 @@ parameters: required: false type: boolean description: "Is assigned to an interface" + contact: + required: false + type: array + description: "Contact" + contact__n: + required: false + type: array + description: "Contact not equal to" + contact_group: + required: false + type: array + description: "Contact_group" + contact_group__n: + required: false + type: array + description: "Contact_group not equal to" + contact_role: + required: false + type: array + description: "Contact Role" + contact_role__n: + required: false + type: array + description: "Contact_role not equal to" created: required: false type: array @@ -333,10 +361,46 @@ parameters: required: false type: array description: "The functional role of this IP" + role__empty: + required: false + type: boolean + description: "Role is empty/null (boolean)" + role__ic: + required: false + type: array + description: "Role contains (case-insensitive)" + role__ie: + required: false + type: array + description: "Role exact match (case-insensitive)" + role__iew: + required: false + type: array + description: "Role ends with (case-insensitive)" + role__isw: + required: false + type: array + description: "Role starts with (case-sensitive)" role__n: required: false type: array description: "Role not equal to" + role__nic: + required: false + type: array + description: "Role does not contain (case-insensitive)" + role__nie: + required: false + type: array + description: "Role inverse exact match (case-insensitive)" + role__niew: + required: false + type: array + description: "Role does not end with (case-insensitive)" + role__nisw: + required: false + type: array + description: "Role does not start with (case-sensitive)" service_id: required: false type: array @@ -349,10 +413,46 @@ parameters: required: false type: array description: "The operational status of this IP" + status__empty: + required: false + type: boolean + description: "Status is empty/null (boolean)" + status__ic: + required: false + type: array + description: "Status contains (case-insensitive)" + status__ie: + required: false + type: array + description: "Status exact match (case-insensitive)" + status__iew: + required: false + type: array + description: "Status ends with (case-insensitive)" + status__isw: + required: false + type: array + description: "Status starts with (case-sensitive)" status__n: required: false type: array description: "Status not equal to" + status__nic: + required: false + type: array + description: "Status does not contain (case-insensitive)" + status__nie: + required: false + type: array + description: "Status inverse exact match (case-insensitive)" + status__niew: + required: false + type: array + description: "Status does not end with (case-insensitive)" + status__nisw: + required: false + type: array + description: "Status does not start with (case-sensitive)" tag: required: false type: array @@ -361,6 +461,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" tenant: required: false type: array @@ -372,7 +480,7 @@ parameters: tenant_group: required: false type: array - description: "Tenant Group (slug)" + description: "Tenant_group" tenant_group__n: required: false type: array @@ -380,7 +488,7 @@ parameters: tenant_group_id: required: false type: array - description: "Tenant Group (ID)" + description: "Tenant_group_id" tenant_group_id__n: required: false type: array diff --git a/actions/get.ipam.ip_ranges.available_ips.yaml b/actions/get.ipam.ip_ranges.available_ips.yaml index 3ff3cccb..83f2471b 100644 --- a/actions/get.ipam.ip_ranges.available_ips.yaml +++ b/actions/get.ipam.ip_ranges.available_ips.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a IP address object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: false type: integer diff --git a/actions/get.ipam.ip_ranges.yaml b/actions/get.ipam.ip_ranges.yaml index 92008f02..930741f9 100644 --- a/actions/get.ipam.ip_ranges.yaml +++ b/actions/get.ipam.ip_ranges.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of IP range objects." enabled: true entry_point: run.py @@ -17,6 +17,34 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + contact: + required: false + type: array + description: "Contact" + contact__n: + required: false + type: array + description: "Contact not equal to" + contact_group: + required: false + type: array + description: "Contact_group" + contact_group__n: + required: false + type: array + description: "Contact_group not equal to" + contact_role: + required: false + type: array + description: "Contact Role" + contact_role__n: + required: false + type: array + description: "Contact_role not equal to" contains: required: false type: string @@ -165,6 +193,10 @@ parameters: required: false type: integer description: "Number of results to return per page." + mark_populated: + required: false + type: boolean + description: "Mark_populated" mark_utilized: required: false type: boolean @@ -241,10 +273,46 @@ parameters: required: false type: array description: "Operational status of this range" + status__empty: + required: false + type: boolean + description: "Status is empty/null (boolean)" + status__ic: + required: false + type: array + description: "Status contains (case-insensitive)" + status__ie: + required: false + type: array + description: "Status exact match (case-insensitive)" + status__iew: + required: false + type: array + description: "Status ends with (case-insensitive)" + status__isw: + required: false + type: array + description: "Status starts with (case-sensitive)" status__n: required: false type: array description: "Status not equal to" + status__nic: + required: false + type: array + description: "Status does not contain (case-insensitive)" + status__nie: + required: false + type: array + description: "Status inverse exact match (case-insensitive)" + status__niew: + required: false + type: array + description: "Status does not end with (case-insensitive)" + status__nisw: + required: false + type: array + description: "Status does not start with (case-sensitive)" tag: required: false type: array @@ -253,6 +321,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" tenant: required: false type: array @@ -264,7 +340,7 @@ parameters: tenant_group: required: false type: array - description: "Tenant Group (slug)" + description: "Tenant_group" tenant_group__n: required: false type: array @@ -272,7 +348,7 @@ parameters: tenant_group_id: required: false type: array - description: "Tenant Group (ID)" + description: "Tenant_group_id" tenant_group_id__n: required: false type: array diff --git a/actions/get.ipam.prefixes.available_ips.yaml b/actions/get.ipam.prefixes.available_ips.yaml index a29e4898..371d02ea 100644 --- a/actions/get.ipam.prefixes.available_ips.yaml +++ b/actions/get.ipam.prefixes.available_ips.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a IP address object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: false type: integer diff --git a/actions/get.ipam.prefixes.available_prefixes.yaml b/actions/get.ipam.prefixes.available_prefixes.yaml index 32c5fd1d..db63b66a 100644 --- a/actions/get.ipam.prefixes.available_prefixes.yaml +++ b/actions/get.ipam.prefixes.available_prefixes.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a prefix object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: false type: integer diff --git a/actions/get.ipam.prefixes.yaml b/actions/get.ipam.prefixes.yaml index 9c71bf63..0d080a47 100644 --- a/actions/get.ipam.prefixes.yaml +++ b/actions/get.ipam.prefixes.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of prefix objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. children: required: false type: array @@ -45,6 +49,30 @@ parameters: required: false type: array description: "Children not equal to" + contact: + required: false + type: array + description: "Contact" + contact__n: + required: false + type: array + description: "Contact not equal to" + contact_group: + required: false + type: array + description: "Contact_group" + contact_group__n: + required: false + type: array + description: "Contact_group not equal to" + contact_role: + required: false + type: array + description: "Contact Role" + contact_role__n: + required: false + type: array + description: "Contact_role not equal to" contains: required: false type: string @@ -221,6 +249,22 @@ parameters: required: false type: integer description: "Number of results to return per page." + location: + required: false + type: array + description: "Location" + location__n: + required: false + type: array + description: "Location not equal to" + location_id: + required: false + type: array + description: "Location_id" + location_id__n: + required: false + type: array + description: "Location_id not equal to" mark_utilized: required: false type: boolean @@ -268,7 +312,7 @@ parameters: region: required: false type: array - description: "Region (slug)" + description: "Region" region__n: required: false type: array @@ -276,7 +320,7 @@ parameters: region_id: required: false type: array - description: "Region (ID)" + description: "Region_id" region_id__n: required: false type: array @@ -297,6 +341,42 @@ parameters: required: false type: array description: "Role_id not equal to" + scope_id: + required: false + type: array + description: "Scope_id" + scope_id__empty: + required: false + type: boolean + description: "Scope_id is empty/null (boolean)" + scope_id__gt: + required: false + type: array + description: "Scope_id greater than" + scope_id__gte: + required: false + type: array + description: "Scope_id greater than or equal to" + scope_id__lt: + required: false + type: array + description: "Scope_id less than" + scope_id__lte: + required: false + type: array + description: "Scope_id less than or equal to" + scope_id__n: + required: false + type: array + description: "Scope_id not equal to" + scope_type: + required: false + type: string + description: "Scope_type" + scope_type__n: + required: false + type: string + description: "Scope_type not equal to" site: required: false type: array @@ -308,7 +388,7 @@ parameters: site_group: required: false type: array - description: "Site group (slug)" + description: "Site_group" site_group__n: required: false type: array @@ -316,7 +396,7 @@ parameters: site_group_id: required: false type: array - description: "Site group (ID)" + description: "Site_group_id" site_group_id__n: required: false type: array @@ -333,10 +413,46 @@ parameters: required: false type: array description: "Operational status of this prefix" + status__empty: + required: false + type: boolean + description: "Status is empty/null (boolean)" + status__ic: + required: false + type: array + description: "Status contains (case-insensitive)" + status__ie: + required: false + type: array + description: "Status exact match (case-insensitive)" + status__iew: + required: false + type: array + description: "Status ends with (case-insensitive)" + status__isw: + required: false + type: array + description: "Status starts with (case-sensitive)" status__n: required: false type: array description: "Status not equal to" + status__nic: + required: false + type: array + description: "Status does not contain (case-insensitive)" + status__nie: + required: false + type: array + description: "Status inverse exact match (case-insensitive)" + status__niew: + required: false + type: array + description: "Status does not end with (case-insensitive)" + status__nisw: + required: false + type: array + description: "Status does not start with (case-sensitive)" tag: required: false type: array @@ -345,6 +461,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" tenant: required: false type: array @@ -356,7 +480,7 @@ parameters: tenant_group: required: false type: array - description: "Tenant Group (slug)" + description: "Tenant_group" tenant_group__n: required: false type: array @@ -364,7 +488,7 @@ parameters: tenant_group_id: required: false type: array - description: "Tenant Group (ID)" + description: "Tenant_group_id" tenant_group_id__n: required: false type: array @@ -381,6 +505,22 @@ parameters: required: false type: string description: "Updated_by_request" + vlan_group: + required: false + type: array + description: "VLAN Group (slug)" + vlan_group__n: + required: false + type: array + description: "Vlan_group not equal to" + vlan_group_id: + required: false + type: array + description: "VLAN Group (ID)" + vlan_group_id__n: + required: false + type: array + description: "Vlan_group_id not equal to" vlan_id: required: false type: array diff --git a/actions/get.ipam.rirs.yaml b/actions/get.ipam.rirs.yaml index ce41c411..12fc621a 100644 --- a/actions/get.ipam.rirs.yaml +++ b/actions/get.ipam.rirs.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of RIR objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. created: required: false type: array @@ -269,6 +273,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" updated_by_request: required: false type: string diff --git a/actions/get.ipam.roles.yaml b/actions/get.ipam.roles.yaml index 1ca230a9..98ce002c 100644 --- a/actions/get.ipam.roles.yaml +++ b/actions/get.ipam.roles.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of role objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. created: required: false type: array @@ -265,6 +269,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" updated_by_request: required: false type: string diff --git a/actions/get.ipam.route_targets.yaml b/actions/get.ipam.route_targets.yaml index 3e44fde6..ad6d8173 100644 --- a/actions/get.ipam.route_targets.yaml +++ b/actions/get.ipam.route_targets.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of route target objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. created: required: false type: array @@ -285,6 +289,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" tenant: required: false type: array @@ -296,7 +308,7 @@ parameters: tenant_group: required: false type: array - description: "Tenant Group (slug)" + description: "Tenant_group" tenant_group__n: required: false type: array @@ -304,7 +316,7 @@ parameters: tenant_group_id: required: false type: array - description: "Tenant Group (ID)" + description: "Tenant_group_id" tenant_group_id__n: required: false type: array diff --git a/actions/get.ipam.service_templates.yaml b/actions/get.ipam.service_templates.yaml index a00b08f9..4dccc488 100644 --- a/actions/get.ipam.service_templates.yaml +++ b/actions/get.ipam.service_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of service template objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. created: required: false type: array @@ -219,10 +223,6 @@ parameters: description: "* `tcp` - TCP * `udp` - UDP * `sctp` - SCTP" - protocol__n: - required: false - type: string - description: "Protocol not equal to" q: required: false type: string @@ -235,6 +235,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" updated_by_request: required: false type: string diff --git a/actions/get.ipam.services.yaml b/actions/get.ipam.services.yaml index 0ac091f0..ab81488c 100644 --- a/actions/get.ipam.services.yaml +++ b/actions/get.ipam.services.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of service objects." enabled: true entry_point: run.py @@ -17,6 +17,34 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + contact: + required: false + type: array + description: "Contact" + contact__n: + required: false + type: array + description: "Contact not equal to" + contact_group: + required: false + type: array + description: "Contact_group" + contact_group__n: + required: false + type: array + description: "Contact_group not equal to" + contact_role: + required: false + type: array + description: "Contact Role" + contact_role__n: + required: false + type: array + description: "Contact_role not equal to" created: required: false type: array @@ -96,19 +124,19 @@ parameters: device: required: false type: array - description: "Device (name)" - device__n: + description: "Device" + device_id: required: false type: array - description: "Device not equal to" - device_id: + description: "Device_id" + fhrpgroup: required: false type: array - description: "Device (ID)" - device_id__n: + description: "Fhrpgroup" + fhrpgroup_id: required: false type: array - description: "Device_id not equal to" + description: "Fhrpgroup_id" id: required: false type: array @@ -153,22 +181,6 @@ parameters: required: false type: array description: "Ip_address_id not equal to" - ipaddress: - required: false - type: array - description: "IP address" - ipaddress__n: - required: false - type: array - description: "Ipaddress not equal to" - ipaddress_id: - required: false - type: array - description: "IP address (ID)" - ipaddress_id__n: - required: false - type: array - description: "Ipaddress_id not equal to" last_updated: required: false type: array @@ -257,6 +269,42 @@ parameters: required: false type: string description: "Which field to use when ordering the results." + parent_object_id: + required: false + type: array + description: "Parent_object_id" + parent_object_id__empty: + required: false + type: boolean + description: "Parent_object_id is empty/null (boolean)" + parent_object_id__gt: + required: false + type: array + description: "Parent_object_id greater than" + parent_object_id__gte: + required: false + type: array + description: "Parent_object_id greater than or equal to" + parent_object_id__lt: + required: false + type: array + description: "Parent_object_id less than" + parent_object_id__lte: + required: false + type: array + description: "Parent_object_id less than or equal to" + parent_object_id__n: + required: false + type: array + description: "Parent_object_id not equal to" + parent_object_type: + required: false + type: integer + description: "Parent_object_type" + parent_object_type__n: + required: false + type: integer + description: "Parent_object_type not equal to" port: required: false type: integer @@ -267,10 +315,6 @@ parameters: description: "* `tcp` - TCP * `udp` - UDP * `sctp` - SCTP" - protocol__n: - required: false - type: string - description: "Protocol not equal to" q: required: false type: string @@ -283,6 +327,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" updated_by_request: required: false type: string @@ -290,19 +342,11 @@ parameters: virtual_machine: required: false type: array - description: "Virtual machine (name)" - virtual_machine__n: - required: false - type: array - description: "Virtual_machine not equal to" + description: "Virtual_machine" virtual_machine_id: required: false type: array - description: "Virtual machine (ID)" - virtual_machine_id__n: - required: false - type: array - description: "Virtual_machine_id not equal to" + description: "Virtual_machine_id" save_in_key_store: type: boolean default: false diff --git a/actions/get.ipam.vlan_groups.available_vlans.yaml b/actions/get.ipam.vlan_groups.available_vlans.yaml index c2229818..cd6e0ea1 100644 --- a/actions/get.ipam.vlan_groups.available_vlans.yaml +++ b/actions/get.ipam.vlan_groups.available_vlans.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a VLAN object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. id: required: false type: integer diff --git a/actions/get.ipam.vlan_groups.yaml b/actions/get.ipam.vlan_groups.yaml index 7e986390..2e58da8e 100644 --- a/actions/get.ipam.vlan_groups.yaml +++ b/actions/get.ipam.vlan_groups.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of VLAN group objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. cluster: required: false type: integer @@ -25,10 +29,10 @@ parameters: required: false type: integer description: "Cluster_group" - clustergroup: + contains_vid: required: false type: integer - description: "Clustergroup" + description: "Contains_vid" created: required: false type: array @@ -169,62 +173,6 @@ parameters: required: false type: integer description: "Location" - max_vid: - required: false - type: array - description: "Max_vid" - max_vid__empty: - required: false - type: boolean - description: "Max_vid is empty/null (boolean)" - max_vid__gt: - required: false - type: array - description: "Max_vid greater than" - max_vid__gte: - required: false - type: array - description: "Max_vid greater than or equal to" - max_vid__lt: - required: false - type: array - description: "Max_vid less than" - max_vid__lte: - required: false - type: array - description: "Max_vid less than or equal to" - max_vid__n: - required: false - type: array - description: "Max_vid not equal to" - min_vid: - required: false - type: array - description: "Min_vid" - min_vid__empty: - required: false - type: boolean - description: "Min_vid is empty/null (boolean)" - min_vid__gt: - required: false - type: array - description: "Min_vid greater than" - min_vid__gte: - required: false - type: array - description: "Min_vid greater than or equal to" - min_vid__lt: - required: false - type: array - description: "Min_vid less than" - min_vid__lte: - required: false - type: array - description: "Min_vid less than or equal to" - min_vid__n: - required: false - type: array - description: "Min_vid not equal to" modified_by_request: required: false type: string @@ -337,10 +285,6 @@ parameters: required: false type: integer description: "Site_group" - sitegroup: - required: false - type: integer - description: "Sitegroup" slug: required: false type: array @@ -393,6 +337,46 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" + tenant: + required: false + type: array + description: "Tenant (slug)" + tenant__n: + required: false + type: array + description: "Tenant not equal to" + tenant_group: + required: false + type: array + description: "Tenant_group" + tenant_group__n: + required: false + type: array + description: "Tenant_group not equal to" + tenant_group_id: + required: false + type: array + description: "Tenant_group_id" + tenant_group_id__n: + required: false + type: array + description: "Tenant_group_id not equal to" + tenant_id: + required: false + type: array + description: "Tenant (ID)" + tenant_id__n: + required: false + type: array + description: "Tenant_id not equal to" updated_by_request: required: false type: string diff --git a/actions/get.ipam.vlan_translation_policies.yaml b/actions/get.ipam.vlan_translation_policies.yaml new file mode 100644 index 00000000..84e6f565 --- /dev/null +++ b/actions/get.ipam.vlan_translation_policies.yaml @@ -0,0 +1,251 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Get a list of VLAN translation policy objects." +enabled: true +entry_point: run.py +name: get.ipam.vlan_translation_policies +parameters: + endpoint_uri: + default: "/ipam/vlan-translation-policies/" + immutable: true + type: string + http_verb: + default: get + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + created: + required: false + type: array + description: "Created" + created__empty: + required: false + type: array + description: "Created is empty/null (boolean)" + created__gt: + required: false + type: array + description: "Created greater than" + created__gte: + required: false + type: array + description: "Created greater than or equal to" + created__lt: + required: false + type: array + description: "Created less than" + created__lte: + required: false + type: array + description: "Created less than or equal to" + created__n: + required: false + type: array + description: "Created not equal to" + created_by_request: + required: false + type: string + description: "Created_by_request" + description: + required: false + type: array + description: "Description" + description__empty: + required: false + type: boolean + description: "Description is empty/null (boolean)" + description__ic: + required: false + type: array + description: "Description contains (case-insensitive)" + description__ie: + required: false + type: array + description: "Description exact match (case-insensitive)" + description__iew: + required: false + type: array + description: "Description ends with (case-insensitive)" + description__isw: + required: false + type: array + description: "Description starts with (case-sensitive)" + description__n: + required: false + type: array + description: "Description not equal to" + description__nic: + required: false + type: array + description: "Description does not contain (case-insensitive)" + description__nie: + required: false + type: array + description: "Description inverse exact match (case-insensitive)" + description__niew: + required: false + type: array + description: "Description does not end with (case-insensitive)" + description__nisw: + required: false + type: array + description: "Description does not start with (case-sensitive)" + id: + required: false + type: array + description: "Id" + id__empty: + required: false + type: boolean + description: "Id is empty/null (boolean)" + id__gt: + required: false + type: array + description: "Id greater than" + id__gte: + required: false + type: array + description: "Id greater than or equal to" + id__lt: + required: false + type: array + description: "Id less than" + id__lte: + required: false + type: array + description: "Id less than or equal to" + id__n: + required: false + type: array + description: "Id not equal to" + last_updated: + required: false + type: array + description: "Last_updated" + last_updated__empty: + required: false + type: array + description: "Last_updated is empty/null (boolean)" + last_updated__gt: + required: false + type: array + description: "Last_updated greater than" + last_updated__gte: + required: false + type: array + description: "Last_updated greater than or equal to" + last_updated__lt: + required: false + type: array + description: "Last_updated less than" + last_updated__lte: + required: false + type: array + description: "Last_updated less than or equal to" + last_updated__n: + required: false + type: array + description: "Last_updated not equal to" + limit: + required: false + type: integer + description: "Number of results to return per page." + modified_by_request: + required: false + type: string + description: "Modified_by_request" + name: + required: false + type: array + description: "Name" + name__empty: + required: false + type: boolean + description: "Name is empty/null (boolean)" + name__ic: + required: false + type: array + description: "Name contains (case-insensitive)" + name__ie: + required: false + type: array + description: "Name exact match (case-insensitive)" + name__iew: + required: false + type: array + description: "Name ends with (case-insensitive)" + name__isw: + required: false + type: array + description: "Name starts with (case-sensitive)" + name__n: + required: false + type: array + description: "Name not equal to" + name__nic: + required: false + type: array + description: "Name does not contain (case-insensitive)" + name__nie: + required: false + type: array + description: "Name inverse exact match (case-insensitive)" + name__niew: + required: false + type: array + description: "Name does not end with (case-insensitive)" + name__nisw: + required: false + type: array + description: "Name does not start with (case-sensitive)" + offset: + required: false + type: integer + description: "The initial index from which to return the results." + ordering: + required: false + type: string + description: "Which field to use when ordering the results." + q: + required: false + type: string + description: "Search" + tag: + required: false + type: array + description: "Tag" + tag__n: + required: false + type: array + description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" + updated_by_request: + required: false + type: string + description: "Updated_by_request" + save_in_key_store: + type: boolean + default: false + 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. + save_in_key_store_key_name: + type: string + 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. + save_in_key_store_ttl: + type: integer + default: 60 + 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. +runner_type: python-script diff --git a/actions/get.ipam.vlan_translation_rules.yaml b/actions/get.ipam.vlan_translation_rules.yaml new file mode 100644 index 00000000..2bbc568b --- /dev/null +++ b/actions/get.ipam.vlan_translation_rules.yaml @@ -0,0 +1,279 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Get a list of VLAN translation rule objects." +enabled: true +entry_point: run.py +name: get.ipam.vlan_translation_rules +parameters: + endpoint_uri: + default: "/ipam/vlan-translation-rules/" + immutable: true + type: string + http_verb: + default: get + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + created: + required: false + type: array + description: "Created" + created__empty: + required: false + type: array + description: "Created is empty/null (boolean)" + created__gt: + required: false + type: array + description: "Created greater than" + created__gte: + required: false + type: array + description: "Created greater than or equal to" + created__lt: + required: false + type: array + description: "Created less than" + created__lte: + required: false + type: array + description: "Created less than or equal to" + created__n: + required: false + type: array + description: "Created not equal to" + created_by_request: + required: false + type: string + description: "Created_by_request" + description: + required: false + type: array + description: "Description" + description__empty: + required: false + type: boolean + description: "Description is empty/null (boolean)" + description__ic: + required: false + type: array + description: "Description contains (case-insensitive)" + description__ie: + required: false + type: array + description: "Description exact match (case-insensitive)" + description__iew: + required: false + type: array + description: "Description ends with (case-insensitive)" + description__isw: + required: false + type: array + description: "Description starts with (case-sensitive)" + description__n: + required: false + type: array + description: "Description not equal to" + description__nic: + required: false + type: array + description: "Description does not contain (case-insensitive)" + description__nie: + required: false + type: array + description: "Description inverse exact match (case-insensitive)" + description__niew: + required: false + type: array + description: "Description does not end with (case-insensitive)" + description__nisw: + required: false + type: array + description: "Description does not start with (case-sensitive)" + id: + required: false + type: array + description: "Id" + id__empty: + required: false + type: boolean + description: "Id is empty/null (boolean)" + id__gt: + required: false + type: array + description: "Id greater than" + id__gte: + required: false + type: array + description: "Id greater than or equal to" + id__lt: + required: false + type: array + description: "Id less than" + id__lte: + required: false + type: array + description: "Id less than or equal to" + id__n: + required: false + type: array + description: "Id not equal to" + last_updated: + required: false + type: array + description: "Last_updated" + last_updated__empty: + required: false + type: array + description: "Last_updated is empty/null (boolean)" + last_updated__gt: + required: false + type: array + description: "Last_updated greater than" + last_updated__gte: + required: false + type: array + description: "Last_updated greater than or equal to" + last_updated__lt: + required: false + type: array + description: "Last_updated less than" + last_updated__lte: + required: false + type: array + description: "Last_updated less than or equal to" + last_updated__n: + required: false + type: array + description: "Last_updated not equal to" + limit: + required: false + type: integer + description: "Number of results to return per page." + local_vid: + required: false + type: array + description: "Local_vid" + local_vid__empty: + required: false + type: boolean + description: "Local_vid is empty/null (boolean)" + local_vid__gt: + required: false + type: array + description: "Local_vid greater than" + local_vid__gte: + required: false + type: array + description: "Local_vid greater than or equal to" + local_vid__lt: + required: false + type: array + description: "Local_vid less than" + local_vid__lte: + required: false + type: array + description: "Local_vid less than or equal to" + local_vid__n: + required: false + type: array + description: "Local_vid not equal to" + modified_by_request: + required: false + type: string + description: "Modified_by_request" + offset: + required: false + type: integer + description: "The initial index from which to return the results." + ordering: + required: false + type: string + description: "Which field to use when ordering the results." + policy: + required: false + type: array + description: "VLAN Translation Policy (name)" + policy__n: + required: false + type: array + description: "Policy not equal to" + policy_id: + required: false + type: array + description: "VLAN Translation Policy (ID)" + policy_id__n: + required: false + type: array + description: "Policy_id not equal to" + q: + required: false + type: string + description: "Search" + remote_vid: + required: false + type: array + description: "Remote_vid" + remote_vid__empty: + required: false + type: boolean + description: "Remote_vid is empty/null (boolean)" + remote_vid__gt: + required: false + type: array + description: "Remote_vid greater than" + remote_vid__gte: + required: false + type: array + description: "Remote_vid greater than or equal to" + remote_vid__lt: + required: false + type: array + description: "Remote_vid less than" + remote_vid__lte: + required: false + type: array + description: "Remote_vid less than or equal to" + remote_vid__n: + required: false + type: array + description: "Remote_vid not equal to" + tag: + required: false + type: array + description: "Tag" + tag__n: + required: false + type: array + description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" + updated_by_request: + required: false + type: string + description: "Updated_by_request" + save_in_key_store: + type: boolean + default: false + 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. + save_in_key_store_key_name: + type: string + 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. + save_in_key_store_ttl: + type: integer + default: 60 + 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. +runner_type: python-script diff --git a/actions/get.ipam.vlans.yaml b/actions/get.ipam.vlans.yaml index 89279cc1..f054f714 100644 --- a/actions/get.ipam.vlans.yaml +++ b/actions/get.ipam.vlans.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of VLAN objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. available_at_site: required: false type: string @@ -149,6 +153,10 @@ parameters: required: false type: array description: "Id not equal to" + interface_id: + required: false + type: string + description: "Assigned interface" l2vpn: required: false type: array @@ -257,10 +265,90 @@ parameters: required: false type: string description: "Search" + qinq_role: + required: false + type: array + description: "Customer/service VLAN designation (for Q-in-Q/IEEE 802.1ad)" + qinq_role__empty: + required: false + type: boolean + description: "Qinq_role is empty/null (boolean)" + qinq_role__ic: + required: false + type: array + description: "Qinq_role contains (case-insensitive)" + qinq_role__ie: + required: false + type: array + description: "Qinq_role exact match (case-insensitive)" + qinq_role__iew: + required: false + type: array + description: "Qinq_role ends with (case-insensitive)" + qinq_role__isw: + required: false + type: array + description: "Qinq_role starts with (case-sensitive)" + qinq_role__n: + required: false + type: array + description: "Qinq_role not equal to" + qinq_role__nic: + required: false + type: array + description: "Qinq_role does not contain (case-insensitive)" + qinq_role__nie: + required: false + type: array + description: "Qinq_role inverse exact match (case-insensitive)" + qinq_role__niew: + required: false + type: array + description: "Qinq_role does not end with (case-insensitive)" + qinq_role__nisw: + required: false + type: array + description: "Qinq_role does not start with (case-sensitive)" + qinq_svlan_id: + required: false + type: array + description: "Q-in-Q SVLAN (ID)" + qinq_svlan_id__n: + required: false + type: array + description: "Qinq_svlan_id not equal to" + qinq_svlan_vid: + required: false + type: array + description: "Qinq_svlan_vid" + qinq_svlan_vid__empty: + required: false + type: array + description: "Qinq_svlan_vid is empty/null (boolean)" + qinq_svlan_vid__gt: + required: false + type: array + description: "Qinq_svlan_vid greater than" + qinq_svlan_vid__gte: + required: false + type: array + description: "Qinq_svlan_vid greater than or equal to" + qinq_svlan_vid__lt: + required: false + type: array + description: "Qinq_svlan_vid less than" + qinq_svlan_vid__lte: + required: false + type: array + description: "Qinq_svlan_vid less than or equal to" + qinq_svlan_vid__n: + required: false + type: array + description: "Qinq_svlan_vid not equal to" region: required: false type: array - description: "Region (slug)" + description: "Region" region__n: required: false type: array @@ -268,7 +356,7 @@ parameters: region_id: required: false type: array - description: "Region (ID)" + description: "Region_id" region_id__n: required: false type: array @@ -300,7 +388,7 @@ parameters: site_group: required: false type: array - description: "Site group (slug)" + description: "Site_group" site_group__n: required: false type: array @@ -308,7 +396,7 @@ parameters: site_group_id: required: false type: array - description: "Site group (ID)" + description: "Site_group_id" site_group_id__n: required: false type: array @@ -325,10 +413,46 @@ parameters: required: false type: array description: "Operational status of this VLAN" + status__empty: + required: false + type: boolean + description: "Status is empty/null (boolean)" + status__ic: + required: false + type: array + description: "Status contains (case-insensitive)" + status__ie: + required: false + type: array + description: "Status exact match (case-insensitive)" + status__iew: + required: false + type: array + description: "Status ends with (case-insensitive)" + status__isw: + required: false + type: array + description: "Status starts with (case-sensitive)" status__n: required: false type: array description: "Status not equal to" + status__nic: + required: false + type: array + description: "Status does not contain (case-insensitive)" + status__nie: + required: false + type: array + description: "Status inverse exact match (case-insensitive)" + status__niew: + required: false + type: array + description: "Status does not end with (case-insensitive)" + status__nisw: + required: false + type: array + description: "Status does not start with (case-sensitive)" tag: required: false type: array @@ -337,6 +461,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" tenant: required: false type: array @@ -348,7 +480,7 @@ parameters: tenant_group: required: false type: array - description: "Tenant Group (slug)" + description: "Tenant_group" tenant_group__n: required: false type: array @@ -356,7 +488,7 @@ parameters: tenant_group_id: required: false type: array - description: "Tenant Group (ID)" + description: "Tenant_group_id" tenant_group_id__n: required: false type: array @@ -401,6 +533,10 @@ parameters: required: false type: array description: "Vid not equal to" + vminterface_id: + required: false + type: string + description: "Assigned VM interface" save_in_key_store: type: boolean default: false diff --git a/actions/get.ipam.vrfs.yaml b/actions/get.ipam.vrfs.yaml index 0649b476..5d34be75 100644 --- a/actions/get.ipam.vrfs.yaml +++ b/actions/get.ipam.vrfs.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of VRF objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. created: required: false type: array @@ -301,6 +305,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" tenant: required: false type: array @@ -312,7 +324,7 @@ parameters: tenant_group: required: false type: array - description: "Tenant Group (slug)" + description: "Tenant_group" tenant_group__n: required: false type: array @@ -320,7 +332,7 @@ parameters: tenant_group_id: required: false type: array - description: "Tenant Group (ID)" + description: "Tenant_group_id" tenant_group_id__n: required: false type: array diff --git a/actions/get.tenancy.contact_assignments.yaml b/actions/get.tenancy.contact_assignments.yaml index a7e84580..f8e5b80f 100644 --- a/actions/get.tenancy.contact_assignments.yaml +++ b/actions/get.tenancy.contact_assignments.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of contact assignment objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. contact_id: required: false type: array @@ -60,7 +64,7 @@ parameters: group: required: false type: array - description: "Contact group (slug)" + description: "Group" group__n: required: false type: array @@ -68,7 +72,7 @@ parameters: group_id: required: false type: array - description: "Contact group (ID)" + description: "Group_id" group_id__n: required: false type: array @@ -196,10 +200,6 @@ parameters: * `secondary` - Secondary * `tertiary` - Tertiary * `inactive` - Inactive" - priority__n: - required: false - type: string - description: "Priority not equal to" q: required: false type: string @@ -228,6 +228,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" updated_by_request: required: false type: string diff --git a/actions/get.tenancy.contact_groups.yaml b/actions/get.tenancy.contact_groups.yaml index 7e5c8f57..62999413 100644 --- a/actions/get.tenancy.contact_groups.yaml +++ b/actions/get.tenancy.contact_groups.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of contact group objects." enabled: true entry_point: run.py @@ -17,10 +17,14 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. ancestor: required: false type: array - description: "Contact group (slug)" + description: "Ancestor" ancestor__n: required: false type: array @@ -28,11 +32,19 @@ parameters: ancestor_id: required: false type: array - description: "Contact group (ID)" + description: "Ancestor_id" ancestor_id__n: required: false type: array description: "Ancestor_id not equal to" + contact_id: + required: false + type: array + description: "Contact (ID)" + contact_id__n: + required: false + type: array + description: "Contact_id not equal to" created: required: false type: array @@ -297,6 +309,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" updated_by_request: required: false type: string diff --git a/actions/get.tenancy.contact_roles.yaml b/actions/get.tenancy.contact_roles.yaml index b5a7c8c0..4e9491d8 100644 --- a/actions/get.tenancy.contact_roles.yaml +++ b/actions/get.tenancy.contact_roles.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of contact role objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. created: required: false type: array @@ -265,6 +269,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" updated_by_request: required: false type: string diff --git a/actions/get.tenancy.contacts.yaml b/actions/get.tenancy.contacts.yaml index e7b867cf..31b5d77f 100644 --- a/actions/get.tenancy.contacts.yaml +++ b/actions/get.tenancy.contacts.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of contact objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. address: required: false type: array @@ -184,7 +188,7 @@ parameters: group: required: false type: array - description: "Contact group (slug)" + description: "Group" group__n: required: false type: array @@ -192,7 +196,7 @@ parameters: group_id: required: false type: array - description: "Contact group (ID)" + description: "Group_id" group_id__n: required: false type: array @@ -413,6 +417,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" title: required: false type: array diff --git a/actions/get.tenancy.tenant_groups.yaml b/actions/get.tenancy.tenant_groups.yaml index c9f83907..765d9c0e 100644 --- a/actions/get.tenancy.tenant_groups.yaml +++ b/actions/get.tenancy.tenant_groups.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of tenant group objects." enabled: true entry_point: run.py @@ -17,10 +17,14 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. ancestor: required: false type: array - description: "Tenant group (slug)" + description: "Ancestor" ancestor__n: required: false type: array @@ -28,7 +32,7 @@ parameters: ancestor_id: required: false type: array - description: "Tenant group (ID)" + description: "Ancestor_id" ancestor_id__n: required: false type: array @@ -297,6 +301,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" updated_by_request: required: false type: string diff --git a/actions/get.tenancy.tenants.yaml b/actions/get.tenancy.tenants.yaml index d693706c..80625e6f 100644 --- a/actions/get.tenancy.tenants.yaml +++ b/actions/get.tenancy.tenants.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of tenant objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. contact: required: false type: array @@ -28,7 +32,7 @@ parameters: contact_group: required: false type: array - description: "Contact group" + description: "Contact_group" contact_group__n: required: false type: array @@ -120,7 +124,7 @@ parameters: group: required: false type: array - description: "Tenant group (slug)" + description: "Group" group__n: required: false type: array @@ -128,7 +132,7 @@ parameters: group_id: required: false type: array - description: "Tenant group (ID)" + description: "Group_id" group_id__n: required: false type: array @@ -305,6 +309,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" updated_by_request: required: false type: string diff --git a/actions/get.users.groups.yaml b/actions/get.users.groups.yaml index 7956c93c..70fbfa75 100644 --- a/actions/get.users.groups.yaml +++ b/actions/get.users.groups.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of group objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. description: required: false type: array @@ -137,6 +141,14 @@ parameters: required: false type: array description: "Name does not start with (case-sensitive)" + notification_group_id: + required: false + type: array + description: "Notification group (ID)" + notification_group_id__n: + required: false + type: array + description: "Notification_group_id not equal to" offset: required: false type: integer diff --git a/actions/get.users.permissions.yaml b/actions/get.users.permissions.yaml index 2c4fc084..e238e425 100644 --- a/actions/get.users.permissions.yaml +++ b/actions/get.users.permissions.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of permission objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. can_add: required: false type: boolean diff --git a/actions/get.users.tokens.yaml b/actions/get.users.tokens.yaml index eac528c0..2a1a6db5 100644 --- a/actions/get.users.tokens.yaml +++ b/actions/get.users.tokens.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of token objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. created: required: false type: string diff --git a/actions/get.users.users.yaml b/actions/get.users.users.yaml index 5a653572..1f96632e 100644 --- a/actions/get.users.users.yaml +++ b/actions/get.users.users.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of user objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. date_joined: required: false type: array @@ -265,6 +269,14 @@ parameters: required: false type: integer description: "Number of results to return per page." + notification_group_id: + required: false + type: array + description: "Notification group (ID)" + notification_group_id__n: + required: false + type: array + description: "Notification_group_id not equal to" offset: required: false type: integer diff --git a/actions/get.virtualization.cluster_groups.yaml b/actions/get.virtualization.cluster_groups.yaml index 0be39cd8..1e88401a 100644 --- a/actions/get.virtualization.cluster_groups.yaml +++ b/actions/get.virtualization.cluster_groups.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of cluster group objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. contact: required: false type: array @@ -28,7 +32,7 @@ parameters: contact_group: required: false type: array - description: "Contact group" + description: "Contact_group" contact_group__n: required: false type: array @@ -289,6 +293,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" updated_by_request: required: false type: string diff --git a/actions/get.virtualization.cluster_types.yaml b/actions/get.virtualization.cluster_types.yaml index 814c7e8c..26c74eab 100644 --- a/actions/get.virtualization.cluster_types.yaml +++ b/actions/get.virtualization.cluster_types.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of cluster type objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. created: required: false type: array @@ -265,6 +269,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" updated_by_request: required: false type: string diff --git a/actions/get.virtualization.clusters.yaml b/actions/get.virtualization.clusters.yaml index 6914b1eb..1efc4c2c 100644 --- a/actions/get.virtualization.clusters.yaml +++ b/actions/get.virtualization.clusters.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of cluster objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. contact: required: false type: array @@ -28,7 +32,7 @@ parameters: contact_group: required: false type: array - description: "Contact group" + description: "Contact_group" contact_group__n: required: false type: array @@ -193,6 +197,22 @@ parameters: required: false type: integer description: "Number of results to return per page." + location: + required: false + type: array + description: "Location" + location__n: + required: false + type: array + description: "Location not equal to" + location_id: + required: false + type: array + description: "Location_id" + location_id__n: + required: false + type: array + description: "Location_id not equal to" modified_by_request: required: false type: string @@ -256,7 +276,7 @@ parameters: region: required: false type: array - description: "Region (slug)" + description: "Region" region__n: required: false type: array @@ -264,11 +284,47 @@ parameters: region_id: required: false type: array - description: "Region (ID)" + description: "Region_id" region_id__n: required: false type: array description: "Region_id not equal to" + scope_id: + required: false + type: array + description: "Scope_id" + scope_id__empty: + required: false + type: boolean + description: "Scope_id is empty/null (boolean)" + scope_id__gt: + required: false + type: array + description: "Scope_id greater than" + scope_id__gte: + required: false + type: array + description: "Scope_id greater than or equal to" + scope_id__lt: + required: false + type: array + description: "Scope_id less than" + scope_id__lte: + required: false + type: array + description: "Scope_id less than or equal to" + scope_id__n: + required: false + type: array + description: "Scope_id not equal to" + scope_type: + required: false + type: string + description: "Scope_type" + scope_type__n: + required: false + type: string + description: "Scope_type not equal to" site: required: false type: array @@ -280,7 +336,7 @@ parameters: site_group: required: false type: array - description: "Site group (slug)" + description: "Site_group" site_group__n: required: false type: array @@ -288,7 +344,7 @@ parameters: site_group_id: required: false type: array - description: "Site group (ID)" + description: "Site_group_id" site_group_id__n: required: false type: array @@ -305,10 +361,46 @@ parameters: required: false type: array description: "Status" + status__empty: + required: false + type: boolean + description: "Status is empty/null (boolean)" + status__ic: + required: false + type: array + description: "Status contains (case-insensitive)" + status__ie: + required: false + type: array + description: "Status exact match (case-insensitive)" + status__iew: + required: false + type: array + description: "Status ends with (case-insensitive)" + status__isw: + required: false + type: array + description: "Status starts with (case-sensitive)" status__n: required: false type: array description: "Status not equal to" + status__nic: + required: false + type: array + description: "Status does not contain (case-insensitive)" + status__nie: + required: false + type: array + description: "Status inverse exact match (case-insensitive)" + status__niew: + required: false + type: array + description: "Status does not end with (case-insensitive)" + status__nisw: + required: false + type: array + description: "Status does not start with (case-sensitive)" tag: required: false type: array @@ -317,6 +409,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" tenant: required: false type: array @@ -328,7 +428,7 @@ parameters: tenant_group: required: false type: array - description: "Tenant Group (slug)" + description: "Tenant_group" tenant_group__n: required: false type: array @@ -336,7 +436,7 @@ parameters: tenant_group_id: required: false type: array - description: "Tenant Group (ID)" + description: "Tenant_group_id" tenant_group_id__n: required: false type: array diff --git a/actions/get.virtualization.interfaces.yaml b/actions/get.virtualization.interfaces.yaml index ce1c645e..2a2b1b6e 100644 --- a/actions/get.virtualization.interfaces.yaml +++ b/actions/get.virtualization.interfaces.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of interface objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. bridge_id: required: false type: array @@ -239,16 +243,48 @@ parameters: description: "Mac_address does not start with (case-sensitive)" mode: required: false - type: string - description: "IEEE 802.1Q tagging strategy - -* `access` - Access -* `tagged` - Tagged -* `tagged-all` - Tagged (All)" + type: array + description: "802.1Q Mode" + mode__empty: + required: false + type: boolean + description: "Mode is empty/null (boolean)" + mode__ic: + required: false + type: array + description: "Mode contains (case-insensitive)" + mode__ie: + required: false + type: array + description: "Mode exact match (case-insensitive)" + mode__iew: + required: false + type: array + description: "Mode ends with (case-insensitive)" + mode__isw: + required: false + type: array + description: "Mode starts with (case-sensitive)" mode__n: required: false - type: string + type: array description: "Mode not equal to" + mode__nic: + required: false + type: array + description: "Mode does not contain (case-insensitive)" + mode__nie: + required: false + type: array + description: "Mode inverse exact match (case-insensitive)" + mode__niew: + required: false + type: array + description: "Mode does not end with (case-insensitive)" + mode__nisw: + required: false + type: array + description: "Mode does not start with (case-sensitive)" modified_by_request: required: false type: string @@ -341,6 +377,22 @@ parameters: required: false type: array description: "Parent_id not equal to" + primary_mac_address: + required: false + type: array + description: "Primary MAC address" + primary_mac_address__n: + required: false + type: array + description: "Primary_mac_address not equal to" + primary_mac_address_id: + required: false + type: array + description: "Primary MAC address (ID)" + primary_mac_address_id__n: + required: false + type: array + description: "Primary_mac_address_id not equal to" q: required: false type: string @@ -353,6 +405,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" updated_by_request: required: false type: string @@ -381,6 +441,22 @@ parameters: required: false type: string description: "Assigned VLAN" + vlan_translation_policy: + required: false + type: array + description: "VLAN Translation Policy" + vlan_translation_policy__n: + required: false + type: array + description: "Vlan_translation_policy not equal to" + vlan_translation_policy_id: + required: false + type: array + description: "VLAN Translation Policy (ID)" + vlan_translation_policy_id__n: + required: false + type: array + description: "Vlan_translation_policy_id not equal to" vrf: required: false type: array diff --git a/actions/get.virtualization.virtual_disks.yaml b/actions/get.virtualization.virtual_disks.yaml index 74989900..adee9811 100644 --- a/actions/get.virtualization.virtual_disks.yaml +++ b/actions/get.virtualization.virtual_disks.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of virtual disk objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. created: required: false type: array @@ -249,6 +253,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" updated_by_request: required: false type: string diff --git a/actions/get.virtualization.virtual_machines.yaml b/actions/get.virtualization.virtual_machines.yaml index bcebdc4e..f2b9f1ae 100644 --- a/actions/get.virtualization.virtual_machines.yaml +++ b/actions/get.virtualization.virtual_machines.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of virtual machine objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. cluster: required: false type: array @@ -84,7 +88,7 @@ parameters: contact_group: required: false type: array - description: "Contact group" + description: "Contact_group" contact_group__n: required: false type: array @@ -453,6 +457,14 @@ parameters: required: false type: array description: "Platform_id not equal to" + primary_ip4: + required: false + type: array + description: "Primary IPv4 (address)" + primary_ip4__n: + required: false + type: array + description: "Primary_ip4 not equal to" primary_ip4_id: required: false type: array @@ -461,6 +473,14 @@ parameters: required: false type: array description: "Primary_ip4_id not equal to" + primary_ip6: + required: false + type: array + description: "Primary IPv6 (address)" + primary_ip6__n: + required: false + type: array + description: "Primary_ip6 not equal to" primary_ip6_id: required: false type: array @@ -476,7 +496,7 @@ parameters: region: required: false type: array - description: "Region (slug)" + description: "Region" region__n: required: false type: array @@ -484,7 +504,7 @@ parameters: region_id: required: false type: array - description: "Region (ID)" + description: "Region_id" region_id__n: required: false type: array @@ -492,7 +512,7 @@ parameters: role: required: false type: array - description: "Role (slug)" + description: "Role" role__n: required: false type: array @@ -500,11 +520,55 @@ parameters: role_id: required: false type: array - description: "Role (ID)" + description: "Role_id" role_id__n: required: false type: array description: "Role_id not equal to" + serial: + required: false + type: array + description: "Serial" + serial__empty: + required: false + type: boolean + description: "Serial is empty/null (boolean)" + serial__ic: + required: false + type: array + description: "Serial contains (case-insensitive)" + serial__ie: + required: false + type: array + description: "Serial exact match (case-insensitive)" + serial__iew: + required: false + type: array + description: "Serial ends with (case-insensitive)" + serial__isw: + required: false + type: array + description: "Serial starts with (case-sensitive)" + serial__n: + required: false + type: array + description: "Serial not equal to" + serial__nic: + required: false + type: array + description: "Serial does not contain (case-insensitive)" + serial__nie: + required: false + type: array + description: "Serial inverse exact match (case-insensitive)" + serial__niew: + required: false + type: array + description: "Serial does not end with (case-insensitive)" + serial__nisw: + required: false + type: array + description: "Serial does not start with (case-sensitive)" site: required: false type: array @@ -516,7 +580,7 @@ parameters: site_group: required: false type: array - description: "Site group (slug)" + description: "Site_group" site_group__n: required: false type: array @@ -524,7 +588,7 @@ parameters: site_group_id: required: false type: array - description: "Site group (ID)" + description: "Site_group_id" site_group_id__n: required: false type: array @@ -541,10 +605,46 @@ parameters: required: false type: array description: "Status" + status__empty: + required: false + type: boolean + description: "Status is empty/null (boolean)" + status__ic: + required: false + type: array + description: "Status contains (case-insensitive)" + status__ie: + required: false + type: array + description: "Status exact match (case-insensitive)" + status__iew: + required: false + type: array + description: "Status ends with (case-insensitive)" + status__isw: + required: false + type: array + description: "Status starts with (case-sensitive)" status__n: required: false type: array description: "Status not equal to" + status__nic: + required: false + type: array + description: "Status does not contain (case-insensitive)" + status__nie: + required: false + type: array + description: "Status inverse exact match (case-insensitive)" + status__niew: + required: false + type: array + description: "Status does not end with (case-insensitive)" + status__nisw: + required: false + type: array + description: "Status does not start with (case-sensitive)" tag: required: false type: array @@ -553,6 +653,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" tenant: required: false type: array @@ -564,7 +672,7 @@ parameters: tenant_group: required: false type: array - description: "Tenant Group (slug)" + description: "Tenant_group" tenant_group__n: required: false type: array @@ -572,7 +680,7 @@ parameters: tenant_group_id: required: false type: array - description: "Tenant Group (ID)" + description: "Tenant_group_id" tenant_group_id__n: required: false type: array diff --git a/actions/get.vpn.ike_policies.yaml b/actions/get.vpn.ike_policies.yaml index e4993547..a32b532d 100644 --- a/actions/get.vpn.ike_policies.yaml +++ b/actions/get.vpn.ike_policies.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of IKE policy objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. created: required: false type: array @@ -173,10 +177,46 @@ parameters: required: false type: array description: "Mode" + mode__empty: + required: false + type: boolean + description: "Mode is empty/null (boolean)" + mode__ic: + required: false + type: array + description: "Mode contains (case-insensitive)" + mode__ie: + required: false + type: array + description: "Mode exact match (case-insensitive)" + mode__iew: + required: false + type: array + description: "Mode ends with (case-insensitive)" + mode__isw: + required: false + type: array + description: "Mode starts with (case-sensitive)" mode__n: required: false type: array description: "Mode not equal to" + mode__nic: + required: false + type: array + description: "Mode does not contain (case-insensitive)" + mode__nie: + required: false + type: array + description: "Mode inverse exact match (case-insensitive)" + mode__niew: + required: false + type: array + description: "Mode does not end with (case-insensitive)" + mode__nisw: + required: false + type: array + description: "Mode does not start with (case-sensitive)" modified_by_request: required: false type: string @@ -273,22 +313,6 @@ parameters: required: false type: string description: "Preshared_key does not start with (case-sensitive)" - proposal: - required: false - type: array - description: "Proposal" - proposal__n: - required: false - type: array - description: "Proposal not equal to" - proposal_id: - required: false - type: array - description: "Proposal_id" - proposal_id__n: - required: false - type: array - description: "Proposal_id not equal to" q: required: false type: string @@ -301,6 +325,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" updated_by_request: required: false type: string @@ -309,10 +341,42 @@ parameters: required: false type: array description: "Version" + version__ic: + required: false + type: array + description: "Version contains (case-insensitive)" + version__ie: + required: false + type: array + description: "Version exact match (case-insensitive)" + version__iew: + required: false + type: array + description: "Version ends with (case-insensitive)" + version__isw: + required: false + type: array + description: "Version starts with (case-sensitive)" version__n: required: false type: array description: "Version not equal to" + version__nic: + required: false + type: array + description: "Version does not contain (case-insensitive)" + version__nie: + required: false + type: array + description: "Version inverse exact match (case-insensitive)" + version__niew: + required: false + type: array + description: "Version does not end with (case-insensitive)" + version__nisw: + required: false + type: array + description: "Version does not start with (case-sensitive)" save_in_key_store: type: boolean default: false diff --git a/actions/get.vpn.ike_proposals.yaml b/actions/get.vpn.ike_proposals.yaml index 408508bb..4f822b6b 100644 --- a/actions/get.vpn.ike_proposals.yaml +++ b/actions/get.vpn.ike_proposals.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of IKE proposal objects." enabled: true entry_point: run.py @@ -17,22 +17,98 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. authentication_algorithm: required: false type: array description: "Authentication_algorithm" + authentication_algorithm__empty: + required: false + type: boolean + description: "Authentication_algorithm is empty/null (boolean)" + authentication_algorithm__ic: + required: false + type: array + description: "Authentication_algorithm contains (case-insensitive)" + authentication_algorithm__ie: + required: false + type: array + description: "Authentication_algorithm exact match (case-insensitive)" + authentication_algorithm__iew: + required: false + type: array + description: "Authentication_algorithm ends with (case-insensitive)" + authentication_algorithm__isw: + required: false + type: array + description: "Authentication_algorithm starts with (case-sensitive)" authentication_algorithm__n: required: false type: array description: "Authentication_algorithm not equal to" + authentication_algorithm__nic: + required: false + type: array + description: "Authentication_algorithm does not contain (case-insensitive)" + authentication_algorithm__nie: + required: false + type: array + description: "Authentication_algorithm inverse exact match (case-insensitive)" + authentication_algorithm__niew: + required: false + type: array + description: "Authentication_algorithm does not end with (case-insensitive)" + authentication_algorithm__nisw: + required: false + type: array + description: "Authentication_algorithm does not start with (case-sensitive)" authentication_method: required: false type: array description: "Authentication_method" + authentication_method__empty: + required: false + type: boolean + description: "Authentication_method is empty/null (boolean)" + authentication_method__ic: + required: false + type: array + description: "Authentication_method contains (case-insensitive)" + authentication_method__ie: + required: false + type: array + description: "Authentication_method exact match (case-insensitive)" + authentication_method__iew: + required: false + type: array + description: "Authentication_method ends with (case-insensitive)" + authentication_method__isw: + required: false + type: array + description: "Authentication_method starts with (case-sensitive)" authentication_method__n: required: false type: array description: "Authentication_method not equal to" + authentication_method__nic: + required: false + type: array + description: "Authentication_method does not contain (case-insensitive)" + authentication_method__nie: + required: false + type: array + description: "Authentication_method inverse exact match (case-insensitive)" + authentication_method__niew: + required: false + type: array + description: "Authentication_method does not end with (case-insensitive)" + authentication_method__nisw: + required: false + type: array + description: "Authentication_method does not start with (case-sensitive)" created: required: false type: array @@ -113,18 +189,86 @@ parameters: required: false type: array description: "Encryption_algorithm" + encryption_algorithm__empty: + required: false + type: boolean + description: "Encryption_algorithm is empty/null (boolean)" + encryption_algorithm__ic: + required: false + type: array + description: "Encryption_algorithm contains (case-insensitive)" + encryption_algorithm__ie: + required: false + type: array + description: "Encryption_algorithm exact match (case-insensitive)" + encryption_algorithm__iew: + required: false + type: array + description: "Encryption_algorithm ends with (case-insensitive)" + encryption_algorithm__isw: + required: false + type: array + description: "Encryption_algorithm starts with (case-sensitive)" encryption_algorithm__n: required: false type: array description: "Encryption_algorithm not equal to" + encryption_algorithm__nic: + required: false + type: array + description: "Encryption_algorithm does not contain (case-insensitive)" + encryption_algorithm__nie: + required: false + type: array + description: "Encryption_algorithm inverse exact match (case-insensitive)" + encryption_algorithm__niew: + required: false + type: array + description: "Encryption_algorithm does not end with (case-insensitive)" + encryption_algorithm__nisw: + required: false + type: array + description: "Encryption_algorithm does not start with (case-sensitive)" group: required: false type: array description: "Diffie-Hellman group ID" + group__ic: + required: false + type: array + description: "Group contains (case-insensitive)" + group__ie: + required: false + type: array + description: "Group exact match (case-insensitive)" + group__iew: + required: false + type: array + description: "Group ends with (case-insensitive)" + group__isw: + required: false + type: array + description: "Group starts with (case-sensitive)" group__n: required: false type: array description: "Group not equal to" + group__nic: + required: false + type: array + description: "Group does not contain (case-insensitive)" + group__nie: + required: false + type: array + description: "Group inverse exact match (case-insensitive)" + group__niew: + required: false + type: array + description: "Group does not end with (case-insensitive)" + group__nisw: + required: false + type: array + description: "Group does not start with (case-sensitive)" id: required: false type: array @@ -297,6 +441,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" updated_by_request: required: false type: string diff --git a/actions/get.vpn.ipsec_policies.yaml b/actions/get.vpn.ipsec_policies.yaml index 1cdb3b75..3bc139af 100644 --- a/actions/get.vpn.ipsec_policies.yaml +++ b/actions/get.vpn.ipsec_policies.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of IPSec policy objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. created: required: false type: array @@ -229,26 +233,42 @@ parameters: required: false type: array description: "Diffie-Hellman group for Perfect Forward Secrecy" + pfs_group__ic: + required: false + type: array + description: "Pfs_group contains (case-insensitive)" + pfs_group__ie: + required: false + type: array + description: "Pfs_group exact match (case-insensitive)" + pfs_group__iew: + required: false + type: array + description: "Pfs_group ends with (case-insensitive)" + pfs_group__isw: + required: false + type: array + description: "Pfs_group starts with (case-sensitive)" pfs_group__n: required: false type: array description: "Pfs_group not equal to" - proposal: + pfs_group__nic: required: false type: array - description: "Proposal" - proposal__n: + description: "Pfs_group does not contain (case-insensitive)" + pfs_group__nie: required: false type: array - description: "Proposal not equal to" - proposal_id: + description: "Pfs_group inverse exact match (case-insensitive)" + pfs_group__niew: required: false type: array - description: "Proposal_id" - proposal_id__n: + description: "Pfs_group does not end with (case-insensitive)" + pfs_group__nisw: required: false type: array - description: "Proposal_id not equal to" + description: "Pfs_group does not start with (case-sensitive)" q: required: false type: string @@ -261,6 +281,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" updated_by_request: required: false type: string diff --git a/actions/get.vpn.ipsec_profiles.yaml b/actions/get.vpn.ipsec_profiles.yaml index 2816d1da..2d679d3e 100644 --- a/actions/get.vpn.ipsec_profiles.yaml +++ b/actions/get.vpn.ipsec_profiles.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of IPSec profile objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. created: required: false type: array @@ -189,10 +193,46 @@ parameters: required: false type: array description: "Mode" + mode__empty: + required: false + type: boolean + description: "Mode is empty/null (boolean)" + mode__ic: + required: false + type: array + description: "Mode contains (case-insensitive)" + mode__ie: + required: false + type: array + description: "Mode exact match (case-insensitive)" + mode__iew: + required: false + type: array + description: "Mode ends with (case-insensitive)" + mode__isw: + required: false + type: array + description: "Mode starts with (case-sensitive)" mode__n: required: false type: array description: "Mode not equal to" + mode__nic: + required: false + type: array + description: "Mode does not contain (case-insensitive)" + mode__nie: + required: false + type: array + description: "Mode inverse exact match (case-insensitive)" + mode__niew: + required: false + type: array + description: "Mode does not end with (case-insensitive)" + mode__nisw: + required: false + type: array + description: "Mode does not start with (case-sensitive)" modified_by_request: required: false type: string @@ -261,6 +301,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" updated_by_request: required: false type: string diff --git a/actions/get.vpn.ipsec_proposals.yaml b/actions/get.vpn.ipsec_proposals.yaml index 4c5e7758..8043576f 100644 --- a/actions/get.vpn.ipsec_proposals.yaml +++ b/actions/get.vpn.ipsec_proposals.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of IPSec proposal objects." enabled: true entry_point: run.py @@ -17,14 +17,54 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. authentication_algorithm: required: false type: array description: "Authentication_algorithm" + authentication_algorithm__empty: + required: false + type: boolean + description: "Authentication_algorithm is empty/null (boolean)" + authentication_algorithm__ic: + required: false + type: array + description: "Authentication_algorithm contains (case-insensitive)" + authentication_algorithm__ie: + required: false + type: array + description: "Authentication_algorithm exact match (case-insensitive)" + authentication_algorithm__iew: + required: false + type: array + description: "Authentication_algorithm ends with (case-insensitive)" + authentication_algorithm__isw: + required: false + type: array + description: "Authentication_algorithm starts with (case-sensitive)" authentication_algorithm__n: required: false type: array description: "Authentication_algorithm not equal to" + authentication_algorithm__nic: + required: false + type: array + description: "Authentication_algorithm does not contain (case-insensitive)" + authentication_algorithm__nie: + required: false + type: array + description: "Authentication_algorithm inverse exact match (case-insensitive)" + authentication_algorithm__niew: + required: false + type: array + description: "Authentication_algorithm does not end with (case-insensitive)" + authentication_algorithm__nisw: + required: false + type: array + description: "Authentication_algorithm does not start with (case-sensitive)" created: required: false type: array @@ -105,10 +145,46 @@ parameters: required: false type: array description: "Encryption_algorithm" + encryption_algorithm__empty: + required: false + type: boolean + description: "Encryption_algorithm is empty/null (boolean)" + encryption_algorithm__ic: + required: false + type: array + description: "Encryption_algorithm contains (case-insensitive)" + encryption_algorithm__ie: + required: false + type: array + description: "Encryption_algorithm exact match (case-insensitive)" + encryption_algorithm__iew: + required: false + type: array + description: "Encryption_algorithm ends with (case-insensitive)" + encryption_algorithm__isw: + required: false + type: array + description: "Encryption_algorithm starts with (case-sensitive)" encryption_algorithm__n: required: false type: array description: "Encryption_algorithm not equal to" + encryption_algorithm__nic: + required: false + type: array + description: "Encryption_algorithm does not contain (case-insensitive)" + encryption_algorithm__nie: + required: false + type: array + description: "Encryption_algorithm inverse exact match (case-insensitive)" + encryption_algorithm__niew: + required: false + type: array + description: "Encryption_algorithm does not end with (case-insensitive)" + encryption_algorithm__nisw: + required: false + type: array + description: "Encryption_algorithm does not start with (case-sensitive)" id: required: false type: array @@ -309,6 +385,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" updated_by_request: required: false type: string diff --git a/actions/get.vpn.l2vpn_terminations.yaml b/actions/get.vpn.l2vpn_terminations.yaml index 3cf79975..ec41d16f 100644 --- a/actions/get.vpn.l2vpn_terminations.yaml +++ b/actions/get.vpn.l2vpn_terminations.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of L2VPN termination objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. assigned_object_id: required: false type: array @@ -233,6 +237,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" updated_by_request: required: false type: string diff --git a/actions/get.vpn.l2vpns.yaml b/actions/get.vpn.l2vpns.yaml index 8204eb44..5920ed16 100644 --- a/actions/get.vpn.l2vpns.yaml +++ b/actions/get.vpn.l2vpns.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of L2VPN objects." enabled: true entry_point: run.py @@ -17,6 +17,34 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + contact: + required: false + type: array + description: "Contact" + contact__n: + required: false + type: array + description: "Contact not equal to" + contact_group: + required: false + type: array + description: "Contact_group" + contact_group__n: + required: false + type: array + description: "Contact_group not equal to" + contact_role: + required: false + type: array + description: "Contact Role" + contact_role__n: + required: false + type: array + description: "Contact_role not equal to" created: required: false type: array @@ -317,6 +345,50 @@ parameters: required: false type: array description: "Slug does not start with (case-sensitive)" + status: + required: false + type: array + description: "Status" + status__empty: + required: false + type: boolean + description: "Status is empty/null (boolean)" + status__ic: + required: false + type: array + description: "Status contains (case-insensitive)" + status__ie: + required: false + type: array + description: "Status exact match (case-insensitive)" + status__iew: + required: false + type: array + description: "Status ends with (case-insensitive)" + status__isw: + required: false + type: array + description: "Status starts with (case-sensitive)" + status__n: + required: false + type: array + description: "Status not equal to" + status__nic: + required: false + type: array + description: "Status does not contain (case-insensitive)" + status__nie: + required: false + type: array + description: "Status inverse exact match (case-insensitive)" + status__niew: + required: false + type: array + description: "Status does not end with (case-insensitive)" + status__nisw: + required: false + type: array + description: "Status does not start with (case-sensitive)" tag: required: false type: array @@ -325,6 +397,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" tenant: required: false type: array @@ -336,7 +416,7 @@ parameters: tenant_group: required: false type: array - description: "Tenant Group (slug)" + description: "Tenant_group" tenant_group__n: required: false type: array @@ -344,7 +424,7 @@ parameters: tenant_group_id: required: false type: array - description: "Tenant Group (ID)" + description: "Tenant_group_id" tenant_group_id__n: required: false type: array @@ -361,10 +441,46 @@ parameters: required: false type: array description: "Type" + type__empty: + required: false + type: boolean + description: "Type is empty/null (boolean)" + type__ic: + required: false + type: array + description: "Type contains (case-insensitive)" + type__ie: + required: false + type: array + description: "Type exact match (case-insensitive)" + type__iew: + required: false + type: array + description: "Type ends with (case-insensitive)" + type__isw: + required: false + type: array + description: "Type starts with (case-sensitive)" type__n: required: false type: array description: "Type not equal to" + type__nic: + required: false + type: array + description: "Type does not contain (case-insensitive)" + type__nie: + required: false + type: array + description: "Type inverse exact match (case-insensitive)" + type__niew: + required: false + type: array + description: "Type does not end with (case-insensitive)" + type__nisw: + required: false + type: array + description: "Type does not start with (case-sensitive)" updated_by_request: required: false type: string diff --git a/actions/get.vpn.tunnel_groups.yaml b/actions/get.vpn.tunnel_groups.yaml index 00948cce..0dc15b3d 100644 --- a/actions/get.vpn.tunnel_groups.yaml +++ b/actions/get.vpn.tunnel_groups.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of tunnel group objects." enabled: true entry_point: run.py @@ -17,6 +17,34 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + contact: + required: false + type: array + description: "Contact" + contact__n: + required: false + type: array + description: "Contact not equal to" + contact_group: + required: false + type: array + description: "Contact_group" + contact_group__n: + required: false + type: array + description: "Contact_group not equal to" + contact_role: + required: false + type: array + description: "Contact Role" + contact_role__n: + required: false + type: array + description: "Contact_role not equal to" created: required: false type: array @@ -265,6 +293,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" updated_by_request: required: false type: string diff --git a/actions/get.vpn.tunnel_terminations.yaml b/actions/get.vpn.tunnel_terminations.yaml index 3266964b..f5ab6e56 100644 --- a/actions/get.vpn.tunnel_terminations.yaml +++ b/actions/get.vpn.tunnel_terminations.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of tunnel termination objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. created: required: false type: array @@ -153,10 +157,46 @@ parameters: required: false type: array description: "Role" + role__empty: + required: false + type: boolean + description: "Role is empty/null (boolean)" + role__ic: + required: false + type: array + description: "Role contains (case-insensitive)" + role__ie: + required: false + type: array + description: "Role exact match (case-insensitive)" + role__iew: + required: false + type: array + description: "Role ends with (case-insensitive)" + role__isw: + required: false + type: array + description: "Role starts with (case-sensitive)" role__n: required: false type: array description: "Role not equal to" + role__nic: + required: false + type: array + description: "Role does not contain (case-insensitive)" + role__nie: + required: false + type: array + description: "Role inverse exact match (case-insensitive)" + role__niew: + required: false + type: array + description: "Role does not end with (case-insensitive)" + role__nisw: + required: false + type: array + description: "Role does not start with (case-sensitive)" tag: required: false type: array @@ -165,6 +205,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" termination_id: required: false type: array diff --git a/actions/get.vpn.tunnels.yaml b/actions/get.vpn.tunnels.yaml index 5011236b..43128ace 100644 --- a/actions/get.vpn.tunnels.yaml +++ b/actions/get.vpn.tunnels.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of tunnel objects." enabled: true entry_point: run.py @@ -17,6 +17,34 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + contact: + required: false + type: array + description: "Contact" + contact__n: + required: false + type: array + description: "Contact not equal to" + contact_group: + required: false + type: array + description: "Contact_group" + contact_group__n: + required: false + type: array + description: "Contact_group not equal to" + contact_role: + required: false + type: array + description: "Contact Role" + contact_role__n: + required: false + type: array + description: "Contact_role not equal to" created: required: false type: array @@ -97,10 +125,46 @@ parameters: required: false type: array description: "Encapsulation" + encapsulation__empty: + required: false + type: boolean + description: "Encapsulation is empty/null (boolean)" + encapsulation__ic: + required: false + type: array + description: "Encapsulation contains (case-insensitive)" + encapsulation__ie: + required: false + type: array + description: "Encapsulation exact match (case-insensitive)" + encapsulation__iew: + required: false + type: array + description: "Encapsulation ends with (case-insensitive)" + encapsulation__isw: + required: false + type: array + description: "Encapsulation starts with (case-sensitive)" encapsulation__n: required: false type: array description: "Encapsulation not equal to" + encapsulation__nic: + required: false + type: array + description: "Encapsulation does not contain (case-insensitive)" + encapsulation__nie: + required: false + type: array + description: "Encapsulation inverse exact match (case-insensitive)" + encapsulation__niew: + required: false + type: array + description: "Encapsulation does not end with (case-insensitive)" + encapsulation__nisw: + required: false + type: array + description: "Encapsulation does not start with (case-sensitive)" group: required: false type: array @@ -257,10 +321,46 @@ parameters: required: false type: array description: "Status" + status__empty: + required: false + type: boolean + description: "Status is empty/null (boolean)" + status__ic: + required: false + type: array + description: "Status contains (case-insensitive)" + status__ie: + required: false + type: array + description: "Status exact match (case-insensitive)" + status__iew: + required: false + type: array + description: "Status ends with (case-insensitive)" + status__isw: + required: false + type: array + description: "Status starts with (case-sensitive)" status__n: required: false type: array description: "Status not equal to" + status__nic: + required: false + type: array + description: "Status does not contain (case-insensitive)" + status__nie: + required: false + type: array + description: "Status inverse exact match (case-insensitive)" + status__niew: + required: false + type: array + description: "Status does not end with (case-insensitive)" + status__nisw: + required: false + type: array + description: "Status does not start with (case-sensitive)" tag: required: false type: array @@ -269,6 +369,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" tenant: required: false type: array @@ -280,7 +388,7 @@ parameters: tenant_group: required: false type: array - description: "Tenant Group (slug)" + description: "Tenant_group" tenant_group__n: required: false type: array @@ -288,7 +396,7 @@ parameters: tenant_group_id: required: false type: array - description: "Tenant Group (ID)" + description: "Tenant_group_id" tenant_group_id__n: required: false type: array diff --git a/actions/get.wireless.wireless_lan_groups.yaml b/actions/get.wireless.wireless_lan_groups.yaml index 79cd0d01..7cfed65a 100644 --- a/actions/get.wireless.wireless_lan_groups.yaml +++ b/actions/get.wireless.wireless_lan_groups.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of wireless LAN group objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. ancestor: required: false type: array @@ -297,6 +301,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" updated_by_request: required: false type: string diff --git a/actions/get.wireless.wireless_lans.yaml b/actions/get.wireless.wireless_lans.yaml index f4b70fb6..f523ac79 100644 --- a/actions/get.wireless.wireless_lans.yaml +++ b/actions/get.wireless.wireless_lans.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of wireless LAN objects." enabled: true entry_point: run.py @@ -17,14 +17,54 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. auth_cipher: required: false type: array description: "Auth_cipher" + auth_cipher__empty: + required: false + type: boolean + description: "Auth_cipher is empty/null (boolean)" + auth_cipher__ic: + required: false + type: array + description: "Auth_cipher contains (case-insensitive)" + auth_cipher__ie: + required: false + type: array + description: "Auth_cipher exact match (case-insensitive)" + auth_cipher__iew: + required: false + type: array + description: "Auth_cipher ends with (case-insensitive)" + auth_cipher__isw: + required: false + type: array + description: "Auth_cipher starts with (case-sensitive)" auth_cipher__n: required: false type: array description: "Auth_cipher not equal to" + auth_cipher__nic: + required: false + type: array + description: "Auth_cipher does not contain (case-insensitive)" + auth_cipher__nie: + required: false + type: array + description: "Auth_cipher inverse exact match (case-insensitive)" + auth_cipher__niew: + required: false + type: array + description: "Auth_cipher does not end with (case-insensitive)" + auth_cipher__nisw: + required: false + type: array + description: "Auth_cipher does not start with (case-sensitive)" auth_psk: required: false type: array @@ -73,10 +113,46 @@ parameters: required: false type: array description: "Auth_type" + auth_type__empty: + required: false + type: boolean + description: "Auth_type is empty/null (boolean)" + auth_type__ic: + required: false + type: array + description: "Auth_type contains (case-insensitive)" + auth_type__ie: + required: false + type: array + description: "Auth_type exact match (case-insensitive)" + auth_type__iew: + required: false + type: array + description: "Auth_type ends with (case-insensitive)" + auth_type__isw: + required: false + type: array + description: "Auth_type starts with (case-sensitive)" auth_type__n: required: false type: array description: "Auth_type not equal to" + auth_type__nic: + required: false + type: array + description: "Auth_type does not contain (case-insensitive)" + auth_type__nie: + required: false + type: array + description: "Auth_type inverse exact match (case-insensitive)" + auth_type__niew: + required: false + type: array + description: "Auth_type does not end with (case-insensitive)" + auth_type__nisw: + required: false + type: array + description: "Auth_type does not start with (case-sensitive)" created: required: false type: array @@ -237,6 +313,22 @@ parameters: required: false type: integer description: "Number of results to return per page." + location: + required: false + type: array + description: "Location" + location__n: + required: false + type: array + description: "Location not equal to" + location_id: + required: false + type: array + description: "Location_id" + location_id__n: + required: false + type: array + description: "Location_id not equal to" modified_by_request: required: false type: string @@ -253,6 +345,90 @@ parameters: required: false type: string description: "Search" + region: + required: false + type: array + description: "Region" + region__n: + required: false + type: array + description: "Region not equal to" + region_id: + required: false + type: array + description: "Region_id" + region_id__n: + required: false + type: array + description: "Region_id not equal to" + scope_id: + required: false + type: array + description: "Scope_id" + scope_id__empty: + required: false + type: boolean + description: "Scope_id is empty/null (boolean)" + scope_id__gt: + required: false + type: array + description: "Scope_id greater than" + scope_id__gte: + required: false + type: array + description: "Scope_id greater than or equal to" + scope_id__lt: + required: false + type: array + description: "Scope_id less than" + scope_id__lte: + required: false + type: array + description: "Scope_id less than or equal to" + scope_id__n: + required: false + type: array + description: "Scope_id not equal to" + scope_type: + required: false + type: string + description: "Scope_type" + scope_type__n: + required: false + type: string + description: "Scope_type not equal to" + site: + required: false + type: array + description: "Site (slug)" + site__n: + required: false + type: array + description: "Site not equal to" + site_group: + required: false + type: array + description: "Site_group" + site_group__n: + required: false + type: array + description: "Site_group not equal to" + site_group_id: + required: false + type: array + description: "Site_group_id" + site_group_id__n: + required: false + type: array + description: "Site_group_id not equal to" + site_id: + required: false + type: array + description: "Site (ID)" + site_id__n: + required: false + type: array + description: "Site_id not equal to" ssid: required: false type: array @@ -301,10 +477,46 @@ parameters: required: false type: array description: "Status" + status__empty: + required: false + type: boolean + description: "Status is empty/null (boolean)" + status__ic: + required: false + type: array + description: "Status contains (case-insensitive)" + status__ie: + required: false + type: array + description: "Status exact match (case-insensitive)" + status__iew: + required: false + type: array + description: "Status ends with (case-insensitive)" + status__isw: + required: false + type: array + description: "Status starts with (case-sensitive)" status__n: required: false type: array description: "Status not equal to" + status__nic: + required: false + type: array + description: "Status does not contain (case-insensitive)" + status__nie: + required: false + type: array + description: "Status inverse exact match (case-insensitive)" + status__niew: + required: false + type: array + description: "Status does not end with (case-insensitive)" + status__nisw: + required: false + type: array + description: "Status does not start with (case-sensitive)" tag: required: false type: array @@ -313,6 +525,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" tenant: required: false type: array @@ -324,7 +544,7 @@ parameters: tenant_group: required: false type: array - description: "Tenant Group (slug)" + description: "Tenant_group" tenant_group__n: required: false type: array @@ -332,7 +552,7 @@ parameters: tenant_group_id: required: false type: array - description: "Tenant Group (ID)" + description: "Tenant_group_id" tenant_group_id__n: required: false type: array diff --git a/actions/get.wireless.wireless_links.yaml b/actions/get.wireless.wireless_links.yaml index 92b841c3..da9062ce 100644 --- a/actions/get.wireless.wireless_links.yaml +++ b/actions/get.wireless.wireless_links.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Get a list of wireless link objects." enabled: true entry_point: run.py @@ -17,14 +17,54 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. auth_cipher: required: false type: array description: "Auth_cipher" + auth_cipher__empty: + required: false + type: boolean + description: "Auth_cipher is empty/null (boolean)" + auth_cipher__ic: + required: false + type: array + description: "Auth_cipher contains (case-insensitive)" + auth_cipher__ie: + required: false + type: array + description: "Auth_cipher exact match (case-insensitive)" + auth_cipher__iew: + required: false + type: array + description: "Auth_cipher ends with (case-insensitive)" + auth_cipher__isw: + required: false + type: array + description: "Auth_cipher starts with (case-sensitive)" auth_cipher__n: required: false type: array description: "Auth_cipher not equal to" + auth_cipher__nic: + required: false + type: array + description: "Auth_cipher does not contain (case-insensitive)" + auth_cipher__nie: + required: false + type: array + description: "Auth_cipher inverse exact match (case-insensitive)" + auth_cipher__niew: + required: false + type: array + description: "Auth_cipher does not end with (case-insensitive)" + auth_cipher__nisw: + required: false + type: array + description: "Auth_cipher does not start with (case-sensitive)" auth_psk: required: false type: array @@ -73,10 +113,46 @@ parameters: required: false type: array description: "Auth_type" + auth_type__empty: + required: false + type: boolean + description: "Auth_type is empty/null (boolean)" + auth_type__ic: + required: false + type: array + description: "Auth_type contains (case-insensitive)" + auth_type__ie: + required: false + type: array + description: "Auth_type exact match (case-insensitive)" + auth_type__iew: + required: false + type: array + description: "Auth_type ends with (case-insensitive)" + auth_type__isw: + required: false + type: array + description: "Auth_type starts with (case-sensitive)" auth_type__n: required: false type: array description: "Auth_type not equal to" + auth_type__nic: + required: false + type: array + description: "Auth_type does not contain (case-insensitive)" + auth_type__nie: + required: false + type: array + description: "Auth_type inverse exact match (case-insensitive)" + auth_type__niew: + required: false + type: array + description: "Auth_type does not end with (case-insensitive)" + auth_type__nisw: + required: false + type: array + description: "Auth_type does not start with (case-sensitive)" created: required: false type: array @@ -153,6 +229,41 @@ parameters: required: false type: array description: "Description does not start with (case-sensitive)" + distance: + required: false + type: array + description: "Distance" + distance__empty: + required: false + type: boolean + description: "Distance is empty/null (boolean)" + distance__gt: + required: false + type: array + description: "Distance greater than" + distance__gte: + required: false + type: array + description: "Distance greater than or equal to" + distance__lt: + required: false + type: array + description: "Distance less than" + distance__lte: + required: false + type: array + description: "Distance less than or equal to" + distance__n: + required: false + type: array + description: "Distance not equal to" + distance_unit: + required: false + type: string + description: "* `km` - Kilometers +* `m` - Meters +* `mi` - Miles +* `ft` - Feet" id: required: false type: array @@ -293,10 +404,46 @@ parameters: required: false type: array description: "Status" + status__empty: + required: false + type: boolean + description: "Status is empty/null (boolean)" + status__ic: + required: false + type: array + description: "Status contains (case-insensitive)" + status__ie: + required: false + type: array + description: "Status exact match (case-insensitive)" + status__iew: + required: false + type: array + description: "Status ends with (case-insensitive)" + status__isw: + required: false + type: array + description: "Status starts with (case-sensitive)" status__n: required: false type: array description: "Status not equal to" + status__nic: + required: false + type: array + description: "Status does not contain (case-insensitive)" + status__nie: + required: false + type: array + description: "Status inverse exact match (case-insensitive)" + status__niew: + required: false + type: array + description: "Status does not end with (case-insensitive)" + status__nisw: + required: false + type: array + description: "Status does not start with (case-sensitive)" tag: required: false type: array @@ -305,6 +452,14 @@ parameters: required: false type: array description: "Tag not equal to" + tag_id: + required: false + type: array + description: "Tag_id" + tag_id__n: + required: false + type: array + description: "Tag_id not equal to" tenant: required: false type: array @@ -316,7 +471,7 @@ parameters: tenant_group: required: false type: array - description: "Tenant Group (slug)" + description: "Tenant_group" tenant_group__n: required: false type: array @@ -324,7 +479,7 @@ parameters: tenant_group_id: required: false type: array - description: "Tenant Group (ID)" + description: "Tenant_group_id" tenant_group_id__n: required: false type: array diff --git a/actions/lib/action.py b/actions/lib/action.py index fac592f6..ad5278b9 100644 --- a/actions/lib/action.py +++ b/actions/lib/action.py @@ -2,21 +2,17 @@ from st2common.runners.base_action import Action -__all__ = [ - "NetboxBaseAction" -] +__all__ = ["NetboxBaseAction"] class NetboxBaseAction(Action): - """Base Action for all Netbox API based actions - """ + """Base Action for all Netbox API based actions""" def __init__(self, config): super(NetboxBaseAction, self).__init__(config) def make_request(self, endpoint_uri, http_action, **kwargs): - """Logic to make all types of requests - """ + """Logic to make all types of requests""" if self.config["use_https"]: url = "https://" @@ -38,7 +34,7 @@ def make_request(self, endpoint_uri, http_action, **kwargs): # transform `tags` if present if kwargs.get("tags"): - if http_action in ['post', 'put', 'patch']: + if http_action in ["post", "put", "patch"]: kwargs["tags"] = [{"slug": x} for x in kwargs["tags"]] else: kwargs["tags"] = ",".join(kwargs["tags"]) @@ -51,31 +47,25 @@ def make_request(self, endpoint_uri, http_action, **kwargs): self.logger.debug("Calling base {} with kwargs: {}".format(http_action, kwargs)) verify = self.config["ssl_verify"] - r = None - if http_action == "get": r = requests.get(url, verify=verify, headers=headers, params=kwargs) - elif http_action == "post": r = requests.post(url, verify=verify, headers=headers, json=kwargs) - elif http_action == "put": r = requests.put(url, verify=verify, headers=headers, json=kwargs) - elif http_action == "patch": r = requests.patch(url, verify=verify, headers=headers, json=kwargs) - elif http_action == "delete": r = requests.delete(url, verify=verify, headers=headers) - self.logger.info("Delete of ID {} returned status code {}".format( - kwargs["id"], - r.status_code) + self.logger.info( + "Delete of ID {} returned status code {}".format(kwargs["id"], r.status_code) ) + else: + raise ValueError(f"Unsupported http verb '{http_action}'") + + try: + raw = r.json() + except ValueError: + raw = r.text - if r: - try: - raw = r.json() - except ValueError: - raw = r.text - return {"raw": raw, "status": r.status_code} - return {"raw": {}, "status": 404} + return {"raw": raw, "status": r.status_code} diff --git a/actions/patch.circuits.circuit_group_assignments.yaml b/actions/patch.circuits.circuit_group_assignments.yaml new file mode 100644 index 00000000..6c6714ae --- /dev/null +++ b/actions/patch.circuits.circuit_group_assignments.yaml @@ -0,0 +1,51 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Patch a Circuit group assignment object." +enabled: true +entry_point: run.py +name: patch.circuits.circuit_group_assignments +parameters: + endpoint_uri: + default: "/circuits/circuit-group-assignments/{{ id }}/" + immutable: true + type: string + http_verb: + default: patch + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + group: + required: false + type: object + description: "Group" + member_type: + required: false + type: string + description: "Member type" + member_id: + required: false + type: integer + description: "Member id" + priority: + required: false + type: string + description: "* `primary` - Primary +* `secondary` - Secondary +* `tertiary` - Tertiary +* `inactive` - Inactive" + tags: + required: false + type: array + description: "Array of tag strings" + id: + required: true + type: integer + description: "ID of the object to patch." +runner_type: python-script diff --git a/actions/patch.circuits.circuit_groups.yaml b/actions/patch.circuits.circuit_groups.yaml new file mode 100644 index 00000000..e0f379cc --- /dev/null +++ b/actions/patch.circuits.circuit_groups.yaml @@ -0,0 +1,52 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Patch a circuit group object." +enabled: true +entry_point: run.py +name: patch.circuits.circuit_groups +parameters: + endpoint_uri: + default: "/circuits/circuit-groups/{{ id }}/" + immutable: true + type: string + http_verb: + default: patch + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + name: + required: false + type: string + description: "Name" + slug: + required: false + type: string + description: "Slug" + description: + required: false + type: string + description: "Description" + tenant: + required: false + type: object + description: "Tenant" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" + id: + required: true + type: integer + description: "ID of the object to patch." +runner_type: python-script diff --git a/actions/patch.circuits.circuit_terminations.yaml b/actions/patch.circuits.circuit_terminations.yaml index c8d56ee8..f0c82229 100644 --- a/actions/patch.circuits.circuit_terminations.yaml +++ b/actions/patch.circuits.circuit_terminations.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a circuit termination object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. circuit: required: false type: object @@ -24,15 +28,15 @@ parameters: term_side: required: false type: string - description: "Termination" - site: + description: "Termination side" + termination_type: required: false - type: object - description: "Site" - provider_network: + type: string + description: "Termination type" + termination_id: required: false - type: object - description: "Provider network" + type: integer + description: "Termination id" port_speed: required: false type: integer diff --git a/actions/patch.circuits.circuit_types.yaml b/actions/patch.circuits.circuit_types.yaml index 931111fd..38d3d0e4 100644 --- a/actions/patch.circuits.circuit_types.yaml +++ b/actions/patch.circuits.circuit_types.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a circuit type object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/patch.circuits.circuits.yaml b/actions/patch.circuits.circuits.yaml index 2902f2fc..ef04b8bf 100644 --- a/actions/patch.circuits.circuits.yaml +++ b/actions/patch.circuits.circuits.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a circuit object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. cid: required: false type: string @@ -62,6 +66,17 @@ parameters: required: false type: string description: "Description" + distance: + required: false + type: integer + description: "Distance" + distance_unit: + required: false + type: string + description: "* `km` - Kilometers +* `m` - Meters +* `mi` - Miles +* `ft` - Feet" comments: required: false type: string @@ -74,6 +89,10 @@ parameters: required: false type: object description: "Custom fields" + assignments: + required: false + type: array + description: "Assignments" id: required: true type: integer diff --git a/actions/patch.circuits.provider_accounts.yaml b/actions/patch.circuits.provider_accounts.yaml index 7ca5ef26..56d81f29 100644 --- a/actions/patch.circuits.provider_accounts.yaml +++ b/actions/patch.circuits.provider_accounts.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a provider account object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. provider: required: false type: object diff --git a/actions/patch.circuits.provider_networks.yaml b/actions/patch.circuits.provider_networks.yaml index ff4723d9..e67ffe9a 100644 --- a/actions/patch.circuits.provider_networks.yaml +++ b/actions/patch.circuits.provider_networks.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a provider network object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. provider: required: false type: object diff --git a/actions/patch.circuits.providers.yaml b/actions/patch.circuits.providers.yaml index de3057c9..2ad9c9a9 100644 --- a/actions/patch.circuits.providers.yaml +++ b/actions/patch.circuits.providers.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a provider object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/patch.circuits.virtual_circuit_terminations.yaml b/actions/patch.circuits.virtual_circuit_terminations.yaml new file mode 100644 index 00000000..13d8d475 --- /dev/null +++ b/actions/patch.circuits.virtual_circuit_terminations.yaml @@ -0,0 +1,54 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Patch a virtual circuit termination object." +enabled: true +entry_point: run.py +name: patch.circuits.virtual_circuit_terminations +parameters: + endpoint_uri: + default: "/circuits/virtual-circuit-terminations/{{ id }}/" + immutable: true + type: string + http_verb: + default: patch + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + virtual_circuit: + required: false + type: object + description: "Virtual circuit" + role: + required: false + type: string + description: "* `peer` - Peer +* `hub` - Hub +* `spoke` - Spoke" + interface: + required: false + type: object + description: "Interface" + description: + required: false + type: string + description: "Description" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" + id: + required: true + type: integer + description: "ID of the object to patch." +runner_type: python-script diff --git a/actions/patch.circuits.virtual_circuit_types.yaml b/actions/patch.circuits.virtual_circuit_types.yaml new file mode 100644 index 00000000..d352fde8 --- /dev/null +++ b/actions/patch.circuits.virtual_circuit_types.yaml @@ -0,0 +1,52 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Patch a virtual circuit type object." +enabled: true +entry_point: run.py +name: patch.circuits.virtual_circuit_types +parameters: + endpoint_uri: + default: "/circuits/virtual-circuit-types/{{ id }}/" + immutable: true + type: string + http_verb: + default: patch + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + name: + required: false + type: string + description: "Name" + slug: + required: false + type: string + description: "Slug" + color: + required: false + type: string + description: "Color" + description: + required: false + type: string + description: "Description" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" + id: + required: true + type: integer + description: "ID of the object to patch." +runner_type: python-script diff --git a/actions/patch.circuits.virtual_circuits.yaml b/actions/patch.circuits.virtual_circuits.yaml new file mode 100644 index 00000000..29239d4c --- /dev/null +++ b/actions/patch.circuits.virtual_circuits.yaml @@ -0,0 +1,73 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Patch a virtual circuit object." +enabled: true +entry_point: run.py +name: patch.circuits.virtual_circuits +parameters: + endpoint_uri: + default: "/circuits/virtual-circuits/{{ id }}/" + immutable: true + type: string + http_verb: + default: patch + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + cid: + required: false + type: string + description: "Circuit ID" + provider_network: + required: false + type: object + description: "Provider network" + provider_account: + required: false + type: object + description: "Provider account" + type: + required: false + type: object + description: "Type" + status: + required: false + type: string + description: "* `planned` - Planned +* `provisioning` - Provisioning +* `active` - Active +* `offline` - Offline +* `deprovisioning` - Deprovisioning +* `decommissioned` - Decommissioned" + tenant: + required: false + type: object + description: "Tenant" + description: + required: false + type: string + description: "Description" + comments: + required: false + type: string + description: "Comments" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" + id: + required: true + type: integer + description: "ID of the object to patch." +runner_type: python-script diff --git a/actions/patch.core.data_sources.yaml b/actions/patch.core.data_sources.yaml index d5823f49..cd9362c6 100644 --- a/actions/patch.core.data_sources.yaml +++ b/actions/patch.core.data_sources.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a data source object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -37,10 +41,15 @@ parameters: required: false type: string description: "Description" - comments: + sync_interval: required: false - type: string - description: "Comments" + type: integer + description: "* `1` - Minutely +* `60` - Hourly +* `720` - 12 hours +* `1440` - Daily +* `10080` - Weekly +* `43200` - 30 days" parameters: required: false type: object @@ -49,6 +58,10 @@ parameters: required: false type: string description: "Patterns (one per line) matching files to ignore when syncing" + comments: + required: false + type: string + description: "Comments" custom_fields: required: false type: object diff --git a/actions/patch.dcim.cable_terminations.yaml b/actions/patch.dcim.cable_terminations.yaml index 25c05f2f..1c0c8c5b 100644 --- a/actions/patch.dcim.cable_terminations.yaml +++ b/actions/patch.dcim.cable_terminations.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a cable termination object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. cable: required: false type: integer diff --git a/actions/patch.dcim.cables.yaml b/actions/patch.dcim.cables.yaml index b07b1e39..b5c4e11d 100644 --- a/actions/patch.dcim.cables.yaml +++ b/actions/patch.dcim.cables.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a cable object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. type: required: false type: string @@ -42,6 +46,7 @@ parameters: * `smf-os1` - Singlemode Fiber (OS1) * `smf-os2` - Singlemode Fiber (OS2) * `aoc` - Active Optical Cabling (AOC) +* `usb` - USB * `power` - Power" a_terminations: required: false diff --git a/actions/patch.dcim.console_port_templates.yaml b/actions/patch.dcim.console_port_templates.yaml index 066c323f..6f7f7c13 100644 --- a/actions/patch.dcim.console_port_templates.yaml +++ b/actions/patch.dcim.console_port_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a console port template object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device_type: required: false type: object diff --git a/actions/patch.dcim.console_ports.yaml b/actions/patch.dcim.console_ports.yaml index aef454df..409fb9f4 100644 --- a/actions/patch.dcim.console_ports.yaml +++ b/actions/patch.dcim.console_ports.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a console port object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device: required: false type: object diff --git a/actions/patch.dcim.console_server_port_templates.yaml b/actions/patch.dcim.console_server_port_templates.yaml index 2e390ade..bed4de64 100644 --- a/actions/patch.dcim.console_server_port_templates.yaml +++ b/actions/patch.dcim.console_server_port_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a console server port template object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device_type: required: false type: object diff --git a/actions/patch.dcim.console_server_ports.yaml b/actions/patch.dcim.console_server_ports.yaml index 4cfb5994..7209ea24 100644 --- a/actions/patch.dcim.console_server_ports.yaml +++ b/actions/patch.dcim.console_server_ports.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a console server port object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device: required: false type: object diff --git a/actions/patch.dcim.device_bay_templates.yaml b/actions/patch.dcim.device_bay_templates.yaml index 15a91686..861fbc3d 100644 --- a/actions/patch.dcim.device_bay_templates.yaml +++ b/actions/patch.dcim.device_bay_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a device bay template object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device_type: required: false type: object diff --git a/actions/patch.dcim.device_bays.yaml b/actions/patch.dcim.device_bays.yaml index c8a86c84..864c2ee2 100644 --- a/actions/patch.dcim.device_bays.yaml +++ b/actions/patch.dcim.device_bays.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a device bay object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device: required: false type: object diff --git a/actions/patch.dcim.device_roles.yaml b/actions/patch.dcim.device_roles.yaml index d5e7f672..8fde48c1 100644 --- a/actions/patch.dcim.device_roles.yaml +++ b/actions/patch.dcim.device_roles.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a device role object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -37,6 +41,10 @@ parameters: required: false type: object description: "Config template" + parent: + required: false + type: integer + description: "Parent" description: required: false type: string @@ -49,6 +57,10 @@ parameters: required: false type: object description: "Custom fields" + comments: + required: false + type: string + description: "Comments" id: required: true type: integer diff --git a/actions/patch.dcim.device_types.yaml b/actions/patch.dcim.device_types.yaml index f1d121f8..48e0b05a 100644 --- a/actions/patch.dcim.device_types.yaml +++ b/actions/patch.dcim.device_types.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a device type object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. manufacturer: required: false type: object @@ -61,6 +65,9 @@ parameters: * `left-to-right` - Left to right * `right-to-left` - Right to left * `side-to-rear` - Side to rear +* `rear-to-side` - Rear to side +* `bottom-to-top` - Bottom to top +* `top-to-bottom` - Top to bottom * `passive` - Passive * `mixed` - Mixed" weight: diff --git a/actions/patch.dcim.devices.yaml b/actions/patch.dcim.devices.yaml index 83b1c462..58266aea 100644 --- a/actions/patch.dcim.devices.yaml +++ b/actions/patch.dcim.devices.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a device object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -91,6 +95,9 @@ parameters: * `left-to-right` - Left to right * `right-to-left` - Right to left * `side-to-rear` - Side to rear +* `rear-to-side` - Rear to side +* `bottom-to-top` - Bottom to top +* `top-to-bottom` - Top to bottom * `passive` - Passive * `mixed` - Mixed" primary_ip4: diff --git a/actions/patch.dcim.front_port_templates.yaml b/actions/patch.dcim.front_port_templates.yaml index 1df0a0d1..8ccebb79 100644 --- a/actions/patch.dcim.front_port_templates.yaml +++ b/actions/patch.dcim.front_port_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a front port template object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device_type: required: false type: object @@ -55,6 +59,9 @@ parameters: * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC +* `fc-pc` - FC/PC +* `fc-upc` - FC/UPC +* `fc-apc` - FC/APC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC @@ -82,6 +89,14 @@ parameters: * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice +* `usb-a` - USB Type A +* `usb-b` - USB Type B +* `usb-c` - USB Type C +* `usb-mini-a` - USB Mini A +* `usb-mini-b` - USB Mini B +* `usb-micro-a` - USB Micro A +* `usb-micro-b` - USB Micro B +* `usb-micro-ab` - USB Micro AB * `other` - Other" color: required: false diff --git a/actions/patch.dcim.front_ports.yaml b/actions/patch.dcim.front_ports.yaml index 47890476..2fcf4926 100644 --- a/actions/patch.dcim.front_ports.yaml +++ b/actions/patch.dcim.front_ports.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a front port object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device: required: false type: object @@ -55,6 +59,9 @@ parameters: * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC +* `fc-pc` - FC/PC +* `fc-upc` - FC/UPC +* `fc-apc` - FC/APC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC @@ -82,6 +89,14 @@ parameters: * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice +* `usb-a` - USB Type A +* `usb-b` - USB Type B +* `usb-c` - USB Type C +* `usb-mini-a` - USB Mini A +* `usb-mini-b` - USB Mini B +* `usb-micro-a` - USB Micro A +* `usb-micro-b` - USB Micro B +* `usb-micro-ab` - USB Micro AB * `other` - Other" color: required: false diff --git a/actions/patch.dcim.interface_templates.yaml b/actions/patch.dcim.interface_templates.yaml index b8ddd0e1..22901350 100644 --- a/actions/patch.dcim.interface_templates.yaml +++ b/actions/patch.dcim.interface_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a interface template object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device_type: required: false type: object @@ -44,10 +48,14 @@ parameters: * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) +* `1000base-sx` - 1000BASE-SX (1GE) +* `1000base-lx` - 1000BASE-LX (1GE) +* `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) +* `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) @@ -97,7 +105,9 @@ parameters: * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay +* `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) +* `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA @@ -137,6 +147,7 @@ parameters: * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS +* `moca` - MoCA * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) diff --git a/actions/patch.dcim.interfaces.yaml b/actions/patch.dcim.interfaces.yaml index 4e4228af..0732e152 100644 --- a/actions/patch.dcim.interfaces.yaml +++ b/actions/patch.dcim.interfaces.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a interface object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device: required: false type: object @@ -48,10 +52,14 @@ parameters: * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) +* `1000base-sx` - 1000BASE-SX (1GE) +* `1000base-lx` - 1000BASE-LX (1GE) +* `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) +* `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) @@ -101,7 +109,9 @@ parameters: * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay +* `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) +* `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA @@ -141,6 +151,7 @@ parameters: * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS +* `moca` - MoCA * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) @@ -185,10 +196,10 @@ parameters: required: false type: integer description: "Mtu" - mac_address: + primary_mac_address: required: false - type: string - description: "Mac address" + type: object + description: "Primary mac address" speed: required: false type: integer @@ -218,7 +229,8 @@ parameters: * `access` - Access * `tagged` - Tagged -* `tagged-all` - Tagged (All)" +* `tagged-all` - Tagged (All) +* `q-in-q` - Q-in-Q (802.1ad)" rf_role: required: false type: string @@ -263,6 +275,14 @@ parameters: required: false type: array description: "Tagged vlans" + qinq_svlan: + required: false + type: object + description: "Qinq svlan" + vlan_translation_policy: + required: false + type: object + description: "Vlan translation policy" mark_connected: required: false type: boolean diff --git a/actions/patch.dcim.inventory_item_roles.yaml b/actions/patch.dcim.inventory_item_roles.yaml index bebae263..405c276b 100644 --- a/actions/patch.dcim.inventory_item_roles.yaml +++ b/actions/patch.dcim.inventory_item_roles.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a inventory item role object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/patch.dcim.inventory_item_templates.yaml b/actions/patch.dcim.inventory_item_templates.yaml index c5a6e83b..71e4133c 100644 --- a/actions/patch.dcim.inventory_item_templates.yaml +++ b/actions/patch.dcim.inventory_item_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a inventory item template object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device_type: required: false type: object diff --git a/actions/patch.dcim.inventory_items.yaml b/actions/patch.dcim.inventory_items.yaml index 8febba65..0c2721f0 100644 --- a/actions/patch.dcim.inventory_items.yaml +++ b/actions/patch.dcim.inventory_items.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a inventory item object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device: required: false type: object @@ -33,6 +37,15 @@ parameters: required: false type: string description: "Physical label" + status: + required: false + type: string + description: "* `offline` - Offline +* `active` - Active +* `planned` - Planned +* `staged` - Staged +* `failed` - Failed +* `decommissioning` - Decommissioning" role: required: false type: object diff --git a/actions/patch.dcim.locations.yaml b/actions/patch.dcim.locations.yaml index b23da539..d658909e 100644 --- a/actions/patch.dcim.locations.yaml +++ b/actions/patch.dcim.locations.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a location object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -61,6 +65,10 @@ parameters: required: false type: object description: "Custom fields" + comments: + required: false + type: string + description: "Comments" id: required: true type: integer diff --git a/actions/patch.dcim.mac_addresses.yaml b/actions/patch.dcim.mac_addresses.yaml new file mode 100644 index 00000000..d0fe20f9 --- /dev/null +++ b/actions/patch.dcim.mac_addresses.yaml @@ -0,0 +1,56 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Patch a MAC address object." +enabled: true +entry_point: run.py +name: patch.dcim.mac_addresses +parameters: + endpoint_uri: + default: "/dcim/mac-addresses/{{ id }}/" + immutable: true + type: string + http_verb: + default: patch + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + mac_address: + required: false + type: string + description: "Mac address" + assigned_object_type: + required: false + type: string + description: "Assigned object type" + assigned_object_id: + required: false + type: integer + description: "Assigned object id" + description: + required: false + type: string + description: "Description" + comments: + required: false + type: string + description: "Comments" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" + id: + required: true + type: integer + description: "ID of the object to patch." +runner_type: python-script diff --git a/actions/patch.dcim.manufacturers.yaml b/actions/patch.dcim.manufacturers.yaml index 2385db79..c7d7737e 100644 --- a/actions/patch.dcim.manufacturers.yaml +++ b/actions/patch.dcim.manufacturers.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a manufacturer object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/patch.dcim.module_bay_templates.yaml b/actions/patch.dcim.module_bay_templates.yaml index 901eba3b..a8bf6465 100644 --- a/actions/patch.dcim.module_bay_templates.yaml +++ b/actions/patch.dcim.module_bay_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a module bay template object." enabled: true entry_point: run.py @@ -17,10 +17,18 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device_type: required: false type: object description: "Device type" + module_type: + required: false + type: object + description: "Module type" name: required: false type: string diff --git a/actions/patch.dcim.module_bays.yaml b/actions/patch.dcim.module_bays.yaml index d979512d..f37eb056 100644 --- a/actions/patch.dcim.module_bays.yaml +++ b/actions/patch.dcim.module_bays.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a module bay object." enabled: true entry_point: run.py @@ -17,10 +17,18 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device: required: false type: object description: "Device" + module: + required: false + type: object + description: "Module" name: required: false type: string diff --git a/actions/patch.dcim.module_type_profiles.yaml b/actions/patch.dcim.module_type_profiles.yaml new file mode 100644 index 00000000..31eb5c23 --- /dev/null +++ b/actions/patch.dcim.module_type_profiles.yaml @@ -0,0 +1,52 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Patch a module type profile object." +enabled: true +entry_point: run.py +name: patch.dcim.module_type_profiles +parameters: + endpoint_uri: + default: "/dcim/module-type-profiles/{{ id }}/" + immutable: true + type: string + http_verb: + default: patch + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + name: + required: false + type: string + description: "Name" + description: + required: false + type: string + description: "Description" + schema: + required: false + type: object + description: "Schema" + comments: + required: false + type: string + description: "Comments" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" + id: + required: true + type: integer + description: "ID of the object to patch." +runner_type: python-script diff --git a/actions/patch.dcim.module_types.yaml b/actions/patch.dcim.module_types.yaml index a838ee62..29bb0b27 100644 --- a/actions/patch.dcim.module_types.yaml +++ b/actions/patch.dcim.module_types.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a module type object." enabled: true entry_point: run.py @@ -17,6 +17,14 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + profile: + required: false + type: object + description: "Profile" manufacturer: required: false type: object @@ -29,6 +37,15 @@ parameters: required: false type: string description: "Discrete part number (optional)" + airflow: + required: false + type: string + description: "* `front-to-rear` - Front to rear +* `rear-to-front` - Rear to front +* `left-to-right` - Left to right +* `right-to-left` - Right to left +* `side-to-rear` - Side to rear +* `passive` - Passive" weight: required: false type: integer @@ -44,6 +61,10 @@ parameters: required: false type: string description: "Description" + attributes: + required: false + type: object + description: "Attributes" comments: required: false type: string diff --git a/actions/patch.dcim.modules.yaml b/actions/patch.dcim.modules.yaml index f7898337..9db51964 100644 --- a/actions/patch.dcim.modules.yaml +++ b/actions/patch.dcim.modules.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a module object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device: required: false type: object diff --git a/actions/patch.dcim.platforms.yaml b/actions/patch.dcim.platforms.yaml index 7468c547..5bda2365 100644 --- a/actions/patch.dcim.platforms.yaml +++ b/actions/patch.dcim.platforms.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a platform object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/patch.dcim.power_feeds.yaml b/actions/patch.dcim.power_feeds.yaml index f5685153..dd5f1e03 100644 --- a/actions/patch.dcim.power_feeds.yaml +++ b/actions/patch.dcim.power_feeds.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a power feed object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. power_panel: required: false type: object diff --git a/actions/patch.dcim.power_outlet_templates.yaml b/actions/patch.dcim.power_outlet_templates.yaml index 3d10fb40..4d669ba7 100644 --- a/actions/patch.dcim.power_outlet_templates.yaml +++ b/actions/patch.dcim.power_outlet_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a power outlet template object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device_type: required: false type: object @@ -97,6 +101,7 @@ parameters: * `nema-l15-60r` - NEMA L15-60R * `nema-l21-20r` - NEMA L21-20R * `nema-l21-30r` - NEMA L21-30R +* `nema-l22-20r` - NEMA L22-20R * `nema-l22-30r` - NEMA L22-30R * `CS6360C` - CS6360C * `CS6364C` - CS6364C @@ -123,6 +128,7 @@ parameters: * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal +* `eaton-c39` - Eaton C39 * `hdot-cx` - HDOT Cx * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20a` - Neutrik powerCON (20A) diff --git a/actions/patch.dcim.power_outlets.yaml b/actions/patch.dcim.power_outlets.yaml index 143a2876..8fcf0582 100644 --- a/actions/patch.dcim.power_outlets.yaml +++ b/actions/patch.dcim.power_outlets.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a power outlet object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device: required: false type: object @@ -99,6 +103,7 @@ parameters: * `nema-l15-60r` - NEMA L15-60R * `nema-l21-20r` - NEMA L21-20R * `nema-l21-30r` - NEMA L21-30R +* `nema-l22-20r` - NEMA L22-20R * `nema-l22-30r` - NEMA L22-30R * `CS6360C` - CS6360C * `CS6364C` - CS6364C @@ -125,6 +130,7 @@ parameters: * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal +* `eaton-c39` - Eaton C39 * `hdot-cx` - HDOT Cx * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20a` - Neutrik powerCON (20A) @@ -134,6 +140,16 @@ parameters: * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other" + status: + required: false + type: string + description: "* `enabled` - Enabled +* `disabled` - Disabled +* `faulty` - Faulty" + color: + required: false + type: string + description: "Color" power_port: required: false type: object diff --git a/actions/patch.dcim.power_panels.yaml b/actions/patch.dcim.power_panels.yaml index 90c63e76..ce93b455 100644 --- a/actions/patch.dcim.power_panels.yaml +++ b/actions/patch.dcim.power_panels.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a power panel object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. site: required: false type: object diff --git a/actions/patch.dcim.power_port_templates.yaml b/actions/patch.dcim.power_port_templates.yaml index a431940f..a9d2b572 100644 --- a/actions/patch.dcim.power_port_templates.yaml +++ b/actions/patch.dcim.power_port_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a power port template object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device_type: required: false type: object @@ -97,6 +101,7 @@ parameters: * `nema-l15-60p` - NEMA L15-60P * `nema-l21-20p` - NEMA L21-20P * `nema-l21-30p` - NEMA L21-30P +* `nema-l22-20p` - NEMA L22-20P * `nema-l22-30p` - NEMA L22-30P * `cs6361c` - CS6361C * `cs6365c` - CS6365C diff --git a/actions/patch.dcim.power_ports.yaml b/actions/patch.dcim.power_ports.yaml index c97fb5e6..bc53f39d 100644 --- a/actions/patch.dcim.power_ports.yaml +++ b/actions/patch.dcim.power_ports.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a power port object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device: required: false type: object @@ -99,6 +103,7 @@ parameters: * `nema-l15-60p` - NEMA L15-60P * `nema-l21-20p` - NEMA L21-20P * `nema-l21-30p` - NEMA L21-30P +* `nema-l22-20p` - NEMA L22-20P * `nema-l22-30p` - NEMA L22-30P * `cs6361c` - CS6361C * `cs6365c` - CS6365C diff --git a/actions/patch.dcim.rack_reservations.yaml b/actions/patch.dcim.rack_reservations.yaml index 94dd80e6..2b898964 100644 --- a/actions/patch.dcim.rack_reservations.yaml +++ b/actions/patch.dcim.rack_reservations.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a rack reservation object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. rack: required: false type: object diff --git a/actions/patch.dcim.rack_roles.yaml b/actions/patch.dcim.rack_roles.yaml index ac55b18d..ba18e119 100644 --- a/actions/patch.dcim.rack_roles.yaml +++ b/actions/patch.dcim.rack_roles.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a rack role object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/patch.dcim.rack_types.yaml b/actions/patch.dcim.rack_types.yaml new file mode 100644 index 00000000..9f4f9b8e --- /dev/null +++ b/actions/patch.dcim.rack_types.yaml @@ -0,0 +1,123 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Patch a rack type object." +enabled: true +entry_point: run.py +name: patch.dcim.rack_types +parameters: + endpoint_uri: + default: "/dcim/rack-types/{{ id }}/" + immutable: true + type: string + http_verb: + default: patch + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + manufacturer: + required: false + type: object + description: "Manufacturer" + model: + required: false + type: string + description: "Model" + slug: + required: false + type: string + description: "Slug" + description: + required: false + type: string + description: "Description" + form_factor: + required: false + type: string + description: "* `2-post-frame` - 2-post frame +* `4-post-frame` - 4-post frame +* `4-post-cabinet` - 4-post cabinet +* `wall-frame` - Wall-mounted frame +* `wall-frame-vertical` - Wall-mounted frame (vertical) +* `wall-cabinet` - Wall-mounted cabinet +* `wall-cabinet-vertical` - Wall-mounted cabinet (vertical)" + width: + required: false + type: integer + description: "Rail-to-rail width + +* `10` - 10 inches +* `19` - 19 inches +* `21` - 21 inches +* `23` - 23 inches" + u_height: + required: false + type: integer + description: "Height (U)" + starting_unit: + required: false + type: integer + description: "Starting unit for rack" + desc_units: + required: false + type: boolean + description: "Descending units" + outer_width: + required: false + type: integer + description: "Outer dimension of rack (width)" + outer_height: + required: false + type: integer + description: "Outer dimension of rack (height)" + outer_depth: + required: false + type: integer + description: "Outer dimension of rack (depth)" + outer_unit: + required: false + type: string + description: "* `mm` - Millimeters +* `in` - Inches" + weight: + required: false + type: integer + description: "Weight" + max_weight: + required: false + type: integer + description: "Maximum load capacity for the rack" + weight_unit: + required: false + type: string + description: "* `kg` - Kilograms +* `g` - Grams +* `lb` - Pounds +* `oz` - Ounces" + mounting_depth: + required: false + type: integer + description: "Maximum depth of a mounted device, in millimeters. For four-post racks, this is the distance between the front and rear rails." + comments: + required: false + type: string + description: "Comments" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" + id: + required: true + type: integer + description: "ID of the object to patch." +runner_type: python-script diff --git a/actions/patch.dcim.racks.yaml b/actions/patch.dcim.racks.yaml index 4f151afb..bf607dfb 100644 --- a/actions/patch.dcim.racks.yaml +++ b/actions/patch.dcim.racks.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a rack object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -57,7 +61,11 @@ parameters: required: false type: string description: "A unique tag used to identify this rack" - type: + rack_type: + required: false + type: object + description: "Rack type" + form_factor: required: false type: string description: "* `2-post-frame` - 2-post frame @@ -107,6 +115,10 @@ parameters: required: false type: integer description: "Outer dimension of rack (width)" + outer_height: + required: false + type: integer + description: "Outer dimension of rack (height)" outer_depth: required: false type: integer @@ -120,6 +132,11 @@ parameters: required: false type: integer description: "Maximum depth of a mounted device, in millimeters. For four-post racks, this is the distance between the front and rear rails." + airflow: + required: false + type: string + description: "* `front-to-rear` - Front to rear +* `rear-to-front` - Rear to front" description: required: false type: string diff --git a/actions/patch.dcim.rear_port_templates.yaml b/actions/patch.dcim.rear_port_templates.yaml index 42092768..0b86e509 100644 --- a/actions/patch.dcim.rear_port_templates.yaml +++ b/actions/patch.dcim.rear_port_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a rear port template object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device_type: required: false type: object @@ -55,6 +59,9 @@ parameters: * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC +* `fc-pc` - FC/PC +* `fc-upc` - FC/UPC +* `fc-apc` - FC/APC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC @@ -82,6 +89,14 @@ parameters: * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice +* `usb-a` - USB Type A +* `usb-b` - USB Type B +* `usb-c` - USB Type C +* `usb-mini-a` - USB Mini A +* `usb-mini-b` - USB Mini B +* `usb-micro-a` - USB Micro A +* `usb-micro-b` - USB Micro B +* `usb-micro-ab` - USB Micro AB * `other` - Other" color: required: false diff --git a/actions/patch.dcim.rear_ports.yaml b/actions/patch.dcim.rear_ports.yaml index 53c8ce26..c20e20e1 100644 --- a/actions/patch.dcim.rear_ports.yaml +++ b/actions/patch.dcim.rear_ports.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a rear port object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device: required: false type: object @@ -55,6 +59,9 @@ parameters: * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC +* `fc-pc` - FC/PC +* `fc-upc` - FC/UPC +* `fc-apc` - FC/APC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC @@ -82,6 +89,14 @@ parameters: * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice +* `usb-a` - USB Type A +* `usb-b` - USB Type B +* `usb-c` - USB Type C +* `usb-mini-a` - USB Mini A +* `usb-mini-b` - USB Mini B +* `usb-micro-a` - USB Micro A +* `usb-micro-b` - USB Micro B +* `usb-micro-ab` - USB Micro AB * `other` - Other" color: required: false diff --git a/actions/patch.dcim.regions.yaml b/actions/patch.dcim.regions.yaml index e6d8360d..2c8f80ad 100644 --- a/actions/patch.dcim.regions.yaml +++ b/actions/patch.dcim.regions.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a region object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -41,6 +45,10 @@ parameters: required: false type: object description: "Custom fields" + comments: + required: false + type: string + description: "Comments" id: required: true type: integer diff --git a/actions/patch.dcim.site_groups.yaml b/actions/patch.dcim.site_groups.yaml index 11352eea..54caecad 100644 --- a/actions/patch.dcim.site_groups.yaml +++ b/actions/patch.dcim.site_groups.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a site group object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -41,6 +45,10 @@ parameters: required: false type: object description: "Custom fields" + comments: + required: false + type: string + description: "Comments" id: required: true type: integer diff --git a/actions/patch.dcim.sites.yaml b/actions/patch.dcim.sites.yaml index 213b4177..89af31fb 100644 --- a/actions/patch.dcim.sites.yaml +++ b/actions/patch.dcim.sites.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a site object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/patch.dcim.virtual_chassis.yaml b/actions/patch.dcim.virtual_chassis.yaml index ae8e1b44..474e1eac 100644 --- a/actions/patch.dcim.virtual_chassis.yaml +++ b/actions/patch.dcim.virtual_chassis.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a virtual chassis object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/patch.dcim.virtual_device_contexts.yaml b/actions/patch.dcim.virtual_device_contexts.yaml index e52c5874..fb3fc53c 100644 --- a/actions/patch.dcim.virtual_device_contexts.yaml +++ b/actions/patch.dcim.virtual_device_contexts.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a virtual device context object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/patch.extras.bookmarks.yaml b/actions/patch.extras.bookmarks.yaml index 50f1c098..631b7fdb 100644 --- a/actions/patch.extras.bookmarks.yaml +++ b/actions/patch.extras.bookmarks.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a bookmark object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. object_type: required: false type: string diff --git a/actions/patch.extras.config_contexts.yaml b/actions/patch.extras.config_contexts.yaml index 77e31c84..59f1f69c 100644 --- a/actions/patch.extras.config_contexts.yaml +++ b/actions/patch.extras.config_contexts.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a config context object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/patch.extras.config_templates.yaml b/actions/patch.extras.config_templates.yaml index b8e4458f..8477dfc4 100644 --- a/actions/patch.extras.config_templates.yaml +++ b/actions/patch.extras.config_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a config template object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -32,7 +36,23 @@ parameters: template_code: required: false type: string - description: "Jinja2 template code." + description: "Jinja template code." + mime_type: + required: false + type: string + description: "Defaults to <code>text/plain; charset=utf-8</code>" + file_name: + required: false + type: string + description: "Filename to give to the rendered export file" + file_extension: + required: false + type: string + description: "Extension to append to the rendered filename" + as_attachment: + required: false + type: boolean + description: "Download file as attachment" data_source: required: false type: object diff --git a/actions/patch.extras.custom_field_choice_sets.yaml b/actions/patch.extras.custom_field_choice_sets.yaml index d74a3aef..a76b2303 100644 --- a/actions/patch.extras.custom_field_choice_sets.yaml +++ b/actions/patch.extras.custom_field_choice_sets.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a custom field choice set object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/patch.extras.custom_fields.yaml b/actions/patch.extras.custom_fields.yaml index 708c3ecf..b3eafd5f 100644 --- a/actions/patch.extras.custom_fields.yaml +++ b/actions/patch.extras.custom_fields.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a custom field object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. object_types: required: false type: array @@ -62,7 +66,11 @@ parameters: required: required: false type: boolean - description: "If true, this field is required when creating new objects or editing an existing object." + description: "This field is required when creating new objects or editing an existing object." + unique: + required: false + type: boolean + description: "Must be unique" search_weight: required: false type: integer @@ -99,6 +107,10 @@ parameters: required: false type: object description: "Default value for the field (must be a JSON value). Encapsulate strings with double quotes (e.g. "Foo")." + related_object_filter: + required: false + type: object + description: "Filter the object selection choices using a query_params dict (must be a JSON value).Encapsulate strings with double quotes (e.g. "Foo")." weight: required: false type: integer diff --git a/actions/patch.extras.custom_links.yaml b/actions/patch.extras.custom_links.yaml index 794b0ca6..ccbfd185 100644 --- a/actions/patch.extras.custom_links.yaml +++ b/actions/patch.extras.custom_links.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a custom link object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. object_types: required: false type: array @@ -50,7 +54,7 @@ parameters: type: string description: "The class of the first link in a group will be used for the dropdown button -* `outline-dark` - Default +* `default` - Default * `blue` - Blue * `indigo` - Indigo * `purple` - Purple diff --git a/actions/patch.extras.dashboard.yaml b/actions/patch.extras.dashboard.yaml index 493eac14..497e29c1 100644 --- a/actions/patch.extras.dashboard.yaml +++ b/actions/patch.extras.dashboard.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a list of dashboard objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. layout: required: false type: object diff --git a/actions/patch.extras.event_rules.yaml b/actions/patch.extras.event_rules.yaml index bdc88351..b4f2d961 100644 --- a/actions/patch.extras.event_rules.yaml +++ b/actions/patch.extras.event_rules.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a event rule object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. object_types: required: false type: array @@ -25,30 +29,14 @@ parameters: required: false type: string description: "Name" - type_create: - required: false - type: boolean - description: "On create" - type_update: - required: false - type: boolean - description: "On update" - type_delete: - required: false - type: boolean - description: "On delete" - type_job_start: - required: false - type: boolean - description: "On job start" - type_job_end: - required: false - type: boolean - description: "On job end" enabled: required: false type: boolean description: "Enabled" + event_types: + required: false + type: array + description: "The types of event which will trigger this rule." conditions: required: false type: object @@ -57,7 +45,8 @@ parameters: required: false type: string description: "* `webhook` - Webhook -* `script` - Script" +* `script` - Script +* `notification` - Notification" action_object_type: required: false type: string diff --git a/actions/patch.extras.export_templates.yaml b/actions/patch.extras.export_templates.yaml index e83a9439..275b5035 100644 --- a/actions/patch.extras.export_templates.yaml +++ b/actions/patch.extras.export_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a export template object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. object_types: required: false type: array @@ -29,14 +33,22 @@ parameters: required: false type: string description: "Description" + environment_params: + required: false + type: object + description: "Environment parameters" template_code: required: false type: string - description: "Jinja2 template code. The list of objects being exported is passed as a context variable named <code>queryset</code>." + description: "Jinja template code." mime_type: required: false type: string description: "Defaults to <code>text/plain; charset=utf-8</code>" + file_name: + required: false + type: string + description: "Filename to give to the rendered export file" file_extension: required: false type: string diff --git a/actions/patch.extras.image_attachments.yaml b/actions/patch.extras.image_attachments.yaml index 819ee676..b458e853 100644 --- a/actions/patch.extras.image_attachments.yaml +++ b/actions/patch.extras.image_attachments.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a image attachment object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. object_type: required: false type: string @@ -33,14 +37,6 @@ parameters: required: false type: string description: "Image" - image_height: - required: false - type: integer - description: "Image height" - image_width: - required: false - type: integer - description: "Image width" id: required: true type: integer diff --git a/actions/patch.extras.journal_entries.yaml b/actions/patch.extras.journal_entries.yaml index 0e017c45..f4f3a6d2 100644 --- a/actions/patch.extras.journal_entries.yaml +++ b/actions/patch.extras.journal_entries.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a journal entry object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. assigned_object_type: required: false type: string diff --git a/actions/patch.extras.notification_groups.yaml b/actions/patch.extras.notification_groups.yaml new file mode 100644 index 00000000..48b0e5c2 --- /dev/null +++ b/actions/patch.extras.notification_groups.yaml @@ -0,0 +1,44 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Patch a notification group object." +enabled: true +entry_point: run.py +name: patch.extras.notification_groups +parameters: + endpoint_uri: + default: "/extras/notification-groups/{{ id }}/" + immutable: true + type: string + http_verb: + default: patch + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + name: + required: false + type: string + description: "Name" + description: + required: false + type: string + description: "Description" + groups: + required: false + type: array + description: "Groups" + users: + required: false + type: array + description: "Users" + id: + required: true + type: integer + description: "ID of the object to patch." +runner_type: python-script diff --git a/actions/patch.extras.notifications.yaml b/actions/patch.extras.notifications.yaml new file mode 100644 index 00000000..289bf22c --- /dev/null +++ b/actions/patch.extras.notifications.yaml @@ -0,0 +1,48 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Patch a notification object." +enabled: true +entry_point: run.py +name: patch.extras.notifications +parameters: + endpoint_uri: + default: "/extras/notifications/{{ id }}/" + immutable: true + type: string + http_verb: + default: patch + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + object_type: + required: false + type: string + description: "Object type" + object_id: + required: false + type: integer + description: "Object id" + user: + required: false + type: object + description: "User" + read: + required: false + type: string + description: "Read" + event_type: + required: false + type: string + description: "Event" + id: + required: true + type: integer + description: "ID of the object to patch." +runner_type: python-script diff --git a/actions/patch.extras.saved_filters.yaml b/actions/patch.extras.saved_filters.yaml index 7fff9bfa..1cc46c74 100644 --- a/actions/patch.extras.saved_filters.yaml +++ b/actions/patch.extras.saved_filters.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a saved filter object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. object_types: required: false type: array diff --git a/actions/patch.extras.scripts.yaml b/actions/patch.extras.scripts.yaml index 18d5b256..d1a159dc 100644 --- a/actions/patch.extras.scripts.yaml +++ b/actions/patch.extras.scripts.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a script object." enabled: true entry_point: run.py @@ -17,6 +17,26 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + data: + required: false + type: object + description: "Data" + commit: + required: false + type: boolean + description: "Commit" + schedule_at: + required: false + type: string + description: "Schedule at" + interval: + required: false + type: integer + description: "Interval" id: required: true type: integer diff --git a/actions/patch.extras.subscriptions.yaml b/actions/patch.extras.subscriptions.yaml new file mode 100644 index 00000000..53acdffb --- /dev/null +++ b/actions/patch.extras.subscriptions.yaml @@ -0,0 +1,40 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Patch a subscription object." +enabled: true +entry_point: run.py +name: patch.extras.subscriptions +parameters: + endpoint_uri: + default: "/extras/subscriptions/{{ id }}/" + immutable: true + type: string + http_verb: + default: patch + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + object_type: + required: false + type: string + description: "Object type" + object_id: + required: false + type: integer + description: "Object id" + user: + required: false + type: object + description: "User" + id: + required: true + type: integer + description: "ID of the object to patch." +runner_type: python-script diff --git a/actions/patch.extras.table_configs.yaml b/actions/patch.extras.table_configs.yaml new file mode 100644 index 00000000..760a79fb --- /dev/null +++ b/actions/patch.extras.table_configs.yaml @@ -0,0 +1,68 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Patch a table config object." +enabled: true +entry_point: run.py +name: patch.extras.table_configs +parameters: + endpoint_uri: + default: "/extras/table-configs/{{ id }}/" + immutable: true + type: string + http_verb: + default: patch + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + object_type: + required: false + type: string + description: "Object type" + table: + required: false + type: string + description: "Table" + name: + required: false + type: string + description: "Name" + description: + required: false + type: string + description: "Description" + user: + required: false + type: integer + description: "User" + weight: + required: false + type: integer + description: "Weight" + enabled: + required: false + type: boolean + description: "Enabled" + shared: + required: false + type: boolean + description: "Shared" + columns: + required: false + type: array + description: "Columns" + ordering: + required: false + type: array + description: "Ordering" + id: + required: true + type: integer + description: "ID of the object to patch." +runner_type: python-script diff --git a/actions/patch.extras.tags.yaml b/actions/patch.extras.tags.yaml index b984c201..8431ccb4 100644 --- a/actions/patch.extras.tags.yaml +++ b/actions/patch.extras.tags.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a tag object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -33,6 +37,10 @@ parameters: required: false type: string description: "Description" + weight: + required: false + type: integer + description: "Weight" object_types: required: false type: array diff --git a/actions/patch.extras.webhooks.yaml b/actions/patch.extras.webhooks.yaml index 2847e9c8..d55a4e3d 100644 --- a/actions/patch.extras.webhooks.yaml +++ b/actions/patch.extras.webhooks.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a webhook object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/patch.ipam.aggregates.yaml b/actions/patch.ipam.aggregates.yaml index 52397c79..98ce9439 100644 --- a/actions/patch.ipam.aggregates.yaml +++ b/actions/patch.ipam.aggregates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a aggregate object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. prefix: required: false type: string diff --git a/actions/patch.ipam.asn_ranges.yaml b/actions/patch.ipam.asn_ranges.yaml index ea2adab2..58e3ec0d 100644 --- a/actions/patch.ipam.asn_ranges.yaml +++ b/actions/patch.ipam.asn_ranges.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a ASN range object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/patch.ipam.asns.yaml b/actions/patch.ipam.asns.yaml index 621ea1a6..cc5c6da4 100644 --- a/actions/patch.ipam.asns.yaml +++ b/actions/patch.ipam.asns.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a ASN object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. asn: required: false type: integer diff --git a/actions/patch.ipam.fhrp_group_assignments.yaml b/actions/patch.ipam.fhrp_group_assignments.yaml index e17594a4..0d2d3305 100644 --- a/actions/patch.ipam.fhrp_group_assignments.yaml +++ b/actions/patch.ipam.fhrp_group_assignments.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a FHRP group assignment object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. group: required: false type: object diff --git a/actions/patch.ipam.fhrp_groups.yaml b/actions/patch.ipam.fhrp_groups.yaml index ab9f8cb9..3c6466a8 100644 --- a/actions/patch.ipam.fhrp_groups.yaml +++ b/actions/patch.ipam.fhrp_groups.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a FHRP group object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/patch.ipam.ip_addresses.yaml b/actions/patch.ipam.ip_addresses.yaml index 700e8ce6..ad4b153c 100644 --- a/actions/patch.ipam.ip_addresses.yaml +++ b/actions/patch.ipam.ip_addresses.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a IP address object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. address: required: false type: string diff --git a/actions/patch.ipam.ip_ranges.yaml b/actions/patch.ipam.ip_ranges.yaml index c8714535..f216b009 100644 --- a/actions/patch.ipam.ip_ranges.yaml +++ b/actions/patch.ipam.ip_ranges.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a IP range object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. start_address: required: false type: string @@ -61,10 +65,14 @@ parameters: required: false type: object description: "Custom fields" + mark_populated: + required: false + type: boolean + description: "Prevent the creation of IP addresses within this range" mark_utilized: required: false type: boolean - description: "Treat as fully utilized" + description: "Report space as 100% utilized" id: required: true type: integer diff --git a/actions/patch.ipam.prefixes.yaml b/actions/patch.ipam.prefixes.yaml index 9cc3c6b6..bfb5b8d8 100644 --- a/actions/patch.ipam.prefixes.yaml +++ b/actions/patch.ipam.prefixes.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a prefix object." enabled: true entry_point: run.py @@ -17,18 +17,26 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. prefix: required: false type: string description: "Prefix" - site: - required: false - type: object - description: "Site" vrf: required: false type: object description: "Vrf" + scope_type: + required: false + type: string + description: "Scope type" + scope_id: + required: false + type: integer + description: "Scope id" tenant: required: false type: object diff --git a/actions/patch.ipam.rirs.yaml b/actions/patch.ipam.rirs.yaml index 867883dc..71cd72eb 100644 --- a/actions/patch.ipam.rirs.yaml +++ b/actions/patch.ipam.rirs.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a RIR object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/patch.ipam.roles.yaml b/actions/patch.ipam.roles.yaml index b0a4858a..aff795ef 100644 --- a/actions/patch.ipam.roles.yaml +++ b/actions/patch.ipam.roles.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a role object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/patch.ipam.route_targets.yaml b/actions/patch.ipam.route_targets.yaml index 7298369c..7c2ab4f1 100644 --- a/actions/patch.ipam.route_targets.yaml +++ b/actions/patch.ipam.route_targets.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a route target object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/patch.ipam.service_templates.yaml b/actions/patch.ipam.service_templates.yaml index 999e45d5..d073ce1b 100644 --- a/actions/patch.ipam.service_templates.yaml +++ b/actions/patch.ipam.service_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a service template object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/patch.ipam.services.yaml b/actions/patch.ipam.services.yaml index fd038167..d9abe664 100644 --- a/actions/patch.ipam.services.yaml +++ b/actions/patch.ipam.services.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a service object." enabled: true entry_point: run.py @@ -17,14 +17,18 @@ parameters: default: true immutable: true type: boolean - device: + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + parent_object_type: required: false - type: object - description: "Device" - virtual_machine: + type: string + description: "Parent object type" + parent_object_id: required: false - type: object - description: "Virtual machine" + type: integer + description: "Parent object id" name: required: false type: string diff --git a/actions/patch.ipam.vlan_groups.yaml b/actions/patch.ipam.vlan_groups.yaml index 43710e5d..acee22a1 100644 --- a/actions/patch.ipam.vlan_groups.yaml +++ b/actions/patch.ipam.vlan_groups.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a VLAN group object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -33,14 +37,14 @@ parameters: required: false type: integer description: "Scope id" - min_vid: + vid_ranges: required: false - type: integer - description: "Minimum VLAN ID" - max_vid: + type: array + description: "Vid ranges" + tenant: required: false - type: integer - description: "Maximum VLAN ID" + type: object + description: "Tenant" description: required: false type: string diff --git a/actions/patch.ipam.vlan_translation_policies.yaml b/actions/patch.ipam.vlan_translation_policies.yaml new file mode 100644 index 00000000..0ec87071 --- /dev/null +++ b/actions/patch.ipam.vlan_translation_policies.yaml @@ -0,0 +1,36 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Patch a VLAN translation policy object." +enabled: true +entry_point: run.py +name: patch.ipam.vlan_translation_policies +parameters: + endpoint_uri: + default: "/ipam/vlan-translation-policies/{{ id }}/" + immutable: true + type: string + http_verb: + default: patch + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + name: + required: false + type: string + description: "Name" + description: + required: false + type: string + description: "Description" + id: + required: true + type: integer + description: "ID of the object to patch." +runner_type: python-script diff --git a/actions/patch.ipam.vlan_translation_rules.yaml b/actions/patch.ipam.vlan_translation_rules.yaml new file mode 100644 index 00000000..abbd3987 --- /dev/null +++ b/actions/patch.ipam.vlan_translation_rules.yaml @@ -0,0 +1,44 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Patch a VLAN translation rule object." +enabled: true +entry_point: run.py +name: patch.ipam.vlan_translation_rules +parameters: + endpoint_uri: + default: "/ipam/vlan-translation-rules/{{ id }}/" + immutable: true + type: string + http_verb: + default: patch + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + policy: + required: false + type: integer + description: "Policy" + local_vid: + required: false + type: integer + description: "Local VLAN ID" + remote_vid: + required: false + type: integer + description: "Remote VLAN ID" + description: + required: false + type: string + description: "Description" + id: + required: true + type: integer + description: "ID of the object to patch." +runner_type: python-script diff --git a/actions/patch.ipam.vlans.yaml b/actions/patch.ipam.vlans.yaml index f54f1acb..2d93a4ef 100644 --- a/actions/patch.ipam.vlans.yaml +++ b/actions/patch.ipam.vlans.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a VLAN object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. site: required: false type: object @@ -53,6 +57,14 @@ parameters: required: false type: string description: "Description" + qinq_role: + required: false + type: string + description: "Q-in-Q role" + qinq_svlan: + required: false + type: integer + description: "Qinq svlan" comments: required: false type: string diff --git a/actions/patch.ipam.vrfs.yaml b/actions/patch.ipam.vrfs.yaml index 49846126..30c6c7e0 100644 --- a/actions/patch.ipam.vrfs.yaml +++ b/actions/patch.ipam.vrfs.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a VRF object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/patch.tenancy.contact_assignments.yaml b/actions/patch.tenancy.contact_assignments.yaml index 6fa34220..353cc65a 100644 --- a/actions/patch.tenancy.contact_assignments.yaml +++ b/actions/patch.tenancy.contact_assignments.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a contact assignment object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. object_type: required: false type: string diff --git a/actions/patch.tenancy.contact_groups.yaml b/actions/patch.tenancy.contact_groups.yaml index e1ab9287..fde7c4fa 100644 --- a/actions/patch.tenancy.contact_groups.yaml +++ b/actions/patch.tenancy.contact_groups.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a contact group object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -41,6 +45,10 @@ parameters: required: false type: object description: "Custom fields" + comments: + required: false + type: string + description: "Comments" id: required: true type: integer diff --git a/actions/patch.tenancy.contact_roles.yaml b/actions/patch.tenancy.contact_roles.yaml index 35170bf1..9f2c7964 100644 --- a/actions/patch.tenancy.contact_roles.yaml +++ b/actions/patch.tenancy.contact_roles.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a contact role object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/patch.tenancy.contacts.yaml b/actions/patch.tenancy.contacts.yaml index 173d50cb..be5e3606 100644 --- a/actions/patch.tenancy.contacts.yaml +++ b/actions/patch.tenancy.contacts.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a contact object." enabled: true entry_point: run.py @@ -17,10 +17,14 @@ parameters: default: true immutable: true type: boolean - group: + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + groups: required: false - type: object - description: "Group" + type: array + description: "Groups" name: required: false type: string diff --git a/actions/patch.tenancy.tenant_groups.yaml b/actions/patch.tenancy.tenant_groups.yaml index 80d4ea2e..e3081c3a 100644 --- a/actions/patch.tenancy.tenant_groups.yaml +++ b/actions/patch.tenancy.tenant_groups.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a tenant group object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -41,6 +45,10 @@ parameters: required: false type: object description: "Custom fields" + comments: + required: false + type: string + description: "Comments" id: required: true type: integer diff --git a/actions/patch.tenancy.tenants.yaml b/actions/patch.tenancy.tenants.yaml index e0c20522..c6f1a226 100644 --- a/actions/patch.tenancy.tenants.yaml +++ b/actions/patch.tenancy.tenants.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a tenant object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/patch.users.groups.yaml b/actions/patch.users.groups.yaml index 95165e11..46228b86 100644 --- a/actions/patch.users.groups.yaml +++ b/actions/patch.users.groups.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a group object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/patch.users.permissions.yaml b/actions/patch.users.permissions.yaml index 71b4ee8b..7fbce2c2 100644 --- a/actions/patch.users.permissions.yaml +++ b/actions/patch.users.permissions.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a permission object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/patch.users.tokens.yaml b/actions/patch.users.tokens.yaml index ba76978b..f3e82b25 100644 --- a/actions/patch.users.tokens.yaml +++ b/actions/patch.users.tokens.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a token object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. user: required: false type: object diff --git a/actions/patch.users.users.yaml b/actions/patch.users.users.yaml index 836418db..a8662264 100644 --- a/actions/patch.users.users.yaml +++ b/actions/patch.users.users.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a user object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. username: required: false type: string diff --git a/actions/patch.virtualization.cluster_groups.yaml b/actions/patch.virtualization.cluster_groups.yaml index acb9edef..a9c1dec4 100644 --- a/actions/patch.virtualization.cluster_groups.yaml +++ b/actions/patch.virtualization.cluster_groups.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a cluster group object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/patch.virtualization.cluster_types.yaml b/actions/patch.virtualization.cluster_types.yaml index 873620f3..fd27606f 100644 --- a/actions/patch.virtualization.cluster_types.yaml +++ b/actions/patch.virtualization.cluster_types.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a cluster type object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/patch.virtualization.clusters.yaml b/actions/patch.virtualization.clusters.yaml index 16469871..e0b34abf 100644 --- a/actions/patch.virtualization.clusters.yaml +++ b/actions/patch.virtualization.clusters.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a cluster object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -41,10 +45,14 @@ parameters: required: false type: object description: "Tenant" - site: + scope_type: required: false - type: object - description: "Site" + type: string + description: "Scope type" + scope_id: + required: false + type: integer + description: "Scope id" description: required: false type: string diff --git a/actions/patch.virtualization.interfaces.yaml b/actions/patch.virtualization.interfaces.yaml index ffaf0010..7caca2c8 100644 --- a/actions/patch.virtualization.interfaces.yaml +++ b/actions/patch.virtualization.interfaces.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a interface object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. virtual_machine: required: false type: object @@ -41,10 +45,10 @@ parameters: required: false type: integer description: "Mtu" - mac_address: + primary_mac_address: required: false - type: string - description: "Mac address" + type: object + description: "Primary mac address" description: required: false type: string @@ -56,7 +60,8 @@ parameters: * `access` - Access * `tagged` - Tagged -* `tagged-all` - Tagged (All)" +* `tagged-all` - Tagged (All) +* `q-in-q` - Q-in-Q (802.1ad)" untagged_vlan: required: false type: object @@ -65,6 +70,14 @@ parameters: required: false type: array description: "Tagged vlans" + qinq_svlan: + required: false + type: object + description: "Qinq svlan" + vlan_translation_policy: + required: false + type: object + description: "Vlan translation policy" vrf: required: false type: object diff --git a/actions/patch.virtualization.virtual_disks.yaml b/actions/patch.virtualization.virtual_disks.yaml index 4d85ca05..48627792 100644 --- a/actions/patch.virtualization.virtual_disks.yaml +++ b/actions/patch.virtualization.virtual_disks.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a virtual disk object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. virtual_machine: required: false type: object @@ -32,7 +36,7 @@ parameters: size: required: false type: integer - description: "Size (GB)" + description: "Size (MB)" tags: required: false type: array diff --git a/actions/patch.virtualization.virtual_machines.yaml b/actions/patch.virtualization.virtual_machines.yaml index 7e943166..5a190e02 100644 --- a/actions/patch.virtualization.virtual_machines.yaml +++ b/actions/patch.virtualization.virtual_machines.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a virtual machine object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -29,7 +33,8 @@ parameters: * `planned` - Planned * `staged` - Staged * `failed` - Failed -* `decommissioning` - Decommissioning" +* `decommissioning` - Decommissioning +* `paused` - Paused" site: required: false type: object @@ -42,6 +47,10 @@ parameters: required: false type: object description: "Device" + serial: + required: false + type: string + description: "Serial number" role: required: false type: object @@ -73,7 +82,7 @@ parameters: disk: required: false type: integer - description: "Disk (GB)" + description: "Disk (MB)" description: required: false type: string diff --git a/actions/patch.vpn.ike_policies.yaml b/actions/patch.vpn.ike_policies.yaml index 1cf1f93a..35a05744 100644 --- a/actions/patch.vpn.ike_policies.yaml +++ b/actions/patch.vpn.ike_policies.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a IKE policy object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/patch.vpn.ike_proposals.yaml b/actions/patch.vpn.ike_proposals.yaml index 1a172133..e7da3c40 100644 --- a/actions/patch.vpn.ike_proposals.yaml +++ b/actions/patch.vpn.ike_proposals.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a IKE proposal object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/patch.vpn.ipsec_policies.yaml b/actions/patch.vpn.ipsec_policies.yaml index 821c3b6a..0f75140a 100644 --- a/actions/patch.vpn.ipsec_policies.yaml +++ b/actions/patch.vpn.ipsec_policies.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a IPSec policy object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/patch.vpn.ipsec_profiles.yaml b/actions/patch.vpn.ipsec_profiles.yaml index d70e13bf..e8fa2069 100644 --- a/actions/patch.vpn.ipsec_profiles.yaml +++ b/actions/patch.vpn.ipsec_profiles.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a IPSec profile object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/patch.vpn.ipsec_proposals.yaml b/actions/patch.vpn.ipsec_proposals.yaml index 33bd1f62..7f5c8cda 100644 --- a/actions/patch.vpn.ipsec_proposals.yaml +++ b/actions/patch.vpn.ipsec_proposals.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a IPSec proposal object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/patch.vpn.l2vpn_terminations.yaml b/actions/patch.vpn.l2vpn_terminations.yaml index e4e5bad1..bb5a8475 100644 --- a/actions/patch.vpn.l2vpn_terminations.yaml +++ b/actions/patch.vpn.l2vpn_terminations.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a L2VPN termination object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. l2vpn: required: false type: object diff --git a/actions/patch.vpn.l2vpns.yaml b/actions/patch.vpn.l2vpns.yaml index 49d44131..8e3a9117 100644 --- a/actions/patch.vpn.l2vpns.yaml +++ b/actions/patch.vpn.l2vpns.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a L2VPN object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. identifier: required: false type: integer @@ -38,12 +42,20 @@ parameters: * `vxlan-evpn` - VXLAN-EVPN * `mpls-evpn` - MPLS EVPN * `pbb-evpn` - PBB EVPN +* `evpn-vpws` - EVPN VPWS * `epl` - EPL * `evpl` - EVPL * `ep-lan` - Ethernet Private LAN * `evp-lan` - Ethernet Virtual Private LAN * `ep-tree` - Ethernet Private Tree -* `evp-tree` - Ethernet Virtual Private Tree" +* `evp-tree` - Ethernet Virtual Private Tree +* `spb` - SPB" + status: + required: false + type: string + description: "* `active` - Active +* `planned` - Planned +* `decommissioning` - Decommissioning" import_targets: required: false type: array diff --git a/actions/patch.vpn.tunnel_groups.yaml b/actions/patch.vpn.tunnel_groups.yaml index 55118c43..727fc11a 100644 --- a/actions/patch.vpn.tunnel_groups.yaml +++ b/actions/patch.vpn.tunnel_groups.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a tunnel group object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/patch.vpn.tunnel_terminations.yaml b/actions/patch.vpn.tunnel_terminations.yaml index 4296efea..53015af9 100644 --- a/actions/patch.vpn.tunnel_terminations.yaml +++ b/actions/patch.vpn.tunnel_terminations.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a tunnel termination object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. tunnel: required: false type: object diff --git a/actions/patch.vpn.tunnels.yaml b/actions/patch.vpn.tunnels.yaml index d3050f9a..e9d6f85b 100644 --- a/actions/patch.vpn.tunnels.yaml +++ b/actions/patch.vpn.tunnels.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a tunnel object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -37,7 +41,11 @@ parameters: description: "* `ipsec-transport` - IPsec - Transport * `ipsec-tunnel` - IPsec - Tunnel * `ip-ip` - IP-in-IP -* `gre` - GRE" +* `gre` - GRE +* `wireguard` - WireGuard +* `openvpn` - OpenVPN +* `l2tp` - L2TP +* `pptp` - PPTP" ipsec_profile: required: false type: object diff --git a/actions/patch.wireless.wireless_lan_groups.yaml b/actions/patch.wireless.wireless_lan_groups.yaml index 65718829..d0f27528 100644 --- a/actions/patch.wireless.wireless_lan_groups.yaml +++ b/actions/patch.wireless.wireless_lan_groups.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a wireless LAN group object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -41,6 +45,10 @@ parameters: required: false type: object description: "Custom fields" + comments: + required: false + type: string + description: "Comments" id: required: true type: integer diff --git a/actions/patch.wireless.wireless_lans.yaml b/actions/patch.wireless.wireless_lans.yaml index 6c659a40..7b64f6ae 100644 --- a/actions/patch.wireless.wireless_lans.yaml +++ b/actions/patch.wireless.wireless_lans.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a wireless LAN object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. ssid: required: false type: string @@ -40,6 +44,14 @@ parameters: required: false type: object description: "Vlan" + scope_type: + required: false + type: string + description: "Scope type" + scope_id: + required: false + type: integer + description: "Scope id" tenant: required: false type: object diff --git a/actions/patch.wireless.wireless_links.yaml b/actions/patch.wireless.wireless_links.yaml index 717a465a..787acdba 100644 --- a/actions/patch.wireless.wireless_links.yaml +++ b/actions/patch.wireless.wireless_links.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Patch a wireless link object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. interface_a: required: false type: object @@ -51,6 +55,17 @@ parameters: required: false type: string description: "Pre-shared key" + distance: + required: false + type: integer + description: "Distance" + distance_unit: + required: false + type: string + description: "* `km` - Kilometers +* `m` - Meters +* `mi` - Miles +* `ft` - Feet" description: required: false type: string diff --git a/actions/post.circuits.circuit_group_assignments.yaml b/actions/post.circuits.circuit_group_assignments.yaml new file mode 100644 index 00000000..889ac284 --- /dev/null +++ b/actions/post.circuits.circuit_group_assignments.yaml @@ -0,0 +1,47 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Post a list of Circuit group assignment objects." +enabled: true +entry_point: run.py +name: post.circuits.circuit_group_assignments +parameters: + endpoint_uri: + default: "/circuits/circuit-group-assignments/" + immutable: true + type: string + http_verb: + default: post + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + group: + required: false + type: object + description: "Group" + member_type: + required: false + type: string + description: "Member type" + member_id: + required: false + type: integer + description: "Member id" + priority: + required: false + type: string + description: "* `primary` - Primary +* `secondary` - Secondary +* `tertiary` - Tertiary +* `inactive` - Inactive" + tags: + required: false + type: array + description: "Array of tag strings" +runner_type: python-script diff --git a/actions/post.circuits.circuit_groups.yaml b/actions/post.circuits.circuit_groups.yaml new file mode 100644 index 00000000..f7528c5c --- /dev/null +++ b/actions/post.circuits.circuit_groups.yaml @@ -0,0 +1,48 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Post a list of circuit group objects." +enabled: true +entry_point: run.py +name: post.circuits.circuit_groups +parameters: + endpoint_uri: + default: "/circuits/circuit-groups/" + immutable: true + type: string + http_verb: + default: post + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + name: + required: false + type: string + description: "Name" + slug: + required: false + type: string + description: "Slug" + description: + required: false + type: string + description: "Description" + tenant: + required: false + type: object + description: "Tenant" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" +runner_type: python-script diff --git a/actions/post.circuits.circuit_terminations.yaml b/actions/post.circuits.circuit_terminations.yaml index 137865b4..5e4a7ffe 100644 --- a/actions/post.circuits.circuit_terminations.yaml +++ b/actions/post.circuits.circuit_terminations.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of circuit termination objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. circuit: required: false type: object @@ -24,15 +28,15 @@ parameters: term_side: required: false type: string - description: "Termination" - site: + description: "Termination side" + termination_type: required: false - type: object - description: "Site" - provider_network: + type: string + description: "Termination type" + termination_id: required: false - type: object - description: "Provider network" + type: integer + description: "Termination id" port_speed: required: false type: integer diff --git a/actions/post.circuits.circuit_types.yaml b/actions/post.circuits.circuit_types.yaml index 365fa9c0..91fa3b59 100644 --- a/actions/post.circuits.circuit_types.yaml +++ b/actions/post.circuits.circuit_types.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of circuit type objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/post.circuits.circuits.yaml b/actions/post.circuits.circuits.yaml index ec31c607..a3834bb4 100644 --- a/actions/post.circuits.circuits.yaml +++ b/actions/post.circuits.circuits.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of circuit objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. cid: required: false type: string @@ -62,6 +66,17 @@ parameters: required: false type: string description: "Description" + distance: + required: false + type: integer + description: "Distance" + distance_unit: + required: false + type: string + description: "* `km` - Kilometers +* `m` - Meters +* `mi` - Miles +* `ft` - Feet" comments: required: false type: string @@ -74,4 +89,8 @@ parameters: required: false type: object description: "Custom fields" + assignments: + required: false + type: array + description: "Assignments" runner_type: python-script diff --git a/actions/post.circuits.provider_accounts.yaml b/actions/post.circuits.provider_accounts.yaml index 483b452a..3495ea5e 100644 --- a/actions/post.circuits.provider_accounts.yaml +++ b/actions/post.circuits.provider_accounts.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of provider account objects." enabled: true entry_point: run.py @@ -17,6 +17,14 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + provider: + required: false + type: object + description: "Provider" name: required: false type: string @@ -29,4 +37,16 @@ parameters: required: false type: string description: "Description" + comments: + required: false + type: string + description: "Comments" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" runner_type: python-script diff --git a/actions/post.circuits.provider_networks.yaml b/actions/post.circuits.provider_networks.yaml index 91f5f647..759eef55 100644 --- a/actions/post.circuits.provider_networks.yaml +++ b/actions/post.circuits.provider_networks.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of provider network objects." enabled: true entry_point: run.py @@ -17,12 +17,36 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + provider: + required: false + type: object + description: "Provider" name: required: false type: string description: "Name" + service_id: + required: false + type: string + description: "Service id" description: required: false type: string description: "Description" + comments: + required: false + type: string + description: "Comments" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" runner_type: python-script diff --git a/actions/post.circuits.providers.yaml b/actions/post.circuits.providers.yaml index 9802a0f6..7d201260 100644 --- a/actions/post.circuits.providers.yaml +++ b/actions/post.circuits.providers.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of provider objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -25,8 +29,28 @@ parameters: required: false type: string description: "Slug" + accounts: + required: false + type: array + description: "Accounts" description: required: false type: string description: "Description" + comments: + required: false + type: string + description: "Comments" + asns: + required: false + type: array + description: "Asns" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" runner_type: python-script diff --git a/actions/post.circuits.virtual_circuit_terminations.yaml b/actions/post.circuits.virtual_circuit_terminations.yaml new file mode 100644 index 00000000..f140cba4 --- /dev/null +++ b/actions/post.circuits.virtual_circuit_terminations.yaml @@ -0,0 +1,50 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Post a list of virtual circuit termination objects." +enabled: true +entry_point: run.py +name: post.circuits.virtual_circuit_terminations +parameters: + endpoint_uri: + default: "/circuits/virtual-circuit-terminations/" + immutable: true + type: string + http_verb: + default: post + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + virtual_circuit: + required: false + type: object + description: "Virtual circuit" + role: + required: false + type: string + description: "* `peer` - Peer +* `hub` - Hub +* `spoke` - Spoke" + interface: + required: false + type: object + description: "Interface" + description: + required: false + type: string + description: "Description" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" +runner_type: python-script diff --git a/actions/post.circuits.virtual_circuit_types.yaml b/actions/post.circuits.virtual_circuit_types.yaml new file mode 100644 index 00000000..229e4f60 --- /dev/null +++ b/actions/post.circuits.virtual_circuit_types.yaml @@ -0,0 +1,48 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Post a list of virtual circuit type objects." +enabled: true +entry_point: run.py +name: post.circuits.virtual_circuit_types +parameters: + endpoint_uri: + default: "/circuits/virtual-circuit-types/" + immutable: true + type: string + http_verb: + default: post + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + name: + required: false + type: string + description: "Name" + slug: + required: false + type: string + description: "Slug" + color: + required: false + type: string + description: "Color" + description: + required: false + type: string + description: "Description" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" +runner_type: python-script diff --git a/actions/post.circuits.virtual_circuits.yaml b/actions/post.circuits.virtual_circuits.yaml new file mode 100644 index 00000000..4b6f4d71 --- /dev/null +++ b/actions/post.circuits.virtual_circuits.yaml @@ -0,0 +1,69 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Post a list of virtual circuit objects." +enabled: true +entry_point: run.py +name: post.circuits.virtual_circuits +parameters: + endpoint_uri: + default: "/circuits/virtual-circuits/" + immutable: true + type: string + http_verb: + default: post + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + cid: + required: false + type: string + description: "Circuit ID" + provider_network: + required: false + type: object + description: "Provider network" + provider_account: + required: false + type: object + description: "Provider account" + type: + required: false + type: object + description: "Type" + status: + required: false + type: string + description: "* `planned` - Planned +* `provisioning` - Provisioning +* `active` - Active +* `offline` - Offline +* `deprovisioning` - Deprovisioning +* `decommissioned` - Decommissioned" + tenant: + required: false + type: object + description: "Tenant" + description: + required: false + type: string + description: "Description" + comments: + required: false + type: string + description: "Comments" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" +runner_type: python-script diff --git a/actions/post.core.data_sources.yaml b/actions/post.core.data_sources.yaml index 1a8d5d0e..cd19a80e 100644 --- a/actions/post.core.data_sources.yaml +++ b/actions/post.core.data_sources.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of data source objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -37,10 +41,15 @@ parameters: required: false type: string description: "Description" - comments: + sync_interval: required: false - type: string - description: "Comments" + type: integer + description: "* `1` - Minutely +* `60` - Hourly +* `720` - 12 hours +* `1440` - Daily +* `10080` - Weekly +* `43200` - 30 days" parameters: required: false type: object @@ -49,6 +58,10 @@ parameters: required: false type: string description: "Patterns (one per line) matching files to ignore when syncing" + comments: + required: false + type: string + description: "Comments" custom_fields: required: false type: object diff --git a/actions/post.dcim.cable_terminations.yaml b/actions/post.dcim.cable_terminations.yaml index a91b46ca..99a9c202 100644 --- a/actions/post.dcim.cable_terminations.yaml +++ b/actions/post.dcim.cable_terminations.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of cable termination objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. cable: required: false type: integer diff --git a/actions/post.dcim.cables.yaml b/actions/post.dcim.cables.yaml index 02058790..1bfbd95e 100644 --- a/actions/post.dcim.cables.yaml +++ b/actions/post.dcim.cables.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of cable objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. type: required: false type: string @@ -42,6 +46,7 @@ parameters: * `smf-os1` - Singlemode Fiber (OS1) * `smf-os2` - Singlemode Fiber (OS2) * `aoc` - Active Optical Cabling (AOC) +* `usb` - USB * `power` - Power" a_terminations: required: false diff --git a/actions/post.dcim.console_port_templates.yaml b/actions/post.dcim.console_port_templates.yaml index c1414f6c..ec552b6a 100644 --- a/actions/post.dcim.console_port_templates.yaml +++ b/actions/post.dcim.console_port_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of console port template objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device_type: required: false type: object diff --git a/actions/post.dcim.console_ports.yaml b/actions/post.dcim.console_ports.yaml index 49ec3682..f7ac6413 100644 --- a/actions/post.dcim.console_ports.yaml +++ b/actions/post.dcim.console_ports.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of console port objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device: required: false type: object diff --git a/actions/post.dcim.console_server_port_templates.yaml b/actions/post.dcim.console_server_port_templates.yaml index 7e742ef2..1eb8a1b6 100644 --- a/actions/post.dcim.console_server_port_templates.yaml +++ b/actions/post.dcim.console_server_port_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of console server port template objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device_type: required: false type: object diff --git a/actions/post.dcim.console_server_ports.yaml b/actions/post.dcim.console_server_ports.yaml index 020e0648..8fb76304 100644 --- a/actions/post.dcim.console_server_ports.yaml +++ b/actions/post.dcim.console_server_ports.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of console server port objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device: required: false type: object diff --git a/actions/post.dcim.device_bay_templates.yaml b/actions/post.dcim.device_bay_templates.yaml index 2e10ba58..30232923 100644 --- a/actions/post.dcim.device_bay_templates.yaml +++ b/actions/post.dcim.device_bay_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of device bay template objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device_type: required: false type: object diff --git a/actions/post.dcim.device_bays.yaml b/actions/post.dcim.device_bays.yaml index 25f0788a..024ee94e 100644 --- a/actions/post.dcim.device_bays.yaml +++ b/actions/post.dcim.device_bays.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of device bay objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device: required: false type: object diff --git a/actions/post.dcim.device_roles.yaml b/actions/post.dcim.device_roles.yaml index 78e8592e..d7e3eb80 100644 --- a/actions/post.dcim.device_roles.yaml +++ b/actions/post.dcim.device_roles.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of device role objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -37,6 +41,10 @@ parameters: required: false type: object description: "Config template" + parent: + required: false + type: integer + description: "Parent" description: required: false type: string @@ -49,4 +57,8 @@ parameters: required: false type: object description: "Custom fields" + comments: + required: false + type: string + description: "Comments" runner_type: python-script diff --git a/actions/post.dcim.device_types.yaml b/actions/post.dcim.device_types.yaml index 43428078..1e325126 100644 --- a/actions/post.dcim.device_types.yaml +++ b/actions/post.dcim.device_types.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of device type objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. manufacturer: required: false type: object @@ -61,6 +65,9 @@ parameters: * `left-to-right` - Left to right * `right-to-left` - Right to left * `side-to-rear` - Side to rear +* `rear-to-side` - Rear to side +* `bottom-to-top` - Bottom to top +* `top-to-bottom` - Top to bottom * `passive` - Passive * `mixed` - Mixed" weight: diff --git a/actions/post.dcim.devices.yaml b/actions/post.dcim.devices.yaml index c0875f43..1577003a 100644 --- a/actions/post.dcim.devices.yaml +++ b/actions/post.dcim.devices.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of device objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -91,6 +95,9 @@ parameters: * `left-to-right` - Left to right * `right-to-left` - Right to left * `side-to-rear` - Side to rear +* `rear-to-side` - Rear to side +* `bottom-to-top` - Bottom to top +* `top-to-bottom` - Top to bottom * `passive` - Passive * `mixed` - Mixed" primary_ip4: diff --git a/actions/post.dcim.front_port_templates.yaml b/actions/post.dcim.front_port_templates.yaml index 45958ff9..e12c04c5 100644 --- a/actions/post.dcim.front_port_templates.yaml +++ b/actions/post.dcim.front_port_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of front port template objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device_type: required: false type: object @@ -55,6 +59,9 @@ parameters: * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC +* `fc-pc` - FC/PC +* `fc-upc` - FC/UPC +* `fc-apc` - FC/APC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC @@ -82,6 +89,14 @@ parameters: * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice +* `usb-a` - USB Type A +* `usb-b` - USB Type B +* `usb-c` - USB Type C +* `usb-mini-a` - USB Mini A +* `usb-mini-b` - USB Mini B +* `usb-micro-a` - USB Micro A +* `usb-micro-b` - USB Micro B +* `usb-micro-ab` - USB Micro AB * `other` - Other" color: required: false diff --git a/actions/post.dcim.front_ports.yaml b/actions/post.dcim.front_ports.yaml index 5ba7c2c3..269570cd 100644 --- a/actions/post.dcim.front_ports.yaml +++ b/actions/post.dcim.front_ports.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of front port objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device: required: false type: object @@ -55,6 +59,9 @@ parameters: * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC +* `fc-pc` - FC/PC +* `fc-upc` - FC/UPC +* `fc-apc` - FC/APC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC @@ -82,6 +89,14 @@ parameters: * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice +* `usb-a` - USB Type A +* `usb-b` - USB Type B +* `usb-c` - USB Type C +* `usb-mini-a` - USB Mini A +* `usb-mini-b` - USB Mini B +* `usb-micro-a` - USB Micro A +* `usb-micro-b` - USB Micro B +* `usb-micro-ab` - USB Micro AB * `other` - Other" color: required: false diff --git a/actions/post.dcim.interface_templates.yaml b/actions/post.dcim.interface_templates.yaml index 781ecb31..2869e892 100644 --- a/actions/post.dcim.interface_templates.yaml +++ b/actions/post.dcim.interface_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of interface template objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device_type: required: false type: object @@ -44,10 +48,14 @@ parameters: * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) +* `1000base-sx` - 1000BASE-SX (1GE) +* `1000base-lx` - 1000BASE-LX (1GE) +* `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) +* `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) @@ -97,7 +105,9 @@ parameters: * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay +* `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) +* `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA @@ -137,6 +147,7 @@ parameters: * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS +* `moca` - MoCA * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) diff --git a/actions/post.dcim.interfaces.yaml b/actions/post.dcim.interfaces.yaml index fe69dcf2..d4045e3b 100644 --- a/actions/post.dcim.interfaces.yaml +++ b/actions/post.dcim.interfaces.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of interface objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device: required: false type: object @@ -48,10 +52,14 @@ parameters: * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) +* `1000base-sx` - 1000BASE-SX (1GE) +* `1000base-lx` - 1000BASE-LX (1GE) +* `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) +* `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) @@ -101,7 +109,9 @@ parameters: * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay +* `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) +* `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA @@ -141,6 +151,7 @@ parameters: * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS +* `moca` - MoCA * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) @@ -185,10 +196,10 @@ parameters: required: false type: integer description: "Mtu" - mac_address: + primary_mac_address: required: false - type: string - description: "Mac address" + type: object + description: "Primary mac address" speed: required: false type: integer @@ -218,7 +229,8 @@ parameters: * `access` - Access * `tagged` - Tagged -* `tagged-all` - Tagged (All)" +* `tagged-all` - Tagged (All) +* `q-in-q` - Q-in-Q (802.1ad)" rf_role: required: false type: string @@ -263,6 +275,14 @@ parameters: required: false type: array description: "Tagged vlans" + qinq_svlan: + required: false + type: object + description: "Qinq svlan" + vlan_translation_policy: + required: false + type: object + description: "Vlan translation policy" mark_connected: required: false type: boolean diff --git a/actions/post.dcim.inventory_item_roles.yaml b/actions/post.dcim.inventory_item_roles.yaml index fcc8ec64..54ca8755 100644 --- a/actions/post.dcim.inventory_item_roles.yaml +++ b/actions/post.dcim.inventory_item_roles.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of inventory item role objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/post.dcim.inventory_item_templates.yaml b/actions/post.dcim.inventory_item_templates.yaml index d2878e84..9c3f9a22 100644 --- a/actions/post.dcim.inventory_item_templates.yaml +++ b/actions/post.dcim.inventory_item_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of inventory item template objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device_type: required: false type: object diff --git a/actions/post.dcim.inventory_items.yaml b/actions/post.dcim.inventory_items.yaml index 5df418d5..e606c219 100644 --- a/actions/post.dcim.inventory_items.yaml +++ b/actions/post.dcim.inventory_items.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of inventory item objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device: required: false type: object @@ -33,6 +37,15 @@ parameters: required: false type: string description: "Physical label" + status: + required: false + type: string + description: "* `offline` - Offline +* `active` - Active +* `planned` - Planned +* `staged` - Staged +* `failed` - Failed +* `decommissioning` - Decommissioning" role: required: false type: object diff --git a/actions/post.dcim.locations.yaml b/actions/post.dcim.locations.yaml index e63c74dd..f22b6c41 100644 --- a/actions/post.dcim.locations.yaml +++ b/actions/post.dcim.locations.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of location objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -61,4 +65,8 @@ parameters: required: false type: object description: "Custom fields" + comments: + required: false + type: string + description: "Comments" runner_type: python-script diff --git a/actions/post.dcim.mac_addresses.yaml b/actions/post.dcim.mac_addresses.yaml new file mode 100644 index 00000000..1e02ea9f --- /dev/null +++ b/actions/post.dcim.mac_addresses.yaml @@ -0,0 +1,52 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Post a list of MAC address objects." +enabled: true +entry_point: run.py +name: post.dcim.mac_addresses +parameters: + endpoint_uri: + default: "/dcim/mac-addresses/" + immutable: true + type: string + http_verb: + default: post + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + mac_address: + required: false + type: string + description: "Mac address" + assigned_object_type: + required: false + type: string + description: "Assigned object type" + assigned_object_id: + required: false + type: integer + description: "Assigned object id" + description: + required: false + type: string + description: "Description" + comments: + required: false + type: string + description: "Comments" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" +runner_type: python-script diff --git a/actions/post.dcim.manufacturers.yaml b/actions/post.dcim.manufacturers.yaml index 5d4c7aa6..4c8bbf6d 100644 --- a/actions/post.dcim.manufacturers.yaml +++ b/actions/post.dcim.manufacturers.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of manufacturer objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -29,4 +33,12 @@ parameters: required: false type: string description: "Description" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" runner_type: python-script diff --git a/actions/post.dcim.module_bay_templates.yaml b/actions/post.dcim.module_bay_templates.yaml index d28f8f8b..6b6a46f1 100644 --- a/actions/post.dcim.module_bay_templates.yaml +++ b/actions/post.dcim.module_bay_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of module bay template objects." enabled: true entry_point: run.py @@ -17,10 +17,18 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device_type: required: false type: object description: "Device type" + module_type: + required: false + type: object + description: "Module type" name: required: false type: string diff --git a/actions/post.dcim.module_bays.yaml b/actions/post.dcim.module_bays.yaml index d11cb50d..71cb3b3d 100644 --- a/actions/post.dcim.module_bays.yaml +++ b/actions/post.dcim.module_bays.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of module bay objects." enabled: true entry_point: run.py @@ -17,10 +17,18 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device: required: false type: object description: "Device" + module: + required: false + type: object + description: "Module" name: required: false type: string diff --git a/actions/post.dcim.module_type_profiles.yaml b/actions/post.dcim.module_type_profiles.yaml new file mode 100644 index 00000000..12802957 --- /dev/null +++ b/actions/post.dcim.module_type_profiles.yaml @@ -0,0 +1,48 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Post a list of module type profile objects." +enabled: true +entry_point: run.py +name: post.dcim.module_type_profiles +parameters: + endpoint_uri: + default: "/dcim/module-type-profiles/" + immutable: true + type: string + http_verb: + default: post + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + name: + required: false + type: string + description: "Name" + description: + required: false + type: string + description: "Description" + schema: + required: false + type: object + description: "Schema" + comments: + required: false + type: string + description: "Comments" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" +runner_type: python-script diff --git a/actions/post.dcim.module_types.yaml b/actions/post.dcim.module_types.yaml index 85a2ffae..72ea8c3c 100644 --- a/actions/post.dcim.module_types.yaml +++ b/actions/post.dcim.module_types.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of module type objects." enabled: true entry_point: run.py @@ -17,6 +17,14 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + profile: + required: false + type: object + description: "Profile" manufacturer: required: false type: object @@ -29,6 +37,15 @@ parameters: required: false type: string description: "Discrete part number (optional)" + airflow: + required: false + type: string + description: "* `front-to-rear` - Front to rear +* `rear-to-front` - Rear to front +* `left-to-right` - Left to right +* `right-to-left` - Right to left +* `side-to-rear` - Side to rear +* `passive` - Passive" weight: required: false type: integer @@ -44,6 +61,10 @@ parameters: required: false type: string description: "Description" + attributes: + required: false + type: object + description: "Attributes" comments: required: false type: string diff --git a/actions/post.dcim.modules.yaml b/actions/post.dcim.modules.yaml index 7f8432b3..76e23ae4 100644 --- a/actions/post.dcim.modules.yaml +++ b/actions/post.dcim.modules.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of module objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device: required: false type: object diff --git a/actions/post.dcim.platforms.yaml b/actions/post.dcim.platforms.yaml index 866cb380..5d8f4866 100644 --- a/actions/post.dcim.platforms.yaml +++ b/actions/post.dcim.platforms.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of platform objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -25,8 +29,24 @@ parameters: required: false type: string description: "Slug" + manufacturer: + required: false + type: object + description: "Manufacturer" + config_template: + required: false + type: object + description: "Config template" description: required: false type: string description: "Description" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" runner_type: python-script diff --git a/actions/post.dcim.power_feeds.yaml b/actions/post.dcim.power_feeds.yaml index d641f78e..203e017b 100644 --- a/actions/post.dcim.power_feeds.yaml +++ b/actions/post.dcim.power_feeds.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of power feed objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. power_panel: required: false type: object diff --git a/actions/post.dcim.power_outlet_templates.yaml b/actions/post.dcim.power_outlet_templates.yaml index 5d26ace3..d2b1ff54 100644 --- a/actions/post.dcim.power_outlet_templates.yaml +++ b/actions/post.dcim.power_outlet_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of power outlet template objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device_type: required: false type: object @@ -97,6 +101,7 @@ parameters: * `nema-l15-60r` - NEMA L15-60R * `nema-l21-20r` - NEMA L21-20R * `nema-l21-30r` - NEMA L21-30R +* `nema-l22-20r` - NEMA L22-20R * `nema-l22-30r` - NEMA L22-30R * `CS6360C` - CS6360C * `CS6364C` - CS6364C @@ -123,6 +128,7 @@ parameters: * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal +* `eaton-c39` - Eaton C39 * `hdot-cx` - HDOT Cx * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20a` - Neutrik powerCON (20A) diff --git a/actions/post.dcim.power_outlets.yaml b/actions/post.dcim.power_outlets.yaml index f4101c10..4fc55b73 100644 --- a/actions/post.dcim.power_outlets.yaml +++ b/actions/post.dcim.power_outlets.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of power outlet objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device: required: false type: object @@ -99,6 +103,7 @@ parameters: * `nema-l15-60r` - NEMA L15-60R * `nema-l21-20r` - NEMA L21-20R * `nema-l21-30r` - NEMA L21-30R +* `nema-l22-20r` - NEMA L22-20R * `nema-l22-30r` - NEMA L22-30R * `CS6360C` - CS6360C * `CS6364C` - CS6364C @@ -125,6 +130,7 @@ parameters: * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal +* `eaton-c39` - Eaton C39 * `hdot-cx` - HDOT Cx * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20a` - Neutrik powerCON (20A) @@ -134,6 +140,16 @@ parameters: * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other" + status: + required: false + type: string + description: "* `enabled` - Enabled +* `disabled` - Disabled +* `faulty` - Faulty" + color: + required: false + type: string + description: "Color" power_port: required: false type: object diff --git a/actions/post.dcim.power_panels.yaml b/actions/post.dcim.power_panels.yaml index 3c48fbad..c8e0e1fa 100644 --- a/actions/post.dcim.power_panels.yaml +++ b/actions/post.dcim.power_panels.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of power panel objects." enabled: true entry_point: run.py @@ -17,6 +17,18 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + site: + required: false + type: object + description: "Site" + location: + required: false + type: object + description: "Location" name: required: false type: string @@ -25,4 +37,16 @@ parameters: required: false type: string description: "Description" + comments: + required: false + type: string + description: "Comments" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" runner_type: python-script diff --git a/actions/post.dcim.power_port_templates.yaml b/actions/post.dcim.power_port_templates.yaml index 497d308d..cca22de6 100644 --- a/actions/post.dcim.power_port_templates.yaml +++ b/actions/post.dcim.power_port_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of power port template objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device_type: required: false type: object @@ -97,6 +101,7 @@ parameters: * `nema-l15-60p` - NEMA L15-60P * `nema-l21-20p` - NEMA L21-20P * `nema-l21-30p` - NEMA L21-30P +* `nema-l22-20p` - NEMA L22-20P * `nema-l22-30p` - NEMA L22-30P * `cs6361c` - CS6361C * `cs6365c` - CS6365C diff --git a/actions/post.dcim.power_ports.yaml b/actions/post.dcim.power_ports.yaml index a386a715..2106f327 100644 --- a/actions/post.dcim.power_ports.yaml +++ b/actions/post.dcim.power_ports.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of power port objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device: required: false type: object @@ -99,6 +103,7 @@ parameters: * `nema-l15-60p` - NEMA L15-60P * `nema-l21-20p` - NEMA L21-20P * `nema-l21-30p` - NEMA L21-30P +* `nema-l22-20p` - NEMA L22-20P * `nema-l22-30p` - NEMA L22-30P * `cs6361c` - CS6361C * `cs6365c` - CS6365C diff --git a/actions/post.dcim.rack_reservations.yaml b/actions/post.dcim.rack_reservations.yaml index 0b13a0a1..b25c982f 100644 --- a/actions/post.dcim.rack_reservations.yaml +++ b/actions/post.dcim.rack_reservations.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of rack reservation objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. rack: required: false type: object diff --git a/actions/post.dcim.rack_roles.yaml b/actions/post.dcim.rack_roles.yaml index 600d6ec8..3fce8ca1 100644 --- a/actions/post.dcim.rack_roles.yaml +++ b/actions/post.dcim.rack_roles.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of rack role objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/post.dcim.rack_types.yaml b/actions/post.dcim.rack_types.yaml new file mode 100644 index 00000000..2e18c939 --- /dev/null +++ b/actions/post.dcim.rack_types.yaml @@ -0,0 +1,119 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Post a list of rack type objects." +enabled: true +entry_point: run.py +name: post.dcim.rack_types +parameters: + endpoint_uri: + default: "/dcim/rack-types/" + immutable: true + type: string + http_verb: + default: post + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + manufacturer: + required: false + type: object + description: "Manufacturer" + model: + required: false + type: string + description: "Model" + slug: + required: false + type: string + description: "Slug" + description: + required: false + type: string + description: "Description" + form_factor: + required: false + type: string + description: "* `2-post-frame` - 2-post frame +* `4-post-frame` - 4-post frame +* `4-post-cabinet` - 4-post cabinet +* `wall-frame` - Wall-mounted frame +* `wall-frame-vertical` - Wall-mounted frame (vertical) +* `wall-cabinet` - Wall-mounted cabinet +* `wall-cabinet-vertical` - Wall-mounted cabinet (vertical)" + width: + required: false + type: integer + description: "Rail-to-rail width + +* `10` - 10 inches +* `19` - 19 inches +* `21` - 21 inches +* `23` - 23 inches" + u_height: + required: false + type: integer + description: "Height (U)" + starting_unit: + required: false + type: integer + description: "Starting unit for rack" + desc_units: + required: false + type: boolean + description: "Descending units" + outer_width: + required: false + type: integer + description: "Outer dimension of rack (width)" + outer_height: + required: false + type: integer + description: "Outer dimension of rack (height)" + outer_depth: + required: false + type: integer + description: "Outer dimension of rack (depth)" + outer_unit: + required: false + type: string + description: "* `mm` - Millimeters +* `in` - Inches" + weight: + required: false + type: integer + description: "Weight" + max_weight: + required: false + type: integer + description: "Maximum load capacity for the rack" + weight_unit: + required: false + type: string + description: "* `kg` - Kilograms +* `g` - Grams +* `lb` - Pounds +* `oz` - Ounces" + mounting_depth: + required: false + type: integer + description: "Maximum depth of a mounted device, in millimeters. For four-post racks, this is the distance between the front and rear rails." + comments: + required: false + type: string + description: "Comments" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" +runner_type: python-script diff --git a/actions/post.dcim.racks.yaml b/actions/post.dcim.racks.yaml index 8b0310fa..9e3f5ab9 100644 --- a/actions/post.dcim.racks.yaml +++ b/actions/post.dcim.racks.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of rack objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -57,7 +61,11 @@ parameters: required: false type: string description: "A unique tag used to identify this rack" - type: + rack_type: + required: false + type: object + description: "Rack type" + form_factor: required: false type: string description: "* `2-post-frame` - 2-post frame @@ -107,6 +115,10 @@ parameters: required: false type: integer description: "Outer dimension of rack (width)" + outer_height: + required: false + type: integer + description: "Outer dimension of rack (height)" outer_depth: required: false type: integer @@ -120,6 +132,11 @@ parameters: required: false type: integer description: "Maximum depth of a mounted device, in millimeters. For four-post racks, this is the distance between the front and rear rails." + airflow: + required: false + type: string + description: "* `front-to-rear` - Front to rear +* `rear-to-front` - Rear to front" description: required: false type: string diff --git a/actions/post.dcim.rear_port_templates.yaml b/actions/post.dcim.rear_port_templates.yaml index 6b1e6dc0..15a7423e 100644 --- a/actions/post.dcim.rear_port_templates.yaml +++ b/actions/post.dcim.rear_port_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of rear port template objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device_type: required: false type: object @@ -55,6 +59,9 @@ parameters: * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC +* `fc-pc` - FC/PC +* `fc-upc` - FC/UPC +* `fc-apc` - FC/APC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC @@ -82,6 +89,14 @@ parameters: * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice +* `usb-a` - USB Type A +* `usb-b` - USB Type B +* `usb-c` - USB Type C +* `usb-mini-a` - USB Mini A +* `usb-mini-b` - USB Mini B +* `usb-micro-a` - USB Micro A +* `usb-micro-b` - USB Micro B +* `usb-micro-ab` - USB Micro AB * `other` - Other" color: required: false diff --git a/actions/post.dcim.rear_ports.yaml b/actions/post.dcim.rear_ports.yaml index c35284a4..8486b8a0 100644 --- a/actions/post.dcim.rear_ports.yaml +++ b/actions/post.dcim.rear_ports.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of rear port objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device: required: false type: object @@ -55,6 +59,9 @@ parameters: * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC +* `fc-pc` - FC/PC +* `fc-upc` - FC/UPC +* `fc-apc` - FC/APC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC @@ -82,6 +89,14 @@ parameters: * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice +* `usb-a` - USB Type A +* `usb-b` - USB Type B +* `usb-c` - USB Type C +* `usb-mini-a` - USB Mini A +* `usb-mini-b` - USB Mini B +* `usb-micro-a` - USB Micro A +* `usb-micro-b` - USB Micro B +* `usb-micro-ab` - USB Micro AB * `other` - Other" color: required: false diff --git a/actions/post.dcim.regions.yaml b/actions/post.dcim.regions.yaml index 22e08089..49b0782d 100644 --- a/actions/post.dcim.regions.yaml +++ b/actions/post.dcim.regions.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of region objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -41,4 +45,8 @@ parameters: required: false type: object description: "Custom fields" + comments: + required: false + type: string + description: "Comments" runner_type: python-script diff --git a/actions/post.dcim.site_groups.yaml b/actions/post.dcim.site_groups.yaml index 1a409c9b..c00f286e 100644 --- a/actions/post.dcim.site_groups.yaml +++ b/actions/post.dcim.site_groups.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of site group objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -41,4 +45,8 @@ parameters: required: false type: object description: "Custom fields" + comments: + required: false + type: string + description: "Comments" runner_type: python-script diff --git a/actions/post.dcim.sites.yaml b/actions/post.dcim.sites.yaml index e478ff6b..148e26a2 100644 --- a/actions/post.dcim.sites.yaml +++ b/actions/post.dcim.sites.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of site objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/post.dcim.virtual_chassis.yaml b/actions/post.dcim.virtual_chassis.yaml index 8b7c13b0..acad020b 100644 --- a/actions/post.dcim.virtual_chassis.yaml +++ b/actions/post.dcim.virtual_chassis.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of virtual chassis objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/post.dcim.virtual_device_contexts.yaml b/actions/post.dcim.virtual_device_contexts.yaml index 00cf0a1e..f436b9b7 100644 --- a/actions/post.dcim.virtual_device_contexts.yaml +++ b/actions/post.dcim.virtual_device_contexts.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of virtual device context objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/post.extras.bookmarks.yaml b/actions/post.extras.bookmarks.yaml index 2fda4d67..5c6c6d2d 100644 --- a/actions/post.extras.bookmarks.yaml +++ b/actions/post.extras.bookmarks.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of bookmark objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. object_type: required: false type: string diff --git a/actions/post.extras.config_contexts.yaml b/actions/post.extras.config_contexts.yaml index f6383d2f..1d51e569 100644 --- a/actions/post.extras.config_contexts.yaml +++ b/actions/post.extras.config_contexts.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of config context objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/post.extras.config_templates.yaml b/actions/post.extras.config_templates.yaml index ad7fce79..5ef226e3 100644 --- a/actions/post.extras.config_templates.yaml +++ b/actions/post.extras.config_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of config template objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -25,4 +29,36 @@ parameters: required: false type: string description: "Description" + environment_params: + required: false + type: object + description: "Environment parameters" + template_code: + required: false + type: string + description: "Jinja template code." + mime_type: + required: false + type: string + description: "Defaults to <code>text/plain; charset=utf-8</code>" + file_name: + required: false + type: string + description: "Filename to give to the rendered export file" + file_extension: + required: false + type: string + description: "Extension to append to the rendered filename" + as_attachment: + required: false + type: boolean + description: "Download file as attachment" + data_source: + required: false + type: object + description: "Data source" + tags: + required: false + type: array + description: "Array of tag strings" runner_type: python-script diff --git a/actions/post.extras.custom_field_choice_sets.yaml b/actions/post.extras.custom_field_choice_sets.yaml index ae2f7e32..e72e1ea1 100644 --- a/actions/post.extras.custom_field_choice_sets.yaml +++ b/actions/post.extras.custom_field_choice_sets.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of custom field choice set objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/post.extras.custom_fields.yaml b/actions/post.extras.custom_fields.yaml index 817f5b6a..06bb7513 100644 --- a/actions/post.extras.custom_fields.yaml +++ b/actions/post.extras.custom_fields.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of custom field objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. object_types: required: false type: array @@ -62,7 +66,11 @@ parameters: required: required: false type: boolean - description: "If true, this field is required when creating new objects or editing an existing object." + description: "This field is required when creating new objects or editing an existing object." + unique: + required: false + type: boolean + description: "Must be unique" search_weight: required: false type: integer @@ -99,6 +107,10 @@ parameters: required: false type: object description: "Default value for the field (must be a JSON value). Encapsulate strings with double quotes (e.g. "Foo")." + related_object_filter: + required: false + type: object + description: "Filter the object selection choices using a query_params dict (must be a JSON value).Encapsulate strings with double quotes (e.g. "Foo")." weight: required: false type: integer diff --git a/actions/post.extras.custom_links.yaml b/actions/post.extras.custom_links.yaml index bc0d1c18..a247aa26 100644 --- a/actions/post.extras.custom_links.yaml +++ b/actions/post.extras.custom_links.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of custom link objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. object_types: required: false type: array @@ -50,7 +54,7 @@ parameters: type: string description: "The class of the first link in a group will be used for the dropdown button -* `outline-dark` - Default +* `default` - Default * `blue` - Blue * `indigo` - Indigo * `purple` - Purple diff --git a/actions/post.extras.event_rules.yaml b/actions/post.extras.event_rules.yaml index 677692e7..b793558e 100644 --- a/actions/post.extras.event_rules.yaml +++ b/actions/post.extras.event_rules.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of event rule objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. object_types: required: false type: array @@ -25,30 +29,14 @@ parameters: required: false type: string description: "Name" - type_create: - required: false - type: boolean - description: "On create" - type_update: - required: false - type: boolean - description: "On update" - type_delete: - required: false - type: boolean - description: "On delete" - type_job_start: - required: false - type: boolean - description: "On job start" - type_job_end: - required: false - type: boolean - description: "On job end" enabled: required: false type: boolean description: "Enabled" + event_types: + required: false + type: array + description: "The types of event which will trigger this rule." conditions: required: false type: object @@ -57,7 +45,8 @@ parameters: required: false type: string description: "* `webhook` - Webhook -* `script` - Script" +* `script` - Script +* `notification` - Notification" action_object_type: required: false type: string diff --git a/actions/post.extras.export_templates.yaml b/actions/post.extras.export_templates.yaml index 1604ffbd..7d821d9d 100644 --- a/actions/post.extras.export_templates.yaml +++ b/actions/post.extras.export_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of export template objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. object_types: required: false type: array @@ -29,14 +33,22 @@ parameters: required: false type: string description: "Description" + environment_params: + required: false + type: object + description: "Environment parameters" template_code: required: false type: string - description: "Jinja2 template code. The list of objects being exported is passed as a context variable named <code>queryset</code>." + description: "Jinja template code." mime_type: required: false type: string description: "Defaults to <code>text/plain; charset=utf-8</code>" + file_name: + required: false + type: string + description: "Filename to give to the rendered export file" file_extension: required: false type: string diff --git a/actions/post.extras.image_attachments.yaml b/actions/post.extras.image_attachments.yaml index 9324e51c..5daf1994 100644 --- a/actions/post.extras.image_attachments.yaml +++ b/actions/post.extras.image_attachments.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of image attachment objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. object_type: required: false type: string @@ -33,12 +37,4 @@ parameters: required: false type: string description: "Image" - image_height: - required: false - type: integer - description: "Image height" - image_width: - required: false - type: integer - description: "Image width" runner_type: python-script diff --git a/actions/post.extras.journal_entries.yaml b/actions/post.extras.journal_entries.yaml index f8d2b0da..510c91a5 100644 --- a/actions/post.extras.journal_entries.yaml +++ b/actions/post.extras.journal_entries.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of journal entry objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. assigned_object_type: required: false type: string diff --git a/actions/post.extras.notification_groups.yaml b/actions/post.extras.notification_groups.yaml new file mode 100644 index 00000000..d6586570 --- /dev/null +++ b/actions/post.extras.notification_groups.yaml @@ -0,0 +1,40 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Post a list of notification group objects." +enabled: true +entry_point: run.py +name: post.extras.notification_groups +parameters: + endpoint_uri: + default: "/extras/notification-groups/" + immutable: true + type: string + http_verb: + default: post + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + name: + required: false + type: string + description: "Name" + description: + required: false + type: string + description: "Description" + groups: + required: false + type: array + description: "Groups" + users: + required: false + type: array + description: "Users" +runner_type: python-script diff --git a/actions/post.extras.notifications.yaml b/actions/post.extras.notifications.yaml new file mode 100644 index 00000000..4ce36c75 --- /dev/null +++ b/actions/post.extras.notifications.yaml @@ -0,0 +1,44 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Post a list of notification objects." +enabled: true +entry_point: run.py +name: post.extras.notifications +parameters: + endpoint_uri: + default: "/extras/notifications/" + immutable: true + type: string + http_verb: + default: post + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + object_type: + required: false + type: string + description: "Object type" + object_id: + required: false + type: integer + description: "Object id" + user: + required: false + type: object + description: "User" + read: + required: false + type: string + description: "Read" + event_type: + required: false + type: string + description: "Event" +runner_type: python-script diff --git a/actions/post.extras.saved_filters.yaml b/actions/post.extras.saved_filters.yaml index abbdf626..8869ff6f 100644 --- a/actions/post.extras.saved_filters.yaml +++ b/actions/post.extras.saved_filters.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of saved filter objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. object_types: required: false type: array diff --git a/actions/post.extras.scripts.yaml b/actions/post.extras.scripts.yaml index d6076cf9..47901828 100644 --- a/actions/post.extras.scripts.yaml +++ b/actions/post.extras.scripts.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of script objects." enabled: true entry_point: run.py @@ -17,4 +17,8 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. runner_type: python-script diff --git a/actions/post.extras.subscriptions.yaml b/actions/post.extras.subscriptions.yaml new file mode 100644 index 00000000..60250750 --- /dev/null +++ b/actions/post.extras.subscriptions.yaml @@ -0,0 +1,36 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Post a list of subscription objects." +enabled: true +entry_point: run.py +name: post.extras.subscriptions +parameters: + endpoint_uri: + default: "/extras/subscriptions/" + immutable: true + type: string + http_verb: + default: post + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + object_type: + required: false + type: string + description: "Object type" + object_id: + required: false + type: integer + description: "Object id" + user: + required: false + type: object + description: "User" +runner_type: python-script diff --git a/actions/post.extras.table_configs.yaml b/actions/post.extras.table_configs.yaml new file mode 100644 index 00000000..a4b94c62 --- /dev/null +++ b/actions/post.extras.table_configs.yaml @@ -0,0 +1,64 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Post a list of table config objects." +enabled: true +entry_point: run.py +name: post.extras.table_configs +parameters: + endpoint_uri: + default: "/extras/table-configs/" + immutable: true + type: string + http_verb: + default: post + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + object_type: + required: false + type: string + description: "Object type" + table: + required: false + type: string + description: "Table" + name: + required: false + type: string + description: "Name" + description: + required: false + type: string + description: "Description" + user: + required: false + type: integer + description: "User" + weight: + required: false + type: integer + description: "Weight" + enabled: + required: false + type: boolean + description: "Enabled" + shared: + required: false + type: boolean + description: "Shared" + columns: + required: false + type: array + description: "Columns" + ordering: + required: false + type: array + description: "Ordering" +runner_type: python-script diff --git a/actions/post.extras.tags.yaml b/actions/post.extras.tags.yaml index 0670049f..4dcb5d82 100644 --- a/actions/post.extras.tags.yaml +++ b/actions/post.extras.tags.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of tag objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -33,6 +37,10 @@ parameters: required: false type: string description: "Description" + weight: + required: false + type: integer + description: "Weight" object_types: required: false type: array diff --git a/actions/post.extras.webhooks.yaml b/actions/post.extras.webhooks.yaml index 67e18a9a..c6a24cb5 100644 --- a/actions/post.extras.webhooks.yaml +++ b/actions/post.extras.webhooks.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of webhook objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/post.ipam.aggregates.yaml b/actions/post.ipam.aggregates.yaml index 5fa29cc1..5982e522 100644 --- a/actions/post.ipam.aggregates.yaml +++ b/actions/post.ipam.aggregates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of aggregate objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. prefix: required: false type: string diff --git a/actions/post.ipam.asn_ranges.yaml b/actions/post.ipam.asn_ranges.yaml index 3189a6d0..5c9eb3a2 100644 --- a/actions/post.ipam.asn_ranges.yaml +++ b/actions/post.ipam.asn_ranges.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of ASN range objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/post.ipam.asns.yaml b/actions/post.ipam.asns.yaml index d3f3b0f8..47ee110f 100644 --- a/actions/post.ipam.asns.yaml +++ b/actions/post.ipam.asns.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of ASN objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. asn: required: false type: integer diff --git a/actions/post.ipam.fhrp_group_assignments.yaml b/actions/post.ipam.fhrp_group_assignments.yaml index 5db0bfae..11c83f8f 100644 --- a/actions/post.ipam.fhrp_group_assignments.yaml +++ b/actions/post.ipam.fhrp_group_assignments.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of FHRP group assignment objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. group: required: false type: object diff --git a/actions/post.ipam.fhrp_groups.yaml b/actions/post.ipam.fhrp_groups.yaml index beec219a..88ac689c 100644 --- a/actions/post.ipam.fhrp_groups.yaml +++ b/actions/post.ipam.fhrp_groups.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of FHRP group objects." enabled: true entry_point: run.py @@ -17,6 +17,14 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + name: + required: false + type: string + description: "Name" protocol: required: false type: string @@ -31,8 +39,28 @@ parameters: required: false type: integer description: "Group id" + auth_type: + required: false + type: string + description: "Authentication type" + auth_key: + required: false + type: string + description: "Authentication key" description: required: false type: string description: "Description" + comments: + required: false + type: string + description: "Comments" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" runner_type: python-script diff --git a/actions/post.ipam.ip_addresses.yaml b/actions/post.ipam.ip_addresses.yaml index bc022d76..0f423126 100644 --- a/actions/post.ipam.ip_addresses.yaml +++ b/actions/post.ipam.ip_addresses.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of IP address objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. address: required: false type: string diff --git a/actions/post.ipam.ip_ranges.yaml b/actions/post.ipam.ip_ranges.yaml index 51d16a90..68425216 100644 --- a/actions/post.ipam.ip_ranges.yaml +++ b/actions/post.ipam.ip_ranges.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of IP range objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. start_address: required: false type: string @@ -61,8 +65,12 @@ parameters: required: false type: object description: "Custom fields" + mark_populated: + required: false + type: boolean + description: "Prevent the creation of IP addresses within this range" mark_utilized: required: false type: boolean - description: "Treat as fully utilized" + description: "Report space as 100% utilized" runner_type: python-script diff --git a/actions/post.ipam.prefixes.yaml b/actions/post.ipam.prefixes.yaml index 112da792..312e7815 100644 --- a/actions/post.ipam.prefixes.yaml +++ b/actions/post.ipam.prefixes.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of prefix objects." enabled: true entry_point: run.py @@ -17,18 +17,26 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. prefix: required: false type: string description: "Prefix" - site: - required: false - type: object - description: "Site" vrf: required: false type: object description: "Vrf" + scope_type: + required: false + type: string + description: "Scope type" + scope_id: + required: false + type: integer + description: "Scope id" tenant: required: false type: object diff --git a/actions/post.ipam.rirs.yaml b/actions/post.ipam.rirs.yaml index 4f9d9f97..8373bc17 100644 --- a/actions/post.ipam.rirs.yaml +++ b/actions/post.ipam.rirs.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of RIR objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -25,8 +29,20 @@ parameters: required: false type: string description: "Slug" + is_private: + required: false + type: boolean + description: "Private" description: required: false type: string description: "Description" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" runner_type: python-script diff --git a/actions/post.ipam.roles.yaml b/actions/post.ipam.roles.yaml index b0340a5a..7b89b42d 100644 --- a/actions/post.ipam.roles.yaml +++ b/actions/post.ipam.roles.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of role objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -25,8 +29,20 @@ parameters: required: false type: string description: "Slug" + weight: + required: false + type: integer + description: "Weight" description: required: false type: string description: "Description" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" runner_type: python-script diff --git a/actions/post.ipam.route_targets.yaml b/actions/post.ipam.route_targets.yaml index 0ed870a0..12353232 100644 --- a/actions/post.ipam.route_targets.yaml +++ b/actions/post.ipam.route_targets.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of route target objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/post.ipam.service_templates.yaml b/actions/post.ipam.service_templates.yaml index 37b83c0c..e21ffd97 100644 --- a/actions/post.ipam.service_templates.yaml +++ b/actions/post.ipam.service_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of service template objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/post.ipam.services.yaml b/actions/post.ipam.services.yaml index 2a88c49b..f5c32291 100644 --- a/actions/post.ipam.services.yaml +++ b/actions/post.ipam.services.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of service objects." enabled: true entry_point: run.py @@ -17,14 +17,18 @@ parameters: default: true immutable: true type: boolean - device: + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + parent_object_type: required: false - type: object - description: "Device" - virtual_machine: + type: string + description: "Parent object type" + parent_object_id: required: false - type: object - description: "Virtual machine" + type: integer + description: "Parent object id" name: required: false type: string diff --git a/actions/post.ipam.vlan_groups.yaml b/actions/post.ipam.vlan_groups.yaml index 4e8759e9..2dd3ac55 100644 --- a/actions/post.ipam.vlan_groups.yaml +++ b/actions/post.ipam.vlan_groups.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of VLAN group objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -33,14 +37,14 @@ parameters: required: false type: integer description: "Scope id" - min_vid: + vid_ranges: required: false - type: integer - description: "Minimum VLAN ID" - max_vid: + type: array + description: "Vid ranges" + tenant: required: false - type: integer - description: "Maximum VLAN ID" + type: object + description: "Tenant" description: required: false type: string diff --git a/actions/post.ipam.vlan_translation_policies.yaml b/actions/post.ipam.vlan_translation_policies.yaml new file mode 100644 index 00000000..9ca1b956 --- /dev/null +++ b/actions/post.ipam.vlan_translation_policies.yaml @@ -0,0 +1,32 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Post a list of VLAN translation policy objects." +enabled: true +entry_point: run.py +name: post.ipam.vlan_translation_policies +parameters: + endpoint_uri: + default: "/ipam/vlan-translation-policies/" + immutable: true + type: string + http_verb: + default: post + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + name: + required: false + type: string + description: "Name" + description: + required: false + type: string + description: "Description" +runner_type: python-script diff --git a/actions/post.ipam.vlan_translation_rules.yaml b/actions/post.ipam.vlan_translation_rules.yaml new file mode 100644 index 00000000..968c0266 --- /dev/null +++ b/actions/post.ipam.vlan_translation_rules.yaml @@ -0,0 +1,40 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Post a list of VLAN translation rule objects." +enabled: true +entry_point: run.py +name: post.ipam.vlan_translation_rules +parameters: + endpoint_uri: + default: "/ipam/vlan-translation-rules/" + immutable: true + type: string + http_verb: + default: post + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + policy: + required: false + type: integer + description: "Policy" + local_vid: + required: false + type: integer + description: "Local VLAN ID" + remote_vid: + required: false + type: integer + description: "Remote VLAN ID" + description: + required: false + type: string + description: "Description" +runner_type: python-script diff --git a/actions/post.ipam.vlans.yaml b/actions/post.ipam.vlans.yaml index cfc6804e..46913f49 100644 --- a/actions/post.ipam.vlans.yaml +++ b/actions/post.ipam.vlans.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of VLAN objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. site: required: false type: object @@ -53,6 +57,14 @@ parameters: required: false type: string description: "Description" + qinq_role: + required: false + type: string + description: "Q-in-Q role" + qinq_svlan: + required: false + type: integer + description: "Qinq svlan" comments: required: false type: string diff --git a/actions/post.ipam.vrfs.yaml b/actions/post.ipam.vrfs.yaml index e2dd654b..4bf8b110 100644 --- a/actions/post.ipam.vrfs.yaml +++ b/actions/post.ipam.vrfs.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of VRF objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -25,8 +29,36 @@ parameters: required: false type: string description: "Route distinguisher" + tenant: + required: false + type: object + description: "Tenant" + enforce_unique: + required: false + type: boolean + description: "Enforce unique space" description: required: false type: string description: "Description" + comments: + required: false + type: string + description: "Comments" + import_targets: + required: false + type: array + description: "Import targets" + export_targets: + required: false + type: array + description: "Export targets" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" runner_type: python-script diff --git a/actions/post.tenancy.contact_assignments.yaml b/actions/post.tenancy.contact_assignments.yaml index 55fce19b..7c59dbca 100644 --- a/actions/post.tenancy.contact_assignments.yaml +++ b/actions/post.tenancy.contact_assignments.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of contact assignment objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. object_type: required: false type: string diff --git a/actions/post.tenancy.contact_groups.yaml b/actions/post.tenancy.contact_groups.yaml index 2d948b40..b0dc8006 100644 --- a/actions/post.tenancy.contact_groups.yaml +++ b/actions/post.tenancy.contact_groups.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of contact group objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -41,4 +45,8 @@ parameters: required: false type: object description: "Custom fields" + comments: + required: false + type: string + description: "Comments" runner_type: python-script diff --git a/actions/post.tenancy.contact_roles.yaml b/actions/post.tenancy.contact_roles.yaml index a58a1b1e..40302e37 100644 --- a/actions/post.tenancy.contact_roles.yaml +++ b/actions/post.tenancy.contact_roles.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of contact role objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -29,4 +33,12 @@ parameters: required: false type: string description: "Description" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" runner_type: python-script diff --git a/actions/post.tenancy.contacts.yaml b/actions/post.tenancy.contacts.yaml index e87dca26..92f069ab 100644 --- a/actions/post.tenancy.contacts.yaml +++ b/actions/post.tenancy.contacts.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of contact objects." enabled: true entry_point: run.py @@ -17,12 +17,52 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + groups: + required: false + type: array + description: "Groups" name: required: false type: string description: "Name" + title: + required: false + type: string + description: "Title" + phone: + required: false + type: string + description: "Phone" + email: + required: false + type: string + description: "Email" + address: + required: false + type: string + description: "Address" + link: + required: false + type: string + description: "Link" description: required: false type: string description: "Description" + comments: + required: false + type: string + description: "Comments" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" runner_type: python-script diff --git a/actions/post.tenancy.tenant_groups.yaml b/actions/post.tenancy.tenant_groups.yaml index 6eca933a..e049c4a5 100644 --- a/actions/post.tenancy.tenant_groups.yaml +++ b/actions/post.tenancy.tenant_groups.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of tenant group objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -41,4 +45,8 @@ parameters: required: false type: object description: "Custom fields" + comments: + required: false + type: string + description: "Comments" runner_type: python-script diff --git a/actions/post.tenancy.tenants.yaml b/actions/post.tenancy.tenants.yaml index 20068fcd..faff4b66 100644 --- a/actions/post.tenancy.tenants.yaml +++ b/actions/post.tenancy.tenants.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of tenant objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -25,8 +29,24 @@ parameters: required: false type: string description: "Slug" + group: + required: false + type: object + description: "Group" description: required: false type: string description: "Description" + comments: + required: false + type: string + description: "Comments" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" runner_type: python-script diff --git a/actions/post.users.groups.yaml b/actions/post.users.groups.yaml index daa15a56..d416b176 100644 --- a/actions/post.users.groups.yaml +++ b/actions/post.users.groups.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of group objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/post.users.permissions.yaml b/actions/post.users.permissions.yaml index 0bd7c893..4039d1d4 100644 --- a/actions/post.users.permissions.yaml +++ b/actions/post.users.permissions.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of permission objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/post.users.tokens.provision.yaml b/actions/post.users.tokens.provision.yaml index 0ab47900..2991cb0d 100644 --- a/actions/post.users.tokens.provision.yaml +++ b/actions/post.users.tokens.provision.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Non-authenticated REST API endpoint via which a user may create a Token." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. expires: required: false type: string diff --git a/actions/post.users.tokens.yaml b/actions/post.users.tokens.yaml index 45f98b80..60629f41 100644 --- a/actions/post.users.tokens.yaml +++ b/actions/post.users.tokens.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of token objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. user: required: false type: object diff --git a/actions/post.users.users.yaml b/actions/post.users.users.yaml index 18d83179..34b14ca8 100644 --- a/actions/post.users.users.yaml +++ b/actions/post.users.users.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of user objects." enabled: true entry_point: run.py @@ -17,8 +17,52 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. username: required: false type: string description: "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only." + password: + required: false + type: string + description: "Password" + first_name: + required: false + type: string + description: "First name" + last_name: + required: false + type: string + description: "Last name" + email: + required: false + type: string + description: "Email address" + is_staff: + required: false + type: boolean + description: "Staff status" + is_active: + required: false + type: boolean + description: "Active" + date_joined: + required: false + type: string + description: "Date joined" + last_login: + required: false + type: string + description: "Last login" + groups: + required: false + type: array + description: "Groups" + permissions: + required: false + type: array + description: "Permissions" runner_type: python-script diff --git a/actions/post.virtualization.cluster_groups.yaml b/actions/post.virtualization.cluster_groups.yaml index 5ecdab58..af236115 100644 --- a/actions/post.virtualization.cluster_groups.yaml +++ b/actions/post.virtualization.cluster_groups.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of cluster group objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/post.virtualization.cluster_types.yaml b/actions/post.virtualization.cluster_types.yaml index 4b029aa9..6df5cbcb 100644 --- a/actions/post.virtualization.cluster_types.yaml +++ b/actions/post.virtualization.cluster_types.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of cluster type objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/post.virtualization.clusters.yaml b/actions/post.virtualization.clusters.yaml index 3818601f..b2ec04cf 100644 --- a/actions/post.virtualization.clusters.yaml +++ b/actions/post.virtualization.clusters.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of cluster objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -41,10 +45,14 @@ parameters: required: false type: object description: "Tenant" - site: + scope_type: required: false - type: object - description: "Site" + type: string + description: "Scope type" + scope_id: + required: false + type: integer + description: "Scope id" description: required: false type: string diff --git a/actions/post.virtualization.interfaces.yaml b/actions/post.virtualization.interfaces.yaml index 3f0da896..6405a523 100644 --- a/actions/post.virtualization.interfaces.yaml +++ b/actions/post.virtualization.interfaces.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of interface objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. virtual_machine: required: false type: object @@ -41,10 +45,10 @@ parameters: required: false type: integer description: "Mtu" - mac_address: + primary_mac_address: required: false - type: string - description: "Mac address" + type: object + description: "Primary mac address" description: required: false type: string @@ -56,7 +60,8 @@ parameters: * `access` - Access * `tagged` - Tagged -* `tagged-all` - Tagged (All)" +* `tagged-all` - Tagged (All) +* `q-in-q` - Q-in-Q (802.1ad)" untagged_vlan: required: false type: object @@ -65,6 +70,14 @@ parameters: required: false type: array description: "Tagged vlans" + qinq_svlan: + required: false + type: object + description: "Qinq svlan" + vlan_translation_policy: + required: false + type: object + description: "Vlan translation policy" vrf: required: false type: object diff --git a/actions/post.virtualization.virtual_disks.yaml b/actions/post.virtualization.virtual_disks.yaml index 2f4e98bb..8f519af9 100644 --- a/actions/post.virtualization.virtual_disks.yaml +++ b/actions/post.virtualization.virtual_disks.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of virtual disk objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. virtual_machine: required: false type: object @@ -32,7 +36,7 @@ parameters: size: required: false type: integer - description: "Size (GB)" + description: "Size (MB)" tags: required: false type: array diff --git a/actions/post.virtualization.virtual_machines.yaml b/actions/post.virtualization.virtual_machines.yaml index 8dcb4ca3..4d967a7d 100644 --- a/actions/post.virtualization.virtual_machines.yaml +++ b/actions/post.virtualization.virtual_machines.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of virtual machine objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -29,7 +33,8 @@ parameters: * `planned` - Planned * `staged` - Staged * `failed` - Failed -* `decommissioning` - Decommissioning" +* `decommissioning` - Decommissioning +* `paused` - Paused" site: required: false type: object @@ -42,6 +47,10 @@ parameters: required: false type: object description: "Device" + serial: + required: false + type: string + description: "Serial number" role: required: false type: object @@ -73,7 +82,7 @@ parameters: disk: required: false type: integer - description: "Disk (GB)" + description: "Disk (MB)" description: required: false type: string diff --git a/actions/post.vpn.ike_policies.yaml b/actions/post.vpn.ike_policies.yaml index ab527b83..1dd8e623 100644 --- a/actions/post.vpn.ike_policies.yaml +++ b/actions/post.vpn.ike_policies.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of IKE policy objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/post.vpn.ike_proposals.yaml b/actions/post.vpn.ike_proposals.yaml index 85900832..ef5dd27d 100644 --- a/actions/post.vpn.ike_proposals.yaml +++ b/actions/post.vpn.ike_proposals.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of IKE proposal objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/post.vpn.ipsec_policies.yaml b/actions/post.vpn.ipsec_policies.yaml index 967d3a66..8b642567 100644 --- a/actions/post.vpn.ipsec_policies.yaml +++ b/actions/post.vpn.ipsec_policies.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of IPSec policy objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/post.vpn.ipsec_profiles.yaml b/actions/post.vpn.ipsec_profiles.yaml index 26e35d29..3aa619fb 100644 --- a/actions/post.vpn.ipsec_profiles.yaml +++ b/actions/post.vpn.ipsec_profiles.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of IPSec profile objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/post.vpn.ipsec_proposals.yaml b/actions/post.vpn.ipsec_proposals.yaml index afbdef96..2290a012 100644 --- a/actions/post.vpn.ipsec_proposals.yaml +++ b/actions/post.vpn.ipsec_proposals.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of IPSec proposal objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/post.vpn.l2vpn_terminations.yaml b/actions/post.vpn.l2vpn_terminations.yaml index 57099b5f..a79056ee 100644 --- a/actions/post.vpn.l2vpn_terminations.yaml +++ b/actions/post.vpn.l2vpn_terminations.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of L2VPN termination objects." enabled: true entry_point: run.py @@ -17,8 +17,28 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. l2vpn: required: false type: object description: "L2vpn" + assigned_object_type: + required: false + type: string + description: "Assigned object type" + assigned_object_id: + required: false + type: integer + description: "Assigned object id" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" runner_type: python-script diff --git a/actions/post.vpn.l2vpns.yaml b/actions/post.vpn.l2vpns.yaml index b27486d7..e02998fc 100644 --- a/actions/post.vpn.l2vpns.yaml +++ b/actions/post.vpn.l2vpns.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of L2VPN objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. identifier: required: false type: integer @@ -38,12 +42,20 @@ parameters: * `vxlan-evpn` - VXLAN-EVPN * `mpls-evpn` - MPLS EVPN * `pbb-evpn` - PBB EVPN +* `evpn-vpws` - EVPN VPWS * `epl` - EPL * `evpl` - EVPL * `ep-lan` - Ethernet Private LAN * `evp-lan` - Ethernet Virtual Private LAN * `ep-tree` - Ethernet Private Tree -* `evp-tree` - Ethernet Virtual Private Tree" +* `evp-tree` - Ethernet Virtual Private Tree +* `spb` - SPB" + status: + required: false + type: string + description: "* `active` - Active +* `planned` - Planned +* `decommissioning` - Decommissioning" import_targets: required: false type: array diff --git a/actions/post.vpn.tunnel_groups.yaml b/actions/post.vpn.tunnel_groups.yaml index 0cb88283..9f78dbb3 100644 --- a/actions/post.vpn.tunnel_groups.yaml +++ b/actions/post.vpn.tunnel_groups.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of tunnel group objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/post.vpn.tunnel_terminations.yaml b/actions/post.vpn.tunnel_terminations.yaml index b5c64043..300d8ac5 100644 --- a/actions/post.vpn.tunnel_terminations.yaml +++ b/actions/post.vpn.tunnel_terminations.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of tunnel termination objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. tunnel: required: false type: object diff --git a/actions/post.vpn.tunnels.yaml b/actions/post.vpn.tunnels.yaml index bba172b6..1024c6d8 100644 --- a/actions/post.vpn.tunnels.yaml +++ b/actions/post.vpn.tunnels.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of tunnel objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -37,7 +41,11 @@ parameters: description: "* `ipsec-transport` - IPsec - Transport * `ipsec-tunnel` - IPsec - Tunnel * `ip-ip` - IP-in-IP -* `gre` - GRE" +* `gre` - GRE +* `wireguard` - WireGuard +* `openvpn` - OpenVPN +* `l2tp` - L2TP +* `pptp` - PPTP" ipsec_profile: required: false type: object diff --git a/actions/post.wireless.wireless_lan_groups.yaml b/actions/post.wireless.wireless_lan_groups.yaml index ee6eb54b..05163356 100644 --- a/actions/post.wireless.wireless_lan_groups.yaml +++ b/actions/post.wireless.wireless_lan_groups.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of wireless LAN group objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -41,4 +45,8 @@ parameters: required: false type: object description: "Custom fields" + comments: + required: false + type: string + description: "Comments" runner_type: python-script diff --git a/actions/post.wireless.wireless_lans.yaml b/actions/post.wireless.wireless_lans.yaml index ab5b0ec5..df50799d 100644 --- a/actions/post.wireless.wireless_lans.yaml +++ b/actions/post.wireless.wireless_lans.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of wireless LAN objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. ssid: required: false type: string @@ -40,6 +44,14 @@ parameters: required: false type: object description: "Vlan" + scope_type: + required: false + type: string + description: "Scope type" + scope_id: + required: false + type: integer + description: "Scope id" tenant: required: false type: object diff --git a/actions/post.wireless.wireless_links.yaml b/actions/post.wireless.wireless_links.yaml index be101de7..bb5f927c 100644 --- a/actions/post.wireless.wireless_links.yaml +++ b/actions/post.wireless.wireless_links.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Post a list of wireless link objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. interface_a: required: false type: object @@ -51,6 +55,17 @@ parameters: required: false type: string description: "Pre-shared key" + distance: + required: false + type: integer + description: "Distance" + distance_unit: + required: false + type: string + description: "* `km` - Kilometers +* `m` - Meters +* `mi` - Miles +* `ft` - Feet" description: required: false type: string diff --git a/actions/put.circuits.circuit_group_assignments.yaml b/actions/put.circuits.circuit_group_assignments.yaml new file mode 100644 index 00000000..b0ba3b35 --- /dev/null +++ b/actions/put.circuits.circuit_group_assignments.yaml @@ -0,0 +1,51 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Put a Circuit group assignment object." +enabled: true +entry_point: run.py +name: put.circuits.circuit_group_assignments +parameters: + endpoint_uri: + default: "/circuits/circuit-group-assignments/{{ id }}/" + immutable: true + type: string + http_verb: + default: put + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + group: + required: false + type: object + description: "Group" + member_type: + required: false + type: string + description: "Member type" + member_id: + required: false + type: integer + description: "Member id" + priority: + required: false + type: string + description: "* `primary` - Primary +* `secondary` - Secondary +* `tertiary` - Tertiary +* `inactive` - Inactive" + tags: + required: false + type: array + description: "Array of tag strings" + id: + required: true + type: integer + description: "ID of the object to put." +runner_type: python-script diff --git a/actions/put.circuits.circuit_groups.yaml b/actions/put.circuits.circuit_groups.yaml new file mode 100644 index 00000000..c28b5e45 --- /dev/null +++ b/actions/put.circuits.circuit_groups.yaml @@ -0,0 +1,52 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Put a circuit group object." +enabled: true +entry_point: run.py +name: put.circuits.circuit_groups +parameters: + endpoint_uri: + default: "/circuits/circuit-groups/{{ id }}/" + immutable: true + type: string + http_verb: + default: put + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + name: + required: false + type: string + description: "Name" + slug: + required: false + type: string + description: "Slug" + description: + required: false + type: string + description: "Description" + tenant: + required: false + type: object + description: "Tenant" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" + id: + required: true + type: integer + description: "ID of the object to put." +runner_type: python-script diff --git a/actions/put.circuits.circuit_terminations.yaml b/actions/put.circuits.circuit_terminations.yaml index 4a8231c6..cf2f241f 100644 --- a/actions/put.circuits.circuit_terminations.yaml +++ b/actions/put.circuits.circuit_terminations.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a circuit termination object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. circuit: required: false type: object @@ -24,15 +28,15 @@ parameters: term_side: required: false type: string - description: "Termination" - site: + description: "Termination side" + termination_type: required: false - type: object - description: "Site" - provider_network: + type: string + description: "Termination type" + termination_id: required: false - type: object - description: "Provider network" + type: integer + description: "Termination id" port_speed: required: false type: integer diff --git a/actions/put.circuits.circuit_types.yaml b/actions/put.circuits.circuit_types.yaml index baacbcfe..0f7d24f8 100644 --- a/actions/put.circuits.circuit_types.yaml +++ b/actions/put.circuits.circuit_types.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a circuit type object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/put.circuits.circuits.yaml b/actions/put.circuits.circuits.yaml index 3fe55cb4..3d180349 100644 --- a/actions/put.circuits.circuits.yaml +++ b/actions/put.circuits.circuits.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a circuit object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. cid: required: false type: string @@ -62,6 +66,17 @@ parameters: required: false type: string description: "Description" + distance: + required: false + type: integer + description: "Distance" + distance_unit: + required: false + type: string + description: "* `km` - Kilometers +* `m` - Meters +* `mi` - Miles +* `ft` - Feet" comments: required: false type: string @@ -74,6 +89,10 @@ parameters: required: false type: object description: "Custom fields" + assignments: + required: false + type: array + description: "Assignments" id: required: true type: integer diff --git a/actions/put.circuits.provider_accounts.yaml b/actions/put.circuits.provider_accounts.yaml index 00a745c6..b3793809 100644 --- a/actions/put.circuits.provider_accounts.yaml +++ b/actions/put.circuits.provider_accounts.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a provider account object." enabled: true entry_point: run.py @@ -17,6 +17,14 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + provider: + required: false + type: object + description: "Provider" name: required: false type: string @@ -29,6 +37,18 @@ parameters: required: false type: string description: "Description" + comments: + required: false + type: string + description: "Comments" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" id: required: true type: integer diff --git a/actions/put.circuits.provider_networks.yaml b/actions/put.circuits.provider_networks.yaml index bbcedd45..e231cc94 100644 --- a/actions/put.circuits.provider_networks.yaml +++ b/actions/put.circuits.provider_networks.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a provider network object." enabled: true entry_point: run.py @@ -17,14 +17,38 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + provider: + required: false + type: object + description: "Provider" name: required: false type: string description: "Name" + service_id: + required: false + type: string + description: "Service id" description: required: false type: string description: "Description" + comments: + required: false + type: string + description: "Comments" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" id: required: true type: integer diff --git a/actions/put.circuits.providers.yaml b/actions/put.circuits.providers.yaml index 483020f8..a8afa657 100644 --- a/actions/put.circuits.providers.yaml +++ b/actions/put.circuits.providers.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a provider object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -25,10 +29,30 @@ parameters: required: false type: string description: "Slug" + accounts: + required: false + type: array + description: "Accounts" description: required: false type: string description: "Description" + comments: + required: false + type: string + description: "Comments" + asns: + required: false + type: array + description: "Asns" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" id: required: true type: integer diff --git a/actions/put.circuits.virtual_circuit_terminations.yaml b/actions/put.circuits.virtual_circuit_terminations.yaml new file mode 100644 index 00000000..fd3c89fd --- /dev/null +++ b/actions/put.circuits.virtual_circuit_terminations.yaml @@ -0,0 +1,54 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Put a virtual circuit termination object." +enabled: true +entry_point: run.py +name: put.circuits.virtual_circuit_terminations +parameters: + endpoint_uri: + default: "/circuits/virtual-circuit-terminations/{{ id }}/" + immutable: true + type: string + http_verb: + default: put + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + virtual_circuit: + required: false + type: object + description: "Virtual circuit" + role: + required: false + type: string + description: "* `peer` - Peer +* `hub` - Hub +* `spoke` - Spoke" + interface: + required: false + type: object + description: "Interface" + description: + required: false + type: string + description: "Description" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" + id: + required: true + type: integer + description: "ID of the object to put." +runner_type: python-script diff --git a/actions/put.circuits.virtual_circuit_types.yaml b/actions/put.circuits.virtual_circuit_types.yaml new file mode 100644 index 00000000..41c1d642 --- /dev/null +++ b/actions/put.circuits.virtual_circuit_types.yaml @@ -0,0 +1,52 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Put a virtual circuit type object." +enabled: true +entry_point: run.py +name: put.circuits.virtual_circuit_types +parameters: + endpoint_uri: + default: "/circuits/virtual-circuit-types/{{ id }}/" + immutable: true + type: string + http_verb: + default: put + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + name: + required: false + type: string + description: "Name" + slug: + required: false + type: string + description: "Slug" + color: + required: false + type: string + description: "Color" + description: + required: false + type: string + description: "Description" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" + id: + required: true + type: integer + description: "ID of the object to put." +runner_type: python-script diff --git a/actions/put.circuits.virtual_circuits.yaml b/actions/put.circuits.virtual_circuits.yaml new file mode 100644 index 00000000..ceb4db68 --- /dev/null +++ b/actions/put.circuits.virtual_circuits.yaml @@ -0,0 +1,73 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Put a virtual circuit object." +enabled: true +entry_point: run.py +name: put.circuits.virtual_circuits +parameters: + endpoint_uri: + default: "/circuits/virtual-circuits/{{ id }}/" + immutable: true + type: string + http_verb: + default: put + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + cid: + required: false + type: string + description: "Circuit ID" + provider_network: + required: false + type: object + description: "Provider network" + provider_account: + required: false + type: object + description: "Provider account" + type: + required: false + type: object + description: "Type" + status: + required: false + type: string + description: "* `planned` - Planned +* `provisioning` - Provisioning +* `active` - Active +* `offline` - Offline +* `deprovisioning` - Deprovisioning +* `decommissioned` - Decommissioned" + tenant: + required: false + type: object + description: "Tenant" + description: + required: false + type: string + description: "Description" + comments: + required: false + type: string + description: "Comments" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" + id: + required: true + type: integer + description: "ID of the object to put." +runner_type: python-script diff --git a/actions/put.core.data_sources.yaml b/actions/put.core.data_sources.yaml index 480cc83a..ce3590cd 100644 --- a/actions/put.core.data_sources.yaml +++ b/actions/put.core.data_sources.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a data source object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -37,10 +41,15 @@ parameters: required: false type: string description: "Description" - comments: + sync_interval: required: false - type: string - description: "Comments" + type: integer + description: "* `1` - Minutely +* `60` - Hourly +* `720` - 12 hours +* `1440` - Daily +* `10080` - Weekly +* `43200` - 30 days" parameters: required: false type: object @@ -49,6 +58,10 @@ parameters: required: false type: string description: "Patterns (one per line) matching files to ignore when syncing" + comments: + required: false + type: string + description: "Comments" custom_fields: required: false type: object diff --git a/actions/put.dcim.cable_terminations.yaml b/actions/put.dcim.cable_terminations.yaml index 84dd8fd7..179abf9f 100644 --- a/actions/put.dcim.cable_terminations.yaml +++ b/actions/put.dcim.cable_terminations.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a cable termination object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. cable: required: false type: integer diff --git a/actions/put.dcim.cables.yaml b/actions/put.dcim.cables.yaml index 1ce8bad2..d01b27eb 100644 --- a/actions/put.dcim.cables.yaml +++ b/actions/put.dcim.cables.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a cable object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. type: required: false type: string @@ -42,6 +46,7 @@ parameters: * `smf-os1` - Singlemode Fiber (OS1) * `smf-os2` - Singlemode Fiber (OS2) * `aoc` - Active Optical Cabling (AOC) +* `usb` - USB * `power` - Power" a_terminations: required: false diff --git a/actions/put.dcim.console_port_templates.yaml b/actions/put.dcim.console_port_templates.yaml index 0393c923..40e20653 100644 --- a/actions/put.dcim.console_port_templates.yaml +++ b/actions/put.dcim.console_port_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a console port template object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device_type: required: false type: object diff --git a/actions/put.dcim.console_ports.yaml b/actions/put.dcim.console_ports.yaml index 434910c4..1b1bf7ff 100644 --- a/actions/put.dcim.console_ports.yaml +++ b/actions/put.dcim.console_ports.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a console port object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device: required: false type: object diff --git a/actions/put.dcim.console_server_port_templates.yaml b/actions/put.dcim.console_server_port_templates.yaml index a4e62ca8..ab2aea4f 100644 --- a/actions/put.dcim.console_server_port_templates.yaml +++ b/actions/put.dcim.console_server_port_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a console server port template object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device_type: required: false type: object diff --git a/actions/put.dcim.console_server_ports.yaml b/actions/put.dcim.console_server_ports.yaml index a1ed6fa9..ea2f7332 100644 --- a/actions/put.dcim.console_server_ports.yaml +++ b/actions/put.dcim.console_server_ports.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a console server port object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device: required: false type: object diff --git a/actions/put.dcim.device_bay_templates.yaml b/actions/put.dcim.device_bay_templates.yaml index f7889e97..abd663bd 100644 --- a/actions/put.dcim.device_bay_templates.yaml +++ b/actions/put.dcim.device_bay_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a device bay template object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device_type: required: false type: object diff --git a/actions/put.dcim.device_bays.yaml b/actions/put.dcim.device_bays.yaml index 28bb0176..c7cda8fe 100644 --- a/actions/put.dcim.device_bays.yaml +++ b/actions/put.dcim.device_bays.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a device bay object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device: required: false type: object diff --git a/actions/put.dcim.device_roles.yaml b/actions/put.dcim.device_roles.yaml index 1e21f800..313f0fee 100644 --- a/actions/put.dcim.device_roles.yaml +++ b/actions/put.dcim.device_roles.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a device role object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -37,6 +41,10 @@ parameters: required: false type: object description: "Config template" + parent: + required: false + type: integer + description: "Parent" description: required: false type: string @@ -49,6 +57,10 @@ parameters: required: false type: object description: "Custom fields" + comments: + required: false + type: string + description: "Comments" id: required: true type: integer diff --git a/actions/put.dcim.device_types.yaml b/actions/put.dcim.device_types.yaml index a9cfc66b..d38965a3 100644 --- a/actions/put.dcim.device_types.yaml +++ b/actions/put.dcim.device_types.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a device type object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. manufacturer: required: false type: object @@ -61,6 +65,9 @@ parameters: * `left-to-right` - Left to right * `right-to-left` - Right to left * `side-to-rear` - Side to rear +* `rear-to-side` - Rear to side +* `bottom-to-top` - Bottom to top +* `top-to-bottom` - Top to bottom * `passive` - Passive * `mixed` - Mixed" weight: diff --git a/actions/put.dcim.devices.yaml b/actions/put.dcim.devices.yaml index ffbb48a1..9245be46 100644 --- a/actions/put.dcim.devices.yaml +++ b/actions/put.dcim.devices.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a device object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -91,6 +95,9 @@ parameters: * `left-to-right` - Left to right * `right-to-left` - Right to left * `side-to-rear` - Side to rear +* `rear-to-side` - Rear to side +* `bottom-to-top` - Bottom to top +* `top-to-bottom` - Top to bottom * `passive` - Passive * `mixed` - Mixed" primary_ip4: diff --git a/actions/put.dcim.front_port_templates.yaml b/actions/put.dcim.front_port_templates.yaml index 753b01da..c0e9fce3 100644 --- a/actions/put.dcim.front_port_templates.yaml +++ b/actions/put.dcim.front_port_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a front port template object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device_type: required: false type: object @@ -55,6 +59,9 @@ parameters: * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC +* `fc-pc` - FC/PC +* `fc-upc` - FC/UPC +* `fc-apc` - FC/APC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC @@ -82,6 +89,14 @@ parameters: * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice +* `usb-a` - USB Type A +* `usb-b` - USB Type B +* `usb-c` - USB Type C +* `usb-mini-a` - USB Mini A +* `usb-mini-b` - USB Mini B +* `usb-micro-a` - USB Micro A +* `usb-micro-b` - USB Micro B +* `usb-micro-ab` - USB Micro AB * `other` - Other" color: required: false diff --git a/actions/put.dcim.front_ports.yaml b/actions/put.dcim.front_ports.yaml index 30f73ac2..87496180 100644 --- a/actions/put.dcim.front_ports.yaml +++ b/actions/put.dcim.front_ports.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a front port object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device: required: false type: object @@ -55,6 +59,9 @@ parameters: * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC +* `fc-pc` - FC/PC +* `fc-upc` - FC/UPC +* `fc-apc` - FC/APC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC @@ -82,6 +89,14 @@ parameters: * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice +* `usb-a` - USB Type A +* `usb-b` - USB Type B +* `usb-c` - USB Type C +* `usb-mini-a` - USB Mini A +* `usb-mini-b` - USB Mini B +* `usb-micro-a` - USB Micro A +* `usb-micro-b` - USB Micro B +* `usb-micro-ab` - USB Micro AB * `other` - Other" color: required: false diff --git a/actions/put.dcim.interface_templates.yaml b/actions/put.dcim.interface_templates.yaml index 7b51c95d..5031fa32 100644 --- a/actions/put.dcim.interface_templates.yaml +++ b/actions/put.dcim.interface_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a interface template object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device_type: required: false type: object @@ -44,10 +48,14 @@ parameters: * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) +* `1000base-sx` - 1000BASE-SX (1GE) +* `1000base-lx` - 1000BASE-LX (1GE) +* `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) +* `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) @@ -97,7 +105,9 @@ parameters: * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay +* `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) +* `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA @@ -137,6 +147,7 @@ parameters: * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS +* `moca` - MoCA * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) diff --git a/actions/put.dcim.interfaces.yaml b/actions/put.dcim.interfaces.yaml index f80e9e30..c9d4cbd9 100644 --- a/actions/put.dcim.interfaces.yaml +++ b/actions/put.dcim.interfaces.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a interface object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device: required: false type: object @@ -48,10 +52,14 @@ parameters: * `100base-tx` - 100BASE-TX (10/100ME) * `100base-t1` - 100BASE-T1 (10/100ME Single Pair) * `1000base-t` - 1000BASE-T (1GE) +* `1000base-sx` - 1000BASE-SX (1GE) +* `1000base-lx` - 1000BASE-LX (1GE) +* `1000base-tx` - 1000BASE-TX (1GE) * `2.5gbase-t` - 2.5GBASE-T (2.5GE) * `5gbase-t` - 5GBASE-T (5GE) * `10gbase-t` - 10GBASE-T (10GE) * `10gbase-cx4` - 10GBASE-CX4 (10GE) +* `100base-x-sfp` - SFP (100ME) * `1000base-x-gbic` - GBIC (1GE) * `1000base-x-sfp` - SFP (1GE) * `10gbase-x-sfpp` - SFP+ (10GE) @@ -101,7 +109,9 @@ parameters: * `ieee802.11ad` - IEEE 802.11ad * `ieee802.11ax` - IEEE 802.11ax * `ieee802.11ay` - IEEE 802.11ay +* `ieee802.11be` - IEEE 802.11be * `ieee802.15.1` - IEEE 802.15.1 (Bluetooth) +* `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN) * `other-wireless` - Other (Wireless) * `gsm` - GSM * `cdma` - CDMA @@ -141,6 +151,7 @@ parameters: * `e3` - E3 (34 Mbps) * `xdsl` - xDSL * `docsis` - DOCSIS +* `moca` - MoCA * `bpon` - BPON (622 Mbps / 155 Mbps) * `epon` - EPON (1 Gbps) * `10g-epon` - 10G-EPON (10 Gbps) @@ -185,10 +196,10 @@ parameters: required: false type: integer description: "Mtu" - mac_address: + primary_mac_address: required: false - type: string - description: "Mac address" + type: object + description: "Primary mac address" speed: required: false type: integer @@ -218,7 +229,8 @@ parameters: * `access` - Access * `tagged` - Tagged -* `tagged-all` - Tagged (All)" +* `tagged-all` - Tagged (All) +* `q-in-q` - Q-in-Q (802.1ad)" rf_role: required: false type: string @@ -263,6 +275,14 @@ parameters: required: false type: array description: "Tagged vlans" + qinq_svlan: + required: false + type: object + description: "Qinq svlan" + vlan_translation_policy: + required: false + type: object + description: "Vlan translation policy" mark_connected: required: false type: boolean diff --git a/actions/put.dcim.inventory_item_roles.yaml b/actions/put.dcim.inventory_item_roles.yaml index 9ccd8c16..173df0bd 100644 --- a/actions/put.dcim.inventory_item_roles.yaml +++ b/actions/put.dcim.inventory_item_roles.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a inventory item role object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/put.dcim.inventory_item_templates.yaml b/actions/put.dcim.inventory_item_templates.yaml index ddbcebbf..bd7a0b88 100644 --- a/actions/put.dcim.inventory_item_templates.yaml +++ b/actions/put.dcim.inventory_item_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a inventory item template object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device_type: required: false type: object diff --git a/actions/put.dcim.inventory_items.yaml b/actions/put.dcim.inventory_items.yaml index be64ca5e..342b153d 100644 --- a/actions/put.dcim.inventory_items.yaml +++ b/actions/put.dcim.inventory_items.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a inventory item object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device: required: false type: object @@ -33,6 +37,15 @@ parameters: required: false type: string description: "Physical label" + status: + required: false + type: string + description: "* `offline` - Offline +* `active` - Active +* `planned` - Planned +* `staged` - Staged +* `failed` - Failed +* `decommissioning` - Decommissioning" role: required: false type: object diff --git a/actions/put.dcim.locations.yaml b/actions/put.dcim.locations.yaml index aaa7ed75..dbbceeb4 100644 --- a/actions/put.dcim.locations.yaml +++ b/actions/put.dcim.locations.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a location object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -61,6 +65,10 @@ parameters: required: false type: object description: "Custom fields" + comments: + required: false + type: string + description: "Comments" id: required: true type: integer diff --git a/actions/put.dcim.mac_addresses.yaml b/actions/put.dcim.mac_addresses.yaml new file mode 100644 index 00000000..39a07fed --- /dev/null +++ b/actions/put.dcim.mac_addresses.yaml @@ -0,0 +1,56 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Put a MAC address object." +enabled: true +entry_point: run.py +name: put.dcim.mac_addresses +parameters: + endpoint_uri: + default: "/dcim/mac-addresses/{{ id }}/" + immutable: true + type: string + http_verb: + default: put + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + mac_address: + required: false + type: string + description: "Mac address" + assigned_object_type: + required: false + type: string + description: "Assigned object type" + assigned_object_id: + required: false + type: integer + description: "Assigned object id" + description: + required: false + type: string + description: "Description" + comments: + required: false + type: string + description: "Comments" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" + id: + required: true + type: integer + description: "ID of the object to put." +runner_type: python-script diff --git a/actions/put.dcim.manufacturers.yaml b/actions/put.dcim.manufacturers.yaml index d5e4fa27..b5288ba4 100644 --- a/actions/put.dcim.manufacturers.yaml +++ b/actions/put.dcim.manufacturers.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a manufacturer object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -29,6 +33,14 @@ parameters: required: false type: string description: "Description" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" id: required: true type: integer diff --git a/actions/put.dcim.module_bay_templates.yaml b/actions/put.dcim.module_bay_templates.yaml index f84a69f9..f6d78c16 100644 --- a/actions/put.dcim.module_bay_templates.yaml +++ b/actions/put.dcim.module_bay_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a module bay template object." enabled: true entry_point: run.py @@ -17,10 +17,18 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device_type: required: false type: object description: "Device type" + module_type: + required: false + type: object + description: "Module type" name: required: false type: string diff --git a/actions/put.dcim.module_bays.yaml b/actions/put.dcim.module_bays.yaml index 745d7b3c..1ab4623b 100644 --- a/actions/put.dcim.module_bays.yaml +++ b/actions/put.dcim.module_bays.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a module bay object." enabled: true entry_point: run.py @@ -17,10 +17,18 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device: required: false type: object description: "Device" + module: + required: false + type: object + description: "Module" name: required: false type: string diff --git a/actions/put.dcim.module_type_profiles.yaml b/actions/put.dcim.module_type_profiles.yaml new file mode 100644 index 00000000..e9512a44 --- /dev/null +++ b/actions/put.dcim.module_type_profiles.yaml @@ -0,0 +1,52 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Put a module type profile object." +enabled: true +entry_point: run.py +name: put.dcim.module_type_profiles +parameters: + endpoint_uri: + default: "/dcim/module-type-profiles/{{ id }}/" + immutable: true + type: string + http_verb: + default: put + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + name: + required: false + type: string + description: "Name" + description: + required: false + type: string + description: "Description" + schema: + required: false + type: object + description: "Schema" + comments: + required: false + type: string + description: "Comments" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" + id: + required: true + type: integer + description: "ID of the object to put." +runner_type: python-script diff --git a/actions/put.dcim.module_types.yaml b/actions/put.dcim.module_types.yaml index d8a3aa3a..d1a3b4d4 100644 --- a/actions/put.dcim.module_types.yaml +++ b/actions/put.dcim.module_types.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a module type object." enabled: true entry_point: run.py @@ -17,6 +17,14 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + profile: + required: false + type: object + description: "Profile" manufacturer: required: false type: object @@ -29,6 +37,15 @@ parameters: required: false type: string description: "Discrete part number (optional)" + airflow: + required: false + type: string + description: "* `front-to-rear` - Front to rear +* `rear-to-front` - Rear to front +* `left-to-right` - Left to right +* `right-to-left` - Right to left +* `side-to-rear` - Side to rear +* `passive` - Passive" weight: required: false type: integer @@ -44,6 +61,10 @@ parameters: required: false type: string description: "Description" + attributes: + required: false + type: object + description: "Attributes" comments: required: false type: string diff --git a/actions/put.dcim.modules.yaml b/actions/put.dcim.modules.yaml index b75ab244..2689b512 100644 --- a/actions/put.dcim.modules.yaml +++ b/actions/put.dcim.modules.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a module object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device: required: false type: object diff --git a/actions/put.dcim.platforms.yaml b/actions/put.dcim.platforms.yaml index 66e4198a..a711979b 100644 --- a/actions/put.dcim.platforms.yaml +++ b/actions/put.dcim.platforms.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a platform object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -25,10 +29,26 @@ parameters: required: false type: string description: "Slug" + manufacturer: + required: false + type: object + description: "Manufacturer" + config_template: + required: false + type: object + description: "Config template" description: required: false type: string description: "Description" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" id: required: true type: integer diff --git a/actions/put.dcim.power_feeds.yaml b/actions/put.dcim.power_feeds.yaml index 95819fba..53f96c08 100644 --- a/actions/put.dcim.power_feeds.yaml +++ b/actions/put.dcim.power_feeds.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a power feed object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. power_panel: required: false type: object diff --git a/actions/put.dcim.power_outlet_templates.yaml b/actions/put.dcim.power_outlet_templates.yaml index 7f6235cd..a54855ae 100644 --- a/actions/put.dcim.power_outlet_templates.yaml +++ b/actions/put.dcim.power_outlet_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a power outlet template object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device_type: required: false type: object @@ -97,6 +101,7 @@ parameters: * `nema-l15-60r` - NEMA L15-60R * `nema-l21-20r` - NEMA L21-20R * `nema-l21-30r` - NEMA L21-30R +* `nema-l22-20r` - NEMA L22-20R * `nema-l22-30r` - NEMA L22-30R * `CS6360C` - CS6360C * `CS6364C` - CS6364C @@ -123,6 +128,7 @@ parameters: * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal +* `eaton-c39` - Eaton C39 * `hdot-cx` - HDOT Cx * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20a` - Neutrik powerCON (20A) diff --git a/actions/put.dcim.power_outlets.yaml b/actions/put.dcim.power_outlets.yaml index f3729790..76e87499 100644 --- a/actions/put.dcim.power_outlets.yaml +++ b/actions/put.dcim.power_outlets.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a power outlet object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device: required: false type: object @@ -99,6 +103,7 @@ parameters: * `nema-l15-60r` - NEMA L15-60R * `nema-l21-20r` - NEMA L21-20R * `nema-l21-30r` - NEMA L21-30R +* `nema-l22-20r` - NEMA L22-20R * `nema-l22-30r` - NEMA L22-30R * `CS6360C` - CS6360C * `CS6364C` - CS6364C @@ -125,6 +130,7 @@ parameters: * `molex-micro-fit-2x2` - Molex Micro-Fit 2x2 * `molex-micro-fit-2x4` - Molex Micro-Fit 2x4 * `dc-terminal` - DC Terminal +* `eaton-c39` - Eaton C39 * `hdot-cx` - HDOT Cx * `saf-d-grid` - Saf-D-Grid * `neutrik-powercon-20a` - Neutrik powerCON (20A) @@ -134,6 +140,16 @@ parameters: * `ubiquiti-smartpower` - Ubiquiti SmartPower * `hardwired` - Hardwired * `other` - Other" + status: + required: false + type: string + description: "* `enabled` - Enabled +* `disabled` - Disabled +* `faulty` - Faulty" + color: + required: false + type: string + description: "Color" power_port: required: false type: object diff --git a/actions/put.dcim.power_panels.yaml b/actions/put.dcim.power_panels.yaml index 8cf6dae4..536e5cc5 100644 --- a/actions/put.dcim.power_panels.yaml +++ b/actions/put.dcim.power_panels.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a power panel object." enabled: true entry_point: run.py @@ -17,6 +17,18 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + site: + required: false + type: object + description: "Site" + location: + required: false + type: object + description: "Location" name: required: false type: string @@ -25,6 +37,18 @@ parameters: required: false type: string description: "Description" + comments: + required: false + type: string + description: "Comments" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" id: required: true type: integer diff --git a/actions/put.dcim.power_port_templates.yaml b/actions/put.dcim.power_port_templates.yaml index 9eadf54e..77f92d02 100644 --- a/actions/put.dcim.power_port_templates.yaml +++ b/actions/put.dcim.power_port_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a power port template object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device_type: required: false type: object @@ -97,6 +101,7 @@ parameters: * `nema-l15-60p` - NEMA L15-60P * `nema-l21-20p` - NEMA L21-20P * `nema-l21-30p` - NEMA L21-30P +* `nema-l22-20p` - NEMA L22-20P * `nema-l22-30p` - NEMA L22-30P * `cs6361c` - CS6361C * `cs6365c` - CS6365C diff --git a/actions/put.dcim.power_ports.yaml b/actions/put.dcim.power_ports.yaml index 7b98ba47..fbaccc60 100644 --- a/actions/put.dcim.power_ports.yaml +++ b/actions/put.dcim.power_ports.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a power port object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device: required: false type: object @@ -99,6 +103,7 @@ parameters: * `nema-l15-60p` - NEMA L15-60P * `nema-l21-20p` - NEMA L21-20P * `nema-l21-30p` - NEMA L21-30P +* `nema-l22-20p` - NEMA L22-20P * `nema-l22-30p` - NEMA L22-30P * `cs6361c` - CS6361C * `cs6365c` - CS6365C diff --git a/actions/put.dcim.rack_reservations.yaml b/actions/put.dcim.rack_reservations.yaml index 02a7e6da..02d762b9 100644 --- a/actions/put.dcim.rack_reservations.yaml +++ b/actions/put.dcim.rack_reservations.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a rack reservation object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. rack: required: false type: object diff --git a/actions/put.dcim.rack_roles.yaml b/actions/put.dcim.rack_roles.yaml index 03739db5..f6f25041 100644 --- a/actions/put.dcim.rack_roles.yaml +++ b/actions/put.dcim.rack_roles.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a rack role object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/put.dcim.rack_types.yaml b/actions/put.dcim.rack_types.yaml new file mode 100644 index 00000000..1fdbf3ca --- /dev/null +++ b/actions/put.dcim.rack_types.yaml @@ -0,0 +1,123 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Put a rack type object." +enabled: true +entry_point: run.py +name: put.dcim.rack_types +parameters: + endpoint_uri: + default: "/dcim/rack-types/{{ id }}/" + immutable: true + type: string + http_verb: + default: put + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + manufacturer: + required: false + type: object + description: "Manufacturer" + model: + required: false + type: string + description: "Model" + slug: + required: false + type: string + description: "Slug" + description: + required: false + type: string + description: "Description" + form_factor: + required: false + type: string + description: "* `2-post-frame` - 2-post frame +* `4-post-frame` - 4-post frame +* `4-post-cabinet` - 4-post cabinet +* `wall-frame` - Wall-mounted frame +* `wall-frame-vertical` - Wall-mounted frame (vertical) +* `wall-cabinet` - Wall-mounted cabinet +* `wall-cabinet-vertical` - Wall-mounted cabinet (vertical)" + width: + required: false + type: integer + description: "Rail-to-rail width + +* `10` - 10 inches +* `19` - 19 inches +* `21` - 21 inches +* `23` - 23 inches" + u_height: + required: false + type: integer + description: "Height (U)" + starting_unit: + required: false + type: integer + description: "Starting unit for rack" + desc_units: + required: false + type: boolean + description: "Descending units" + outer_width: + required: false + type: integer + description: "Outer dimension of rack (width)" + outer_height: + required: false + type: integer + description: "Outer dimension of rack (height)" + outer_depth: + required: false + type: integer + description: "Outer dimension of rack (depth)" + outer_unit: + required: false + type: string + description: "* `mm` - Millimeters +* `in` - Inches" + weight: + required: false + type: integer + description: "Weight" + max_weight: + required: false + type: integer + description: "Maximum load capacity for the rack" + weight_unit: + required: false + type: string + description: "* `kg` - Kilograms +* `g` - Grams +* `lb` - Pounds +* `oz` - Ounces" + mounting_depth: + required: false + type: integer + description: "Maximum depth of a mounted device, in millimeters. For four-post racks, this is the distance between the front and rear rails." + comments: + required: false + type: string + description: "Comments" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" + id: + required: true + type: integer + description: "ID of the object to put." +runner_type: python-script diff --git a/actions/put.dcim.racks.yaml b/actions/put.dcim.racks.yaml index 094bcab5..41d0f082 100644 --- a/actions/put.dcim.racks.yaml +++ b/actions/put.dcim.racks.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a rack object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -57,7 +61,11 @@ parameters: required: false type: string description: "A unique tag used to identify this rack" - type: + rack_type: + required: false + type: object + description: "Rack type" + form_factor: required: false type: string description: "* `2-post-frame` - 2-post frame @@ -107,6 +115,10 @@ parameters: required: false type: integer description: "Outer dimension of rack (width)" + outer_height: + required: false + type: integer + description: "Outer dimension of rack (height)" outer_depth: required: false type: integer @@ -120,6 +132,11 @@ parameters: required: false type: integer description: "Maximum depth of a mounted device, in millimeters. For four-post racks, this is the distance between the front and rear rails." + airflow: + required: false + type: string + description: "* `front-to-rear` - Front to rear +* `rear-to-front` - Rear to front" description: required: false type: string diff --git a/actions/put.dcim.rear_port_templates.yaml b/actions/put.dcim.rear_port_templates.yaml index 230c784a..9f1c8aa2 100644 --- a/actions/put.dcim.rear_port_templates.yaml +++ b/actions/put.dcim.rear_port_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a rear port template object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device_type: required: false type: object @@ -55,6 +59,9 @@ parameters: * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC +* `fc-pc` - FC/PC +* `fc-upc` - FC/UPC +* `fc-apc` - FC/APC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC @@ -82,6 +89,14 @@ parameters: * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice +* `usb-a` - USB Type A +* `usb-b` - USB Type B +* `usb-c` - USB Type C +* `usb-mini-a` - USB Mini A +* `usb-mini-b` - USB Mini B +* `usb-micro-a` - USB Micro A +* `usb-micro-b` - USB Micro B +* `usb-micro-ab` - USB Micro AB * `other` - Other" color: required: false diff --git a/actions/put.dcim.rear_ports.yaml b/actions/put.dcim.rear_ports.yaml index ac4df649..7e0e0c8f 100644 --- a/actions/put.dcim.rear_ports.yaml +++ b/actions/put.dcim.rear_ports.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a rear port object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. device: required: false type: object @@ -55,6 +59,9 @@ parameters: * `n` - N Connector * `mrj21` - MRJ21 * `fc` - FC +* `fc-pc` - FC/PC +* `fc-upc` - FC/UPC +* `fc-apc` - FC/APC * `lc` - LC * `lc-pc` - LC/PC * `lc-upc` - LC/UPC @@ -82,6 +89,14 @@ parameters: * `urm-p4` - URM-P4 * `urm-p8` - URM-P8 * `splice` - Splice +* `usb-a` - USB Type A +* `usb-b` - USB Type B +* `usb-c` - USB Type C +* `usb-mini-a` - USB Mini A +* `usb-mini-b` - USB Mini B +* `usb-micro-a` - USB Micro A +* `usb-micro-b` - USB Micro B +* `usb-micro-ab` - USB Micro AB * `other` - Other" color: required: false diff --git a/actions/put.dcim.regions.yaml b/actions/put.dcim.regions.yaml index 17cd132b..bd5303fe 100644 --- a/actions/put.dcim.regions.yaml +++ b/actions/put.dcim.regions.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a region object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -41,6 +45,10 @@ parameters: required: false type: object description: "Custom fields" + comments: + required: false + type: string + description: "Comments" id: required: true type: integer diff --git a/actions/put.dcim.site_groups.yaml b/actions/put.dcim.site_groups.yaml index a0b0aec8..95e2c894 100644 --- a/actions/put.dcim.site_groups.yaml +++ b/actions/put.dcim.site_groups.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a site group object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -41,6 +45,10 @@ parameters: required: false type: object description: "Custom fields" + comments: + required: false + type: string + description: "Comments" id: required: true type: integer diff --git a/actions/put.dcim.sites.yaml b/actions/put.dcim.sites.yaml index 9172b6d8..0603aeaa 100644 --- a/actions/put.dcim.sites.yaml +++ b/actions/put.dcim.sites.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a site object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/put.dcim.virtual_chassis.yaml b/actions/put.dcim.virtual_chassis.yaml index e88d27b0..19583b97 100644 --- a/actions/put.dcim.virtual_chassis.yaml +++ b/actions/put.dcim.virtual_chassis.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a virtual chassis object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/put.dcim.virtual_device_contexts.yaml b/actions/put.dcim.virtual_device_contexts.yaml index ffd22ebd..4fd4d377 100644 --- a/actions/put.dcim.virtual_device_contexts.yaml +++ b/actions/put.dcim.virtual_device_contexts.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a virtual device context object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/put.extras.bookmarks.yaml b/actions/put.extras.bookmarks.yaml index 59d01374..f17b4632 100644 --- a/actions/put.extras.bookmarks.yaml +++ b/actions/put.extras.bookmarks.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a bookmark object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. object_type: required: false type: string diff --git a/actions/put.extras.config_contexts.yaml b/actions/put.extras.config_contexts.yaml index 007c9ba9..def4f288 100644 --- a/actions/put.extras.config_contexts.yaml +++ b/actions/put.extras.config_contexts.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a config context object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/put.extras.config_templates.yaml b/actions/put.extras.config_templates.yaml index 1fd8ace1..39a42671 100644 --- a/actions/put.extras.config_templates.yaml +++ b/actions/put.extras.config_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a config template object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -25,6 +29,38 @@ parameters: required: false type: string description: "Description" + environment_params: + required: false + type: object + description: "Environment parameters" + template_code: + required: false + type: string + description: "Jinja template code." + mime_type: + required: false + type: string + description: "Defaults to <code>text/plain; charset=utf-8</code>" + file_name: + required: false + type: string + description: "Filename to give to the rendered export file" + file_extension: + required: false + type: string + description: "Extension to append to the rendered filename" + as_attachment: + required: false + type: boolean + description: "Download file as attachment" + data_source: + required: false + type: object + description: "Data source" + tags: + required: false + type: array + description: "Array of tag strings" id: required: true type: integer diff --git a/actions/put.extras.custom_field_choice_sets.yaml b/actions/put.extras.custom_field_choice_sets.yaml index 79965cd3..87b3bd4b 100644 --- a/actions/put.extras.custom_field_choice_sets.yaml +++ b/actions/put.extras.custom_field_choice_sets.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a custom field choice set object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/put.extras.custom_fields.yaml b/actions/put.extras.custom_fields.yaml index a35565d1..960b8a74 100644 --- a/actions/put.extras.custom_fields.yaml +++ b/actions/put.extras.custom_fields.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a custom field object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. object_types: required: false type: array @@ -62,7 +66,11 @@ parameters: required: required: false type: boolean - description: "If true, this field is required when creating new objects or editing an existing object." + description: "This field is required when creating new objects or editing an existing object." + unique: + required: false + type: boolean + description: "Must be unique" search_weight: required: false type: integer @@ -99,6 +107,10 @@ parameters: required: false type: object description: "Default value for the field (must be a JSON value). Encapsulate strings with double quotes (e.g. "Foo")." + related_object_filter: + required: false + type: object + description: "Filter the object selection choices using a query_params dict (must be a JSON value).Encapsulate strings with double quotes (e.g. "Foo")." weight: required: false type: integer diff --git a/actions/put.extras.custom_links.yaml b/actions/put.extras.custom_links.yaml index 1ef10491..75f4f396 100644 --- a/actions/put.extras.custom_links.yaml +++ b/actions/put.extras.custom_links.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a custom link object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. object_types: required: false type: array @@ -50,7 +54,7 @@ parameters: type: string description: "The class of the first link in a group will be used for the dropdown button -* `outline-dark` - Default +* `default` - Default * `blue` - Blue * `indigo` - Indigo * `purple` - Purple diff --git a/actions/put.extras.dashboard.yaml b/actions/put.extras.dashboard.yaml index 72e836ab..1885c418 100644 --- a/actions/put.extras.dashboard.yaml +++ b/actions/put.extras.dashboard.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a list of dashboard objects." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. layout: required: false type: object diff --git a/actions/put.extras.event_rules.yaml b/actions/put.extras.event_rules.yaml index 48fc98f1..55102402 100644 --- a/actions/put.extras.event_rules.yaml +++ b/actions/put.extras.event_rules.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a event rule object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. object_types: required: false type: array @@ -25,30 +29,14 @@ parameters: required: false type: string description: "Name" - type_create: - required: false - type: boolean - description: "On create" - type_update: - required: false - type: boolean - description: "On update" - type_delete: - required: false - type: boolean - description: "On delete" - type_job_start: - required: false - type: boolean - description: "On job start" - type_job_end: - required: false - type: boolean - description: "On job end" enabled: required: false type: boolean description: "Enabled" + event_types: + required: false + type: array + description: "The types of event which will trigger this rule." conditions: required: false type: object @@ -57,7 +45,8 @@ parameters: required: false type: string description: "* `webhook` - Webhook -* `script` - Script" +* `script` - Script +* `notification` - Notification" action_object_type: required: false type: string diff --git a/actions/put.extras.export_templates.yaml b/actions/put.extras.export_templates.yaml index 767ebc82..03db4f2f 100644 --- a/actions/put.extras.export_templates.yaml +++ b/actions/put.extras.export_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a export template object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. object_types: required: false type: array @@ -29,14 +33,22 @@ parameters: required: false type: string description: "Description" + environment_params: + required: false + type: object + description: "Environment parameters" template_code: required: false type: string - description: "Jinja2 template code. The list of objects being exported is passed as a context variable named <code>queryset</code>." + description: "Jinja template code." mime_type: required: false type: string description: "Defaults to <code>text/plain; charset=utf-8</code>" + file_name: + required: false + type: string + description: "Filename to give to the rendered export file" file_extension: required: false type: string diff --git a/actions/put.extras.image_attachments.yaml b/actions/put.extras.image_attachments.yaml index c65143ad..798136e6 100644 --- a/actions/put.extras.image_attachments.yaml +++ b/actions/put.extras.image_attachments.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a image attachment object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. object_type: required: false type: string @@ -33,14 +37,6 @@ parameters: required: false type: string description: "Image" - image_height: - required: false - type: integer - description: "Image height" - image_width: - required: false - type: integer - description: "Image width" id: required: true type: integer diff --git a/actions/put.extras.journal_entries.yaml b/actions/put.extras.journal_entries.yaml index 9ff4819f..88a81c0c 100644 --- a/actions/put.extras.journal_entries.yaml +++ b/actions/put.extras.journal_entries.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a journal entry object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. assigned_object_type: required: false type: string diff --git a/actions/put.extras.notification_groups.yaml b/actions/put.extras.notification_groups.yaml new file mode 100644 index 00000000..bfcecbb5 --- /dev/null +++ b/actions/put.extras.notification_groups.yaml @@ -0,0 +1,44 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Put a notification group object." +enabled: true +entry_point: run.py +name: put.extras.notification_groups +parameters: + endpoint_uri: + default: "/extras/notification-groups/{{ id }}/" + immutable: true + type: string + http_verb: + default: put + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + name: + required: false + type: string + description: "Name" + description: + required: false + type: string + description: "Description" + groups: + required: false + type: array + description: "Groups" + users: + required: false + type: array + description: "Users" + id: + required: true + type: integer + description: "ID of the object to put." +runner_type: python-script diff --git a/actions/put.extras.notifications.yaml b/actions/put.extras.notifications.yaml new file mode 100644 index 00000000..1aa27eb9 --- /dev/null +++ b/actions/put.extras.notifications.yaml @@ -0,0 +1,48 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Put a notification object." +enabled: true +entry_point: run.py +name: put.extras.notifications +parameters: + endpoint_uri: + default: "/extras/notifications/{{ id }}/" + immutable: true + type: string + http_verb: + default: put + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + object_type: + required: false + type: string + description: "Object type" + object_id: + required: false + type: integer + description: "Object id" + user: + required: false + type: object + description: "User" + read: + required: false + type: string + description: "Read" + event_type: + required: false + type: string + description: "Event" + id: + required: true + type: integer + description: "ID of the object to put." +runner_type: python-script diff --git a/actions/put.extras.saved_filters.yaml b/actions/put.extras.saved_filters.yaml index 025ab34e..b58dda9f 100644 --- a/actions/put.extras.saved_filters.yaml +++ b/actions/put.extras.saved_filters.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a saved filter object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. object_types: required: false type: array diff --git a/actions/put.extras.scripts.yaml b/actions/put.extras.scripts.yaml index cc32c584..9876312a 100644 --- a/actions/put.extras.scripts.yaml +++ b/actions/put.extras.scripts.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a script object." enabled: true entry_point: run.py @@ -17,6 +17,26 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + data: + required: false + type: object + description: "Data" + commit: + required: false + type: boolean + description: "Commit" + schedule_at: + required: false + type: string + description: "Schedule at" + interval: + required: false + type: integer + description: "Interval" id: required: true type: integer diff --git a/actions/put.extras.subscriptions.yaml b/actions/put.extras.subscriptions.yaml new file mode 100644 index 00000000..1fc98e81 --- /dev/null +++ b/actions/put.extras.subscriptions.yaml @@ -0,0 +1,40 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Put a subscription object." +enabled: true +entry_point: run.py +name: put.extras.subscriptions +parameters: + endpoint_uri: + default: "/extras/subscriptions/{{ id }}/" + immutable: true + type: string + http_verb: + default: put + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + object_type: + required: false + type: string + description: "Object type" + object_id: + required: false + type: integer + description: "Object id" + user: + required: false + type: object + description: "User" + id: + required: true + type: integer + description: "ID of the object to put." +runner_type: python-script diff --git a/actions/put.extras.table_configs.yaml b/actions/put.extras.table_configs.yaml new file mode 100644 index 00000000..157cc561 --- /dev/null +++ b/actions/put.extras.table_configs.yaml @@ -0,0 +1,68 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Put a table config object." +enabled: true +entry_point: run.py +name: put.extras.table_configs +parameters: + endpoint_uri: + default: "/extras/table-configs/{{ id }}/" + immutable: true + type: string + http_verb: + default: put + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + object_type: + required: false + type: string + description: "Object type" + table: + required: false + type: string + description: "Table" + name: + required: false + type: string + description: "Name" + description: + required: false + type: string + description: "Description" + user: + required: false + type: integer + description: "User" + weight: + required: false + type: integer + description: "Weight" + enabled: + required: false + type: boolean + description: "Enabled" + shared: + required: false + type: boolean + description: "Shared" + columns: + required: false + type: array + description: "Columns" + ordering: + required: false + type: array + description: "Ordering" + id: + required: true + type: integer + description: "ID of the object to put." +runner_type: python-script diff --git a/actions/put.extras.tags.yaml b/actions/put.extras.tags.yaml index 047c0115..77c35fac 100644 --- a/actions/put.extras.tags.yaml +++ b/actions/put.extras.tags.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a tag object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -33,6 +37,10 @@ parameters: required: false type: string description: "Description" + weight: + required: false + type: integer + description: "Weight" object_types: required: false type: array diff --git a/actions/put.extras.webhooks.yaml b/actions/put.extras.webhooks.yaml index 70267d7f..1231e7f8 100644 --- a/actions/put.extras.webhooks.yaml +++ b/actions/put.extras.webhooks.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a webhook object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/put.ipam.aggregates.yaml b/actions/put.ipam.aggregates.yaml index b0e38077..e7955217 100644 --- a/actions/put.ipam.aggregates.yaml +++ b/actions/put.ipam.aggregates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a aggregate object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. prefix: required: false type: string diff --git a/actions/put.ipam.asn_ranges.yaml b/actions/put.ipam.asn_ranges.yaml index d749e359..39432b9a 100644 --- a/actions/put.ipam.asn_ranges.yaml +++ b/actions/put.ipam.asn_ranges.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a ASN range object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/put.ipam.asns.yaml b/actions/put.ipam.asns.yaml index 0c8ee62c..63402349 100644 --- a/actions/put.ipam.asns.yaml +++ b/actions/put.ipam.asns.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a ASN object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. asn: required: false type: integer diff --git a/actions/put.ipam.fhrp_group_assignments.yaml b/actions/put.ipam.fhrp_group_assignments.yaml index 11c875ce..cd0f69af 100644 --- a/actions/put.ipam.fhrp_group_assignments.yaml +++ b/actions/put.ipam.fhrp_group_assignments.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a FHRP group assignment object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. group: required: false type: object diff --git a/actions/put.ipam.fhrp_groups.yaml b/actions/put.ipam.fhrp_groups.yaml index 63b39c90..f434f07a 100644 --- a/actions/put.ipam.fhrp_groups.yaml +++ b/actions/put.ipam.fhrp_groups.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a FHRP group object." enabled: true entry_point: run.py @@ -17,6 +17,14 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + name: + required: false + type: string + description: "Name" protocol: required: false type: string @@ -31,10 +39,30 @@ parameters: required: false type: integer description: "Group id" + auth_type: + required: false + type: string + description: "Authentication type" + auth_key: + required: false + type: string + description: "Authentication key" description: required: false type: string description: "Description" + comments: + required: false + type: string + description: "Comments" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" id: required: true type: integer diff --git a/actions/put.ipam.ip_addresses.yaml b/actions/put.ipam.ip_addresses.yaml index c9272b07..adcf12e4 100644 --- a/actions/put.ipam.ip_addresses.yaml +++ b/actions/put.ipam.ip_addresses.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a IP address object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. address: required: false type: string diff --git a/actions/put.ipam.ip_ranges.yaml b/actions/put.ipam.ip_ranges.yaml index 74ad638a..79279c80 100644 --- a/actions/put.ipam.ip_ranges.yaml +++ b/actions/put.ipam.ip_ranges.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a IP range object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. start_address: required: false type: string @@ -61,10 +65,14 @@ parameters: required: false type: object description: "Custom fields" + mark_populated: + required: false + type: boolean + description: "Prevent the creation of IP addresses within this range" mark_utilized: required: false type: boolean - description: "Treat as fully utilized" + description: "Report space as 100% utilized" id: required: true type: integer diff --git a/actions/put.ipam.prefixes.yaml b/actions/put.ipam.prefixes.yaml index 851564b5..6846648b 100644 --- a/actions/put.ipam.prefixes.yaml +++ b/actions/put.ipam.prefixes.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a prefix object." enabled: true entry_point: run.py @@ -17,18 +17,26 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. prefix: required: false type: string description: "Prefix" - site: - required: false - type: object - description: "Site" vrf: required: false type: object description: "Vrf" + scope_type: + required: false + type: string + description: "Scope type" + scope_id: + required: false + type: integer + description: "Scope id" tenant: required: false type: object diff --git a/actions/put.ipam.rirs.yaml b/actions/put.ipam.rirs.yaml index d3480fd6..9a83f3f8 100644 --- a/actions/put.ipam.rirs.yaml +++ b/actions/put.ipam.rirs.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a RIR object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -25,10 +29,22 @@ parameters: required: false type: string description: "Slug" + is_private: + required: false + type: boolean + description: "Private" description: required: false type: string description: "Description" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" id: required: true type: integer diff --git a/actions/put.ipam.roles.yaml b/actions/put.ipam.roles.yaml index c61df3b1..669fb878 100644 --- a/actions/put.ipam.roles.yaml +++ b/actions/put.ipam.roles.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a role object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -25,10 +29,22 @@ parameters: required: false type: string description: "Slug" + weight: + required: false + type: integer + description: "Weight" description: required: false type: string description: "Description" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" id: required: true type: integer diff --git a/actions/put.ipam.route_targets.yaml b/actions/put.ipam.route_targets.yaml index 6a014c32..ba99bd27 100644 --- a/actions/put.ipam.route_targets.yaml +++ b/actions/put.ipam.route_targets.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a route target object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/put.ipam.service_templates.yaml b/actions/put.ipam.service_templates.yaml index 0f747bfe..5434597b 100644 --- a/actions/put.ipam.service_templates.yaml +++ b/actions/put.ipam.service_templates.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a service template object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/put.ipam.services.yaml b/actions/put.ipam.services.yaml index fb7eac1b..a1240afd 100644 --- a/actions/put.ipam.services.yaml +++ b/actions/put.ipam.services.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a service object." enabled: true entry_point: run.py @@ -17,14 +17,18 @@ parameters: default: true immutable: true type: boolean - device: + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + parent_object_type: required: false - type: object - description: "Device" - virtual_machine: + type: string + description: "Parent object type" + parent_object_id: required: false - type: object - description: "Virtual machine" + type: integer + description: "Parent object id" name: required: false type: string diff --git a/actions/put.ipam.vlan_groups.yaml b/actions/put.ipam.vlan_groups.yaml index 01140413..a00fef2d 100644 --- a/actions/put.ipam.vlan_groups.yaml +++ b/actions/put.ipam.vlan_groups.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a VLAN group object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -33,14 +37,14 @@ parameters: required: false type: integer description: "Scope id" - min_vid: + vid_ranges: required: false - type: integer - description: "Minimum VLAN ID" - max_vid: + type: array + description: "Vid ranges" + tenant: required: false - type: integer - description: "Maximum VLAN ID" + type: object + description: "Tenant" description: required: false type: string diff --git a/actions/put.ipam.vlan_translation_policies.yaml b/actions/put.ipam.vlan_translation_policies.yaml new file mode 100644 index 00000000..2cb7cd1e --- /dev/null +++ b/actions/put.ipam.vlan_translation_policies.yaml @@ -0,0 +1,36 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Put a VLAN translation policy object." +enabled: true +entry_point: run.py +name: put.ipam.vlan_translation_policies +parameters: + endpoint_uri: + default: "/ipam/vlan-translation-policies/{{ id }}/" + immutable: true + type: string + http_verb: + default: put + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + name: + required: false + type: string + description: "Name" + description: + required: false + type: string + description: "Description" + id: + required: true + type: integer + description: "ID of the object to put." +runner_type: python-script diff --git a/actions/put.ipam.vlan_translation_rules.yaml b/actions/put.ipam.vlan_translation_rules.yaml new file mode 100644 index 00000000..65837080 --- /dev/null +++ b/actions/put.ipam.vlan_translation_rules.yaml @@ -0,0 +1,44 @@ +# This action was auto generated from the NetBox API Swagger Spec +# NetBox API version: 4.3 +description: "Put a VLAN translation rule object." +enabled: true +entry_point: run.py +name: put.ipam.vlan_translation_rules +parameters: + endpoint_uri: + default: "/ipam/vlan-translation-rules/{{ id }}/" + immutable: true + type: string + http_verb: + default: put + immutable: true + type: string + get_detail_route_eligible: + default: true + immutable: true + type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + policy: + required: false + type: integer + description: "Policy" + local_vid: + required: false + type: integer + description: "Local VLAN ID" + remote_vid: + required: false + type: integer + description: "Remote VLAN ID" + description: + required: false + type: string + description: "Description" + id: + required: true + type: integer + description: "ID of the object to put." +runner_type: python-script diff --git a/actions/put.ipam.vlans.yaml b/actions/put.ipam.vlans.yaml index 3bf3c2c7..db892cd6 100644 --- a/actions/put.ipam.vlans.yaml +++ b/actions/put.ipam.vlans.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a VLAN object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. site: required: false type: object @@ -53,6 +57,14 @@ parameters: required: false type: string description: "Description" + qinq_role: + required: false + type: string + description: "Q-in-Q role" + qinq_svlan: + required: false + type: integer + description: "Qinq svlan" comments: required: false type: string diff --git a/actions/put.ipam.vrfs.yaml b/actions/put.ipam.vrfs.yaml index 67152880..04316e3d 100644 --- a/actions/put.ipam.vrfs.yaml +++ b/actions/put.ipam.vrfs.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a VRF object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -25,10 +29,38 @@ parameters: required: false type: string description: "Route distinguisher" + tenant: + required: false + type: object + description: "Tenant" + enforce_unique: + required: false + type: boolean + description: "Enforce unique space" description: required: false type: string description: "Description" + comments: + required: false + type: string + description: "Comments" + import_targets: + required: false + type: array + description: "Import targets" + export_targets: + required: false + type: array + description: "Export targets" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" id: required: true type: integer diff --git a/actions/put.tenancy.contact_assignments.yaml b/actions/put.tenancy.contact_assignments.yaml index cb155b40..7479f972 100644 --- a/actions/put.tenancy.contact_assignments.yaml +++ b/actions/put.tenancy.contact_assignments.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a contact assignment object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. object_type: required: false type: string diff --git a/actions/put.tenancy.contact_groups.yaml b/actions/put.tenancy.contact_groups.yaml index 228c846a..6f615383 100644 --- a/actions/put.tenancy.contact_groups.yaml +++ b/actions/put.tenancy.contact_groups.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a contact group object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -41,6 +45,10 @@ parameters: required: false type: object description: "Custom fields" + comments: + required: false + type: string + description: "Comments" id: required: true type: integer diff --git a/actions/put.tenancy.contact_roles.yaml b/actions/put.tenancy.contact_roles.yaml index 4a7e6979..326d7e6b 100644 --- a/actions/put.tenancy.contact_roles.yaml +++ b/actions/put.tenancy.contact_roles.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a contact role object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -29,6 +33,14 @@ parameters: required: false type: string description: "Description" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" id: required: true type: integer diff --git a/actions/put.tenancy.contacts.yaml b/actions/put.tenancy.contacts.yaml index 99979958..b25185e4 100644 --- a/actions/put.tenancy.contacts.yaml +++ b/actions/put.tenancy.contacts.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a contact object." enabled: true entry_point: run.py @@ -17,14 +17,54 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. + groups: + required: false + type: array + description: "Groups" name: required: false type: string description: "Name" + title: + required: false + type: string + description: "Title" + phone: + required: false + type: string + description: "Phone" + email: + required: false + type: string + description: "Email" + address: + required: false + type: string + description: "Address" + link: + required: false + type: string + description: "Link" description: required: false type: string description: "Description" + comments: + required: false + type: string + description: "Comments" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" id: required: true type: integer diff --git a/actions/put.tenancy.tenant_groups.yaml b/actions/put.tenancy.tenant_groups.yaml index 64e0b01d..6f6f73cb 100644 --- a/actions/put.tenancy.tenant_groups.yaml +++ b/actions/put.tenancy.tenant_groups.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a tenant group object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -41,6 +45,10 @@ parameters: required: false type: object description: "Custom fields" + comments: + required: false + type: string + description: "Comments" id: required: true type: integer diff --git a/actions/put.tenancy.tenants.yaml b/actions/put.tenancy.tenants.yaml index 90bfda22..bac1e17e 100644 --- a/actions/put.tenancy.tenants.yaml +++ b/actions/put.tenancy.tenants.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a tenant object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -25,10 +29,26 @@ parameters: required: false type: string description: "Slug" + group: + required: false + type: object + description: "Group" description: required: false type: string description: "Description" + comments: + required: false + type: string + description: "Comments" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" id: required: true type: integer diff --git a/actions/put.users.groups.yaml b/actions/put.users.groups.yaml index 22335a59..53db8585 100644 --- a/actions/put.users.groups.yaml +++ b/actions/put.users.groups.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a group object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/put.users.permissions.yaml b/actions/put.users.permissions.yaml index deb45fdb..67edfaec 100644 --- a/actions/put.users.permissions.yaml +++ b/actions/put.users.permissions.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a permission object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/put.users.tokens.yaml b/actions/put.users.tokens.yaml index c5d834a6..65aec957 100644 --- a/actions/put.users.tokens.yaml +++ b/actions/put.users.tokens.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a token object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. user: required: false type: object diff --git a/actions/put.users.users.yaml b/actions/put.users.users.yaml index 3b074de8..61119bd3 100644 --- a/actions/put.users.users.yaml +++ b/actions/put.users.users.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a user object." enabled: true entry_point: run.py @@ -17,10 +17,54 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. username: required: false type: string description: "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only." + password: + required: false + type: string + description: "Password" + first_name: + required: false + type: string + description: "First name" + last_name: + required: false + type: string + description: "Last name" + email: + required: false + type: string + description: "Email address" + is_staff: + required: false + type: boolean + description: "Staff status" + is_active: + required: false + type: boolean + description: "Active" + date_joined: + required: false + type: string + description: "Date joined" + last_login: + required: false + type: string + description: "Last login" + groups: + required: false + type: array + description: "Groups" + permissions: + required: false + type: array + description: "Permissions" id: required: true type: integer diff --git a/actions/put.virtualization.cluster_groups.yaml b/actions/put.virtualization.cluster_groups.yaml index b74b25a9..82fe44c1 100644 --- a/actions/put.virtualization.cluster_groups.yaml +++ b/actions/put.virtualization.cluster_groups.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a cluster group object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/put.virtualization.cluster_types.yaml b/actions/put.virtualization.cluster_types.yaml index 93acc41a..95e57e96 100644 --- a/actions/put.virtualization.cluster_types.yaml +++ b/actions/put.virtualization.cluster_types.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a cluster type object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/put.virtualization.clusters.yaml b/actions/put.virtualization.clusters.yaml index fd61382f..87781a0b 100644 --- a/actions/put.virtualization.clusters.yaml +++ b/actions/put.virtualization.clusters.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a cluster object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -41,10 +45,14 @@ parameters: required: false type: object description: "Tenant" - site: + scope_type: required: false - type: object - description: "Site" + type: string + description: "Scope type" + scope_id: + required: false + type: integer + description: "Scope id" description: required: false type: string diff --git a/actions/put.virtualization.interfaces.yaml b/actions/put.virtualization.interfaces.yaml index 16d531ea..5d59556b 100644 --- a/actions/put.virtualization.interfaces.yaml +++ b/actions/put.virtualization.interfaces.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a interface object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. virtual_machine: required: false type: object @@ -41,10 +45,10 @@ parameters: required: false type: integer description: "Mtu" - mac_address: + primary_mac_address: required: false - type: string - description: "Mac address" + type: object + description: "Primary mac address" description: required: false type: string @@ -56,7 +60,8 @@ parameters: * `access` - Access * `tagged` - Tagged -* `tagged-all` - Tagged (All)" +* `tagged-all` - Tagged (All) +* `q-in-q` - Q-in-Q (802.1ad)" untagged_vlan: required: false type: object @@ -65,6 +70,14 @@ parameters: required: false type: array description: "Tagged vlans" + qinq_svlan: + required: false + type: object + description: "Qinq svlan" + vlan_translation_policy: + required: false + type: object + description: "Vlan translation policy" vrf: required: false type: object diff --git a/actions/put.virtualization.virtual_disks.yaml b/actions/put.virtualization.virtual_disks.yaml index ee607c32..f38600d4 100644 --- a/actions/put.virtualization.virtual_disks.yaml +++ b/actions/put.virtualization.virtual_disks.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a virtual disk object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. virtual_machine: required: false type: object @@ -32,7 +36,7 @@ parameters: size: required: false type: integer - description: "Size (GB)" + description: "Size (MB)" tags: required: false type: array diff --git a/actions/put.virtualization.virtual_machines.yaml b/actions/put.virtualization.virtual_machines.yaml index 71ed12fc..443c2726 100644 --- a/actions/put.virtualization.virtual_machines.yaml +++ b/actions/put.virtualization.virtual_machines.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a virtual machine object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -29,7 +33,8 @@ parameters: * `planned` - Planned * `staged` - Staged * `failed` - Failed -* `decommissioning` - Decommissioning" +* `decommissioning` - Decommissioning +* `paused` - Paused" site: required: false type: object @@ -42,6 +47,10 @@ parameters: required: false type: object description: "Device" + serial: + required: false + type: string + description: "Serial number" role: required: false type: object @@ -73,7 +82,7 @@ parameters: disk: required: false type: integer - description: "Disk (GB)" + description: "Disk (MB)" description: required: false type: string diff --git a/actions/put.vpn.ike_policies.yaml b/actions/put.vpn.ike_policies.yaml index e9cd61ce..1bc25c05 100644 --- a/actions/put.vpn.ike_policies.yaml +++ b/actions/put.vpn.ike_policies.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a IKE policy object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/put.vpn.ike_proposals.yaml b/actions/put.vpn.ike_proposals.yaml index e56077c1..25969d63 100644 --- a/actions/put.vpn.ike_proposals.yaml +++ b/actions/put.vpn.ike_proposals.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a IKE proposal object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/put.vpn.ipsec_policies.yaml b/actions/put.vpn.ipsec_policies.yaml index fcc0c799..88d4c19d 100644 --- a/actions/put.vpn.ipsec_policies.yaml +++ b/actions/put.vpn.ipsec_policies.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a IPSec policy object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/put.vpn.ipsec_profiles.yaml b/actions/put.vpn.ipsec_profiles.yaml index 5a08985f..a2a5e8e5 100644 --- a/actions/put.vpn.ipsec_profiles.yaml +++ b/actions/put.vpn.ipsec_profiles.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a IPSec profile object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/put.vpn.ipsec_proposals.yaml b/actions/put.vpn.ipsec_proposals.yaml index 88f0270a..361f1c3d 100644 --- a/actions/put.vpn.ipsec_proposals.yaml +++ b/actions/put.vpn.ipsec_proposals.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a IPSec proposal object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/put.vpn.l2vpn_terminations.yaml b/actions/put.vpn.l2vpn_terminations.yaml index 7fe0506e..a9352e3b 100644 --- a/actions/put.vpn.l2vpn_terminations.yaml +++ b/actions/put.vpn.l2vpn_terminations.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a L2VPN termination object." enabled: true entry_point: run.py @@ -17,10 +17,30 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. l2vpn: required: false type: object description: "L2vpn" + assigned_object_type: + required: false + type: string + description: "Assigned object type" + assigned_object_id: + required: false + type: integer + description: "Assigned object id" + tags: + required: false + type: array + description: "Array of tag strings" + custom_fields: + required: false + type: object + description: "Custom fields" id: required: true type: integer diff --git a/actions/put.vpn.l2vpns.yaml b/actions/put.vpn.l2vpns.yaml index 6665eb68..15036e5b 100644 --- a/actions/put.vpn.l2vpns.yaml +++ b/actions/put.vpn.l2vpns.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a L2VPN object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. identifier: required: false type: integer @@ -38,12 +42,20 @@ parameters: * `vxlan-evpn` - VXLAN-EVPN * `mpls-evpn` - MPLS EVPN * `pbb-evpn` - PBB EVPN +* `evpn-vpws` - EVPN VPWS * `epl` - EPL * `evpl` - EVPL * `ep-lan` - Ethernet Private LAN * `evp-lan` - Ethernet Virtual Private LAN * `ep-tree` - Ethernet Private Tree -* `evp-tree` - Ethernet Virtual Private Tree" +* `evp-tree` - Ethernet Virtual Private Tree +* `spb` - SPB" + status: + required: false + type: string + description: "* `active` - Active +* `planned` - Planned +* `decommissioning` - Decommissioning" import_targets: required: false type: array diff --git a/actions/put.vpn.tunnel_groups.yaml b/actions/put.vpn.tunnel_groups.yaml index a38f7c53..20f1dd62 100644 --- a/actions/put.vpn.tunnel_groups.yaml +++ b/actions/put.vpn.tunnel_groups.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a tunnel group object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string diff --git a/actions/put.vpn.tunnel_terminations.yaml b/actions/put.vpn.tunnel_terminations.yaml index c7ed369f..0168666c 100644 --- a/actions/put.vpn.tunnel_terminations.yaml +++ b/actions/put.vpn.tunnel_terminations.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a tunnel termination object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. tunnel: required: false type: object diff --git a/actions/put.vpn.tunnels.yaml b/actions/put.vpn.tunnels.yaml index 2e4e720f..a9a1e853 100644 --- a/actions/put.vpn.tunnels.yaml +++ b/actions/put.vpn.tunnels.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a tunnel object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -37,7 +41,11 @@ parameters: description: "* `ipsec-transport` - IPsec - Transport * `ipsec-tunnel` - IPsec - Tunnel * `ip-ip` - IP-in-IP -* `gre` - GRE" +* `gre` - GRE +* `wireguard` - WireGuard +* `openvpn` - OpenVPN +* `l2tp` - L2TP +* `pptp` - PPTP" ipsec_profile: required: false type: object diff --git a/actions/put.wireless.wireless_lan_groups.yaml b/actions/put.wireless.wireless_lan_groups.yaml index 5ebe9a09..c705448f 100644 --- a/actions/put.wireless.wireless_lan_groups.yaml +++ b/actions/put.wireless.wireless_lan_groups.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a wireless LAN group object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. name: required: false type: string @@ -41,6 +45,10 @@ parameters: required: false type: object description: "Custom fields" + comments: + required: false + type: string + description: "Comments" id: required: true type: integer diff --git a/actions/put.wireless.wireless_lans.yaml b/actions/put.wireless.wireless_lans.yaml index 705a09e9..8b03282a 100644 --- a/actions/put.wireless.wireless_lans.yaml +++ b/actions/put.wireless.wireless_lans.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a wireless LAN object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. ssid: required: false type: string @@ -40,6 +44,14 @@ parameters: required: false type: object description: "Vlan" + scope_type: + required: false + type: string + description: "Scope type" + scope_id: + required: false + type: integer + description: "Scope id" tenant: required: false type: object diff --git a/actions/put.wireless.wireless_links.yaml b/actions/put.wireless.wireless_links.yaml index af384ad7..aa3d89e3 100644 --- a/actions/put.wireless.wireless_links.yaml +++ b/actions/put.wireless.wireless_links.yaml @@ -1,5 +1,5 @@ # This action was auto generated from the NetBox API Swagger Spec -# NetBox API version: 4.0 +# NetBox API version: 4.3 description: "Put a wireless link object." enabled: true entry_point: run.py @@ -17,6 +17,10 @@ parameters: default: true immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. interface_a: required: false type: object @@ -51,6 +55,17 @@ parameters: required: false type: string description: "Pre-shared key" + distance: + required: false + type: integer + description: "Distance" + distance_unit: + required: false + type: string + description: "* `km` - Kilometers +* `m` - Meters +* `mi` - Miles +* `ft` - Feet" description: required: false type: string diff --git a/actions/run.py b/actions/run.py index 7939aba0..41229a5c 100644 --- a/actions/run.py +++ b/actions/run.py @@ -6,35 +6,54 @@ class NetboxHTTPAction(NetboxBaseAction): - """Base run action""" + """ + Action to call netbox api and return response. + """ - def run(self, endpoint_uri, http_verb, get_detail_route_eligible, **kwargs): - """Base run action + def run(self, endpoint_uri, http_verb, get_detail_route_eligible, fail_non_2xx, **kwargs): """ - - if http_verb == 'get': - if kwargs.get('id', False) and get_detail_route_eligible: + StackStorm action entry point. + """ + if http_verb == "get": + if kwargs.get("id", False) and get_detail_route_eligible: # modify the `endpoint_uri` to use the detail route - endpoint_uri = '{}{}/'.format(endpoint_uri, str(kwargs.pop('id'))) + endpoint_uri = "{}{}/".format(endpoint_uri, str(kwargs.pop("id"))) self.logger.debug( - 'endpoint_uri transformed to {} because id was passed'.format(endpoint_uri) + "endpoint_uri transformed to {} because id was passed".format(endpoint_uri) ) - if kwargs.get('save_in_key_store') and not kwargs.get('save_in_key_store_key_name'): - return (False, 'save_in_key_store_key_name MUST be used with save_in_key_store!') + if kwargs.get("save_in_key_store") and not kwargs.get("save_in_key_store_key_name"): + return (False, "save_in_key_store_key_name MUST be used with save_in_key_store!") result = self.make_request(endpoint_uri, http_verb, **kwargs) - if kwargs['save_in_key_store']: + if fail_non_2xx: + # Return error rather than storing it in the keystone. + if result["status"] not in range(200, 300): + return (False, result) + + if kwargs["save_in_key_store"]: # save the result in the st2 keystore - client = Client(base_url='http://localhost') - key_name = kwargs['save_in_key_store_key_name'] - client.keys.update(KeyValuePair(name=key_name, value=json.dumps(result), - ttl=kwargs['save_in_key_store_ttl'])) + client = Client(base_url="http://localhost") + key_name = kwargs["save_in_key_store_key_name"] + client.keys.update( + KeyValuePair( + name=key_name, value=json.dumps(result), ttl=kwargs["save_in_key_store_ttl"] + ) + ) return (True, "Result stored in st2 key {}".format(key_name)) else: result = self.make_request(endpoint_uri, http_verb, **kwargs) - return result + # To maintain backward compatibility, this action always returns True (success) event + # when the netbox http return status is not OK. action_succeeded is set to True and + # will only be set to False if the `fail_non_2xx` argument is set to True _and_ netbox + # http return code is not 2xx. + action_succeeded = True + + if fail_non_2xx: + action_succeeded = result.get("status") in range(200, 300) + + return (action_succeeded, result) diff --git a/bin/action-template.jinja2 b/bin/action-template.jinja2 index ea661c24..64fe67ff 100644 --- a/bin/action-template.jinja2 +++ b/bin/action-template.jinja2 @@ -17,6 +17,10 @@ parameters: default: {{ get_detail_route_eligible | lower }} immutable: true type: boolean + fail_non_2xx: + default: false + type: boolean + description: Set action as failed when http return reponse status isn't 2xx. {%- for parameter in parameters %} {{ parameter.name }}: required: {{ parameter.required | lower }} diff --git a/bin/generate.py b/bin/generate.py index 57362278..3cba5220 100644 --- a/bin/generate.py +++ b/bin/generate.py @@ -9,71 +9,71 @@ import requests RUNNING_DIR_NAME = os.path.dirname(__file__) -ACTIONS_DIR = os.path.join(RUNNING_DIR_NAME, '../actions') +ACTIONS_DIR = os.path.join(RUNNING_DIR_NAME, "../actions") def sanitize_parameters(parameters): for parameter in parameters: - if parameter['name'] == 'tags': - parameter['description'] = 'Array of tag strings' + if parameter["name"] == "tags": + parameter["description"] = "Array of tag strings" - parameter_name = parameter['name'].split('__')[0].capitalize() + parameter_name = parameter["name"].split("__")[0].capitalize() - if parameter['name'].endswith('__empty'): - parameter['description'] = f'{parameter_name} is empty/null (boolean)' + if parameter["name"].endswith("__empty"): + parameter["description"] = f"{parameter_name} is empty/null (boolean)" - if parameter['name'].endswith('__gt'): - parameter['description'] = f'{parameter_name} greater than' + if parameter["name"].endswith("__gt"): + parameter["description"] = f"{parameter_name} greater than" - if parameter['name'].endswith('__gte'): - parameter['description'] = f'{parameter_name} greater than or equal to' + if parameter["name"].endswith("__gte"): + parameter["description"] = f"{parameter_name} greater than or equal to" - if parameter['name'].endswith('__ic'): - parameter['description'] = f'{parameter_name} contains (case-insensitive)' + if parameter["name"].endswith("__ic"): + parameter["description"] = f"{parameter_name} contains (case-insensitive)" - if parameter['name'].endswith('__ie'): - parameter['description'] = f'{parameter_name} exact match (case-insensitive)' + if parameter["name"].endswith("__ie"): + parameter["description"] = f"{parameter_name} exact match (case-insensitive)" - if parameter['name'].endswith('__iew'): - parameter['description'] = f'{parameter_name} ends with (case-insensitive)' + if parameter["name"].endswith("__iew"): + parameter["description"] = f"{parameter_name} ends with (case-insensitive)" - if parameter['name'].endswith('__isw'): - parameter['description'] = f'{parameter_name} starts with (case-sensitive)' + if parameter["name"].endswith("__isw"): + parameter["description"] = f"{parameter_name} starts with (case-sensitive)" - if parameter['name'].endswith('__nic'): - parameter['description'] = f'{parameter_name} does not contain (case-insensitive)' + if parameter["name"].endswith("__nic"): + parameter["description"] = f"{parameter_name} does not contain (case-insensitive)" - if parameter['name'].endswith('__nie'): - parameter['description'] = f'{parameter_name} inverse exact match (case-insensitive)' + if parameter["name"].endswith("__nie"): + parameter["description"] = f"{parameter_name} inverse exact match (case-insensitive)" - if parameter['name'].endswith('__niew'): - parameter['description'] = f'{parameter_name} does not end with (case-insensitive)' + if parameter["name"].endswith("__niew"): + parameter["description"] = f"{parameter_name} does not end with (case-insensitive)" - if parameter['name'].endswith('__nisw'): - parameter['description'] = f'{parameter_name} does not start with (case-sensitive)' + if parameter["name"].endswith("__nisw"): + parameter["description"] = f"{parameter_name} does not start with (case-sensitive)" - if parameter['name'].endswith('__lt'): - parameter['description'] = f'{parameter_name} less than' + if parameter["name"].endswith("__lt"): + parameter["description"] = f"{parameter_name} less than" - if parameter['name'].endswith('__lte'): - parameter['description'] = f'{parameter_name} less than or equal to' + if parameter["name"].endswith("__lte"): + parameter["description"] = f"{parameter_name} less than or equal to" - if parameter['name'].endswith('__n'): - parameter['description'] = f'{parameter_name} not equal to' + if parameter["name"].endswith("__n"): + parameter["description"] = f"{parameter_name} not equal to" - if not parameter.get('description'): - parameter['description'] = parameter_name + if not parameter.get("description"): + parameter["description"] = parameter_name - if parameter.get('schema'): - if parameter['schema']['type'] == 'number': - parameter['type'] = 'integer' + if parameter.get("schema"): + if parameter["schema"]["type"] == "number": + parameter["type"] = "integer" else: - parameter['type'] = parameter['schema']['type'] + parameter["type"] = parameter["schema"]["type"] else: - if parameter['type'] == 'number': - parameter['type'] = 'integer' + if parameter["type"] == "number": + parameter["type"] = "integer" - parameter['required'] = False + parameter["required"] = False return parameters @@ -84,22 +84,18 @@ def parse_component_properties(properties, required): """ parameters = [] for name, data in properties.items(): - if data.get('readOnly'): + if data.get("readOnly"): continue - description = data.get('description', name.replace('_', ' ').capitalize()) - title = data.get('title', description) + description = data.get("description", name.replace("_", " ").capitalize()) + title = data.get("title", description) - parameter = { - 'name': name, - 'type': data.get('type', 'object'), - 'description': title - } + parameter = {"name": name, "type": data.get("type", "object"), "description": title} if name in required: - parameter['required'] = True + parameter["required"] = True else: - parameter['required'] = False + parameter["required"] = False parameters.append(parameter) return sanitize_parameters(parameters) @@ -109,73 +105,77 @@ def get_actions(spec): """ Generate actions from NetBox API schema from OpenAPI v3 specification. """ - print('Generating actions...') + print("Generating actions...") actions = {} deferred_detail_gets = [] - for path, path_spec in spec['paths'].items(): - path = path.replace('/api', '') - path_parts = [x.replace('-', '_') for x in path.replace('/{id}', '').strip('/').split('/')] + for path, path_spec in spec["paths"].items(): + path = path.replace("/api", "") + path_parts = [x.replace("-", "_") for x in path.replace("/{id}", "").strip("/").split("/")] for method, method_spec in path_spec.items(): - if method == 'parameters': + if method == "parameters": continue action_name = f'{method}.{".".join(path_parts)}' - if '{id}' in path: - path = path.replace('{id}', '{{ id }}') + if "{id}" in path: + path = path.replace("{id}", "{{ id }}") action = { - 'description': method_spec['description'], - 'parameters': [], - 'endpoint_uri': path, - 'immutable': True, - 'verb': method, - 'get_detail_route_eligible': True, + "description": method_spec["description"], + "parameters": [], + "endpoint_uri": path, + "immutable": True, + "verb": method, + "get_detail_route_eligible": True, } - print(f'Processing {action_name} ...') - content = method_spec.get('requestBody', {}).get('content', {}) - ref = content.get('application/json', {}).get('schema', {}).get('$ref') + print(f"Processing {action_name} ...") + content = method_spec.get("requestBody", {}).get("content", {}) + ref = content.get("application/json", {}).get("schema", {}).get("$ref") if ref: - ref_name = ref.split('/')[-1] - schema = spec['components']['schemas'][ref_name] + ref_name = ref.split("/")[-1] + schema = spec["components"]["schemas"][ref_name] try: - required = ['id'] if method == 'patch' else schema['required'] + required = ["id"] if method == "patch" else schema["required"] except KeyError: required = [] - action['parameters'] = parse_component_properties(schema['properties'], required) + action["parameters"] = parse_component_properties(schema["properties"], required) - if method == 'get': - if method_spec['operationId'].endswith('_list'): - action['parameters'] = sanitize_parameters(method_spec['parameters']) + if method == "get": + if method_spec["operationId"].endswith("_list"): + action["parameters"] = sanitize_parameters(method_spec["parameters"]) actions[action_name] = action - elif path.endswith('/{{ id }}/'): + elif path.endswith("/{{ id }}/"): # defer these until we have processed everything else to ensure the list # endpoints are present for lookup deferred_detail_gets.append(action_name) - elif '{{ id }}' in path and not path.endswith('{{ id }}'): - action['parameters'].append({ - 'name': 'id', - 'required': True, - 'description': f'ID of the object.', - 'type': 'integer', - }) - action['get_detail_route_eligible'] = False + elif "{{ id }}" in path and not path.endswith("{{ id }}"): + action["parameters"].append( + { + "name": "id", + "required": True, + "description": f"ID of the object.", + "type": "integer", + } + ) + action["get_detail_route_eligible"] = False actions[action_name] = action - if method in ['delete', 'put', 'patch']: - action['parameters'].append({ - 'name': 'id', - 'required': True, - 'description': f'ID of the object to {method}.', - 'type': 'integer', - }) + if method in ["delete", "put", "patch"]: + action["parameters"].append( + { + "name": "id", + "required": True, + "description": f"ID of the object to {method}.", + "type": "integer", + } + ) actions[action_name] = action - if method == 'post': - if '{{ id }}' not in path: + if method == "post": + if "{{ id }}" not in path: actions[action_name] = action # process deferred detail get endpoints @@ -193,30 +193,25 @@ def delete_actions(): """ Removes all actions from the actions directory. """ - print(f'Deleting all actions from {ACTIONS_DIR}') + print(f"Deleting all actions from {ACTIONS_DIR}") current_actions_listing = os.listdir(ACTIONS_DIR) for item in current_actions_listing: - if item.endswith('.yaml'): + if item.endswith(".yaml"): os.remove(os.path.join(ACTIONS_DIR, item)) def write_actions(version, actions): # Render new actions and write them to file - with open('action-template.jinja2', 'r') as f: + with open("action-template.jinja2", "r") as f: template = jinja2.Template(f.read(), autoescape=True) for name, action in actions.items(): - template_vars = { - 'version': version, - 'action_name': name, - **action - } + template_vars = {"version": version, "action_name": name, **action} rendered = template.render(template_vars) - f = open(os.path.join(ACTIONS_DIR, f'{name}.yaml'), 'w') - f.write(rendered + '\n') - f.close() + with open(os.path.join(ACTIONS_DIR, f"{name}.yaml"), "w") as f: + f.write(rendered + "\n") - print(f'Wrote {len(actions)} actions to {ACTIONS_DIR}') + print(f"Wrote {len(actions)} actions to {ACTIONS_DIR}") def main(): @@ -225,28 +220,28 @@ def main(): """ parser = argparse.ArgumentParser() parser.add_argument( - '--url', + "--url", type=str, - default='https://demo.netbox.dev', - help='NetBox hostname' + default="https://demo.netbox.dev/api/schema?format=json", + help="NetBox hostname", ) parser.add_argument( - '--skip-ssl', - action='store_false', + "--skip-ssl", + action="store_false", default=True, - help='Disable SSL certificate verification' + help="Disable SSL certificate verification", ) args = parser.parse_args() - url = str(args.url).rstrip('/') + url = str(args.url).rstrip("/") try: - print(f'Connecting to {url}...') - response = requests.get(f'{url}/api/schema?format=json', verify=args.skip_ssl) + print(f"Connecting to {url}...") + response = requests.get(f"{url}", verify=args.skip_ssl) response.raise_for_status() spec = response.json() except requests.RequestException as e: - print(f'Failed to fetch schema: {e}') + print(f"Failed to fetch schema: {e}") exit(1) # Generate actions from schema @@ -254,9 +249,9 @@ def main(): # Delete all existing actions delete_actions() # Write actions to file - versions = spec['info']['version'].split(' ')[0].split('.') - write_actions(f'{versions[0]}.{versions[1]}', actions) + versions = spec["info"]["version"].split(" ")[0].split(".") + write_actions(f"{versions[0]}.{versions[1]}", actions) -if __name__ == '__main__': +if __name__ == "__main__": main() diff --git a/pack.yaml b/pack.yaml index 12e45a03..ccf60342 100644 --- a/pack.yaml +++ b/pack.yaml @@ -6,7 +6,7 @@ keywords: - networking - ipam - dcim -version: 3.4.3 +version: 3.4.4 python_versions: - "3" author: John Anderson, Jefferson White