PATCH /serviceengine/{uuid}
/serviceengine/{uuid}
UUID of the object to fetch
object name
Avi Tenant Header
Avi Tenant Header UUID
The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version.
Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests.
ServiceEngine object creation
{
"_last_modified": "string",
"availability_zone": "string",
"cloud_ref": "string",
"container_mode": false,
"container_type": "string",
"controller_created": false,
"controller_ip": "string",
"data_vnics": [
{
"adapter": "string",
"aggregator_chgd": false,
"can_se_dp_takeover": false,
"connected": false,
"del_pending": false,
"delete_vnic": false,
"dhcp_enabled": false,
"dp_deletion_done": false,
"enabled": false,
"if_name": "string",
"ip6_autocfg_enabled": false,
"is_asm": false,
"is_avi_internal_network": false,
"is_hsm": false,
"is_mgmt": false,
"is_portchannel": false,
"link_up": false,
"linux_name": "string",
"mac_address": "string",
"members": [
{
"active": false,
"if_name": "string",
"mac_address": "string"
}
],
"mtu": 0,
"network_name": "string",
"network_ref": "string",
"num_rx_descriptors": 0,
"num_tx_descriptors": 0,
"pci_id": "string",
"port_uuid": "string",
"vlan_id": 0,
"vlan_interfaces": [
{
"dhcp_enabled": false,
"enabled": false,
"if_name": "string",
"ip6_autocfg_enabled": false,
"is_mgmt": false,
"vlan_id": 0,
"vnic_networks": [
{
"ctlr_alloc": false,
"ip": {
"ip_addr": {
"addr": "string",
"type": "string"
},
"mask": 0
},
"mode": "string"
}
],
"vrf_ref": "string"
}
],
"vnic_networks": [
{
"ctlr_alloc": false,
"ip": {
"ip_addr": {
"addr": "string",
"type": "string"
},
"mask": 0
},
"mode": "string"
}
],
"vrf_id": 0,
"vrf_ref": "string"
}
],
"enable_state": "string",
"flavor": "string",
"host_ref": "string",
"hypervisor": "string",
"mgmt_vnic": {
"adapter": "string",
"aggregator_chgd": false,
"can_se_dp_takeover": false,
"connected": false,
"del_pending": false,
"delete_vnic": false,
"dhcp_enabled": false,
"dp_deletion_done": false,
"enabled": false,
"if_name": "string",
"ip6_autocfg_enabled": false,
"is_asm": false,
"is_avi_internal_network": false,
"is_hsm": false,
"is_mgmt": false,
"is_portchannel": false,
"link_up": false,
"linux_name": "string",
"mac_address": "string",
"members": [
{
"active": false,
"if_name": "string",
"mac_address": "string"
}
],
"mtu": 0,
"network_name": "string",
"network_ref": "string",
"num_rx_descriptors": 0,
"num_tx_descriptors": 0,
"pci_id": "string",
"port_uuid": "string",
"vlan_id": 0,
"vlan_interfaces": [
{
"dhcp_enabled": false,
"enabled": false,
"if_name": "string",
"ip6_autocfg_enabled": false,
"is_mgmt": false,
"vlan_id": 0,
"vnic_networks": [
{
"ctlr_alloc": false,
"ip": {
"ip_addr": {
"addr": "string",
"type": "string"
},
"mask": 0
},
"mode": "string"
}
],
"vrf_ref": "string"
}
],
"vnic_networks": [
{
"ctlr_alloc": false,
"ip": {
"ip_addr": {
"addr": "string",
"type": "string"
},
"mask": 0
},
"mode": "string"
}
],
"vrf_id": 0,
"vrf_ref": "string"
},
"name": "string",
"nsxt_no_hotplug": false,
"resources": {
"cores_per_socket": 0,
"disk": 0,
"hyper_threading": false,
"hypervisor_mode": false,
"memory": 0,
"num_datapath_processes": 0,
"num_vcpus": 0,
"sockets": 0
},
"se_group_ref": "string",
"tenant_ref": "string",
"url": "string",
"uuid": "string"
}
OK
"ServiceEngine Object"
UNIX time since epoch in microseconds. Units(MICROSECONDS).
Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
It is a reference to an object of type Cloud. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Enum options - CONTAINER_TYPE_BRIDGE, CONTAINER_TYPE_HOST, CONTAINER_TYPE_HOST_DPDK. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
inorder to disable SE set this field appropriately. Enum options - SE_STATE_ENABLED, SE_STATE_DISABLED_FOR_PLACEMENT, SE_STATE_DISABLED, SE_STATE_DISABLED_FORCE. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
It is a reference to an object of type VIMgrHostRuntime. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Enum options - DEFAULT, VMWARE_ESX, KVM, VMWARE_VSAN, XEN. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
mgmt_vnic
Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
If set to true, controller does not hotplugg the vNICs. Field introduced in 30.2.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
resources
It is a reference to an object of type ServiceEngineGroup. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
It is a reference to an object of type Tenant. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
url
Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
log in failed
curl -X PATCH -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}'