Download OpenAPI specification:Download
This is the spec that defines the API provided by the Inventory/Asset Service, which is used by multiple services to access network configuration/state data
Replace the switch as part of an RMA. This will replace the asset information of the new switch in the Inventory.
ip_address required | string IP Addresses of the device to be replaced. |
config_backup_id | string UUID of config backup |
{- "href": "href",
- "uuid": "id"
}
Get Switch replace History list
device_ip | string Ip of the entry for which RMA history is fetched |
{- "items": [
- {
- "rma_id": "1111-1111-1111",
- "device_ip": "1.1.1.1",
- "status": "Success"
}, - {
- "rma_id": "1122-1122-1122",
- "device_ip": "1.1.2.1",
- "status": "Success"
}
]
}
Get RMA Detail
rma_id required | string RMA Id of the entry for which detail is fetched |
{- "dr_id": "1111-1111-1111",
- "device-ip": "1.1.1.1",
- "status": "Success",
- "StartTime": "12:03:24,12/2/2020"
}
Get the status of the TPVM upgrade execution.
ip_address | string IP Addresses of the devices |
execution_id | string Execution ID. Get the tpvm upgrade execution status for device by execution ID. |
{- "overall_status": "Completed",
- "items": [
- {
- "switch_data": {
- "role": "Spine",
- "global_ip_mtu": 0,
- "ipv6_anycast_gateway_mac": "0",
- "chassis_name": "BR-SLX-9140",
- "ip_address": "10.24.39.224",
- "ip_anycast_gateway_mac": "0",
- "is_virtual_device": true,
- "global_l2_mtu": 0,
- "fabric": {
- "fabric_name": "default",
- "fabric_id": 1
}, - "discovery_status": "Completed",
- "name": "sw0",
- "model": "3000",
- "id": 1,
- "state": "New",
- "global_ipv6_mtu": 0,
- "firmware": "17.01.02",
- "asn": 65000
}, - "start_time": "2000-01-23T04:42:16.000+00:00",
- "last_update_time": "2000-01-23T04:56:07.000+00:00",
- "update_state": "Completed",
- "id": 1,
- "target_tpvm_version": "4.5.0",
- "status": "TPVM Upgrade Completed",
- "detailed_status": "None",
- "failed_state": "device-validation-failed",
- "upgrade_type": "incremental upgrade"
}, - {
- "switch_data": {
- "role": "Spine",
- "global_ip_mtu": 0,
- "ipv6_anycast_gateway_mac": "0",
- "chassis_name": "BR-SLX-9140",
- "ip_address": "10.24.39.224",
- "ip_anycast_gateway_mac": "0",
- "is_virtual_device": true,
- "global_l2_mtu": 0,
- "fabric": {
- "fabric_name": "default",
- "fabric_id": 1
}, - "discovery_status": "Completed",
- "name": "sw0",
- "model": "3000",
- "id": 1,
- "state": "New",
- "global_ipv6_mtu": 0,
- "firmware": "17.01.02",
- "asn": 65000
}, - "start_time": "2000-01-23T04:42:16.000+00:00",
- "last_update_time": "2000-01-23T04:56:07.000+00:00",
- "update_state": "Completed",
- "id": 1,
- "target_tpvm_version": "4.5.0",
- "status": "TPVM Upgrade Completed",
- "detailed_status": "None",
- "failed_state": "device-validation-failed",
- "upgrade_type": "incremental upgrade"
}
]
}
Get the status of the TPVM upgrade execution.
ip_address | string IP Address of the device |
execution_id | string Execution ID. Get the tpvm upgrade execution status for device by execution ID. |
{- "switch_data": {
- "role": "Spine",
- "global_ip_mtu": 0,
- "ipv6_anycast_gateway_mac": "0",
- "chassis_name": "BR-SLX-9250",
- "ip_address": "10.20.246.28",
- "ip_anycast_gateway_mac": "0",
- "is_virtual_device": true,
- "global_l2_mtu": 0,
- "fabric": {
- "fabric_name": "default",
- "fabric_id": 1
}, - "discovery_status": "Completed",
- "name": "sw0",
- "model": "3009",
- "id": 1,
- "state": "New",
- "global_ipv6_mtu": 0,
- "firmware": "20.3.2",
- "asn": 65000
}, - "start_time": "2000-01-23T04:42:16.000+00:00",
- "last_update_time": "2000-01-23T04:56:07.000+00:00",
- "update_state": "Completed",
- "id": 1,
- "target_tpvm_version": "4.2.1",
- "status": "TPVM Upgrade Completed",
- "detailed_status": "None",
- "failed_state": "device-validation-failed",
- "upgrade_type": "incremental upgrade"
}
Execute TPVM upgrade on the switch.
ip_address required | string IP Addresses of the device. |
firmware_host required | string IP address of a registered firmware host. |
tpvm_image required | string TPVM image path and filename located on the firmware host. |
auto_reboot | boolean Default: false reboot standby TPVM and then active TPVM, if reboot is required |
trusted_peer_sudo_user | string TPVM trusted peer sudo user configuration to be reconfigured after the TPVM has been upgraded. Default sudo user is "extreme" if not specified along with the trusted peer password. |
trusted_peer_password | string TPVM trusted peer password configuration to be reconfigured after the TPVM has been upgraded. |
{- "href": "href",
- "uuid": "id"
}
ip_address required | string IP Addresses of the device to be retrieved. |
{- "device-ip": "10.20.30.40",
- "error": null,
- "device-settings": {
- "key": "devSettingType",
- "value": {
- "result": 1,
- "error-msg": "device not reachable"
}
}
}
Update Switch Settings.
ip_address required | string |
required | Array of objects (DeviceParameter) |
{- "ip_address": "10.20.30.40",
- "keyval": [
- {
- "key": "maintenance_mode_on_reboot",
- "value": "Yes"
}, - {
- "key": "maintenance_mode_enable",
- "value": "Yes"
}, - {
- "key": "maintenance_convergence_time",
- "value": "300"
}, - {
- "key": "mct_bringup_delay",
- "value": "90"
}, - {
- "key": "health_check_enable",
- "value": "Yes"
}, - {
- "key": "health_check_interval",
- "value": "6m"
}, - {
- "key": "health_check_heart_beat_miss_threshold",
- "value": "2"
}, - {
- "key": "config_bperiodic_enable",
- "value": "Yes"
}, - {
- "key": "config_backup_interval",
- "value": "3m"
}, - {
- "key": "config_backup_count",
- "value": "4"
}, - {
- "key": "prefix_independent_convergence",
- "value": "Yes"
}, - {
- "key": "prefix_independent_convergence_static",
- "value": "Yes"
}, - {
- "key": "maximum_load_sharing_paths",
- "value": "64"
}, - {
- "key": "maximum_ipv6_prefix_length64",
- "value": "Yes"
}, - {
- "key": "urpf",
- "value": "Yes"
}, - {
- "key": "ip_dhcp_relay_disable_flooding",
- "value": "Yes"
}, - {
- "key": "crypto_cert_expiry_level_info",
- "value": "50"
}, - {
- "key": "crypto_cert_expiry_level_minor",
- "value": "30"
}, - {
- "key": "crypto_cert_expiry_level_major",
- "value": "10"
}, - {
- "key": "crypto_cert_expiry_level_critical",
- "value": "5"
}, - {
- "key": "peer_group_ipv6_prefix_over_ipv4_peer",
- "value": "Yes"
}, - {
- "key": "password_expiry_level_info",
- "value": "50"
}, - {
- "key": "password_expiry_level_minor",
- "value": "30"
}, - {
- "key": "password_expiry_level_major",
- "value": "10"
}, - {
- "key": "password_expiry_level_critical",
- "value": "5"
}
]
}
{- "device-ip": "10.20.30.40",
- "error": null,
- "device-settings": {
- "key": "devSettingType",
- "value": {
- "result": 1,
- "error-msg": "device not reachable"
}
}
}
Update Switches Settings.
ip_addresses | string |
fabric_name | string |
required | Array of objects (DeviceParameter) |
{- "ip_address": "10.20.30.40-41",
- "fabric_name": "fabric1",
- "keyval": [
- {
- "key": "maintenance_mode_on_reboot",
- "value": "Yes"
}, - {
- "key": "maintenance_mode_enable",
- "value": "Yes"
}, - {
- "key": "maintenance_convergence_time",
- "value": "300"
}, - {
- "key": "mct_bringup_delay",
- "value": "90"
}, - {
- "key": "health_check_enable",
- "value": "Yes"
}, - {
- "key": "health_check_interval",
- "value": "6m"
}, - {
- "key": "health_check_heart_beat_miss_threshold",
- "value": "2"
}, - {
- "key": "config_bperiodic_enable",
- "value": "Yes"
}, - {
- "key": "config_backup_interval",
- "value": "3m"
}, - {
- "key": "config_backup_count",
- "value": "4"
}, - {
- "key": "prefix_independent_convergence",
- "value": "Yes"
}, - {
- "key": "prefix_independent_convergence_static",
- "value": "Yes"
}, - {
- "key": "maximum_load_sharing_paths",
- "value": "64"
}, - {
- "key": "maximum_ipv6_prefix_length64",
- "value": "Yes"
}, - {
- "key": "urpf",
- "value": "Yes"
}, - {
- "key": "ip_dhcp_relay_disable_flooding",
- "value": "Yes"
}, - {
- "key": "crypto_cert_expiry_level_info",
- "value": "50"
}, - {
- "key": "crypto_cert_expiry_level_minor",
- "value": "30"
}, - {
- "key": "crypto_cert_expiry_level_major",
- "value": "10"
}, - {
- "key": "crypto_cert_expiry_level_critical",
- "value": "5"
}, - {
- "key": "peer_group_ipv6_prefix_over_ipv4_peer",
- "value": "Yes"
}, - {
- "key": "password_expiry_level_info",
- "value": "50"
}, - {
- "key": "password_expiry_level_minor",
- "value": "30"
}, - {
- "key": "password_expiry_level_major",
- "value": "10"
}, - {
- "key": "password_expiry_level_critical",
- "value": "5"
}
]
}
[- {
- "device-ip": "10.20.30.40",
- "device-settings": {
- "key": "devSettingType",
- "error": null,
- "value": {
- "result": 1,
- "error": "device not reachable"
}
}
}, - {
- "device-ip": "10.20.30.41",
- "device-settings": {
- "key": "devSettingType",
- "error": "device not reachable",
- "value": {
- "result": 1,
- "error": "device not reachable"
}
}
}
]
Trigger drift and reconcile for inventory, fabric and tenant.
ip_address required | string IP Addresses of the device to be retrieved. |
reconcile required | boolean Default: false Value true implies efa drift with devices will be reconciled |
{- "href": "href",
- "uuid": "id"
}
delete drift and reconcile ID.
key | string IP Addresses of the device or drift and reconcile uuid to deleted. |
{- "result": 0,
- "userKey": "1111-1111-1111",
- "error": "uuid not found"
}
Trigger drift and reconcile for inventory, fabric and tenant.
ip_address required | Array of strings non-empty unique IP Addresses of the device to be retrieved. |
reconcile required | boolean Default: false Value true implies efa drift with devices will be reconciled |
{- "items": [
- {
- "device_ip": "1.1.1.1",
- "error": null,
- "href": "href1",
- "uuid": "id1"
}, - {
- "device_ip": "2.2.2.2",
- "error": null,
- "href": "href2",
- "uuid": "id2"
}
]
}
current health status for the switch.
ip_address required | string IP Addresses of the device to be retrieved. |
{- "switchHealth": "disabled",
- "drUUID": "Id",
- "href": "/v1/inventory/drift_reconcile/detail",
- "heartBeatMissCounter": 2,
- "heartBeatMissThreshold": 2,
- "healthCheckInterval": "5m",
- "maintenanceMode": "enabled"
}
Config Replay to device.
ip_address required | string IP Addresses of the device to be replayed. |
cb_id | string ConfigBackup Id of the config to be applied |
ss_id | string Snapshot Id of the config to be applied |
startup_config | boolean Copy the config to startup config. |
no_reboot | boolean Don't reboot the device. |
{- "href": "href",
- "uuid": "id"
}
Register multiple switches with the inventory service
Register Switches.
device_ips required | Array of strings |
username required | string |
location | string |
password required | string |
lacp_system_priority | integer |
maintmode | boolean |
[- {
- "password": "password",
- "device_ips": [
- "device_ips",
- "device_ips"
], - "username": "username",
- "maintmode": true
}
]
[- {
- "is_virtual_device": true,
- "name": "sw0",
- "model": "SLX9240",
- "chassis_name": "BR-SLX-9140",
- "ip_address": "10.24.39.224",
- "id": 1,
- "state": "Discovered",
- "firmware": "17.01.02",
- "asn": 65000,
- "status": {
- "result": "Failed",
- "reason": "Device is not registered"
}
}
]
Register switches with the inventory service
Register a new Switch.
device_ips required | Array of strings |
username required | string |
location | string |
password required | string |
lacp_system_priority | integer |
maintmode | boolean |
{- "password": "password",
- "device_ips": [
- "device_ips",
- "device_ips"
], - "username": "username",
- "maintmode": true
}
[- {
- "is_virtual_device": true,
- "name": "sw0",
- "model": "SLX9240",
- "chassis_name": "BR-SLX-9140",
- "ip_address": "10.24.39.224",
- "id": 1,
- "state": "Discovered",
- "firmware": "17.01.02",
- "asn": 65000,
- "status": {
- "result": "Failed",
- "reason": "Device is not registered"
}
}
]
Get All switches in the specified fabric.
fabric_name | string Only devices which are associated to the fabric name specified as returned. |
device_ids | Array of integers non-empty unique Database Ids of switches to be fetched |
device_ips | Array of strings non-empty unique IPs of the devices to be fetched |
orphan | boolean This is a standalone parameter, which is used to return devices not associated to any fabric. fabric_name/device_ids/device_ips/role cannot be specified with this parameter |
role | string Enum: "Leaf" "Spine" "SuperSpine" "BorderLeaf" "SuperSuperSpine" Only devices with the specified role are returned. This parameter works in conjunction with fabric_name parameter and is not expected by itself |
object (SearchQuery) {"group_by":"role"} Responses grouped by role {"filter":[{"name":"name","value":"10.37.128.71"},{"name":"role',"value":"NPB"}] Responses filtered by name="10.37.128.71" and role="NPB" {"fuzzy":"adm"} Responses searched using fuzzy search "adm" | |
object (PaginationQuery) {"sort_by":"asc|desc"} Responses grouped id in ascending or descending order {"offset" : "lt:30"} Responses filtered id less then 30 {"page_size":20} Responses searched with limit of 20 entriess |
{- "items": [
- {
- "role": "Spine",
- "global_ip_mtu": 0,
- "ipv6_anycast_gateway_mac": "0",
- "chassis_name": "BR-SLX-9140",
- "ip_address": "10.24.39.224",
- "ip_anycast_gateway_mac": "0",
- "is_virtual_device": true,
- "global_l2_mtu": 0,
- "fabric": {
- "fabric_name": "default",
- "fabric_id": 1
}, - "discovery_status": "Completed",
- "name": "sw0",
- "model": "3000",
- "id": 1,
- "state": "New",
- "global_ipv6_mtu": 0,
- "firmware": "17.01.02",
- "asn": 65000
}, - {
- "role": "Spine",
- "global_ip_mtu": 0,
- "ipv6_anycast_gateway_mac": "0",
- "chassis_name": "BR-SLX-9140",
- "ip_address": "10.24.39.224",
- "ip_anycast_gateway_mac": "0",
- "is_virtual_device": true,
- "global_l2_mtu": 0,
- "fabric": {
- "fabric_name": "default",
- "fabric_id": 1
}, - "discovery_status": "Completed",
- "name": "sw0",
- "model": "3000",
- "id": 1,
- "state": "New",
- "global_ipv6_mtu": 0,
- "firmware": "17.01.02",
- "asn": 65000
}
]
}
Update All switches in the specified fabric.
device_ips | Array of strings non-empty unique IP Addresses of the device(s) to be updated. |
fabric_name | string Update devices which are associated to the fabric name. |
username | string Update username and password for the devices. |
password | string Update username and password for the devices. |
location | string Update location for the devices. |
[- {
- "is_virtual_device": true,
- "role": "Spine",
- "fabric": {
- "fabric_name": "default",
- "fabric_id": 1
}, - "name": "sw0",
- "model": "3000",
- "chassis_name": "BR-SLX-9140",
- "ip_address": "10.24.39.224",
- "id": 1,
- "state": "New",
- "firmware": "17.01.02",
- "asn": 65000,
- "status": {
- "result": "Failed",
- "reason": "Device is not registered"
}
}
]
Delete the specified devices from the inventory.
device_ips | Array of strings non-empty unique IP Addresses of the device to be deleted. |
fabric_name | string Fabric name. Devices in this fabric will be deleted. |
[- {
- "is_virtual_device": true,
- "role": "Spine",
- "fabric": {
- "fabric_name": "default",
- "fabric_id": 1
}, - "name": "sw0",
- "model": "3000",
- "chassis_name": "BR-SLX-9140",
- "ip_address": "10.24.39.224",
- "id": 1,
- "state": "New",
- "firmware": "17.01.02",
- "asn": 65000,
- "status": {
- "result": "Failed",
- "reason": "Device is not registered"
}
}
]
Manage the running-config on the specified devices.
Managed the running-config for devices in the fabric or specified devices.
device_ips | Array of strings IP Addresses of the devices for managing the running-config. |
fabric_name | string Name of the fabric |
persist_local | boolean Default: true Save the running-config to the startup-config on the specified devices. |
{- "fabric_name": "fabric_name",
- "device_ips": [
- "10.24.39.204",
- "10.24.39.207"
], - "persist_local": true
}
{- "items": [
- {
- "fabric_name": "default",
- "name": "sw0",
- "ip_address": "10.24.39.224",
- "status": {
- "result": "Failed",
- "reason": "Device is not registered"
}
}, - {
- "fabric_name": "default",
- "name": "sw0",
- "ip_address": "10.24.39.224",
- "status": {
- "result": "Failed",
- "reason": "Device is not registered"
}
}
]
}
Execute CLI commands on the specified devices.
Execute CLI commands on the devices in the fabric or specified devices.
device_ips | Array of strings IP Addresses of the devices to execute the CLI command. |
fabric_name | string Name of the fabric |
role | string Enum: "Spine" "Leaf" "Super Spine" "Border Leaf" "Standalone" role of the device |
commands | string CLI commands to be executed on the device. |
config | boolean Default: false Specifies if the command is to be executed on config-term or exec-mode of the device. |
{- "fabric_name": "default",
- "role": "Spine",
- "device_ips": [
- "10.24.39.204",
- "10.24.39.207"
], - "config": false,
- "commands": "show version"
}
{- "items": [
- {
- "fabric_name": "default",
- "name": "sw0",
- "command_responses": [
- {
- "output": "output",
- "start_time": "2000-01-23T04:56:07.000+00:00",
- "end_time": "2000-01-23T04:56:07.000+00:00",
- "command": "show version",
- "status": {
- "result": "Failed",
- "reason": "Device is not registered"
}
}, - {
- "output": "output",
- "start_time": "2000-01-23T04:56:07.000+00:00",
- "end_time": "2000-01-23T04:56:07.000+00:00",
- "command": "show version",
- "status": {
- "result": "Failed",
- "reason": "Device is not registered"
}
}
], - "ip_address": "10.24.39.224"
}, - {
- "fabric_name": "default",
- "name": "sw0",
- "command_responses": [
- {
- "output": "output",
- "start_time": "2000-01-23T04:56:07.000+00:00",
- "end_time": "2000-01-23T04:56:07.000+00:00",
- "command": "show version",
- "status": {
- "result": "Failed",
- "reason": "Device is not registered"
}
}, - {
- "output": "output",
- "start_time": "2000-01-23T04:56:07.000+00:00",
- "end_time": "2000-01-23T04:56:07.000+00:00",
- "command": "show version",
- "status": {
- "result": "Failed",
- "reason": "Device is not registered"
}
}
], - "ip_address": "10.24.39.224"
}
]
}
Export multiple device inventory information
Device list
all_device | boolean |
device_ids | Array of integers |
{- "all_device": true,
- "device_ids": [
- 0
]
}
{- "message": "Device is already registered in inventory",
- "code": 101
}
Execute reload CLI command on the specified devices.
Execute reload CLI command on specified devices.
device_ips | Array of strings IP Addresses of the devices to execute the reload CLI command. |
fabric_name | string Name of fabric |
{- "device_ips": [
- "10.24.39.204",
- "10.24.39.207"
], - "fabric_name": "default"
}
{- "items": [
- {
- "ip_address": "10.24.39.224",
- "status": {
- "result": "Failed",
- "reason": "Device is not registered"
}
}, - {
- "ip_address": "10.24.39.225",
- "status": {
- "result": "Failed",
- "reason": "Device is not registered"
}
}
]
}
Get the status of the firmware download execution.
fabric_name | string Fabric name. Get the firmware download execution status for devices in the given fabric. |
execution_id | string Execution ID(s). Get the firmware download execution status for devices in the fabric by a comma separated list of execution IDs. |
prepared_list_name | string Prepared list name. Get the firmware download execution status for devices in the given prepare list. |
device_ips | Array of strings non-empty unique IPs of the devices to be fetched |
device_type | string Enum: "fabric" "npb" device type npb/fabric |
{- "overall_status": "Completed",
- "items": [
- {
- "switch_data": {
- "role": "Spine",
- "global_ip_mtu": 0,
- "ipv6_anycast_gateway_mac": "0",
- "chassis_name": "BR-SLX-9140",
- "ip_address": "10.24.39.224",
- "ip_anycast_gateway_mac": "0",
- "is_virtual_device": true,
- "global_l2_mtu": 0,
- "fabric": {
- "fabric_name": "default",
- "fabric_id": 1
}, - "discovery_status": "Completed",
- "name": "sw0",
- "model": "3000",
- "id": 1,
- "state": "New",
- "global_ipv6_mtu": 0,
- "firmware": "17.01.02",
- "asn": 65000
}, - "last_update_time": "2000-01-23T04:56:07.000+00:00",
- "update_state": "In-Progress",
- "id": 1,
- "target_firmware": "target_firmware",
- "status": "status"
}, - {
- "switch_data": {
- "role": "Spine",
- "global_ip_mtu": 0,
- "ipv6_anycast_gateway_mac": "0",
- "chassis_name": "BR-SLX-9140",
- "ip_address": "10.24.39.224",
- "ip_anycast_gateway_mac": "0",
- "is_virtual_device": true,
- "global_l2_mtu": 0,
- "fabric": {
- "fabric_name": "default",
- "fabric_id": 1
}, - "discovery_status": "Completed",
- "name": "sw0",
- "model": "3000",
- "id": 1,
- "state": "New",
- "global_ipv6_mtu": 0,
- "firmware": "17.01.02",
- "asn": 65000
}, - "last_update_time": "2000-01-23T04:56:07.000+00:00",
- "update_state": "In-Progress",
- "id": 1,
- "target_firmware": "target_firmware",
- "status": "status"
}
]
}
Execute firmware download on the prepared switches.
fabric_name | string Fabric name. Execute the firmware download for prepared devices in the given fabric. |
prepared_list_name | string Prepared list name. Execute the firmware download for prepared devices in the given prepared list. |
group_execution | string Group Execution option in Firmware Download. |
no_auto_commit | boolean Configure auto commit for Firmware Download. |
no_maint_mode | boolean Configure Maintainance mode in Firmware Download. |
drc | boolean Configure a drift reconciliation operation performed after Firmware Download. |
no_activate | boolean Configure Activation in Firmware Download. |
{- "execution_task": {
- "href": "href",
- "uuid": "id"
}
}
Execute firmware download commit on the switches.
IPs of the devices to be prepared for a firmware download.
device_ips | Array of strings |
fabric | string |
prepared_list_name | string |
{- "fabric": "fabric",
- "device_ips": [
- "device_ips",
- "device_ips"
]
}
{- "items": [
- {
- "ip_address": "string",
- "task_status": "string",
- "task_error": "string"
}
]
}
Execute firmware download restore on the switches. The firmware on the primary partition will be replaced by the secondary partition firmware.
IPs of the devices to be prepared for a firmware download.
device_ips | Array of strings |
fabric | string |
prepared_list_name | string |
{- "fabric": "fabric",
- "device_ips": [
- "device_ips",
- "device_ips"
]
}
{- "execution_task": {
- "href": "href",
- "uuid": "id"
}, - "items": [
- {
- "ip_address": "string",
- "task_status": "string",
- "task_error": "string"
}
]
}
Execute firmware download activate on the switches.
IPs of the devices to be activated for a firmware download activation.
device_ips | Array of strings |
fabric | string |
prepared_list_name | string |
commit | boolean Configure a commit operation to be performed after firmware activate. |
{- "fabric": "fabric",
- "device_ips": [
- "device_ips",
- "device_ips"
]
}
{- "execution_task": {
- "href": "href",
- "uuid": "id"
}, - "items": [
- {
- "ip_address": "string",
- "task_status": "string",
- "task_error": "string"
}
]
}
Get the prepared devices ready for a firmware download operation.
device_ips | Array of strings non-empty unique IPs of the devices to be fetched |
fabric_name | string Fabric name. Prepared devices in this fabric to be fetched. |
prepared_list_name | string Prepared list name. Prepared devices in this prepred list to be fetched. |
{- "items": [
- {
- "switch_data": {
- "role": "Spine",
- "global_ip_mtu": 0,
- "ipv6_anycast_gateway_mac": "0",
- "chassis_name": "BR-SLX-9140",
- "ip_address": "10.24.39.224",
- "ip_anycast_gateway_mac": "0",
- "is_virtual_device": true,
- "global_l2_mtu": 0,
- "fabric": {
- "fabric_name": "default",
- "fabric_id": 1
}, - "discovery_status": "Completed",
- "name": "sw0",
- "model": "3000",
- "id": 1,
- "state": "New",
- "global_ipv6_mtu": 0,
- "firmware": "17.01.02",
- "asn": 65000
}, - "last_update_time": "2000-01-23T04:56:07.000+00:00",
- "firmware_host": {
- "protocol": "scp",
- "id": 1,
- "ip_address": "10.24.39.224",
- "status": {
- "result": "Failed",
- "reason": "Device or host registration failed"
}
}, - "id": 1,
- "firmware_directory": "firmware_directory",
- "target_firmware": "target_firmware",
- "status": {
- "result": "Failed",
- "reason": "Device or host registration failed"
}
}, - {
- "switch_data": {
- "role": "Spine",
- "global_ip_mtu": 0,
- "ipv6_anycast_gateway_mac": "0",
- "chassis_name": "BR-SLX-9140",
- "ip_address": "10.24.39.224",
- "ip_anycast_gateway_mac": "0",
- "is_virtual_device": true,
- "global_l2_mtu": 0,
- "fabric": {
- "fabric_name": "default",
- "fabric_id": 1
}, - "discovery_status": "Completed",
- "name": "sw0",
- "model": "3000",
- "id": 1,
- "state": "New",
- "global_ipv6_mtu": 0,
- "firmware": "17.01.02",
- "asn": 65000
}, - "last_update_time": "2000-01-23T04:56:07.000+00:00",
- "firmware_host": {
- "protocol": "scp",
- "id": 1,
- "ip_address": "10.24.39.224",
- "status": {
- "result": "Failed",
- "reason": "Device or host registration failed"
}
}, - "id": 1,
- "firmware_directory": "firmware_directory",
- "target_firmware": "target_firmware",
- "status": {
- "result": "Failed",
- "reason": "Device or host registration failed"
}
}
]
}
Prepare the devices for a firmware download operation.
force | boolean Configure force option in prepare request to skip all validations |
IPs of the devices to be prepared for a firmware download.
device_ips | Array of strings |
group_name | integer |
fabric | string |
prepared_list_name | string |
firmware_host required | string |
firmware_directory required | string |
{- "fabric": "fabric",
- "device_ips": [
- "device_ips",
- "device_ips"
], - "firmware_host": "firmware_host",
- "firmware_directory": "firmware_directory"
}
{- "items": [
- {
- "switch_data": {
- "role": "Spine",
- "global_ip_mtu": 0,
- "ipv6_anycast_gateway_mac": "0",
- "chassis_name": "BR-SLX-9140",
- "ip_address": "10.24.39.224",
- "ip_anycast_gateway_mac": "0",
- "is_virtual_device": true,
- "global_l2_mtu": 0,
- "fabric": {
- "fabric_name": "default",
- "fabric_id": 1
}, - "discovery_status": "Completed",
- "name": "sw0",
- "model": "3000",
- "id": 1,
- "state": "New",
- "global_ipv6_mtu": 0,
- "firmware": "17.01.02",
- "asn": 65000
}, - "last_update_time": "2000-01-23T04:56:07.000+00:00",
- "firmware_host": {
- "protocol": "scp",
- "id": 1,
- "ip_address": "10.24.39.224",
- "status": {
- "result": "Failed",
- "reason": "Device or host registration failed"
}
}, - "id": 1,
- "firmware_directory": "firmware_directory",
- "target_firmware": "target_firmware",
- "status": {
- "result": "Failed",
- "reason": "Device or host registration failed"
}
}, - {
- "switch_data": {
- "role": "Spine",
- "global_ip_mtu": 0,
- "ipv6_anycast_gateway_mac": "0",
- "chassis_name": "BR-SLX-9140",
- "ip_address": "10.24.39.224",
- "ip_anycast_gateway_mac": "0",
- "is_virtual_device": true,
- "global_l2_mtu": 0,
- "fabric": {
- "fabric_name": "default",
- "fabric_id": 1
}, - "discovery_status": "Completed",
- "name": "sw0",
- "model": "3000",
- "id": 1,
- "state": "New",
- "global_ipv6_mtu": 0,
- "firmware": "17.01.02",
- "asn": 65000
}, - "last_update_time": "2000-01-23T04:56:07.000+00:00",
- "firmware_host": {
- "protocol": "scp",
- "id": 1,
- "ip_address": "10.24.39.224",
- "status": {
- "result": "Failed",
- "reason": "Device or host registration failed"
}
}, - "id": 1,
- "firmware_directory": "firmware_directory",
- "target_firmware": "target_firmware",
- "status": {
- "result": "Failed",
- "reason": "Device or host registration failed"
}
}
]
}
Un-prepare the devices from a firmware download operation.
device_ips | Array of strings non-empty unique IP Addresses of the devices to be unprepared from a firmware download operation. |
fabric_name | string Fabric name. Devices in this fabric will be un-prepared. |
group_name | integer Group name. Devices in this Group will be un-prepared. |
prepared_list_name | string Prepared list name. Devices will be un-prepared from the prepared list. |
{- "items": [
- {
- "switch_data": {
- "role": "Spine",
- "global_ip_mtu": 0,
- "ipv6_anycast_gateway_mac": "0",
- "chassis_name": "BR-SLX-9140",
- "ip_address": "10.24.39.224",
- "ip_anycast_gateway_mac": "0",
- "is_virtual_device": true,
- "global_l2_mtu": 0,
- "fabric": {
- "fabric_name": "default",
- "fabric_id": 1
}, - "discovery_status": "Completed",
- "name": "sw0",
- "model": "3000",
- "id": 1,
- "state": "New",
- "global_ipv6_mtu": 0,
- "firmware": "17.01.02",
- "asn": 65000
}, - "last_update_time": "2000-01-23T04:56:07.000+00:00",
- "firmware_host": {
- "protocol": "scp",
- "id": 1,
- "ip_address": "10.24.39.224",
- "status": {
- "result": "Failed",
- "reason": "Device or host registration failed"
}
}, - "id": 1,
- "firmware_directory": "firmware_directory",
- "target_firmware": "target_firmware",
- "status": {
- "result": "Failed",
- "reason": "Device or host registration failed"
}
}, - {
- "switch_data": {
- "role": "Spine",
- "global_ip_mtu": 0,
- "ipv6_anycast_gateway_mac": "0",
- "chassis_name": "BR-SLX-9140",
- "ip_address": "10.24.39.224",
- "ip_anycast_gateway_mac": "0",
- "is_virtual_device": true,
- "global_l2_mtu": 0,
- "fabric": {
- "fabric_name": "default",
- "fabric_id": 1
}, - "discovery_status": "Completed",
- "name": "sw0",
- "model": "3000",
- "id": 1,
- "state": "New",
- "global_ipv6_mtu": 0,
- "firmware": "17.01.02",
- "asn": 65000
}, - "last_update_time": "2000-01-23T04:56:07.000+00:00",
- "firmware_host": {
- "protocol": "scp",
- "id": 1,
- "ip_address": "10.24.39.224",
- "status": {
- "result": "Failed",
- "reason": "Device or host registration failed"
}
}, - "id": 1,
- "firmware_directory": "firmware_directory",
- "target_firmware": "target_firmware",
- "status": {
- "result": "Failed",
- "reason": "Device or host registration failed"
}
}
]
}
Prepare the devices, download the firmware and activate the firmware on the devices.
device_ips | Array of strings non-empty unique IPs of the devices to be fetched |
no_activate | boolean Configure Activation in Firmware Download. |
no_auto_commit | boolean Configure auto commit for Firmware Download. |
prepared_list_name | string Prepared list name. Execute the firmware download for prepared devices in the given prepared list. |
no_maint_mode | boolean Configure Maintainance mode in Firmware Download. |
drc | boolean Configure a drift reconciliation operation performed after Firmware Download. |
force | boolean Configure force option in prepare request to skip all validations |
Firmware host details and IPs of the devices to be prepared for a firmware download.
device_ips | Array of strings |
group_name | integer |
fabric | string |
prepared_list_name | string |
firmware_host required | string |
firmware_directory required | string |
{- "fabric": "fabric",
- "device_ips": [
- "device_ips",
- "device_ips"
], - "firmware_host": "firmware_host",
- "firmware_directory": "firmware_directory"
}
{- "items": [
- {
- "switch_data": {
- "role": "Spine",
- "global_ip_mtu": 0,
- "ipv6_anycast_gateway_mac": "0",
- "chassis_name": "BR-SLX-9140",
- "ip_address": "10.24.39.224",
- "ip_anycast_gateway_mac": "0",
- "is_virtual_device": true,
- "global_l2_mtu": 0,
- "fabric": {
- "fabric_name": "default",
- "fabric_id": 1
}, - "discovery_status": "Completed",
- "name": "sw0",
- "model": "3000",
- "id": 1,
- "state": "New",
- "global_ipv6_mtu": 0,
- "firmware": "17.01.02",
- "asn": 65000
}, - "last_update_time": "2000-01-23T04:56:07.000+00:00",
- "firmware_host": {
- "protocol": "scp",
- "id": 1,
- "ip_address": "10.24.39.224",
- "status": {
- "result": "Failed",
- "reason": "Device or host registration failed"
}
}, - "id": 1,
- "firmware_directory": "firmware_directory",
- "target_firmware": "target_firmware",
- "status": {
- "result": "Failed",
- "reason": "Device or host registration failed"
}
}, - {
- "switch_data": {
- "role": "Spine",
- "global_ip_mtu": 0,
- "ipv6_anycast_gateway_mac": "0",
- "chassis_name": "BR-SLX-9140",
- "ip_address": "10.24.39.224",
- "ip_anycast_gateway_mac": "0",
- "is_virtual_device": true,
- "global_l2_mtu": 0,
- "fabric": {
- "fabric_name": "default",
- "fabric_id": 1
}, - "discovery_status": "Completed",
- "name": "sw0",
- "model": "3000",
- "id": 1,
- "state": "New",
- "global_ipv6_mtu": 0,
- "firmware": "17.01.02",
- "asn": 65000
}, - "last_update_time": "2000-01-23T04:56:07.000+00:00",
- "firmware_host": {
- "protocol": "scp",
- "id": 1,
- "ip_address": "10.24.39.224",
- "status": {
- "result": "Failed",
- "reason": "Device or host registration failed"
}
}, - "id": 1,
- "firmware_directory": "firmware_directory",
- "target_firmware": "target_firmware",
- "status": {
- "result": "Failed",
- "reason": "Device or host registration failed"
}
}
]
}
Get the status of the firmware download history execution.
fabric_name | string Fabric name. Get the firmware download execution status for devices in the given fabric. |
execution_id | string Execution ID(s). Get the firmware download execution status for devices in the fabric by a comma-separated list of execution IDs. |
prepared_list_name | string Prepared list name. Get the firmware download execution status for devices in the given prepare list. |
device_ips | Array of strings non-empty unique IPs of the devices to be fetched. |
device_type | string Enum: "fabric" "npb" Device type npb/fabric. |
object (SearchQuery) {"group_by":"ip_address"} Responses grouped by device ipaddress. {"filter":[{"name":"ip_address","value":"1.1.1.1"}] Responses filtered by device ipaddress="1.1.1.1". {"fuzzy":"failed"} Responses searched using fuzzy search for "failed". | |
object (PaginationQuery) {"sort_by":"asc|desc"} Responses execution ID in ascending or descending order. {"offset" : "lt:30"} Responses filtered ID less than 30. {"page_size":20} Responses searched with a limit of 20 entries. |
{- "overall_status": "Completed",
- "items": [
- {
- "switch_data": {
- "role": "Spine",
- "global_ip_mtu": 0,
- "ipv6_anycast_gateway_mac": "0",
- "chassis_name": "BR-SLX-9140",
- "ip_address": "10.24.39.224",
- "ip_anycast_gateway_mac": "0",
- "is_virtual_device": true,
- "global_l2_mtu": 0,
- "fabric": {
- "fabric_name": "default",
- "fabric_id": 1
}, - "discovery_status": "Completed",
- "name": "sw0",
- "model": "3000",
- "id": 1,
- "state": "New",
- "global_ipv6_mtu": 0,
- "firmware": "17.01.02",
- "asn": 65000
}, - "last_update_time": "2000-01-23T04:56:07.000+00:00",
- "update_state": "In-Progress",
- "id": 1,
- "target_firmware": "target_firmware",
- "status": "status"
}, - {
- "switch_data": {
- "role": "Spine",
- "global_ip_mtu": 0,
- "ipv6_anycast_gateway_mac": "0",
- "chassis_name": "BR-SLX-9140",
- "ip_address": "10.24.39.224",
- "ip_anycast_gateway_mac": "0",
- "is_virtual_device": true,
- "global_l2_mtu": 0,
- "fabric": {
- "fabric_name": "default",
- "fabric_id": 1
}, - "discovery_status": "Completed",
- "name": "sw0",
- "model": "3000",
- "id": 1,
- "state": "New",
- "global_ipv6_mtu": 0,
- "firmware": "17.01.02",
- "asn": 65000
}, - "last_update_time": "2000-01-23T04:56:07.000+00:00",
- "update_state": "In-Progress",
- "id": 1,
- "target_firmware": "target_firmware",
- "status": "status"
}
]
}
Get the status of the firmware download Operation history execution.
fabric_name | string Fabric name. Get the firmware download execution status for devices in the given fabric. |
execution_id | string Execution ID(s). Get the firmware download execution status for devices in the fabric by a comma-separated list of execution IDs. |
prepared_list_name | string Prepared list name. Get the firmware download execution status for devices in the given prepare list. |
device_ips | Array of strings non-empty unique IPs of the devices to be fetched. |
device_type | string Enum: "fabric" "npb" Device type npb/fabric. |
last_execution_history | boolean Default: false Value true implies get firmware last execution history info. |
fwdl_task_id | Array of integers non-empty unique ID of the firmware download execution task obtained from the firmware download history status for devices in the fabric. Provide a comma-separated list of IDs. Example 100,200,2. |
object (SearchQuery) {"group_by":"ip_address"} Responses grouped by device ipaddress. {"filter":[{"name":"ip_address","value":"1.1.1.1"}] Responses filtered by device ipaddress="1.1.1.1". {"fuzzy":"failed"} Responses searched using fuzzy search for "failed". | |
object (PaginationQuery) {"sort_by":"asc|desc"} Responses execution ID in ascending or descending order. {"offset" : "lt:30"} Responses filtered ID less than 30. {"page_size":20} Responses searched with a limit of 20 entries. |
{- "overall_status": "Completed",
- "items": [
- {
- "switch_data": {
- "role": "Spine",
- "global_ip_mtu": 0,
- "ipv6_anycast_gateway_mac": "0",
- "chassis_name": "BR-SLX-9140",
- "ip_address": "10.24.39.224",
- "ip_anycast_gateway_mac": "0",
- "is_virtual_device": true,
- "global_l2_mtu": 0,
- "fabric": {
- "fabric_name": "default",
- "fabric_id": 1
}, - "discovery_status": "Completed",
- "name": "sw0",
- "model": "3000",
- "id": 1,
- "state": "New",
- "global_ipv6_mtu": 0,
- "firmware": "17.01.02",
- "asn": 65000
}, - "last_update_time": "2000-01-23T04:56:07.000+00:00",
- "update_state": "In-Progress",
- "id": 1,
- "target_firmware": "target_firmware",
- "status": "status"
}, - {
- "switch_data": {
- "role": "Spine",
- "global_ip_mtu": 0,
- "ipv6_anycast_gateway_mac": "0",
- "chassis_name": "BR-SLX-9140",
- "ip_address": "10.24.39.224",
- "ip_anycast_gateway_mac": "0",
- "is_virtual_device": true,
- "global_l2_mtu": 0,
- "fabric": {
- "fabric_name": "default",
- "fabric_id": 1
}, - "discovery_status": "Completed",
- "name": "sw0",
- "model": "3000",
- "id": 1,
- "state": "New",
- "global_ipv6_mtu": 0,
- "firmware": "17.01.02",
- "asn": 65000
}, - "last_update_time": "2000-01-23T04:56:07.000+00:00",
- "update_state": "In-Progress",
- "id": 1,
- "target_firmware": "target_firmware",
- "status": "status"
}
]
}
Populate Fabric service specific data in Inventory service
Fabric service data fabric_type, device_rack.
Array of objects (Fabric service specefic data) |
{- "items": [
- {
- "fabric_id": 0,
- "fabric_name": "string",
- "fabric_type": "string",
- "fabric_devices": [
- {
- "device_id": 0,
- "device_ip_address": "string",
- "device_rack": "string"
}
]
}
]
}
{- "reason": "string"
}
Capture the supportsave data from device(s) and return the file name in the response
SupportSave for devices
fabric | string Fabric name to take SS of rall devices in the fabric |
device-ips | string Device IP's of switches to collect support save from |
fabric-all | boolean true/false to take Support save of all devices |
{- "fabric": "default",
- "device-ips": "10.24.131.3,162.101.21.2,192.24.32.204",
- "fabric-all": true
}
{- "deviceSSResponse": [
- {
- "ip_address": "10.24.39.224"
}, - {
- "status": {
- "result": "Failed",
- "reason": "Device not present"
}
}
]
}
This API will return all TACACS configuration existing on the device
device_ip required | string device ip |
{- "tacacsInfos": [
- {
- "device_ip": "string",
- "device_id": null,
- "id": 1,
- "name": "TACACS_Config1",
- "secret_key": "secret",
- "vrf_name": "mgmt-vrf",
- "port": 49
}
]
}
This API will create the TACACS configuration on the device
TACACS configuration on the given device
device_ip required | string Device IP address |
device_id | uint Device ID |
id | integer <int64> |
name required | string TACACS configuration host name |
secret_key | string TACACS secret key |
vrf_name | string TACACS VRF name |
port | integer TACACS port number |
{- "device_ip": "string",
- "device_id": null,
- "id": 1,
- "name": "TACACS_Config1",
- "secret_key": "secret",
- "vrf_name": "mgmt-vrf",
- "port": 49
}
{- "device_ip": "string",
- "device_id": null,
- "id": 1,
- "name": "TACACS_Config1",
- "secret_key": "secret",
- "vrf_name": "mgmt-vrf",
- "port": 49
}
This API will update the TACACS configuration on the device
TACACS configuration on the given device
device_ip required | string Device IP address |
device_id | uint Device ID |
id | integer <int64> |
name required | string TACACS configuration host name |
secret_key | string TACACS secret key |
vrf_name | string TACACS VRF name |
port | integer TACACS port number |
{- "device_ip": "string",
- "device_id": null,
- "id": 1,
- "name": "TACACS_Config1",
- "secret_key": "secret",
- "vrf_name": "mgmt-vrf",
- "port": 49
}
{- "device_ip": "string",
- "device_id": null,
- "id": 1,
- "name": "TACACS_Config1",
- "secret_key": "secret",
- "vrf_name": "mgmt-vrf",
- "port": 49
}
This API will delete TACACS config from device
TACACS configuration on the given device
device_ip required | string Device IP address |
device_id | uint Device ID |
id | integer <int64> |
name required | string TACACS configuration host name |
secret_key | string TACACS secret key |
vrf_name | string TACACS VRF name |
port | integer TACACS port number |
{- "device_ip": "string",
- "device_id": null,
- "id": 1,
- "name": "TACACS_Config1",
- "secret_key": "secret",
- "vrf_name": "mgmt-vrf",
- "port": 49
}
{- "device_ip": "string",
- "device_id": null,
- "id": 1,
- "name": "TACACS_Config1",
- "secret_key": "secret",
- "vrf_name": "mgmt-vrf",
- "port": 49
}
This API will return TACACS configuration by host name and device IP address
device_ip required | string device ip |
name required | string TACACS host name |
{- "device_ip": "string",
- "device_id": null,
- "id": 1,
- "name": "TACACS_Config1",
- "secret_key": "secret",
- "vrf_name": "mgmt-vrf",
- "port": 49
}
This API will return the AAA configuration existing on the device
device_ip required | string device ip |
{- "device_ip": "string",
- "device_id": null,
- "id": 1,
- "type": "local",
- "local_auth_fallback": true
}
This API will create the AAA configuration on the device
AAA configuration on the given device
device_ip required | string Device IP address |
device_id | uint Device ID |
id | integer <int64> |
type | string AAA authentication type (tacacs+, local, default) |
local_auth_fallback | bool Local authentication fallback option |
{- "device_ip": "string",
- "device_id": null,
- "id": 1,
- "type": "local",
- "local_auth_fallback": true
}
{- "device_ip": "string",
- "device_id": null,
- "id": 1,
- "type": "local",
- "local_auth_fallback": true
}
This API will update the AAA configuration on the device
AAA configuration on the given device
device_ip required | string Device IP address |
device_id | uint Device ID |
id | integer <int64> |
type | string AAA authentication type (tacacs+, local, default) |
local_auth_fallback | bool Local authentication fallback option |
{- "device_ip": "string",
- "device_id": null,
- "id": 1,
- "type": "local",
- "local_auth_fallback": true
}
{- "device_ip": "string",
- "device_id": null,
- "id": 1,
- "type": "local",
- "local_auth_fallback": true
}
This API will delete AAA config from device
AAA configuration on the given device
device_ip required | string Device IP address |
device_id | uint Device ID |
id | integer <int64> |
type | string AAA authentication type (tacacs+, local, default) |
local_auth_fallback | bool Local authentication fallback option |
{- "device_ip": "string",
- "device_id": null,
- "id": 1,
- "type": "local",
- "local_auth_fallback": true
}
{- "device_ip": "string",
- "device_id": null,
- "id": 1,
- "type": "local",
- "local_auth_fallback": true
}
Get only the interfaces with the specific parameters for the specified switch
device_ips | Array of strings non-empty unique IP address of the device for which the interfaces are being fetched for |
device_ids | Array of integers non-empty unique IP address of the device for which the interfaces are being fetched for |
type required | string Default: "All" Enum: "All" "Physical" "Loopback" "VE" "PO" Interface types. All, Ethernet interfaces, Loopback interfaces only, VE interfaces only or Port channels only |
admin_state required | string Default: "All" Enum: "Up" "Down" "All" Interface's admin state. up, down, all values only for admin state |
rme | boolean Interface's RME. enabled or not |
oper_state required | string Default: "All" Enum: "Up" "Down" "All" Interface's oper state(Line protocol state). up, down, all values only for admin state |
fabric_intf_role | string Enum: "fabric" "edge" Fabric interface role , it can be either fabric or edge, Fabric means it will returns interfaces connected to other fabric devices otherwise it is edge ports. This parameter must be given in conjunction with device_ips or device_ids |
object (SearchQuery) {"group_by":"fec_mode"} Responses grouped by fec_mode {"filter":[{"name":"name","value":"0/1"},{"name":"fec_mode',"value":"auto"}] Responses filtered by name="0/1" and fec_mode="auto" {"fuzzy":"adm"} Responses searched using fuzzy search "adm" | |
object (PaginationQuery) {"sort_by":"asc|desc"} Responses grouped id in ascending or descending order {"offset" : "lt:30"} Responses filtered id less then 30 {"page_size":20} Responses searched with limit of 20 entriess |
{- "items": [
- {
- "interfaces": [
- {
- "items": [
- {
- "identifier": "identifier",
- "app_state": "cfg-refreshed",
- "role": "edge",
- "actual_line_speed": "40Gbps",
- "configured_speed": "40Gbps",
- "int_type": "ethernet",
- "native_vlan_enabled": true,
- "native_vlan": 2,
- "ip_address": [
- "ip_address",
- "ip_address"
], - "switchport_mode": "unknown",
- "donor_port_number": "1",
- "oper_status": "up",
- "mac": "0000:1111:2222",
- "mtu": 6,
- "ip_mtu": 1,
- "ip_pim_sparse": true,
- "donor_port_type": "loopback",
- "name": "0/1",
- "admin_status": "up",
- "id": 1
}, - {
- "identifier": "identifier",
- "role": "edge",
- "actual_line_speed": "40Gbps",
- "configured_speed": "40Gbps",
- "int_type": "ethernet",
- "native_vlan_enabled": true,
- "native_vlan": 2,
- "ip_address": [
- "ip_address",
- "ip_address"
], - "switchport_mode": "unknown",
- "donor_port_number": "1",
- "oper_status": "up",
- "mac": "0000:1111:2222",
- "mtu": 6,
- "ip_mtu": 1,
- "donor_port_type": "loopback",
- "name": "0/1",
- "admin_status": "up",
- "id": 1
}
]
}, - {
- "items": [
- {
- "identifier": "identifier",
- "app_state": "cfg-refreshed",
- "role": "edge",
- "actual_line_speed": "40Gbps",
- "configured_speed": "40Gbps",
- "int_type": "ethernet",
- "native_vlan_enabled": true,
- "native_vlan": 2,
- "ip_address": [
- "ip_address",
- "ip_address"
], - "switchport_mode": "unknown",
- "donor_port_number": "1",
- "oper_status": "up",
- "mac": "0000:1111:2222",
- "mtu": 6,
- "ip_mtu": 1,
- "donor_port_type": "loopback",
- "name": "0/1",
- "admin_status": "up",
- "id": 1
}, - {
- "identifier": "identifier",
- "role": "edge",
- "actual_line_speed": "40Gbps",
- "configured_speed": "40Gbps",
- "int_type": "ethernet",
- "native_vlan_enabled": true,
- "native_vlan": 2,
- "ip_address": [
- "ip_address",
- "ip_address"
], - "switchport_mode": "unknown",
- "donor_port_number": "1",
- "oper_status": "up",
- "mac": "0000:1111:2222",
- "mtu": 6,
- "ip_mtu": 1,
- "donor_port_type": "loopback",
- "name": "0/1",
- "admin_status": "up",
- "id": 1
}
]
}
], - "ip_address": "10.24.39.224"
}, - {
- "interfaces": [
- {
- "items": [
- {
- "identifier": "identifier",
- "app_state": "cfg-refreshed",
- "role": "edge",
- "actual_line_speed": "40Gbps",
- "configured_speed": "40Gbps",
- "int_type": "ethernet",
- "native_vlan_enabled": true,
- "native_vlan": 2,
- "ip_address": [
- "ip_address",
- "ip_address"
], - "switchport_mode": "unknown",
- "donor_port_number": "1",
- "oper_status": "up",
- "mac": "0000:1111:2222",
- "mtu": 6,
- "ip_mtu": 1,
- "donor_port_type": "loopback",
- "name": "0/1",
- "admin_status": "up",
- "id": 1
}, - {
- "identifier": "identifier",
- "role": "edge",
- "actual_line_speed": "40Gbps",
- "configured_speed": "40Gbps",
- "int_type": "ethernet",
- "native_vlan_enabled": true,
- "native_vlan": 2,
- "ip_address": [
- "ip_address",
- "ip_address"
], - "switchport_mode": "unknown",
- "donor_port_number": "1",
- "oper_status": "up",
- "mac": "0000:1111:2222",
- "mtu": 6,
- "ip_mtu": 1,
- "donor_port_type": "loopback",
- "name": "0/1",
- "admin_status": "up",
- "id": 1
}
]
}, - {
- "items": [
- {
- "identifier": "identifier",
- "app_state": "cfg-refreshed",
- "role": "edge",
- "actual_line_speed": "40Gbps",
- "configured_speed": "40Gbps",
- "int_type": "ethernet",
- "native_vlan_enabled": true,
- "native_vlan": 2,
- "ip_address": [
- "ip_address",
- "ip_address"
], - "switchport_mode": "unknown",
- "donor_port_number": "1",
- "oper_status": "up",
- "mac": "0000:1111:2222",
- "mtu": 6,
- "ip_mtu": 1,
- "donor_port_type": "loopback",
- "name": "0/1",
- "admin_status": "up",
- "id": 1
}, - {
- "identifier": "identifier",
- "role": "edge",
- "actual_line_speed": "40Gbps",
- "configured_speed": "40Gbps",
- "int_type": "ethernet",
- "native_vlan_enabled": true,
- "native_vlan": 2,
- "ip_address": [
- "ip_address",
- "ip_address"
], - "switchport_mode": "unknown",
- "donor_port_number": "1",
- "oper_status": "up",
- "mac": "0000:1111:2222",
- "mtu": 6,
- "ip_mtu": 1,
- "donor_port_type": "loopback",
- "name": "0/1",
- "admin_status": "up",
- "id": 1
}
]
}
], - "ip_address": "10.24.39.224"
}
]
}
Down/Up interfaces with the specific parameters for the specified switch
Register a new Switch.
ip_address required | Array of strings non-empty unique |
intfNames required | Array of strings non-empty unique |
adminState required | string Enum: "up" "down" |
intfType | string Default: "Eth" Enum: "Eth" "VE" "PO" |
{- "intfType": "Eth",
- "adminState": "up",
- "ip_address": "ip_address",
- "intfNames": [
- "intfNames",
- "intfNames"
]
}
[- {
- "ip_address": "10.10.10.10",
- "interfaces": [
- {
- "intf_type": "ethernet",
- "name": "0/1",
- "admin_state": "up",
- "id": 1
}, - {
- "intf_type": "ethernet",
- "name": "0/1",
- "admin_state": "up",
- "id": 1
}
]
}
]
Create Breakout interfaces port with the specific parameters for the specified switch
Breakout break Port into multiple interfaces.
ip_address required | Array of strings non-empty unique |
intfNames required | Array of strings non-empty unique Interface Port Names |
intfType | string Default: "Eth" Enum: "Eth" "VE" "PO" |
mode required | string Enum: "4x10g" "4x25g" Port breakout mode |
{- "mode": "4x10g",
- "intfType": "Eth",
- "ip_address": "ip_address",
- "intfNames": [
- "intfNames",
- "intfNames"
]
}
[- {
- "ip_address": "string",
- "error": "string",
- "interfaces": [
- {
- "id": 1,
- "intf_type": "ethernet",
- "name": "0/1",
- "app_state": "cfg-refreshed",
- "status": {
- "result": "Failed",
- "reason": "Invalid Interface name provided"
}
}
]
}
]
Remove Breakout of interfaces port with the specific parameters for the specified switch
Removes Breakout of interfaces of the Switch.
ip_address | Array of strings unique |
intfNames required | Array of strings unique Interface Port Names |
intfType | string Default: "Eth" Enum: "Eth" "VE" "PO" |
{- "ip_address": [
- "string"
], - "intfNames": [
- "string"
], - "intfType": "Eth"
}
[- {
- "ip_address": "string",
- "error": "string",
- "interfaces": [
- {
- "id": 1,
- "device_ip": "10.10.10.10",
- "intf_type": "ethernet",
- "name": "0/1",
- "status": {
- "result": "Failed",
- "reason": "Invalid Interface name provided"
}
}
]
}
]
List Breakout interfaces port with the specific parameters for the specified switch
device_ips | Array of strings non-empty unique IP Addresses of the device(s) to List Breakout Ports. |
fabric_name | string List Breakout Ports of devices which are associated to the fabric name. |
[- {
- "ip_address": "string",
- "error": "string",
- "interfaces": [
- {
- "id": 1,
- "intf_type": "ethernet",
- "name": "0/1",
- "app_state": "cfg-refreshed",
- "status": {
- "result": "Failed",
- "reason": "Invalid Interface name provided"
}
}
]
}
]
Change interfaces port speed with the specific parameters for the specified switch
Change Port speed of interfaces of the Switch.
ip_address required | Array of strings non-empty unique |
intfNames required | Array of strings non-empty unique Interface Port Names |
speed required | string Enum: "100Mbps" "1Gbps" "10Gbps" "25Gbps" "40Gbps" "100Gbps" "1GbpsAN" "AUTO" Port Speed |
intfType | string Default: "Eth" Enum: "Eth" "VE" "PO" Interface Type |
{- "intfType": "Eth",
- "ip_address": "ip_address",
- "intfNames": [
- "intfNames",
- "intfNames"
], - "speed": "100Mbps"
}
[- {
- "interfaces": [
- {
- "intf_type": "ethernet",
- "name": "0/1",
- "id": 1,
- "speed": "up"
}, - {
- "intf_type": "ethernet",
- "name": "0/1",
- "id": 1,
- "speed": "up"
}
]
}
]
Set L2Mtu, IPv4Mtu and IPv6Mtu to interfaces with the specific parameters for the specified switch
Set L2Mtu, IPv4Mtu and IPv6Mtu to device interfaces.
ip_address required | Array of strings non-empty unique |
intfNames required | Array of strings non-empty unique Interface Port Names |
intfType | string Default: "Eth" Enum: "Eth" "VE" "PO" Interface Type |
mtu | integer L2 Mtu of interface |
ip_mtu | integer IPv4 Mtu of interface |
ipv6_mtu | integer IPv6 Mtu of interface |
{- "ip_address": [
- "10.10.10.10",
- "20.20.20.20"
], - "intfNames": [
- "0/1-3",
- "0/5"
], - "intfType": "Eth",
- "mtu": 1600,
- "ip_mtu": 1600,
- "ipv6_mtu": 1600
}
[- {
- "ip_address": "string",
- "error": "string",
- "interfaces": [
- {
- "id": 1,
- "intf_type": "ethernet",
- "name": "0/1",
- "mtu": 1500,
- "ip_mtu": 1500,
- "ipv6_mtu": 1500,
- "status": {
- "result": "Failed",
- "reason": "Invalid Interface name provided"
}
}
]
}
]
Remove L2Mtu, IPv4Mtu and IPv6Mtu from interfaces with the specific parameters for the specified switch
Remove L2Mtu, IPv4Mtu and IPv6Mtu from device interfaces.
ip_address required | Array of strings non-empty unique |
intfNames required | Array of strings non-empty unique Interface Port Names |
intfType | string Default: "Eth" Enum: "Eth" "VE" "PO" Interface Type |
mtu | boolean Remove this Mtu from interface |
ip_mtu | boolean Remove this IPv4 Mtu from interface |
ipv6_mtu | boolean Remove IPv6 Mtu from interface |
{- "ip_address": [
- "10.10.10.10",
- "20.20.20.20"
], - "intfNames": [
- "0/1-3",
- "0/5"
], - "intfType": "Eth",
- "mtu": true,
- "ip_mtu": true,
- "ipv6_mtu": false
}
[- {
- "ip_address": "10.10.10.10",
- "error": "Failure Reason",
- "interfaces": [
- {
- "id": 1,
- "intf_type": "ethernet",
- "name": "0/1",
- "mtu": true,
- "ip_mtu": false,
- "ipv6_mtu": false
}, - {
- "id": 2,
- "intf_type": "ethernet",
- "name": "0/2",
- "mtu": false,
- "ip_mtu": true,
- "ipv6_mtu": false
}
]
}
]
Change interfaces port FEC with the specific parameters for the specified switch
Change Port FEC of interfaces of the Switch.
ip_address required | Array of strings non-empty unique |
intfNames required | Array of strings non-empty unique Interface Port Names |
mode required | string Enum: "fc-fec" "rs-fec" "auto" "disabled" Port FEC mode |
intfType | string Default: "Eth" Enum: "Eth" "VE" "PO" Interface Type |
{- "intfType": "Eth",
- "ip_address": "ip_address",
- "intfNames": [
- "intfNames",
- "intfNames"
], - "mode": "fc-fec"
}
[- {
- "interfaces": [
- {
- "intf_type": "ethernet",
- "name": "0/1",
- "id": 1,
- "mode": "fc-fec"
}, - {
- "intf_type": "ethernet",
- "name": "0/1",
- "id": 1,
- "mode": "disabled"
}
]
}
]
Remove Port FEC of interfaces port with the specific parameters for the specified switch
Removes Port FEC of interfaces of the Switch.
ip_address | Array of strings unique |
intfNames required | Array of strings unique Interface Port Names |
intfType | string Default: "Eth" Enum: "Eth" "VE" "PO" Interface Type |
{- "intfType": "Eth",
- "ip_address": "ip_address",
- "intfNames": [
- "intfNames",
- "intfNames"
]
}
[- {
- "interfaces": [
- {
- "name": "0/1",
- "id": 1,
- "intf_type": "ethernet"
}
]
}
]
Change interfaces port dampening with the specific parameters for the specified switch
Change Port Dampening of interfaces of the Switch.
ip_address required | Array of strings non-empty unique |
intfNames required | Array of strings non-empty |