Download OpenAPI specification:Download
This spec defines the API provided by the application to validate authorization for the passed role.
Get K3s pod monitoring information.
namespace required | string |
OK
Not found in the system.
Unexpected error.
Unexpected error.
{- "namespace": "string",
- "pods": [
- {
- "name": "string",
- "ready": "string",
- "status": "string",
- "restarts": "string",
- "age": "string",
- "ip": "string",
- "node": "string",
- "nominatedMode": "string",
- "readinessGate": "string"
}
]
}
Get K3s node label.
OK
Not found in the system.
Unexpected error.
Unexpected error.
{- "nodes": [
- {
- "name": "string",
- "status": "string",
- "roles": "string",
- "age": "string",
- "version": "string",
- "active": "string",
- "arch": "string",
- "hostname": "string",
- "os": "string"
}
]
}
Get K3s cluster resources.
namespace required | string Namespace of the pod. |
OK
No backup tar provided.
Unexpected error.
Unexpected error.
{- "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"
}
]
}
}
Get K3s monitoring information.
OK
No backup tar provided.
Unexpected error.
Unexpected error.
{- "serviceName": "string",
- "version": "string",
- "active": "string",
- "status": "string",
- "memory": "string",
- "cpu": "string",
- "nodeIP": "string"
}
Get MariaDB monitoring information.
OK
No backup tar provided.
Unexpected error.
Unexpected error.
{- "serviceName": "string",
- "version": "string",
- "active": "string",
- "status": "string",
- "memory": "string",
- "cpu": "string",
- "nodeIP": "string"
}
Get GlusterFS monitoring information.
OK
No backup tar provided.
Unexpected error.
Unexpected error.
{- "serviceName": "string",
- "version": "string",
- "active": "string",
- "status": "string",
- "memory": "string",
- "cpu": "string",
- "nodeIP": "string"
}
Get Keepalived monitoring information.
OK
No backup tar provided.
Unexpected error.
Unexpected error.
{- "serviceName": "string",
- "version": "string",
- "active": "string",
- "status": "string",
- "memory": "string",
- "cpu": "string",
- "nodeIP": "string"
}
{- "nodes": [
- {
- "name": "string",
- "status": "string",
- "role": "string",
- "IP": "string"
}
]
}
Get all service monitoring information.
OK
No backup tar provided.
Unexpected error.
Unexpected error.
{- "services": [
- {
- "serviceName": "string",
- "version": "string",
- "active": "string",
- "status": "string",
- "memory": "string",
- "cpu": "string",
- "nodeIP": "string"
}
]
}
Get setup configuration.
OK
No found in the system.
Unexpected error.
Unexpected error.
{- "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"
}
]
}
}
Get all status.
OK
No found in the system.
Unexpected error.
Unexpected error.
{- "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"
}
]
}
]
}
Redeploy EFA after TPVM upgrade.
cleanRedeploy | boolean Removes all app data prior to redeploying EFA. |
Accepted
Authorization information is missing or invalid.
Not found.
Unexpected error.
Unexpected error.
{- "id": "ade23a74-4ead-11eb-ae93-0242ac130002"
}
Get status of redeploy operation.
redeployId required | string |
Redeploy operation status.
No restore operation with given ID.
Unexpected error.
Unexpected error.
{- "status": "initiated",
- "message": "string"
}
Capture the supportsave data and return the file name in the response.
Supportsave request.
fabric | string |
device-ips | string |
fabric-all | boolean |
OK
Authorization information is missing or invalid.
Unexpected error.
Unexpected error.
{- "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.
Configuration backup request.
fabric | string |
device-ips | Array of strings |
remote | boolean |
fabric-all | boolean |
OK
Authorization information is missing or invalid.
Not found.
Unexpected error.
Unexpected error.
{- "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. |
Accepted
Authorization information is missing or invalid.
No backup tar provided.
Unexpected error.
Unexpected error.
{- "tar_name": "EFA-2020-11-16T23.33.03.tar"
}
{- "id": "ade23a74-4ead-11eb-ae93-0242ac130002"
}
Get status of restore operation.
restoreId required | string |
Restore operation status.
No restore operation with given ID.
Unexpected error.
Unexpected error.
{- "status": "initiated",
- "issuedAt": "string",
- "message": "string",
- "request": {
- "tar_name": "EFA-2020-11-16T23.33.03.tar"
}
}
Get list of all restore operations.
Restore history.
No restore operation is performed.
Unexpected error.
Unexpected error.
{- "items": [
- {
- "uuid": "string",
- "status": "initiated",
- "start_time": "string",
- "last_modified_time": "string",
- "message": "string",
- "request": {
- "tar_name": "EFA-2020-11-16T23.33.03.tar"
}
}
]
}
Get specified subinterface or all subinterfaces.
name | string Name of subinterface. |
OK
Authorization information is missing or invalid.
Subinterface is not found in the system.
Unexpected error.
Unexpected error.
{- "items": [
- {
- "vlan_id": 20,
- "ip_subnet": "192.168.2.1/24",
- "interface": "eth0",
- "name": "eth0.20"
}
]
}
Create subinterface.
Create a subinterface.
name required | string Name of the subinterface. |
vlan_id required | integer VLAN ID of the subinterface. |
ip_subnet required | string IP address including subnet mask of subinterface. |
OK
Authorization information is missing or invalid.
A subinterface with the specified name already exists.
Unexpected error.
Unexpected error.
{- "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"
}
Delete subinterface.
name required | string Name of the subinterface. |
OK
Authorization information is missing or invalid.
A subinterface with the specified name is not found.
Unexpected error.
Unexpected error.
{- "vlan_id": 20,
- "ip_subnet": "192.168.2.1/24",
- "interface": "eth0",
- "name": "eth0.20"
}
Get static IPs of subinterface.
OK
Authorization information is missing or invalid.
Static IPs are not found in the subinterface.
Unexpected error.
Unexpected error.
[- {
- "subinterface": "efa-sub-200",
- "node1": {
- "name1": "node1",
- "ip1": "192.168.102.1"
}, - "node2": {
- "name2": "node2",
- "ip2": "192.168.102.2"
}
}
]
Adding static IPs to subinterface.
Adding static IPs.
subinterface required | string Name of the subinterface where the static IPs will be assigned. |
ip1 required | string First static IP address+mask in CIDR format. |
ip2 required | string Second static IP address+mask in CIDR format. |
OK
Authorization information is missing or invalid.
Specified static IPs already exists.
Unexpected error.
Unexpected.
{- "subinterface": "efa-sub-200",
- "ip1": "192.168.102.1/24",
- "ip2": "192.168.102.2/24"
}
{- "subinterface": "efa-sub-200",
- "node1": {
- "name1": "node1",
- "ip1": "192.168.102.1"
}, - "node2": {
- "name2": "node2",
- "ip2": "192.168.102.2"
}
}
Removing static IPs of subinterface.
name required | string Name of the subinterface. |
OK
Authorization information is missing or invalid.
Specified static IPs doesn't exist.
Unexpected error.
Unexpected error.
{- "subinterface": "efa-sub-200",
- "node1": {
- "name1": "node1",
- "ip1": "192.168.102.1"
}, - "node2": {
- "name2": "node2",
- "ip2": "192.168.102.2"
}
}
Get specified virtual route or all virtual routes.
OK
Authorization information is missing or invalid.
Virtual route is not found in the system.
Unexpected error.
Unexpected error.
{- "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 virtual route.
route_src required | string IP address of virtual route source. |
route_to required | string CIDR spec of virtual route target network. |
route_via required | string IP address of virtual route next-hop. |
OK
Authorization information is missing or invalid.
A VirtualRoute with the specified name already exists.
Unexpected error.
Unexpected error.
{- "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 virtual route.
Delete a virtual route.
route_src required | string IP address of virtual route source. |
route_to required | string CIDR spec of virtual route target network. |
route_via required | string IP address of virtual route next-hop. |
OK
Authorization information is missing or invalid.
A virtual route with the specified name is not found.
Unexpected error.
Unexpected error.
{- "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"
}