Download OpenAPI specification:Download
This is the spec that defines the API provided by the application to validate authorization for the passed role
{- "namespace": "string",
- "pods": [
- {
- "name": "string",
- "ready": "string",
- "status": "string",
- "restarts": "string",
- "age": "string",
- "ip": "string",
- "node": "string",
- "nominatedMode": "string",
- "readinessGate": "string"
}
]
}
Get K3s cluster resources
namespace required | string Namespace of the pod |
{- "statefulSetApps": {
- "statefulSetApps": [
- {
- "name": "string",
- "ready": "string",
- "age": "string"
}
]
}, - "replicaSetApps": {
- "replicaSetApps": [
- {
- "name": "string",
- "desired": "string",
- "current": "string",
- "ready": "string",
- "age": "string"
}
]
}, - "deploymentApps": {
- "deploymentApps": [
- {
- "name": "string",
- "ready": "string",
- "upToDate": "string",
- "available": "string",
- "age": "string"
}
]
}, - "servicePods": {
- "pods": [
- {
- "name": "string",
- "serviceType": "string",
- "clusterIP": "string",
- "externalIP": "string",
- "ports": "string"
}
]
}, - "pods": {
- "namespace": "string",
- "pods": [
- {
- "name": "string",
- "ready": "string",
- "status": "string",
- "restarts": "string",
- "age": "string",
- "ip": "string",
- "node": "string",
- "nominatedMode": "string",
- "readinessGate": "string"
}
]
}
}
{- "setupconfig": [
- {
- "version": "string",
- "type": "string",
- "mode": "string",
- "platform": "string",
- "secure": "string",
- "virtualIP": "string",
- "nodeCount": "string",
- "hostIP": "string",
- "PeerIPs": "string",
- "NodeIPs": "string",
- "user": "string",
- "installDir": "string",
- "configFile": "string",
- "bashEvnFile": "string",
- "build": "string",
- "timestamp": "string",
- "workDir": "string"
}
], - "nodes": {
- "nodes": [
- {
- "name": "string",
- "status": "string",
- "roles": "string",
- "age": "string",
- "version": "string",
- "active": "string",
- "arch": "string",
- "hostname": "string",
- "os": "string"
}
]
}
}
{- "deploymentConfig": {
- "setupconfig": [
- {
- "version": "string",
- "type": "string",
- "mode": "string",
- "platform": "string",
- "secure": "string",
- "virtualIP": "string",
- "nodeCount": "string",
- "hostIP": "string",
- "PeerIPs": "string",
- "NodeIPs": "string",
- "user": "string",
- "installDir": "string",
- "configFile": "string",
- "bashEvnFile": "string",
- "build": "string",
- "timestamp": "string",
- "workDir": "string"
}
], - "nodes": {
- "nodes": [
- {
- "name": "string",
- "status": "string",
- "roles": "string",
- "age": "string",
- "version": "string",
- "active": "string",
- "arch": "string",
- "hostname": "string",
- "os": "string"
}
]
}
}, - "resources": {
- "statefulSetApps": {
- "statefulSetApps": [
- {
- "name": "string",
- "ready": "string",
- "age": "string"
}
]
}, - "replicaSetApps": {
- "replicaSetApps": [
- {
- "name": "string",
- "desired": "string",
- "current": "string",
- "ready": "string",
- "age": "string"
}
]
}, - "deploymentApps": {
- "deploymentApps": [
- {
- "name": "string",
- "ready": "string",
- "upToDate": "string",
- "available": "string",
- "age": "string"
}
]
}, - "servicePods": {
- "pods": [
- {
- "name": "string",
- "serviceType": "string",
- "clusterIP": "string",
- "externalIP": "string",
- "ports": "string"
}
]
}, - "pods": {
- "namespace": "string",
- "pods": [
- {
- "name": "string",
- "ready": "string",
- "status": "string",
- "restarts": "string",
- "age": "string",
- "ip": "string",
- "node": "string",
- "nominatedMode": "string",
- "readinessGate": "string"
}
]
}
}, - "servicesStatus": {
- "services": [
- {
- "serviceName": "string",
- "version": "string",
- "active": "string",
- "status": "string",
- "memory": "string",
- "cpu": "string",
- "nodeIP": "string"
}
]
}, - "nodes": {
- "nodes": [
- {
- "name": "string",
- "status": "string",
- "roles": "string",
- "age": "string",
- "version": "string",
- "active": "string",
- "arch": "string",
- "hostname": "string",
- "os": "string"
}
]
}, - "pods": [
- {
- "namespace": "string",
- "pods": [
- {
- "name": "string",
- "ready": "string",
- "status": "string",
- "restarts": "string",
- "age": "string",
- "ip": "string",
- "node": "string",
- "nominatedMode": "string",
- "readinessGate": "string"
}
]
}
]
}
Capture the supportsave data and return the file name in the response
Config Backup request
fabric | string |
device-ips | string |
fabric-all | boolean |
{- "fabric": "string",
- "device-ips": "10.24.131.3,162.101.21.2,192.24.32.204",
- "fabric-all": true
}
{- "ss_file_name": "/var/log/efa/efa_2020-11-16T23:33:03.logs.zip"
}
Backup all EFA configurations
Config Backup request
fabric | string |
device-ips | Array of strings unique |
remote | boolean |
fabric-all | boolean |
{- "fabric": "string",
- "device-ips": [
- "10.10.10.10",
- "10.10.10.11",
- "10.10.10.12"
], - "remote": true,
- "fabric-all": true
}
{- "location": "/var/log/efa/backup/EFA-2020-11-16T23.33.03.tar"
}
Restore all EFA configurations
tar_name required | string Name of the backup archive file. |
{- "tar_name": "EFA-2020-11-16T23.33.03.tar"
}
{- "id": "ade23a74-4ead-11eb-ae93-0242ac130002"
}
{- "items": [
- {
- "uuid": "string",
- "status": "initiated",
- "start_time": "string",
- "last_modified_time": "string",
- "message": "string",
- "request": {
- "tar_name": "EFA-2020-11-16T23.33.03.tar"
}
}
]
}
Create SubInterface
Create a Subinterface
name required | string Name of the Subinterface |
vlan_id required | integer Vlan Id of Subinterface |
ip_subnet required | string IP address including subnet mask of Subinterface |
{- "name": "eth0.20",
- "vlan_id": 20,
- "ip_subnet": "192.168.2.1/24"
}
{- "vlan_id": 20,
- "ip_subnet": "192.168.2.1/24",
- "interface": "eth0",
- "name": "eth0.20"
}
{- "items": [
- {
- "route_src": "192.168.34.40",
- "route_to": "10.20.0.0/16",
- "route_via": "192.168.34.45"
}, - {
- "route_src": "192.168.100.21",
- "route_to": "10.30.40.0/24",
- "route_via": "192.168.100.1"
}
]
}
Create VirtualRoute
Create a VirtualRoute
route_src required | string IP address of VirtualRoute src |
route_to required | string CIDR spec of VirtualRoute target network |
route_via required | string IP address of VirtualRoute next-hop |
{- "route_src": "192.168.34.40",
- "route_to": "10.20.0.0/16",
- "route_via": "192.168.34.45"
}
{- "route_src": "192.168.34.40",
- "route_to": "10.20.0.0/16",
- "route_via": "192.168.34.45"
}
Delete virtualroute
Delete a VirtualRoute
route_src required | string IP address of VirtualRoute src |
route_to required | string CIDR spec of VirtualRoute target network |
route_via required | string IP address of VirtualRoute next-hop |
{- "route_src": "192.168.34.40",
- "route_to": "10.20.0.0/16",
- "route_via": "192.168.34.45"
}
{- "route_src": "192.168.34.40",
- "route_to": "10.20.0.0/16",
- "route_via": "192.168.34.45"
}