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
}
]
}
]
Set description to interfaces about the specified switch
Set Description 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 |
intfDescription required | string Interface Description |
{- "ip_address": [
- "10.10.10.10",
- "20.20.20.20"
], - "intfNames": [
- "0/1-3",
- "0/5"
], - "intfType": "Eth",
- "intfDescription": "Interface ethernet 0/1"
}
[- {
- "ip_address": "string",
- "error": "string",
- "interfaces": [
- {
- "id": 1,
- "intfType": "ethernet",
- "intfNames": "0/1",
- "intfDescription": "Interface ethernet 0/1",
- "status": {
- "result": "Failed",
- "reason": "Invalid Interface name provided"
}
}
]
}
]
Remove Description from interfaces with the specific parameters for the specified switch
Remove Description 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 |
{- "ip_address": [
- "10.10.10.10",
- "20.20.20.20"
], - "intfNames": [
- "0/1-3",
- "0/5"
], - "intfType": "Eth"
}
[- {
- "ip_address": "10.10.10.10",
- "error": "Failure Reason",
- "interfaces": [
- {
- "id": 1,
- "intfType": "ethernet",
- "intfNames": "0/1"
}, - {
- "id": 2,
- "intfType": "ethernet",
- "intfNames": "0/2"
}
]
}
]
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 unique Interface Port Names |
toggleThreshold | integer Port Dampening toggle threshold |
samplingTime | integer Port Dampening sampling time |
waitTime | integer Port Dampening wait time |
{- "ip_address": "ip_address",
- "intfNames": [
- "intfNames",
- "intfNames"
], - "toggleThreshold": 1,
- "samplingTime": 1,
- "waitTime": 1
}
[- {
- "interfaces": [
- {
- "name": "0/1",
- "id": 1,
- "toggle_threshold": 50,
- "sampling_time": 65565,
- "wait_time": 65565
}, - {
- "name": "0/1",
- "id": 1,
- "toggle_threshold": 50,
- "sampling_time": 65565,
- "wait_time": 65565
}
]
}
]
Remove Port Dampening of interfaces port with the specific parameters for the specified switch
Removes Port Dampening of interfaces of the Switch.
ip_address | Array of strings unique |
intfNames required | Array of strings unique Interface Port Names |
{- "ip_address": "ip_address",
- "intfNames": [
- "intfNames",
- "intfNames"
]
}
[- {
- "interfaces": [
- {
- "name": "0/1",
- "id": 1,
- "toggle_threshold": 50,
- "sampling_time": 65565,
- "wait_time": 65565
}, - {
- "intf_type": "ethernet",
- "name": "0/1",
- "id": 1,
- "toggle_threshold": 50,
- "sampling_time": 65565,
- "wait_time": 65565
}
]
}
]
Enable RME on interfaces with the specific parameters for the specified switch
Change RME status of interfaces of the Switch.
ip_address required | Array of strings non-empty unique |
intfNames required | string Interface Port Name |
EnableRME | boolean Port RME toggle threshold |
{- "ip_address": [
- "10.10.10.10",
- "20.20.20.20"
], - "intfNames": "0/31",
- "EnableRME": true
}
[- {
- "ip_address": "string",
- "error": "string",
- "interfaces": [
- {
- "name": "0/1",
- "id": 1,
- "EnableRME": true,
- "intfType": "eth"
}
]
}
]
Get only the POs with the specific parameters for the specified switches
device_ips | Array of strings non-empty unique IP address of the device for which the port channels are being fetched for |
device_ids | Array of integers non-empty unique IP address of the device for which the port channels are being fetched for |
po_numbers | Array of integers non-empty unique Numbers of the Port Channels to be fetched |
{- "items": [
- {
- "ip_address": "10.24.39.224",
- "port_channels": [
- {
- "member_ports": [
- {
- "device_ip": "10.1.1.1",
- "interface_id": 2,
- "device_id": 1,
- "actor_port": 4,
- "interface_name": "0/7",
- "interface_type": "ethernet",
- "sync": 7
}, - {
- "device_ip": "10.1.1.1",
- "interface_id": 2,
- "device_id": 1,
- "actor_port": 4,
- "interface_name": "0/7",
- "interface_type": "ethernet",
- "sync": 7
}
], - "aggregator_id": 7,
- "aggregator_mode": "aggregator_mode",
- "partner_system_id": "partner_system_id",
- "admin_state": "up",
- "description": "description Port-channel po3",
- "speed": "40Gbps",
- "is_vlag": "true",
- "oper_state": "up",
- "aggregator_type": "aggregator_type",
- "actor_system_id": "actor_system_id",
- "partner_oper_priority": 3,
- "name": "po3",
- "system_priority": 9,
- "id": 1,
- "minimum_links": 2,
- "mtu": 9200
}, - {
- "member_ports": [
- {
- "device_ip": "10.1.1.1",
- "interface_id": 2,
- "device_id": 1,
- "actor_port": 4,
- "interface_name": "0/8",
- "interface_type": "ethernet",
- "sync": 7
}, - {
- "device_ip": "10.1.1.1",
- "interface_id": 2,
- "device_id": 1,
- "actor_port": 4,
- "interface_name": "0/7",
- "interface_type": "ethernet",
- "sync": 7
}
], - "aggregator_id": 7,
- "aggregator_mode": "aggregator_mode",
- "partner_system_id": "partner_system_id",
- "admin_state": "up",
- "description": "description Port-channel po6",
- "speed": "100Gbps",
- "is_vlag": "true",
- "oper_state": "up",
- "aggregator_type": "aggregator_type",
- "actor_system_id": "actor_system_id",
- "partner_oper_priority": 3,
- "name": "po6",
- "system_priority": 9,
- "id": 1,
- "minimum_links": 2,
- "mtu": 9200
}
]
}, - {
- "ip_address": "10.24.39.224",
- "port_channels": [
- {
- "member_ports": [
- {
- "device_ip": "10.1.1.1",
- "interface_id": 2,
- "device_id": 1,
- "actor_port": 4,
- "interface_name": "0/14",
- "interface_type": "ethernet",
- "sync": 7
}, - {
- "device_ip": "device_ip",
- "interface_id": 2,
- "device_id": 1,
- "actor_port": 4,
- "interface_name": "0/13",
- "interface_type": "ethernet",
- "sync": 7
}
], - "aggregator_id": 7,
- "aggregator_mode": "aggregator_mode",
- "partner_system_id": "partner_system_id",
- "admin_state": "up",
- "description": "description Port-channel po5",
- "speed": "40Gbps",
- "is_vlag": "true",
- "oper_state": "up",
- "aggregator_type": "aggregator_type",
- "actor_system_id": "actor_system_id",
- "partner_oper_priority": 3,
- "name": "po5",
- "system_priority": 9,
- "id": 1,
- "minimum_links": 2,
- "mtu": 9200
}, - {
- "member_ports": [
- {
- "device_ip": "10.1.1.1",
- "interface_id": 2,
- "device_id": 1,
- "actor_port": 4,
- "interface_name": "0/12",
- "interface_type": "ethernet",
- "sync": 7
}, - {
- "device_ip": "10.1.1.1",
- "interface_id": 2,
- "device_id": 1,
- "actor_port": 4,
- "interface_name": "0/11",
- "interface_type": "ethernet",
- "sync": 7
}
], - "aggregator_id": 7,
- "aggregator_mode": "aggregator_mode",
- "partner_system_id": "partner_system_id",
- "admin_state": "up",
- "description": "description Port-channel po4",
- "speed": "40Gbps",
- "is_vlag": "true",
- "oper_state": "up",
- "aggregator_type": "aggregator_type",
- "actor_system_id": "actor_system_id",
- "partner_oper_priority": 3,
- "name": "po4",
- "system_priority": 9,
- "id": 1,
- "minimum_links": 2,
- "mtu": 9200
}
]
}
]
}
Get LLDP data for a given input param
remote_macs | Array of strings non-empty unique fetch the lldp data for remote interface MACs in hhhh.hhhh.hhhh format |
device_ips | Array of strings non-empty unique fetch the lldp data for device ips in hhh.hhh.hhh.hhh format |
neighbor_type | string Default: "all" Enum: "all" "edge" "fabric" fetch all, edge or fabric lldp neighbors as a filter. |
[- {
- "remote_interface_unnumbered_ip": "10.10.10.20/31",
- "local_device_role": "Leaf",
- "device_id": 1,
- "remote_interface_name": "2333.3333.4444",
- "remote_interface_description": "Link to server",
- "local_device_name": "SLX",
- "local_interface_mac": "1234.abcd.4567",
- "local_device_ip": "10.2.2.2",
- "local_po_type": "standard",
- "remote_interface_unnumbered_mac": "0034.abcd.4568",
- "remote_system_name": "esxi-01",
- "local_interface_id": 10,
- "local_interface_type": "ethernet",
- "local_interface_name": "Ethernet 0/1",
- "local_po_number": 1,
- "remote_interface_mac": "0034.abcd.4567"
}
]
Get only the links for the specified switches
device_ips | Array of strings non-empty unique IP address of the device for which the links are being fetched for |
device_ids | Array of integers non-empty unique DeviceIDs for which the links are being fetched for |
ids | Array of integers non-empty unique IDs of the links to be fetched |
fabric_name | string Name of the fabric |
fabric_id | integer <int32> Database ID of the fabric |
{- "items": [
- {
- "device_links": [
- {
- "items": [
- {
- "interface_2_mac": "0000.0000.0010",
- "device_2_role": "device_2_role",
- "interface_2_ip_address": "10.10.10.3",
- "interface_2_name": "0/1",
- "interface_1_ip_address": "10.10.10.2",
- "device_2_name": "device_2_name",
- "missing_time": "2000-01-23T04:56:07.000+00:00",
- "interface_1_id": 1,
- "interface_2_id": 65,
- "device_1_ip": "device_1_ip",
- "device_1_role": "device_1_role",
- "interface_1_mac": "0000.0000.0001",
- "device_1_name": "device_1_name",
- "device_2_ip": "device_2_ip",
- "interface_2_int_type": "ethernet",
- "device_1_id": 5,
- "device_2_id": 5,
- "is_missing": 2,
- "id": 1,
- "interface_1_name": "0/1",
- "interface_1_int_type": "ethernet"
}, - {
- "interface_2_mac": "0000.0000.0010",
- "device_2_role": "device_2_role",
- "interface_2_ip_address": "10.10.10.3",
- "interface_2_name": "0/1",
- "interface_1_ip_address": "10.10.10.2",
- "device_2_name": "device_2_name",
- "missing_time": "2000-01-23T04:56:07.000+00:00",
- "interface_1_id": 1,
- "interface_2_id": 65,
- "device_1_ip": "device_1_ip",
- "device_1_role": "device_1_role",
- "interface_1_mac": "0000.0000.0001",
- "device_1_name": "device_1_name",
- "device_2_ip": "device_2_ip",
- "interface_2_int_type": "ethernet",
- "device_1_id": 5,
- "device_2_id": 5,
- "is_missing": 2,
- "id": 1,
- "interface_1_name": "0/1",
- "interface_1_int_type": "ethernet"
}
]
}, - {
- "items": [
- {
- "interface_2_mac": "0000.0000.0010",
- "device_2_role": "device_2_role",
- "interface_2_ip_address": "10.10.10.3",
- "interface_2_name": "0/1",
- "interface_1_ip_address": "10.10.10.2",
- "device_2_name": "device_2_name",
- "missing_time": "2000-01-23T04:56:07.000+00:00",
- "interface_1_id": 1,
- "interface_2_id": 65,
- "device_1_ip": "device_1_ip",
- "device_1_role": "device_1_role",
- "interface_1_mac": "0000.0000.0001",
- "device_1_name": "device_1_name",
- "device_2_ip": "device_2_ip",
- "interface_2_int_type": "ethernet",
- "device_1_id": 5,
- "device_2_id": 5,
- "is_missing": 2,
- "id": 1,
- "interface_1_name": "0/1",
- "interface_1_int_type": "ethernet"
}, - {
- "interface_2_mac": "0000.0000.0010",
- "device_2_role": "device_2_role",
- "interface_2_ip_address": "10.10.10.3",
- "interface_2_name": "0/1",
- "interface_1_ip_address": "10.10.10.2",
- "device_2_name": "device_2_name",
- "missing_time": "2000-01-23T04:56:07.000+00:00",
- "interface_1_id": 1,
- "interface_2_id": 65,
- "device_1_ip": "device_1_ip",
- "device_1_role": "device_1_role",
- "interface_1_mac": "0000.0000.0001",
- "device_1_name": "device_1_name",
- "device_2_ip": "device_2_ip",
- "interface_2_int_type": "ethernet",
- "device_1_id": 5,
- "device_2_id": 5,
- "is_missing": 2,
- "id": 1,
- "interface_1_name": "0/1",
- "interface_1_int_type": "ethernet"
}
]
}
], - "ip_address": "10.24.39.224"
}, - {
- "device_links": [
- {
- "items": [
- {
- "interface_2_mac": "0000.0000.0010",
- "device_2_role": "device_2_role",
- "interface_2_ip_address": "10.10.10.3",
- "interface_2_name": "0/1",
- "interface_1_ip_address": "10.10.10.2",
- "device_2_name": "device_2_name",
- "missing_time": "2000-01-23T04:56:07.000+00:00",
- "interface_1_id": 1,
- "interface_2_id": 65,
- "device_1_ip": "device_1_ip",
- "device_1_role": "device_1_role",
- "interface_1_mac": "0000.0000.0001",
- "device_1_name": "device_1_name",
- "device_2_ip": "device_2_ip",
- "interface_2_int_type": "ethernet",
- "device_1_id": 5,
- "device_2_id": 5,
- "is_missing": 2,
- "id": 1,
- "interface_1_name": "0/1",
- "interface_1_int_type": "ethernet"
}, - {
- "interface_2_mac": "0000.0000.0010",
- "device_2_role": "device_2_role",
- "interface_2_ip_address": "10.10.10.3",
- "interface_2_name": "0/1",
- "interface_1_ip_address": "10.10.10.2",
- "device_2_name": "device_2_name",
- "missing_time": "2000-01-23T04:56:07.000+00:00",
- "interface_1_id": 1,
- "interface_2_id": 65,
- "device_1_ip": "device_1_ip",
- "device_1_role": "device_1_role",
- "interface_1_mac": "0000.0000.0001",
- "device_1_name": "device_1_name",
- "device_2_ip": "device_2_ip",
- "interface_2_int_type": "ethernet",
- "device_1_id": 5,
- "device_2_id": 5,
- "is_missing": 2,
- "id": 1,
- "interface_1_name": "0/1",
- "interface_1_int_type": "ethernet"
}
]
}, - {
- "items": [
- {
- "interface_2_mac": "0000.0000.0010",
- "device_2_role": "device_2_role",
- "interface_2_ip_address": "10.10.10.3",
- "interface_2_name": "0/1",
- "interface_1_ip_address": "10.10.10.2",
- "device_2_name": "device_2_name",
- "missing_time": "2000-01-23T04:56:07.000+00:00",
- "interface_1_id": 1,
- "interface_2_id": 65,
- "device_1_ip": "device_1_ip",
- "device_1_role": "device_1_role",
- "interface_1_mac": "0000.0000.0001",
- "device_1_name": "device_1_name",
- "device_2_ip": "device_2_ip",
- "interface_2_int_type": "ethernet",
- "device_1_id": 5,
- "device_2_id": 5,
- "is_missing": 2,
- "id": 1,
- "interface_1_name": "0/1",
- "interface_1_int_type": "ethernet"
}, - {
- "interface_2_mac": "0000.0000.0010",
- "device_2_role": "device_2_role",
- "interface_2_ip_address": "10.10.10.3",
- "interface_2_name": "0/1",
- "interface_1_ip_address": "10.10.10.2",
- "device_2_name": "device_2_name",
- "missing_time": "2000-01-23T04:56:07.000+00:00",
- "interface_1_id": 1,
- "interface_2_id": 65,
- "device_1_ip": "device_1_ip",
- "device_1_role": "device_1_role",
- "interface_1_mac": "0000.0000.0001",
- "device_1_name": "device_1_name",
- "device_2_ip": "device_2_ip",
- "interface_2_int_type": "ethernet",
- "device_1_id": 5,
- "device_2_id": 5,
- "is_missing": 2,
- "id": 1,
- "interface_1_name": "0/1",
- "interface_1_int_type": "ethernet"
}
]
}
], - "ip_address": "10.24.39.224"
}
]
}
Get VLANS for the specified switches
device_ip | string IP address of the device for which the VLANs are being fetched for |
device_id | integer Device IDs for which the VLANs are being fetched for |
vlan_ids | Array of integers non-empty unique VLAN IDs to be fetched |
{- "items": [
- {
- "vlans": [
- {
- "interfaces": [
- {
- "int_type": "ethernet",
- "name": "0/1",
- "id": 1
}, - {
- "int_type": "ethernet",
- "name": "0/1",
- "id": 1
}
], - "vlan": {
- "vlan_id": 1001,
- "name": "Marketing VLAN",
- "id": 1,
- "state": "active",
- "type": "Static vlan"
}
}, - {
- "interfaces": [
- {
- "int_type": "ethernet",
- "name": "0/1",
- "id": 1
}, - {
- "int_type": "ethernet",
- "name": "0/1",
- "id": 1
}
], - "vlan": {
- "vlan_id": 1001,
- "name": "Marketing VLAN",
- "id": 1,
- "state": "active",
- "type": "Static vlan"
}
}
], - "ip_address": "ip_address"
}, - {
- "vlans": [
- {
- "interfaces": [
- {
- "int_type": "ethernet",
- "name": "0/1",
- "id": 1
}, - {
- "int_type": "ethernet",
- "name": "0/1",
- "id": 1
}
], - "vlan": {
- "vlan_id": 1001,
- "name": "Marketing VLAN",
- "id": 1,
- "state": "active",
- "type": "Static vlan"
}
}, - {
- "interfaces": [
- {
- "int_type": "ethernet",
- "name": "0/1",
- "id": 1
}, - {
- "int_type": "ethernet",
- "name": "0/1",
- "id": 1
}
], - "vlan": {
- "vlan_id": 1001,
- "name": "Marketing VLAN",
- "id": 1,
- "state": "active",
- "type": "Static vlan"
}
}
], - "ip_address": "ip_address"
}
]
}
Get Mirror Sessions for the specified switches
device_ip | string IP address of the device for which the Mirror Sessions are being fetched for |
device_id | integer Device IDs for which the Mirror Sessions are being fetched for |
{- "items": [
- {
- "ip_address": "10.24.39.224",
- "device_session_id": 1,
- "description": "description",
- "source_if_type": "eth | po | vlan | ve",
- "source_if_name": "0/1 | po1 | 100",
- "flow_based": true,
- "mirror_direction": "rx | tx | both",
- "Destination": {
- "destination-if-type": "span | rspan-vlan | erspan",
- "span": {
- "mgmt-ip": "10.25.25.100",
- "if-type": "eth | po",
- "if-name": "0/1"
}
}
}
]
}
Get Drift Reconcile History list
device_ip | string Ip of the entry for which Drift-Reconcile history is fetched |
{- "items": [
- {
- "DR_id": "1111-1111-1111",
- "device-ip": "1.1.1.1",
- "status": "Success"
}, - {
- "DR_id": "1122-1122-1122",
- "device-ip": "1.1.2.1",
- "status": "Success"
}
]
}
Get Drift Reconcile Detail
dr_id required | string DriftReconcile Id of the entry for which detail is fetched |
{- "dr_id": "1111-1111-1111",
- "device-ip": "1.1.1.1",
- "status": "Success",
- "Reason": "Manual",
- "StartTime": "12:03:24,12/2/2020"
}
Get Config Backup History list
device_ip | string Ip of the entry for which Config-Backup history is fetched |
{- "items": [
- {
- "CB_id": "1111-1111-1111",
- "device-ip": "1.1.1.1",
- "status": "Success",
- "last_sync_time": "12:03:24,12/2/2020"
}, - {
- "CB_id": "1122-1122-1122",
- "device-ip": "1.1.2.1",
- "status": "Success",
- "last_sync_time": "12:03:24,12/2/2020"
}
]
}
Get Config Backup Detail
cb_id required | string ConfigBackup Id of the entry for which detail is fetched |
show_config | boolean Show complete configuration text |
{- "cb_id": "1111-1111-1111",
- "device-ip": "1.1.1.1",
- "status": "Success",
- "Reason": "Manual",
- "StartTime": "12:03:24,12/2/2020"
}
Get Config Replay History list
device_ip | string Ip of the entry for which Config-Replay history is fetched |
{- "items": [
- {
- "CR_id": "1111-1111-1111",
- "device-ip": "1.1.1.1",
- "status": "Success"
}, - {
- "CR_id": "1122-1122-1122",
- "device-ip": "1.1.2.1",
- "status": "Success"
}
]
}
Get Config Replay Detail
cr_id required | string ConfigReplay Id of the entry for which detail is fetched |
{- "cr_id": "1111-1111-1111",
- "device-ip": "1.1.1.1",
- "cb_id": "2222-3333-2233",
- "status": "Success",
- "Reason": "Manual",
- "StartTime": "12:03:24,12/2/2020"
}
Get only the VEs with the specific parameters for the specified switches
device_ips | Array of strings non-empty unique IP address of the device for which the VEs are being fetched for |
device_ids | Array of integers non-empty unique IP address of the device for which the VEs are being fetched for |
ve_ids | Array of integers non-empty unique IDs of the VEs to be fetched |
{- "items": [
- {
- "interfaces": [
- {
- "items": [
- {
- "anycast_address": [
- "anycast_address",
- "anycast_address"
], - "ip_mtu": 0,
- "name": "interfacename",
- "ip_arp_aging_timeout": 6,
- "ipv6_nd_managed_config": true,
- "ipv6_nd_other_config": true,
- "admin_status": "admin_status",
- "id": 1,
- "oper_status": "oper_status"
}, - {
- "anycast_address": [
- "anycast_address",
- "anycast_address"
], - "ip_mtu": 0,
- "name": "name",
- "ip_arp_aging_timeout": 6,
- "ipv6_nd_managed_config": true,
- "ipv6_nd_other_config": true,
- "admin_status": "admin_status",
- "id": 1,
- "oper_status": "oper_status"
}
]
}, - {
- "items": [
- {
- "anycast_address": [
- "anycast_address",
- "anycast_address"
], - "ip_mtu": 0,
- "name": "name",
- "ip_arp_aging_timeout": 6,
- "admin_status": "admin_status",
- "id": 1,
- "oper_status": "oper_status"
}, - {
- "anycast_address": [
- "anycast_address",
- "anycast_address"
], - "ip_mtu": 0,
- "name": "name",
- "ip_arp_aging_timeout": 6,
- "ipv6_nd_managed_config": true,
- "ipv6_nd_other_config": true,
- "admin_status": "admin_status",
- "id": 1,
- "oper_status": "oper_status"
}
]
}
], - "ip_address": "10.24.39.224"
}, - {
- "interfaces": [
- {
- "items": [
- {
- "anycast_address": [
- "anycast_address",
- "anycast_address"
], - "ip_mtu": 0,
- "name": "name",
- "ip_arp_aging_timeout": 6,
- "ipv6_nd_managed_config": true,
- "ipv6_nd_other_config": true,
- "admin_status": "admin_status",
- "id": 1,
- "oper_status": "oper_status"
}, - {
- "anycast_address": [
- "anycast_address",
- "anycast_address"
], - "ip_mtu": 0,
- "name": "name",
- "ip_arp_aging_timeout": 6,
- "ipv6_nd_managed_config": true,
- "ipv6_nd_other_config": true,
- "admin_status": "admin_status",
- "id": 1,
- "oper_status": "oper_status"
}
]
}, - {
- "items": [
- {
- "anycast_address": [
- "anycast_address",
- "anycast_address"
], - "ip_mtu": 0,
- "name": "name",
- "ip_arp_aging_timeout": 6,
- "ipv6_nd_managed_config": true,
- "ipv6_nd_other_config": true,
- "admin_status": "admin_status",
- "id": 1,
- "oper_status": "oper_status"
}, - {
- "anycast_address": [
- "anycast_address",
- "anycast_address"
], - "ip_mtu": 0,
- "name": "name",
- "ip_arp_aging_timeout": 6,
- "ipv6_nd_managed_config": true,
- "ipv6_nd_other_config": true,
- "admin_status": "admin_status",
- "id": 1,
- "oper_status": "oper_status"
}
]
}
], - "ip_address": "10.24.39.224"
}
]
}
Get only the Router BGP with the specific parameters for the specified switch
device_ip | string IP address of the device for which the Router BGP are being fetched for |
device_id | integer IP address of the device for which the Router BGP are being fetched for |
{- "af_ip": [
- {
- "maxpath_i_bgp": 1,
- "safi": "unicast",
- "af_ip_ngbr": [
- {
- "neighbor_afi": "neighbor_afi",
- "e_bgp_mhop": 0,
- "next_hop_self": true,
- "peer_group_name": "pod1_name",
- "is_activated": true,
- "neighbor_safi": "neighbor_safi",
- "remote_as": 65000,
- "password": "xxxxxx",
- "up_time": "up_time",
- "neighbor_address": "10.10.10.1",
- "id": 1,
- "enable_peer_as_check": true,
- "bfd_enable": true,
- "status": "ESTAB"
}, - {
- "neighbor_afi": "neighbor_afi",
- "e_bgp_mhop": 0,
- "next_hop_self": true,
- "peer_group_name": "pod1_name",
- "is_activated": true,
- "neighbor_safi": "neighbor_safi",
- "remote_as": 65000,
- "password": "xxxxxx",
- "up_time": "up_time",
- "neighbor_address": "10.10.10.1",
- "id": 1,
- "enable_peer_as_check": true,
- "bfd_enable": true,
- "status": "ESTAB"
}
], - "afi": "ipv4",
- "maxpath": 1,
- "id": 1,
- "vrf": "customer",
- "graceful_restart": true,
- "af_network": [
- {
- "af_id": 1,
- "route_map": "rm_policy",
- "backdoor": true,
- "network_address": "10.1.1.1/32",
- "weight": 200,
- "id": 1
}, - {
- "af_id": 1,
- "route_map": "rm_policy",
- "backdoor": true,
- "network_address": "10.1.1.1/32",
- "weight": 200,
- "id": 1
}
], - "maxpath_e_bgp": 1,
- "af_redistribute": [
- {
- "af_id": 1,
- "redistribute": "connected",
- "metric": 1000,
- "route_map": "rm_policy",
- "id": 1
}, - {
- "af_id": 1,
- "redistribute": "connected",
- "metric": 1000,
- "route_map": "rm_policy",
- "id": 1
}
]
}, - {
- "maxpath_i_bgp": 1,
- "safi": "unicast",
- "af_ip_ngbr": [
- {
- "neighbor_afi": "neighbor_afi",
- "e_bgp_mhop": 0,
- "next_hop_self": true,
- "peer_group_name": "pod1_name",
- "is_activated": true,
- "neighbor_safi": "neighbor_safi",
- "remote_as": 65000,
- "password": "xxxxxx",
- "up_time": "up_time",
- "neighbor_address": "10.10.10.1",
- "id": 1,
- "enable_peer_as_check": true,
- "bfd_enable": true,
- "status": "ESTAB"
}, - {
- "neighbor_afi": "neighbor_afi",
- "e_bgp_mhop": 0,
- "next_hop_self": true,
- "peer_group_name": "pod1_name",
- "is_activated": true,
- "neighbor_safi": "neighbor_safi",
- "remote_as": 65000,
- "password": "xxxxxx",
- "up_time": "up_time",
- "neighbor_address": "10.10.10.1",
- "id": 1,
- "enable_peer_as_check": true,
- "bfd_enable": true,
- "status": "ESTAB"
}
], - "afi": "ipv4",
- "maxpath": 1,
- "id": 1,
- "vrf": "customer",
- "graceful_restart": true,
- "af_network": [
- {
- "af_id": 1,
- "route_map": "rm_policy",
- "backdoor": true,
- "network_address": "10.1.1.1/32",
- "weight": 200,
- "id": 1
}, - {
- "af_id": 1,
- "route_map": "rm_policy",
- "backdoor": true,
- "network_address": "10.1.1.1/32",
- "weight": 200,
- "id": 1
}
], - "maxpath_e_bgp": 1,
- "af_redistribute": [
- {
- "af_id": 1,
- "redistribute": "connected",
- "metric": 1000,
- "route_map": "rm_policy",
- "id": 1
}, - {
- "af_id": 1,
- "redistribute": "connected",
- "metric": 1000,
- "route_map": "rm_policy",
- "id": 1
}
]
}
], - "peer_group": [
- {
- "password": "xxxxxx",
- "remote_asn": 65000,
- "name": "pod1_group",
- "description": "pod1",
- "gracefull_shut_timer": null,
- "id": 1,
- "bfd_enable": true
}, - {
- "password": "xxxxxx",
- "remote_asn": 65000,
- "name": "pod1_group",
- "description": "pod1",
- "gracefull_shut_timer": null,
- "id": 1,
- "bfd_enable": true
}
], - "router_bgp": {
- "capability_as4_enable": true,
- "bfd_rx": 300,
- "bfd_tx": 300,
- "bfd_multiplier": 5,
- "router_id": "10.10.10.1",
- "id": 1,
- "local_as": 100,
- "fast_ext_fallover": true
}, - "af_evpn": {
- "retain_rt_all": true,
- "af_evpn_ngbr": [
- {
- "encapsulation": "vxlan",
- "neighbor_afi": "neighbor_afi",
- "e_bgp_mhop": 6,
- "allow_as_in": 1,
- "peer_group_name": "pod1_name",
- "is_activated": true,
- "nexthop_unchanged": true,
- "neighbor_safi": "neighbor_safi",
- "remote_as": 65000,
- "up_time": "up_time",
- "neighbor_address": "10.10.10.1",
- "id": 1,
- "bfd_enable": true,
- "status": "ESTAB"
}, - {
- "encapsulation": "vxlan",
- "neighbor_afi": "neighbor_afi",
- "e_bgp_mhop": 6,
- "allow_as_in": 1,
- "peer_group_name": "pod1_name",
- "is_activated": true,
- "nexthop_unchanged": true,
- "neighbor_safi": "neighbor_safi",
- "remote_as": 65000,
- "up_time": "up_time",
- "neighbor_address": "10.10.10.1",
- "id": 1,
- "bfd_enable": true,
- "status": "ESTAB"
}
], - "id": 1,
- "graceful_restart": true
}
}
Get only the MCT cluster node details with the specific parameters for the specified switch
device_ip | string IP address of the device for which the cluster members are being fetched for |
device_id | integer ID of the device for which the cluster member are being fetched for |
node_ids | Array of integers non-empty unique IDs of the cluster nodes to be fetched. This is optional parameter along with device_id or device_ip |
ids | Array of integers non-empty unique IDs of the nodes to be fetched |
{- "items": [
- {
- "node_is_local": true,
- "principal_switch_mac": "10101:1111:1111",
- "node_status": "node_status",
- "node_internal_ip": "node_internal_ip",
- "node_mac": "node_mac",
- "firmware_version": "17s.1.02b",
- "serial_num": "serial_num",
- "node_switch_type": "SLX-9240",
- "node_public_ip": "node_public_ip",
- "id": 1,
- "node_condition": "node_condition",
- "node_is_principal": true,
- "node_id": 1
}, - {
- "node_is_local": true,
- "principal_switch_mac": "10101:1111:1111",
- "node_status": "node_status",
- "node_internal_ip": "node_internal_ip",
- "node_mac": "node_mac",
- "firmware_version": "17s.1.02b",
- "serial_num": "serial_num",
- "node_switch_type": "SLX-9240",
- "node_public_ip": "node_public_ip",
- "id": 1,
- "node_condition": "node_condition",
- "node_is_principal": true,
- "node_id": 1
}
]
}
Get the MCT cluster configuration with the specific parameters for the specified switch
device_ip | string IP address of the device for which the cluster members are being fetched for |
device_id | integer Device ID of the device for which the cluster member are being fetched for |
cluster_ids | Array of integers non-empty unique cluster ID for which the configuration to be fetched. This is optional parameter along with device_ip or device_id |
ids | Array of integers non-empty unique IDs of the cluster client members to be fetched |
[- {
- "peer_keepalive_dip": "10.1.1.1",
- "client_interface_shutdown_type": "all-clients",
- "cluster_control_ve": 4096,
- "mct_cluster_status": true,
- "source_ip": "20.20.20.1",
- "deploy": true,
- "peer_state": true,
- "cluster_id": 1,
- "member_bd_all": true,
- "source_if_name": "1",
- "vlans_added": [
- 1,
- 1
], - "df_load_balance": true,
- "bridge_domains_removed": [
- 6,
- 6
], - "id": 1,
- "client_interfaces_shutdown": true,
- "client_isolation_role": "primary",
- "peer_if_type": "Port-Channel",
- "peer_keepalive_interval": 5,
- "source_if_type": "loopback",
- "bridge_domains_added": [
- 0,
- 0
], - "cluster_control_vlan": 4096,
- "peer_keepalive_state": false,
- "peer_keepalive_if_name": "0/1",
- "client_isolation_strict": true,
- "peer_if_name": "6",
- "peer_keepalive_if_type": "ethernet",
- "member_vlan_all": true,
- "peer_ip": "20.20.20.2",
- "name": "mlag",
- "mct_client_pw": false,
- "vlans_removed": [
- 5,
- 5
]
}
]
Get the MCT cluster client details with the specific parameters for the specified switch
device_ip | string IP address of the device for which the cluster members are being fetched for |
device_id | integer ID of the device for which the cluster member are being fetched for |
client_ids | Array of integers non-empty unique cluster client ID for which the members to be fetched |
cluster_id | integer ID of the cluster for which the clients to be fetched |
ids | Array of integers non-empty unique IDs of the cluster client members to be fetched |
[- {
- "interface_state": "Up",
- "cluster_id": 1,
- "name": "mlag",
- "interface_name": "3",
- "esi": "01:02:03",
- "id": 1,
- "interface_type": "Port-channel",
- "client_id": 1,
- "deploy": true
}
]
Get only the LIFs details with the specific parameters for the specified switch
device_ip | string IP address of the device for which the lifs are being fetched for |
device_id | integer IP address of the device for which the lifs are being fetched for |
{- "items": [
- {
- "lif": {
- "vlan_id": 1,
- "vlan_tag": "tagged",
- "lif_name": "0/1.1",
- "id": 1
}, - "bridgedomain": {
- "name": "default",
- "description": "description",
- "id": 1,
- "state": "state",
- "router_interface": 101,
- "type": "p2p"
}, - "interface": {
- "int_type": "ethernet",
- "name": "0/1",
- "id": 1
}
}, - {
- "lif": {
- "vlan_id": 1,
- "vlan_tag": "tagged",
- "lif_name": "0/1.1",
- "id": 1
}, - "bridgedomain": {
- "name": "default",
- "description": "description",
- "id": 1,
- "state": "state",
- "router_interface": 101,
- "type": "p2p"
}, - "interface": {
- "int_type": "ethernet",
- "name": "0/1",
- "id": 1
}
}
]
}
Get only the EVPN Instance details along with Bridge Domain, VLAN mapping with the specific parameters for the specified switch
device_ip | string IP address of the device for which the evpn instance are being fetched for |
device_id | integer Device ID for which the evpn instance are being fetched for |
{- "evpn": {
- "rd": "auto",
- "duplicate_mac_timer": 5,
- "name": "default",
- "duplicate_mac_timer_max_count": 5,
- "df_delay_timer": 5,
- "id": 1
}, - "vlans": [
- 6,
- 6
], - "route_target": [
- {
- "rt_value": "100:100",
- "ignore_as": true,
- "id": 1,
- "rt_type": "both"
}, - {
- "rt_value": "100:100",
- "ignore_as": true,
- "id": 1,
- "rt_type": "both"
}
], - "id": 1,
- "bridge_domains": [
- 0,
- 0
]
}
Get the Pseudowire Profile details with the specific parameters for the specified switch
device_ip | string IP address of the device for which the Pseudowire Profile details are being fetched for |
device_id | integer IP address of the device for which the Pseudowire Profile details are being fetched for |
pseudowire_profiles | Array of strings non-empty unique Pseudowire Profiles that users want to specifically query. This will be in conjunction with the device_id or device_ip |
[- {
- "name": "Tenant-profile",
- "id": 1,
- "vc-mode": "raw"
}
]
Get only the EVPN Instance details along with Bridge Domain mapping with the specific parameters for the specified switch
device_ip | string IP address of the device for which the BD details are being fetched for |
device_id | integer IP address of the device for which the BD details are being fetched for |
bridge_domains | Array of integers non-empty unique Bridge domains that users want to specifically query. This will be in conjunction with the device_id or device_ip |
[- {
- "bd": {
- "name": "default",
- "description": "description",
- "id": 1,
- "state": "state",
- "router_interface": 101,
- "type": "p2p"
}, - "lifs": [
- {
- "vlan_id": 1,
- "vlan_tag": "tagged",
- "lif_name": "0/1.1",
- "id": 1,
- "interface": {
- "int_type": "ethernet",
- "name": "0/1",
- "id": 1
}
}, - {
- "vlan_id": 1,
- "vlan_tag": "tagged",
- "lif_name": "0/1.1",
- "id": 1,
- "interface": {
- "int_type": "ethernet",
- "name": "0/1",
- "id": 1
}
}
]
}
]
Get only the Overlay Gateway details along with Bridge Domain to VNI mappinps and VLAN to VNI mapping with the specific parameters for the specified switch
device_ip | string IP address of the device for which the overlay gateway details are being fetched for |
device_id | integer Device ID for which the overlay gateway details are being fetched for |
[- {
- "overlay_gateways": [
- {
- "overlaygateway": {
- "is_activated": true,
- "name": "default",
- "ip_ve_vrrp_group": 2,
- "id": 1,
- "vni_auto_map": false,
- "ip_interface_name": "300",
- "type": "layer2-extension",
- "ip_interface_type": "ve",
- "optimized_replication": true,
- "underlay_mdt_default_group": "239.1.1.1"
}, - "vlanvnimapping": [
- {
- "vni": 101,
- "vlan": 101,
- "id": 1
}, - {
- "vni": 101,
- "vlan": 101,
- "id": 1
}
], - "bdvnimapping": [
- {
- "vni": 101,
- "bridgedomain": 101,
- "id": 1
}, - {
- "vni": 101,
- "bridgedomain": 101,
- "id": 1
}
]
}, - {
- "overlaygateway": {
- "is_activated": true,
- "name": "default",
- "ip_ve_vrrp_group": 2,
- "id": 1,
- "vni_auto_map": false,
- "ip_interface_name": "300",
- "type": "layer2-extension",
- "ip_interface_type": "ve"
}, - "vlanvnimapping": [
- {
- "vni": 101,
- "vlan": 101,
- "id": 1
}, - {
- "vni": 101,
- "vlan": 101,
- "id": 1
}
], - "bdvnimapping": [
- {
- "vni": 101,
- "bridgedomain": 101,
- "id": 1
}, - {
- "vni": 101,
- "bridgedomain": 101,
- "id": 1
}
]
}
], - "ip_address": "ip_address"
}
]
Get only the Tunnel details with the specific parameters for the specified switch
device_ip | string IP address of the device for which the tunnel details are being fetched for |
device_id | integer IP address of the device for which the tunnel details are being fetched for |
ids | Array of integers non-empty unique IDs of the tunnel details to be fetched |
tunnel_numbers | Array of integers non-empty unique Tunnel Numbers of the tunnel details to be fetched |
{- "tunnels": [
- {
- "bgp_neighbor_mapping": {
- "id": 1,
- "bgp_neighbor": {
- "encapsulation": "vxlan",
- "neighbor_afi": "neighbor_afi",
- "e_bgp_mhop": 6,
- "allow_as_in": 1,
- "peer_group_name": "pod1_name",
- "is_activated": true,
- "nexthop_unchanged": true,
- "neighbor_safi": "neighbor_safi",
- "remote_as": 65000,
- "up_time": "up_time",
- "neighbor_address": "10.10.10.1",
- "id": 1,
- "bfd_enable": true,
- "status": "ESTAB"
}
}, - "l3_interface_mapping": {
- "l3_interface": {
- "int_type": "ethernet",
- "name": "0/1",
- "id": 1
}, - "id": 1
}, - "tunnel": {
- "mode": "mode",
- "tunnel_type": "unicast",
- "mac_learning_enabled": true,
- "dest_ip": "dest_ip",
- "tunnel_number": 1010,
- "admin_state": "Up",
- "id": 1,
- "vrf": "vrf",
- "oper_state": "Up",
- "source_ip": "source_ip"
}, - "l2_interface_mapping": {
- "l2_interface": [
- {
- "int_type": "ethernet",
- "name": "0/1",
- "id": 1
}, - {
- "int_type": "ethernet",
- "name": "0/1",
- "id": 1
}
], - "id": 1
}
}, - {
- "bgp_neighbor_mapping": {
- "id": 1,
- "bgp_neighbor": {
- "encapsulation": "vxlan",
- "neighbor_afi": "neighbor_afi",
- "e_bgp_mhop": 6,
- "allow_as_in": 1,
- "peer_group_name": "pod1_name",
- "is_activated": true,
- "nexthop_unchanged": true,
- "neighbor_safi": "neighbor_safi",
- "remote_as": 65000,
- "up_time": "up_time",
- "neighbor_address": "10.10.10.1",
- "id": 1,
- "bfd_enable": true,
- "status": "ESTAB"
}
}, - "l3_interface_mapping": {
- "l3_interface": {
- "int_type": "ethernet",
- "name": "0/1",
- "id": 1
}, - "id": 1
}, - "tunnel": {
- "mode": "mode",
- "tunnel_type": "unicast",
- "mac_learning_enabled": true,
- "dest_ip": "dest_ip",
- "tunnel_number": 1010,
- "admin_state": "Up",
- "id": 1,
- "vrf": "vrf",
- "oper_state": "Up",
- "source_ip": "source_ip"
}, - "l2_interface_mapping": {
- "l2_interface": [
- {
- "int_type": "ethernet",
- "name": "0/1",
- "id": 1
}, - {
- "int_type": "ethernet",
- "name": "0/1",
- "id": 1
}
], - "id": 1
}
}
], - "ip_address": "ip_address"
}
Get only the VRF details with the specific parameters for the specified switch
device_ip | string IP address of the device for which the VRF details are being fetched for |
device_id | integer IP address of the device for which the VRF details are being fetched for |
ids | Array of integers non-empty unique IDs of the VRF details to be fetched |
vrfs | Array of strings non-empty unique VRF names of the VRF details to be fetched. This will be in conjunction with device_ip or device_id |
[- {
- "interfaces": [
- {
- "id": 1,
- "interface": {
- "int_type": "ethernet",
- "name": "0/1",
- "id": 1
}
}, - {
- "id": 1,
- "interface": {
- "int_type": "ethernet",
- "name": "0/1",
- "id": 1
}
}
], - "route_target": {
- "ipv4_afi": [
- {
- "evpn": true,
- "rt_value": "101:101",
- "id": 1,
- "rt_type": "both"
}, - {
- "evpn": true,
- "rt_value": "101:101",
- "id": 1,
- "rt_type": "both"
}
], - "ipv6_afi": [
- {
- "evpn": true,
- "rt_value": "101:101",
- "id": 1,
- "rt_type": "both"
}, - {
- "evpn": true,
- "rt_value": "101:101",
- "id": 1,
- "rt_type": "both"
}
]
}, - "static_route": [
- {
- "id": 1,
- "afi": "IPv4",
- "network": "20.0.0.0/24",
- "nexthop_ip": "16.0.0.2"
}, - {
- "id": 2,
- "afi": "IPv6",
- "network": "2001::/64",
- "nexthop_ip": "1001::2"
}
], - "vrf": {
- "evpn": "irb ve 100",
- "rd": "10.1.1.1:101",
- "router_ip": "10.2.2.2",
- "name": "vrf_red",
- "id": 1,
- "afi_type": "both"
}
}
]
Get only the VRRP details with the specific parameters for the specified switch
device_ip | string IP address of the device for which the VRF details are being fetched for |
device_id | integer IP address of the device for which the VRF details are being fetched for |
int_type | string Enum: "ethernet" "ve" Interface Type to fetch VRRP details for. This works in conjunction with device_id or device_ip and int_name |
int_name | string Interface Name to fetch VRRP details for. This works in conjunction with device_id or device_ip and int_type |
[- {
- "vrrp_groups": [
- {
- "preempt_mode": true,
- "virtual_mac": "virtual_mac",
- "group_id": 101,
- "id": 1,
- "extended": false,
- "enabled": true,
- "virtual_ip": "2.2.2.2"
}, - {
- "preempt_mode": true,
- "virtual_mac": "virtual_mac",
- "group_id": 101,
- "id": 1,
- "extended": false,
- "enabled": true,
- "virtual_ip": "2.2.2.2"
}
], - "int_type": "ethernet",
- "name": "0/1"
}
]
Get only the Router Pim with the specific parameters for the specified switch
device_ip | string IP address of the device for which the Router PIM are being fetched for |
device_id | integer Device ID for which the Router PIM are being fetched for |
{- "pim": [
- {
- "vrf": "RED",
- "enable_ssm": false,
- "range": "mdt-range"
}, - {
- "vrf": "BLUE",
- "enable_ssm": true
}
]
}
Get only the IP Prefix List with the specific parameters for the specified switch
device_ip | string IP address of the device for which the IP Prefix List is being fetched for |
device_id | integer Device ID for which the IP Prefix List is being fetched for |
prefixlist_name | string IP Prefix List name that is being fetched. This will be in conjunction with device_ip or device_id |
{- "ipprefix-list": [
- {
- "name": "mdt-range",
- "seq": 5,
- "action": "permit",
- "afi": "ipv4",
- "ip_prefix": "239.0.0.0/8"
}, - {
- "name": "mdt-range-2",
- "seq": 10,
- "action": "permit",
- "afi": "ipv4",
- "ip_prefix": "0.0.0.0/0",
- "greater_than_ip_prefix_length": 31,
- "less_than_ip_prefix_length": 31
}
]
}
Get only the Route map with the specific parameters for the specified switch
device_ip | string IP address of the device for which the Route Map is being fetched for |
device_id | integer Device ID for which the Route Map is being fetched for |
routemap_name | string Route Map name that is being fetched. This will be in conjunction with device_ip or device_id |
{- "items": [
- {
- "key-info": {
- "name": "routemap_1",
- "seq": 10,
- "action": "permit"
}, - "matches": {
- "match-ip-prefix-list": {
- "prefix-list-name": "prefixlist_v4"
}
}
}, - {
- "key-info": {
- "name": "routemap_2",
- "seq": 20,
- "action": "deny"
}, - "matches": {
- "match-ip-prefix-list": {
- "prefix-list-name": "prefixlist_v4"
}
}
}
]
}
Get the community list with specific parameters for the specified switch
device_ip | string IP address of the device for which the community list is being fetched |
device_id | integer Device ID for which the community list is being fetched |
communitylist_name | string Community list name that is being fetched. This will be in conjunction with device_ip or device_id |
{- "items": [
- {
- "key-info": {
- "name": "commlist_1",
- "seq": 5,
- "type": "standard",
- "action": "permit"
}
}, - {
- "key-info": {
- "name": "commlist_2",
- "seq": 10,
- "type": "extended",
- "action": "deny"
}
}
]
}
Get the extended community list with specific parameters for the specified switch
device_ip | string IP address of the device for which the extended community list is being fetched |
device_id | integer Device ID for which the extended community list is being fetched |
extcommunitylist_name | string Extended community list name that is being fetched. This will be in conjunction with device_ip or device_id |
{- "items": [
- {
- "key-info": {
- "name": "commlist_1",
- "seq": 5,
- "type": "standard",
- "action": "permit"
}
}, - {
- "key-info": {
- "name": "excommlist_2",
- "seq": 10,
- "type": "extended",
- "action": "deny"
}
}
]
}
Get the policy for a given device and policy type
device_ip | string IP address of the device for which the Policy is being fetched for |
device_id | integer Device ID for which the Policy is being fetched for |
policy_type | string Enum: "large-community-list" "qos-map" "policy-map" Policy type that is being fetched. This will be in conjunction with device_ip or device_id |
{- "items": [
- {
- "key-info": null,
- "name": "policy_1",
- "type": "large-community-std",
- "seq": 10,
- "action": "permit",
- "matches": [
- {
- "match-type": "matchLargeCommunityStdValue",
- "match-value": "{\"Value\":\"10:10:10\"}"
}
], - "sets": null
}, - {
- "key-info": null,
- "name": "policy_2",
- "type": "large-community-ext",
- "seq": 20,
- "action": "deny",
- "matches": [
- {
- "match-type": "matchLargeCommunityExtValue",
- "match-value": "{\"Value\":\"_10000_\"}"
}
], - "sets": null
}
]
}
Get the detailed output of the given execution ID
id required | string Detailed output of the given execution ID |
{- "start_time": "2000-01-23T04:56:07.000+00:00",
- "end_time": "2000-01-23T04:56:07.000+00:00",
- "id": "id",
- "logs": "logs",
- "URL": "/v1/inventory/switches",
- "status": "Failed, Succeeded"
}
Get the list of all the previous executions
limit required | integer Default: 10 Limit the number of executions that will be sent in the response. Default is 10 |
status | string Default: "all" Filter the executions based on the status(failed/succeeded/all) |
{- "items": [
- {
- "start_time": "2000-01-23T04:56:07.000+00:00",
- "end_time": "2000-01-23T04:56:07.000+00:00",
- "id": "id",
- "URL": "/v1/inventory/switches",
- "status": "Completed"
}, - {
- "start_time": "2000-01-22T04:56:07.000+00:00",
- "end_time": "2000-01-22T04:56:07.000+00:00",
- "id": "id",
- "URL": "/v1/inventory/switches",
- "status": "Failed"
}
]
}
Returns a list of all key value pairs.
prefix | string Only return values which name starts with the provided prefix. |
decrypt | boolean Decrypt secrets and display plain text |
limit | integer Default: 100 Number of keys to get |
{- "ref": "core.local"
}
Get a specific key vale pair based on key_name.
name required | string Key Name |
decrypt | boolean Decrypt secrets and display plain text. |
{- "name": "name",
- "secret": true,
- "value": "value"
}
Create a new key value pair or update an existing one.
name required | string Key Name. |
Key Value pair content.
name required | string Key Name. |
value required | string Key's value. |
secret | boolean Encrypt value before saving the value. |
{- "name": "name",
- "secret": true,
- "value": "value"
}
{- "name": "name",
- "secret": true,
- "value": "value"
}
Get all firmware hosts.
host_ips | Array of strings non-empty unique IPs of the firmware hosts to be fetched |
{- "items": [
- {
- "protocol": "scp",
- "id": 1,
- "ip_address": "10.24.39.224",
- "status": {
- "result": "Failed",
- "reason": "Device or host registration failed"
}
}, - {
- "protocol": "scp",
- "id": 1,
- "ip_address": "10.24.39.224",
- "status": {
- "result": "Failed",
- "reason": "Device or host registration failed"
}
}
]
}
Get only specified firmware host details. The firmware host can be identified by IP Address
ip_address required | string IP Address of the firmware host |
{- "protocol": "scp",
- "id": 1,
- "ip_address": "10.24.39.224",
- "status": {
- "result": "Failed",
- "reason": "Device or host registration failed"
}
}
Register firmware host with the inventory service
Register a new firmware host.
ip_address required | string |
protocol required | string |
username required | string |
password required | string |
{- "protocol": "ftp,scp",
- "password": "password",
- "ip_address": "ip_address",
- "username": "username"
}
{- "protocol": "scp",
- "id": 1,
- "ip_address": "10.24.39.224",
- "status": {
- "result": "Failed",
- "reason": "Device or host registration failed"
}
}
Delete the specified firmware host from the inventory.
ip_address required | string IP Addresses of the firmware host to be deleted. |
{- "protocol": "scp",
- "id": 1,
- "ip_address": "10.24.39.224",
- "status": {
- "result": "Failed",
- "reason": "Device or host registration failed"
}
}
Update the specified firmware host details in the inventory.
ip_address required | string IP Address of the firmware host to be updated. |
Update firmware host if credentials changes provide new username and password
ip_address required | string |
protocol required | string |
username required | string |
password required | string |
{- "protocol": "ftp,scp",
- "password": "password",
- "ip_address": "ip_address",
- "username": "username"
}
{- "protocol": "scp",
- "id": 1,
- "ip_address": "10.24.39.224",
- "status": {
- "result": "Failed",
- "reason": "Device or host registration failed"
}
}
Get device discovery interval time for specific switch or switches in fabric
fabric_name | string Only devices which are associated to the fabric name specified as returned. |
device_ips | string Device IP's of switches to be fetched |
{- "items": [
- {
- "role": "Spine",
- "chassis_name": "BR-SLX-9140",
- "ip_address": "10.24.39.224",
- "fabric": {
- "fabric_name": "default",
- "fabric_id": 1
}, - "discovery_status": "Completed",
- "name": "sw0",
- "model": "3000",
- "id": 1,
- "firmware": "17.01.02",
- "last_discovery_time": "2020-03-17 18:49:32.381098",
- "discovery_reason": "User driven",
- "discovery_interval": "1 Hr 30 min"
}
]
}
Change device discovery interval time for specific switch or switches in fabric
Change Port speed of interfaces of the Switch.
ip_address | string IP address of the device |
fabric_name | string Name of the fabric |
min | integer Device discovery time in minutes |
hour | integer Device discovery time in minutes |
{- "ip_address": "10.25.225.165",
- "fabric_name": "default",
- "min": 30,
- "hour": 2
}
{- "items": [
- {
- "role": "Spine",
- "chassis_name": "BR-SLX-9140",
- "ip_address": "10.24.39.224",
- "fabric": {
- "fabric_name": "default",
- "fabric_id": 1
}, - "discovery_status": "Completed",
- "name": "sw0",
- "model": "3000",
- "id": 1,
- "firmware": "17.01.02",
- "last_discovery_time": "2020-03-17 18:49:32.381098",
- "discovery_reason": "User driven",
- "discovery_interval": "1 Hr 30 min"
}
]
}
Get device adapter statuses
device_ips | Array of strings non-empty unique get adapter status info of input devices |
fabric_name | string get adapter status info of all devices of fabric |
fabric-all | boolean get adapter status info of devices all fabrics |
{- "items": [
- {
- "device_ip": "string",
- "adapter": "string",
- "protocol": "string",
- "state": "string",
- "errorstatus": "string"
}
]
}
Force Unlock Current Locks.
device_ips | Array of strings non-empty unique IP Addresses of the device(s) to be forcefully remove locks. |
fabric_name | string Forcefully Update Fwdl status of devices which are associated to the fabric name. |
service_lock | boolean Default: false Value true implies service lock need to be removed |
[- {
- "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"
}
}
]
This API helps user to generate the config-drift between efa intended and device configuration. If reconcile flag is set then drifted configuration will be reconciled on the device.
ip_address required | string IP Addresses of the device for which config drift will be generated. |
reconcile required | boolean Default: false Value true implies efa drift with devices will be reconciled |
{- "mgmt-ip": "10.10.10.10",
- "reconciliation-status": [
- {
- "config-type": "InterfaceConfig",
- "status": "Success",
- "error-list": [
- {
- "message": "Device is already registered in inventory",
- "code": 101
}
]
}
], - "config-drift": {
- "InterfaceConfig": [
- {
- "int_type": "ethernet",
- "name": "0/1",
- "app_state": "cfg-refreshed",
- "app_state_detail": [
- {
- "property_name": "Breakout Mode",
- "property_app_state": "cfg-refreshed"
}
]
}
], - "BreakoutInterface": [
- {
- "int_type": "ethernet",
- "name": "0/52:1",
- "app_state": "cfg-refreshed",
- "app_state_detail": [
- {
- "property_name": "Breakout Mode",
- "property_app_state": "cfg-refreshed"
}
]
}
], - "Timezone": [
- {
- "app_state": "cfg-refreshed"
}
], - "NtpDisable": { },
- "NtpServer": [
- {
- "server_ip": "192.168.10.21",
- "app_state": "cfg-refreshed",
- "app_state_detail": [
- {
- "property_name": "Breakout Mode",
- "property_app_state": "cfg-refreshed"
}
]
}
], - "NtpAuthKey": [
- {
- "server_ip": 7777,
- "app_state": "cfg-refreshed",
- "app_state_detail": [
- {
- "property_name": "Breakout Mode",
- "property_app_state": "cfg-refreshed"
}
]
}
], - "SnmpView": [
- {
- "name": "efav3View",
- "app_state": "cfg-refreshed",
- "app_state_detail": [
- {
- "property_name": "Breakout Mode",
- "property_app_state": "cfg-refreshed"
}
]
}
], - "SnmpGroup": [
- {
- "name": "efav3Group",
- "version": "v3",
- "app_state": "cfg-refreshed",
- "app_state_detail": [
- {
- "property_name": "Breakout Mode",
- "property_app_state": "cfg-refreshed"
}
]
}
], - "SnmpCommunity": [
- {
- "encrypted_name": "$9$bbdCaABI6wqpwQbkx3dMKg==",
- "app_state": "cfg-refreshed",
- "app_state_detail": [
- {
- "property_name": "Breakout Mode",
- "property_app_state": "cfg-refreshed"
}
]
}
], - "SnmpUser": [
- {
- "name": "efav3User",
- "app_state": "cfg-refreshed",
- "app_state_detail": [
- {
- "property_name": "Breakout Mode",
- "property_app_state": "cfg-refreshed"
}
]
}
], - "SnmpHost": [
- {
- "host_ip": "10.10.10.10",
- "version": "v3",
- "community_or_user": "efav3User",
- "app_state": "cfg-refreshed",
- "app_state_detail": [
- {
- "property_name": "Breakout Mode",
- "property_app_state": "cfg-refreshed"
}
]
}
], - "SnmpUseVrf": [
- {
- "name": "vrf1",
- "app_state": "cfg-refreshed",
- "app_state_detail": [
- {
- "property_name": "Breakout Mode",
- "property_app_state": "cfg-refreshed"
}
]
}
], - "MMEnableOnReboot": { },
- "DeviceSetting": { },
- "ThresholdMonitor": { },
- "DeviceSecuritySetting": { }
}
}
[- {
- "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"
}
}
]
Force Removal from Fwdl status.
device_ips | Array of strings non-empty unique IP Addresses of the device(s) to be forcefully updated the fwdl status. |
fabric_name | string Forcefully Update Fwdl status of devices which are associated to the fabric name. |
[- {
- "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"
}
}
]
device_id required | integer device id |
{- "device_id": 0,
- "device_name": "string",
- "summary": {
- "id": "string",
- "name": "string",
- "timestamp": "string",
- "data": "string"
}
}
device_id required | integer device id |
{- "device_id": 0,
- "device_name": "string",
- "chassis": {
- "id": "string",
- "name": "string",
- "timestamp": "string",
- "data": "string"
}, - "slots": [
- {
- "id": "string",
- "name": "string",
- "line_card_type": "empty",
- "timestamp": "string",
- "data": "string",
- "interfaces": "string"
}
], - "leds": [
- {
- "id": "string",
- "name": "string",
- "timestamp": "string",
- "data": "string"
}
], - "psus": [
- {
- "id": "string",
- "name": "string",
- "timestamp": "string",
- "data": "string"
}
], - "fans": [
- {
- "id": "string",
- "name": "string",
- "timestamp": "string",
- "data": "string"
}
], - "sensors": [
- {
- "id": "string",
- "name": "string",
- "timestamp": "string",
- "data": "string"
}
], - "medias": [
- {
- "id": "string",
- "name": "string",
- "timestamp": "string",
- "data": "string",
- "channelOptics": "string"
}
], - "health": {
- "id": "string",
- "name": "string",
- "timestamp": "string",
- "data": "string"
}
}
device_id required | integer device id |
{- "device_id": 0,
- "name": "string",
- "ports": [
- {
- "id": "string",
- "name": "string",
- "line_card_type": "empty",
- "timestamp": "string",
- "data": "string",
- "interfaces": "string"
}
]
}
Install certificates
Install certificates on switches
device_ips | Array of strings |
fabric_name | string Name of fabric for certificate installation |
fabric-all | boolean Install certificate on all devices of all fabrics |
certificateType | string Enum: "https" "token" "grpc" Type of certificate to be installed, either https or token |
https_certificate | string Path of custom HTTPS Certificate(in pem format) to be installed on the device |
https_key | string Path of custom HTTPS Key(in pem format) to be installed on the device |
grpc_certificate | string Path of custom gRPC Certificate(in pem format) to be installed on the device |
grpc_key | string Path of custom gRPC Key(in pem format) to be installed on the device |
force | boolean Forceful update of certificate even if already present |
{- "device_ips": [
- "10.24.39.204",
- "10.24.39.207"
], - "certificateType": "https",
- "force": false
}
[- {
- "device_ip": "10.x.x.x",
- "status": "Success"
}
]
Get device certificates expiry
device_ips | Array of strings non-empty unique get expiry info of input devices |
fabric_name | string get expiry info of all devices of fabric |
fabric-all | boolean get expiry info of devices all fabrics |
[- {
- "device_ip": "string",
- "status": "string",
- "cert_type": [
- "string"
], - "cert_expiry": [
- "string"
], - "cert_insync": [
- "string"
]
}
]
Get Device State Change History list
device_ip | string Ip of the device for which DSC history is fetched |
{- "items": [
- {
- "dsc_id": "1111-1111-1111",
- "device_ip": "1.1.1.1",
- "status": "Success"
}, - {
- "dsc_id": "1122-1122-1122",
- "device_ip": "1.1.2.1",
- "status": "Success"
}
]
}
Get Device Current State
device_ip | string Ip of the entry for which Device State is fetched |
{- "device-ip": "1.1.1.1",
- "admin_state_action": "up",
- "oper_state": "up",
- "switch_health_status": "enable"
}
Get DSC Detail
dsc_id required | string DSC Id of the entry for which detail is fetched |
{- "dr_id": "1111-1111-1111",
- "device-ip": "1.1.1.1",
- "admin_state_action": "up",
- "status": "Success",
- "Fabric_status": "Success",
- "Tenant_status": "Success",
- "Policy_status": "Success",
- "maintenance_mode_enable_status": "Success",
- "StartTime": "12:03:24,12/2/2020"
}
Trigger device state update as up or down.
ip_address required | string IP Address of the device to be retrieved. |
state required | string State of the device to changed. |
{- "href": "href",
- "uuid": "id"
}
Get NTP servers for a list of devices
device_ips | Array of strings non-empty unique IP addresses of the devices |
fabric_name | string Fabric name. Get the NTP servers for all the devices in the given fabric. |
{- "items": [
- {
- "fabric_name": "default",
- "device_ip": "2.2.2.2",
- "items": [
- {
- "server_ip": "20.20.20.20",
- "key_id": 2,
- "encryption_type": "sha1",
- "encryption_key": "sha1key1",
- "encryption_level": 7,
- "is_trusted_key": true
}, - {
- "server_ip": "30.30.30.30",
- "key_id": 3,
- "encryption_type": "md5",
- "encryption_key": "md5key1",
- "encryption_level": 0,
- "is_trusted_key": false
}
]
}, - {
- "fabric_name": "default",
- "device_ip": "3.3.3.3",
- "items": [
- {
- "server_ip": "20.20.20.20",
- "key_id": 2,
- "encryption_type": "sha1",
- "encryption_key": "sha1key1",
- "encryption_level": 7,
- "is_trusted_key": true
}, - {
- "server_ip": "30.30.30.30",
- "key_id": 3,
- "encryption_type": "md5",
- "encryption_key": "md5key1",
- "encryption_level": 0,
- "is_trusted_key": false
}
]
}
]
}
Create NTP server
Create a NTP server
device_ips | Array of strings unique IP address of devices |
fabric_name | string Name of the fabric |
object (Server information) |
{- "fabric_name": "default",
- "device_ips": [
- "2.2.2.2",
- "3.3.3.3"
], - "server": {
- "server_ip": "20.20.20.20",
- "key_id": 2,
- "encryption_type": "sha1",
- "encryption_key": "sha1key1",
- "encryption_level": 7,
- "is_trusted_key": true
}
}
[- {
- "server": [
- {
- "server_ip": "20.20.20.20",
- "key_id": 2,
- "encryption_type": "sha1",
- "encryption_key": "sha1key1",
- "encryption_level": 7,
- "is_trusted_key": true,
- "app_state": "cfg-in-sync"
}
], - "ip_address": "2.2.2.2",
- "fabric_name": "default",
- "status": {
- "result": "Failed",
- "reason": "Device is not registered"
}
}
]
Delete NTP Server
server_ip required | string IP address of the NTP server |
device_ips | Array of strings non-empty unique IP addresses of the devices where NTP server needs to be deleted |
fabric_name | string Fabric name. Delete the NTP server for prepared devices in the given fabric. |
[- {
- "server": [
- {
- "server_ip": "20.20.20.20",
- "key_id": 2,
- "encryption_type": "sha1",
- "encryption_key": "sha1key1",
- "encryption_level": 7,
- "is_trusted_key": true,
- "app_state": "cfg-in-sync"
}
], - "ip_address": "2.2.2.2",
- "fabric_name": "default",
- "status": {
- "result": "Failed",
- "reason": "Device is not registered"
}
}
]
Get NTP disable for a list of devices
device_ips | Array of strings non-empty unique IP addresses of the devices |
fabric_name | string Fabric name. Get the NTP disable for all the devices in the given fabric. |
{- "items": [
- {
- "fabric_name": "default",
- "device_ip": "2.2.2.2",
- "items": {
- "server": true,
- "app_state": "cfg-in-sync"
}
}, - {
- "fabric_name": "default",
- "device_ip": "3.3.3.3",
- "items": {
- "server": false,
- "app_state": "cfg-in-sync"
}
}
]
}
Ntp disable server on the switches.
IPs of the devices to disable ntp serve.
device_ips | Array of strings |
fabric_name | string Name of the fabric |
object (Disable information) |
{- "fabric_name": "default",
- "device_ips": "10.10.10.10 20.20.20.20",
- "disable": {
- "server": true
}
}
[- {
- "disable": {
- "server": true,
- "app_state": "cfg-in-sync"
}, - "ip_address": "2.2.2.2",
- "fabric_name": "default",
- "status": {
- "result": "Failed",
- "reason": "Device is not registered"
}
}
]
Get SNMP communities for a list of devices
device_ips | Array of strings non-empty unique IP addresses of the devices |
{- "items": [
- {
- "device_ip": "2.2.2.2",
- "items": [
- {
- "write_view": "view1",
- "group_name": "group1",
- "name": "community1",
- "notify_view": "view1",
- "read_view": "view1",
- "view": "view1",
- "app_state": "cfg-in-sync"
}, - {
- "write_view": "view2",
- "group_name": "group2",
- "name": "community2",
- "notify_view": "view2",
- "read_view": "view2",
- "view": "view1",
- "app_state": "cfg-in-sync"
}
]
}, - {
- "device_ip": "3.3.3.3",
- "items": [
- {
- "write_view": "view1",
- "group_name": "group1",
- "name": "community1",
- "notify_view": "view1",
- "read_view": "view1",
- "view": "userView1",
- "app_state": "cfg-in-sync"
}, - {
- "write_view": "view2",
- "group_name": "group2",
- "name": "community2",
- "notify_view": "view2",
- "read_view": "view2",
- "view": "userView1",
- "app_state": "cfg-in-sync"
}
]
}
]
}
Create SNMP community
Create a SNMP community
device_ips | Array of strings unique IP address of devices |
object (SNMP community and group information) |
{- "device_ips": [
- "2.2.2.2",
- "3.3.3.3"
], - "community": [
- {
- "name": "community1",
- "group_name": "group1",
- "enable_read_access": true,
- "enable_write_access": false,
- "enable_notify_access": false,
- "view": "view1"
}
]
}
[- {
- "community": {
- "write_view": "view1",
- "group_name": "group1",
- "name": "community1",
- "notify_view": "view1",
- "read_view": "view1",
- "view": "view1",
- "app_state": "cfg-in-sync"
}, - "ip_address": "2.2.2.2",
- "status": {
- "result": "Success",
- "reason": ""
}
}
]
Delete SNMP community
name required | string Name of the SNMP community |
device_ips | Array of strings non-empty unique IP addresses of the devices where SNMP community needs to be deleted |
[- {
- "community": {
- "write_view": "view1",
- "group_name": "group1",
- "name": "community1",
- "notify_view": "view1",
- "read_view": "view1",
- "view": "view1",
- "app_state": "cfg-in-sync"
}, - "ip_address": "2.2.2.2",
- "status": {
- "result": "Success",
- "reason": ""
}
}
]
Get SNMP users for a list of devices
device_ips | Array of strings non-empty unique IP addresses of the devices |
{- "items": [
- {
- "device_ip": "2.2.2.2",
- "items": [
- {
- "auth_protocol": "md5",
- "write_view": "view4",
- "group_name": "v3group",
- "name": "v3user",
- "auth_passphrase": "v3authpass",
- "notify_view": "view4",
- "priv_passphrase": "v3privpass",
- "priv_protocol": "aes128",
- "read_view": "view4",
- "view": "view4",
- "app_state": "cfg-in-sync"
}, - {
- "auth_protocol": "md5",
- "write_view": "view2",
- "group_name": "group3",
- "name": "v3user1",
- "auth_passphrase": "v3authpass1",
- "notify_view": "view2",
- "priv_passphrase": "v3privpass1",
- "priv_protocol": "aes128",
- "read_view": "view2",
- "view": "view2",
- "app_state": "cfg-in-sync"
}
]
}, - {
- "device_ip": "3.3.3.3",
- "items": [
- {
- "auth_protocol": "md5",
- "write_view": "view4",
- "group_name": "v3group",
- "name": "v3user",
- "auth_passphrase": "v3authpass",
- "notify_view": "view4",
- "priv_passphrase": "v3privpass",
- "priv_protocol": "aes128",
- "read_view": "view4",
- "view": "view4",
- "app_state": "cfg-in-sync"
}, - {
- "auth_protocol": "md5",
- "write_view": "view2",
- "group_name": "group3",
- "name": "v3user1",
- "auth_passphrase": "v3authpass1",
- "notify_view": "view2",
- "priv_passphrase": "v3privpass1",
- "priv_protocol": "aes128",
- "read_view": "view2",
- "view": "view2",
- "app_state": "cfg-in-sync"
}
]
}
]
}
Create SNMP user
Create a SNMP user
device_ips | Array of strings unique IP address of devices |
object (SNMP user and group information) |
{- "device_ips": [
- "2.2.2.2",
- "3.3.3.3"
], - "user": {
- "name": "v3user",
- "group_name": "v3group",
- "enable_read_access": true,
- "enable_write_access": true,
- "enable_notify_access": true,
- "view": true,
- "auth_protocol": "md5",
- "auth_passphrase": "v3authpass",
- "priv_protocol": "aes128",
- "priv_passphrase": "v3privpass"
}
}
[- {
- "user": {
- "auth_protocol": "md5",
- "write_view": "view4",
- "group_name": "v3group",
- "name": "v3user",
- "auth_passphrase": "v3authpass",
- "notify_view": "view4",
- "priv_passphrase": "v3privpass",
- "priv_protocol": "aes128",
- "read_view": "view4",
- "view": "view4",
- "app_state": "cfg-in-sync"
}, - "device_ip": "2.2.2.2",
- "status": {
- "result": "Success",
- "reason": ""
}
}
]
Delete SNMP user
name required | string Name of the SNMP user |
device_ips | Array of strings non-empty unique IP addresses of the devices where SNMP user needs to be deleted |
[- {
- "user": {
- "auth_protocol": "md5",
- "write_view": "view4",
- "group_name": "v3group",
- "name": "v3user",
- "auth_passphrase": "v3authpass",
- "notify_view": "view4",
- "priv_passphrase": "v3privpass",
- "priv_protocol": "aes128",
- "read_view": "view4",
- "view": "view4",
- "app_state": "cfg-in-sync"
}, - "device_ip": "2.2.2.2",
- "status": {
- "result": "Success",
- "reason": ""
}
}
]
Get SNMP hosts for a list of devices
device_ips | Array of strings non-empty unique IP addresses of the devices |
{- "items": [
- {
- "device_ip": "2.2.2.2",
- "items": [
- {
- "host_ip": "40.40.40.40",
- "community": "",
- "user": "v3user",
- "version": "v3",
- "engineid": "01:02:03:04:05",
- "notify_type": "informs",
- "udp_port": 162,
- "app_state": "cfg-in-sync"
}, - {
- "host-ip": "50.50.50.50",
- "community": "mycommunity1",
- "user": "",
- "version": "v2c",
- "engineid": "",
- "notify_type": "traps",
- "udp_port": 162
}
]
}, - {
- "device_ip": "3.3.3.3",
- "items": [
- {
- "host_ip": "40.40.40.40",
- "community": "",
- "user": "v3user",
- "version": "v3",
- "engineid": "01:02:03:04:05",
- "notify_type": "informs",
- "udp_port": 162
}, - {
- "host-ip": "50.50.50.50",
- "community": "mycommunity1",
- "user": "",
- "version": "v2c",
- "engineid": "",
- "notify_type": "traps",
- "udp_port": 162
}
]
}
]
}
Create SNMP host
Create a SNMP host
device_ips | Array of strings unique IP address of devices |
object (SNMP host information) |
{- "device_ips": [
- "2.2.2.2",
- "3.3.3.3"
], - "host": {
- "host_ip": "40.40.40.40",
- "community": null,
- "user": "v3user",
- "version": "v3",
- "engineid": "01:02:03:04:05",
- "notify_type": "informs",
- "udp_port": 162
}
}
[- {
- "host": {
- "host_ip": "40.40.40.40",
- "community": "",
- "user": "v3user",
- "version": "v3",
- "engineid": "01:02:03:04:05",
- "notify_type": "informs",
- "udp_port": 162,
- "source_interface_type": "management",
- "source_interface_name": "chassis-ip",
- "severity_level": "None",
- "vrf_name": "mgmt-vrf",
- "app_state": "cfg-in-sync"
}, - "ip_address": "5.5.5.5",
- "status": {
- "result": "Failed",
- "reason": "Device is not registered"
}
}
]
Delete SNMP host
host_ip required | string IP address of of the SNMP host. Can be IPv4/IPv6/FQDN. |
community | string Snmp Community name associated with host |
user | string Snmp user name associated with host |
device_ips | Array of strings non-empty unique IP addresses of the devices where SNMP host needs to be deleted |
[- {
- "host": {
- "host_ip": "40.40.40.40",
- "community": "",
- "user": "v3user",
- "version": "v3",
- "engineid": "01:02:03:04:05",
- "notify_type": "informs",
- "udp_port": 162,
- "source_interface_type": "management",
- "source_interface_name": "chassis-ip",
- "severity_level": "None",
- "vrf_name": "mgmt-vrf",
- "app_state": "cfg-in-sync"
}, - "ip_address": "5.5.5.5",
- "status": {
- "result": "Failed",
- "reason": "Device is not registered"
}
}
]
Get SNMP groups for a list of devices
device_ips | Array of strings non-empty unique IP addresses of the devices |
{- "items": [
- {
- "device_ip": "2.2.2.2",
- "items": [
- {
- "auth_type": "auth_with_no_privacy",
- "write_view": "view1",
- "name": "group2",
- "notify_view": "view1",
- "read_view": "view1",
- "version": "v3"
}, - {
- "auth_type": "auth_with_no_privacy",
- "write_view": "view2",
- "name": "group3",
- "notify_view": "view2",
- "read_view": "view2",
- "version": "v2c"
}
]
}, - {
- "device_ip": "3.3.3.3",
- "items": [
- {
- "auth_type": "auth_with_no_privacy",
- "write_view": "view1",
- "name": "group2",
- "notify_view": "view1",
- "read_view": "view1",
- "version": "v3"
}, - {
- "auth_type": "auth_with_no_privacy",
- "write_view": "view3",
- "name": "group4",
- "notify_view": "view3",
- "read_view": "view3",
- "version": "v2c"
}
]
}
]
}
Update SNMP group
Update a SNMP group
device_ips | Array of strings unique IP address of devices |
object (SNMP group information) |
{- "device_ips": [
- "2.2.2.2",
- "3.3.3.3"
], - "group": [
- {
- "name": "group1",
- "version": "v3",
- "read_view": "view1",
- "write_view": "view2",
- "notify_view": "view3",
- "auth_level": "auth"
}
]
}
[- {
- "group": {
- "name": "group1",
- "version": "v3",
- "notify_view": "view1",
- "read_view": "view1",
- "write_view": "view1",
- "auth_level": "auth",
- "app_state": "cfg-in-sync"
}, - "ip_address": "2.2.2.2",
- "status": {
- "result": "Success",
- "reason": ""
}
}
]
Get SNMP views for a list of devices
device_ips | Array of strings non-empty unique IP addresses of the devices |
{- "items": [
- {
- "device_ip": "2.2.2.2",
- "items": [
- {
- "name": "view1",
- "mib_acess": "included",
- "oid": "1.3.6.1"
}, - {
- "name": "view2",
- "mib_acess": "excluded",
- "oid": "1.3.6.1.9"
}
]
}, - {
- "device_ip": "3.3.3.3",
- "items": [
- {
- "name": "view1",
- "mib_acess": "included",
- "oid": "1.3.6.1"
}, - {
- "name": "view2",
- "mib_acess": "excluded",
- "oid": "1.3.6.1.9"
}
]
}
]
}
Create SNMP view
Create a SNMP view
device_ips | Array of strings unique IP address of devices |
object (SNMP view information) |
{- "device_ips": [
- "2.2.2.2",
- "3.3.3.3"
], - "view": {
- "name": "manual view",
- "oid": "1.2.3.4",
- "mib_access": "included"
}
}
[- {
- "view": {
- "mib_access": "included",
- "name": "view1",
- "oib": "1.2.3.4"
}, - "device_ip": "2.2.2.2",
- "status": {
- "result": "Success",
- "reason": ""
}
}
]
Delete SNMP view
name required | string Name of the SNMP view |
device_ips | Array of strings non-empty unique IP addresses of the devices where SNMP view needs to be deleted |
oid | string MIB tree OID of the SNMP view |
[- {
- "view": {
- "mib_access": "included",
- "name": "view1",
- "oib": "1.2.3.4"
}, - "device_ip": "2.2.2.2",
- "status": {
- "result": "Success",
- "reason": ""
}
}
]
Get SNMP use-vrfs for a list of devices
device_ips | Array of strings non-empty unique IP addresses of the devices |
{- "items": [
- {
- "device_ip": "2.2.2.2",
- "items": [
- {
- "name": "vrf1",
- "shutdown": true,
- "app_state": "cfg-in-sync"
}, - {
- "name": "vrf2",
- "shutdown": false,
- "app_state": "cfg-in-sync"
}
]
}, - {
- "device_ip": "3.3.3.3",
- "items": [
- {
- "name": "vrf3",
- "shutdown": true,
- "app_state": "cfg-in-sync"
}, - {
- "name": "vrf4",
- "shutdown": false,
- "app_state": "cfg-in-sync"
}
]
}
]
}
Create SNMP use-vrf
Create a SNMP use-vrf
device_ips | Array of strings unique IP address of devices |
object (SNMP use-vrf information) |
{- "device_ips": [
- "2.2.2.2",
- "3.3.3.3"
], - "use-vrf": {
- "name": "vrf1",
- "shutdown": true
}
}
[- {
- "use-vrf": {
- "name": "vrf1",
- "shutdown": true,
- "app_state": "cfg-in-sync"
}, - "ip_address": "2.2.2.2",
- "status": {
- "result": "Success",
- "reason": ""
}
}
]
Delete SNMP use-vrf
name required | string Name of the SNMP use-vrf |
device_ips | Array of strings non-empty unique IP addresses of the devices where SNMP user needs to be deleted |
[- {
- "use-vrf": {
- "name": "vrf1",
- "shutdown": true,
- "app_state": "cfg-in-sync"
}, - "ip_address": "2.2.2.2",
- "status": {
- "result": "Success",
- "reason": ""
}
}
]
Get the lock from other services for given process name and device ip if given.
process-name for which lock is required
process_name required | string |
ip_address | string |
{- "process_name": "BackUp",
- "ip_address": null
}
[- {
- "ServiceName": "string",
- "Status": "string",
- "Error": "string"
}
]
unlock other services for given process name and device ip if given.
process-name for which unlock is required
process_name required | string |
ip_address | string |
{- "process_name": "BackUp",
- "ip_address": null
}
[- {
- "ServiceName": "string",
- "Status": "string",
- "Error": "string"
}
]
Get timezone for a list of devices
device_ips | Array of strings non-empty unique IP addresses of the devices |
fabric_name | string Fabric name. Get the timezone for all the devices in the given fabric. |
{- "items": [
- {
- "fabric_name": "default",
- "device_ip": "2.2.2.2",
- "timezone": "America/Los_Angeles",
- "app_state": "cfg-in-sync"
}, - {
- "fabric_name": "default",
- "device_ip": "3.3.3.3",
- "timezone": "Africa/Algiers",
- "app_state": "cfg-refreshed"
}
]
}
Set Device timezone
Set timezone for device
device_ips | Array of strings unique IP address of devices |
fabric_name | string Name of the fabric |
timezone | string Device Timezone |
{- "fabric_name": "default",
- "device_ips": [
- "2.2.2.2",
- "3.3.3.3"
], - "timezone": [
- "America/Los_Angeles"
]
}
[- {
- "timezone": {
- "fabric_name": "default",
- "device_ip": "2.2.2.2",
- "timezone": "America/Los_Angeles",
- "app_state": "cfg-in-sync"
}, - "status": {
- "result": "Success",
- "reason": ""
}
}
]
Unset Device Timezone
device_ips | Array of strings non-empty unique IP addresses of the devices where timezone needs to be unset |
fabric_name | string Fabric name where timezone for all the devices in the given fabric needs to be unset. |
[- {
- "timezone": {
- "fabric_name": "default",
- "device_ip": "2.2.2.2",
- "timezone": "America/Los_Angeles",
- "app_state": "cfg-in-sync"
}, - "status": {
- "result": "Success",
- "reason": ""
}
}
]
Get bindings such as prefix-list, route-map etc for BGP Peers/ Interfaces
device_ips required | Array of strings non-empty unique List of devices for which the bindings need to be fetched. Example 1.1.1.1,2.2.2.2 |
name_of_instance required | string Name of the instance that needs to be fetched |
type_of_instance required | string Enum: "route-map" "prefix-list" Type of instances such as prefix-list, route-map etc. |
{- "Device": [
- {
- "device_ip": "1.1.1.1",
- "bindings": [
- {
- "binding_type": "ipv4-bgp-peer"
}, - {
- "binding_name": [
- "10.1.1.1",
- "10.2.2.2"
]
}, - {
- "binding_type": "ipv6-bgp-peer"
}, - {
- "binding_name": [
- "1::11",
- "2::22"
]
}
]
}, - {
- "device_ip": "2.2.2.2",
- "bindings": [
- {
- "binding_type": "ethernet"
}, - {
- "binding_name": [
- "0/1",
- "0/30"
]
}
]
}
]
}
RouteAll Switch Clear.
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 |
ipv4_only | boolean Clear only ipv4 routes |
ipv6_only | boolean Clear only ipv6 routes |
{- "device_ips": [
- "10.24.39.204",
- "10.24.39.207"
], - "fabric_name": "default",
- "ipv4_only": false,
- "ipv6_only": false
}
{- "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 Threshold Monitor configuration for a list of devices
device_ips | Array of strings non-empty unique IP addresses of the devices |
fabric_name | string Fabric name. Get the Threshold Monitor configuration for all the devices in the given fabric. |
{- "items": [
- {
- "fabric_name": "default",
- "device_ip": "2.2.2.2",
- "monitor_type": "cpu",
- "actions": "loginfo",
- "interval": 90,
- "retry": 5,
- "app_state": "cfg-in-sync"
}, - {
- "fabric_name": "default",
- "device_ip": "2.2.2.3",
- "monitor_type": "memory",
- "actions": "snmp",
- "interval": 90,
- "retry": 5,
- "app_state": "cfg-in-sync"
}, - {
- "fabric_name": "default",
- "device_ip": "2.2.2.4",
- "monitor_type": "bfd-session",
- "actions": "raslog",
- "high_limit": 90,
- "low_limit": 10,
- "app_state": "cfg-in-sync"
}, - {
- "fabric_name": "default",
- "device_ip": "2.2.2.5",
- "monitor_type": "lif",
- "actions": "none",
- "high_limit": 90,
- "low_limit": 10,
- "app_state": "cfg-in-sync"
}, - {
- "fabric_name": "default",
- "device_ip": "2.2.2.6",
- "monitor_type": "mac-table",
- "actions": "all",
- "high_limit": 90,
- "low_limit": 10,
- "app_state": "cfg-refreshed"
}, - {
- "fabric_name": "default",
- "device_ip": "2.2.2.7",
- "monitor_type": "vxlan-tunnel",
- "actions": "snmp",
- "high_limit": 90,
- "low_limit": 10,
- "app_state": "cfg-refreshed"
}, - {
- "fabric_name": "default",
- "device_ip": "2.2.2.8",
- "monitor_type": "hardware-resources",
- "count": 3,
- "interval": 90,
- "app_state": "cfg-in-sync"
}, - {
- "fabric_name": "default",
- "device_ip": "2.2.2.9",
- "monitor_type": "ecmp",
- "actions": "snmp",
- "high_limit": 90,
- "low_limit": 10,
- "app_state": "cfg-refreshed"
}
]
}
Set Threshold Monitor
Set Threshold Monitor for device
fabric_name | string Name of the fabric |
device_ip | Array of strings unique IP address of devices |
monitor_type | string Threshold Monitor type |
actions | string Threshold Monitor actions to be taken |
high_limit | integer Threshold Monitor high limit to trigger action |
low_limit | integer Threshold Monitor low limit to trigger action |
count | integer Threshold Monitor maximum event count |
interval | integer Threshold Monitor interval |
retry | integer Threshold Monitor polling interval retry count |
{- "fabric_name": "default",
- "device_ip": [
- "2.2.2.2",
- "3.3.3.3"
], - "monitor_type": "cpu",
- "actions": "snmp",
- "high_limit": 90,
- "low_limit": 10,
- "count": 3,
- "interval": 90,
- "retry": 5
}
[- {
- "device_ip": "2.2.2.2",
- "threshold_monitor": {
- "fabric_name": "default",
- "device_ip": "2.2.2.2",
- "monitor_type": "cpu",
- "actions": "snmp",
- "high_limit": 90,
- "interval": 90,
- "retry": 5,
- "app_state": "cfg-in-sync"
}, - "status": {
- "result": "Success",
- "reason": ""
}
}
]
Unset Threshold Monitor
device_ips | Array of strings non-empty unique IP addresses of the devices where Threshold Monitor needs to be unset |
fabric_name | string Fabric name where Threshold Monitor for all the devices in the given fabric needs to be unset. |
monitor_type | string Type of Threshold Monitor for all the devices to be unset. |
[- {
- "device_ip": "2.2.2.2",
- "threshold_monitor": {
- "fabric_name": "default",
- "device_ip": "2.2.2.2",
- "monitor_type": "cpu",
- "actions": "snmp",
- "high_limit": 90,
- "interval": 90,
- "retry": 5,
- "app_state": "cfg-in-sync"
}, - "status": {
- "result": "Success",
- "reason": ""
}
}
]
This depicts locations informations to be added where deployment resides
Location Data
Array of objects (Post Location Request) |
{- "items": [
- {
- "location_name": "ny dc",
- "region_name": "nora",
- "country_name": "india",
- "longitude": "74.0060° w",
- "latitude": "40.7128° n",
- "address": "806 lexington avenue, e 62nd st",
- "city": "new york",
- "state": "new york",
- "zip_code": "10001",
- "deployment_type": [
- "fabric",
- "visibility",
- null
]
}
]
}
{- "items": [
- {
- "location_name": "ny dc",
- "location_id": 1,
- "region_name": "nora",
- "country_name": "US",
- "longitude": "74.0060° w",
- "latitude": "40.7128° n",
- "address": "806 lexington avenue, e 62nd st",
- "city": "new york",
- "state": "new york",
- "zip_code": "10001",
- "deployment_type": [
- "fabric",
- "visibility"
]
}
]
}
This depicts locations informations to be updated where deployment resides
Location Data
location_name required | string name of the location |
region_name required | string region name for the location |
country_name | string country name |
longitude required | string longitude information |
latitude required | string latitude information |
address | string location address |
city | string city name |
state | string state name |
zip_code | string zip code |
deployment_type | Array of strings deployment types supported on that location |
{- "location_name": "ny dc",
- "region_name": "nora",
- "country_name": "india",
- "longitude": "74.0060° w",
- "latitude": "40.7128° n",
- "address": "806 lexington avenue, e 62nd st",
- "city": "new york",
- "state": "new york",
- "zip_code": "10001",
- "deployment_type": [
- "fabric",
- "visibility",
- null
]
}
{- "location_name": "ny dc",
- "location_id": 1,
- "region_name": "nora",
- "country_name": "US",
- "longitude": "74.0060° w",
- "latitude": "40.7128° n",
- "address": "806 lexington avenue, e 62nd st",
- "city": "new york",
- "state": "new york",
- "zip_code": "10001",
- "deployment_type": [
- "fabric",
- "visibility"
]
}
Fetch all locations details
object (SearchQuery) {"group_by":"role"} Responses grouped by role {"filter":[{"name":"name","value":"Tenant1"},{"name":"role',"value":"Admin"}] Responses filtered by name="Tenant1" and role="Admin" {"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 |
{- "paginationResponse": {
- "remaining_count": 0,
- "first_id": 0,
- "last_id": 0
}, - "locations": [
- {
- "location_name": "ny dc",
- "location_id": 1,
- "region_name": "nora",
- "country_name": "US",
- "longitude": "74.0060° w",
- "latitude": "40.7128° n",
- "address": "806 lexington avenue, e 62nd st",
- "city": "new york",
- "state": "new york",
- "zip_code": "10001",
- "deployment_type": [
- "fabric",
- "visibility"
]
}
]
}
Array of objects (Delete Location Request) |
{- "items": [
- {
- "location_name": "string"
}
]
}
{- "items": [
- {
- "location_name": "ny dc",
- "location_id": 1,
- "region_name": "nora",
- "country_name": "US",
- "longitude": "74.0060° w",
- "latitude": "40.7128° n",
- "address": "806 lexington avenue, e 62nd st",
- "city": "new york",
- "state": "new york",
- "zip_code": "10001",
- "deployment_type": [
- "fabric",
- "visibility"
]
}
]
}
Display device security settings
device_ip | Array of strings >= 0 items unique IP addresses of the device |
{- "items": [
- {
- "device_ip": "1.1.1.1",
- "min_tls_version": 1.2,
- "mac_algorithm": "hmac-sha2-512,hmac-sha2-256,hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com",
- "key_exchange_algorithm": "curve25519-sha256,curve25519-sha256@libssh.org",
- "cipher": "non-cbc",
- "telnet": "disable",
- "max_password_age": 365
}, - {
- "device_ip": "2.2.2.2",
- "min_tls_version": 1.2,
- "mac_algorithm": "hmac-sha2-512,hmac-sha2-256,hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com",
- "key_exchange_algorithm": "curve25519-sha256,curve25519-sha256@libssh.org",
- "cipher": "non-cbc",
- "telnet": "disable",
- "max_password_age": 365,
- "force_default_password_change": true
}
]
}
Update secure settings
Update device security settings
min_tls_version | string Minimum TLS version |
mac_algorithm | string Comma separated list of MAC algorithms |
key_exchange_algorithm | string Comma separated list of Key-Exchange algorithms |
cipher | string Comma separated list of ciphers |
telnet | boolean Enable or disable telnet on mgmt-vrf |
max_password_age | integer Maximum number of days before password expiry |
force_default_password_change | boolean Force a change in the default password |
object (Generic switch operation response) |
{- "fabric_name": "default",
- "device_ips": [
- "2.2.2.2"
], - "min_tls_version": 1.2,
- "mac_algorithm": "hmac-sha2-512,hmac-sha2-256,hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com",
- "key_exchange_algorithm": "curve25519-sha256,curve25519-sha256@libssh.org",
- "cipher": "non-cbc",
- "telnet": true,
- "max_password_age": 365,
- "force_default_password_change": true
}
{- "result": "Failed",
- "reason": "Invalid Interface name provided"
}
Reset secure settings
Reset device security settings
min_tls_version | boolean Reset minimum TLS version to the default value |
mac_algorithm | boolean Reset list of MAC algorithms to the default values |
key_exchange_algorithm | boolean Reset the list of Key-Exchange algorithms to the default values |
cipher | boolean Reset the list of ciphers to the default values |
telnet | boolean Reset telnet on mgmt-vrf to the default value of disable |
max_password_age | boolean Reset the maximum number of days before password expiry to the default value |
force_default_password_change | boolean Force a change in the default password |
{- "min_tls_version": true,
- "mac_algorithm": true,
- "key_exchange_algorithm": true,
- "cipher": true,
- "telnet": true,
- "max_password_age": true,
- "force_default_password_change": true
}
{- "result": "Failed",
- "reason": "Invalid Interface name provided"
}
Apply secure settings
device_ips | Array of strings non-empty unique IP addresses of the devices for the application of secure settings |
fabric_name | string Fabric name for the application of secure settings |
[- {
- "items": {
- "device_ip": "string",
- "status": {
- "result": "Failed",
- "reason": "Device is not registered"
}
}
}
]
Update the slot level configurations
Update the slot level configurations
device_id | integer device identifier |
object (SlotInventoryInfo) |
{- "device_id": 0,
- "slot_config": {
- "id": "string",
- "name": "string",
- "line_card_type": "empty",
- "timestamp": "string",
- "data": "string",
- "interfaces": "string"
}
}
[- {
- "device_id": 0,
- "slot_config": {
- "id": "string",
- "name": "string",
- "line_card_type": "empty",
- "timestamp": "string",
- "data": "string",
- "interfaces": "string"
}
}
]