Avi NetworkRuntime Object API
CLI ``` - show network runtime ```
Contact Info: support@avinetworks.com
Version: 21.1.6
BasePath:/api
All rights reserved
http://apache.org/licenses/LICENSE-2.0.html
Access
- HTTP Basic Authentication
[ Jump to Models ]
Table of Contents
get /networkruntime
post /networkruntime
delete /networkruntime/{uuid}
get /networkruntime/{uuid}
patch /networkruntime/{uuid}
put /networkruntime/{uuid}
(networkruntimeGet)
Consumes
This API call consumes the following media types via the
Content-Type request header:
Query parameters
name (optional)
Query Parameter — object name
refers_to (optional)
Query Parameter — Filter to request all objects that refers to another Avi resource. Its syntax is refers_to=<obj_type>:<obj_uuid>. Eg. get all virtual services referring to pool p1 will be refers_to=pool:pool_p1_uuid
referred_by (optional)
Query Parameter — Filter to request all objects that are referred by another Avi resource. Its syntax is referred_by=<obj_type>:<obj_uuid>. Eg. get all pools referred_by virtual service vs1 - referred_by=virtualservice:vs_vs1_uuid
fields (optional)
Query Parameter — List of fields to be returned for the resource. Some fields like name, URL, uuid etc. are always returned.
include_name (optional)
Query Parameter — All the Avi REST reference URIs have a name suffix as URI#name. It is useful to get the referenced resource name without performing get on that object.
skip_default (optional)
Query Parameter — Default values are not set.
join_subresources (optional)
Query Parameter — It automatically returns additional dependent resources like runtime. Eg. join_subresources=runtime.
Return type
Example data
Content-Type: application/json
{
"next" : "aeiou",
"count" : 123,
"results" : [ {
"subnet_runtime" : [ {
"ip_alloced" : [ {
"ip" : {
"addr" : "aeiou",
"type" : "aeiou"
},
"mac" : "aeiou",
"se_uuid" : "aeiou"
} ],
"used_ip_count" : 123,
"prefix" : {
"ip_addr" : "",
"mask" : 123
},
"ip_range_runtimes" : [ {
"free_ip_count" : 123,
"allocated_ips" : [ {
"obj_info" : "aeiou",
"ip" : "",
"obj_uuid" : "aeiou"
} ],
"type" : "aeiou",
"total_ip_count" : 123
} ],
"free_ip_count" : 123,
"total_ip_count" : 123
} ],
"obj_uuids" : [ "aeiou" ],
"tenant_ref" : "aeiou",
"name" : "aeiou",
"uuid" : "aeiou",
"url" : "aeiou",
"_last_modified" : "aeiou",
"se_uuid" : [ "aeiou" ]
} ]
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the
Content-Type response header.
Responses
200
OK
NetworkRuntimeApiResponse
401
log in failed
(networkruntimePost)
Consumes
This API call consumes the following media types via the
Content-Type request header:
Request body
body (required)
Body Parameter — NetworkRuntime object creation
Return type
Example data
Content-Type: application/json
{
"subnet_runtime" : [ {
"ip_alloced" : [ {
"ip" : {
"addr" : "aeiou",
"type" : "aeiou"
},
"mac" : "aeiou",
"se_uuid" : "aeiou"
} ],
"used_ip_count" : 123,
"prefix" : {
"ip_addr" : "",
"mask" : 123
},
"ip_range_runtimes" : [ {
"free_ip_count" : 123,
"allocated_ips" : [ {
"obj_info" : "aeiou",
"ip" : "",
"obj_uuid" : "aeiou"
} ],
"type" : "aeiou",
"total_ip_count" : 123
} ],
"free_ip_count" : 123,
"total_ip_count" : 123
} ],
"obj_uuids" : [ "aeiou" ],
"tenant_ref" : "aeiou",
"name" : "aeiou",
"uuid" : "aeiou",
"url" : "aeiou",
"_last_modified" : "aeiou",
"se_uuid" : [ "aeiou" ]
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the
Content-Type response header.
Responses
200
OK
NetworkRuntime
401
log in failed
Up
delete /networkruntime/{uuid}
(networkruntimeUuidDelete)
Path parameters
uuid (required)
Path Parameter — UUID of the object to fetch
Consumes
This API call consumes the following media types via the
Content-Type request header:
Query parameters
name (optional)
Query Parameter — object name
Return type
String
Example data
Content-Type: application/json
"aeiou"
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the
Content-Type response header.
Responses
204
object deleted
String
404
not found
Up
get /networkruntime/{uuid}
(networkruntimeUuidGet)
Path parameters
uuid (required)
Path Parameter — UUID of the object to fetch
Consumes
This API call consumes the following media types via the
Content-Type request header:
Query parameters
name (optional)
Query Parameter — object name
fields (optional)
Query Parameter — List of fields to be returned for the resource. Some fields like name, URL, uuid etc. are always returned.
include_name (optional)
Query Parameter — All the Avi REST reference URIs have a name suffix as URI#name. It is useful to get the referenced resource name without performing get on that object.
skip_default (optional)
Query Parameter — Default values are not set.
join_subresources (optional)
Query Parameter — It automatically returns additional dependent resources like runtime. Eg. join_subresources=runtime.
Return type
Example data
Content-Type: application/json
{
"subnet_runtime" : [ {
"ip_alloced" : [ {
"ip" : {
"addr" : "aeiou",
"type" : "aeiou"
},
"mac" : "aeiou",
"se_uuid" : "aeiou"
} ],
"used_ip_count" : 123,
"prefix" : {
"ip_addr" : "",
"mask" : 123
},
"ip_range_runtimes" : [ {
"free_ip_count" : 123,
"allocated_ips" : [ {
"obj_info" : "aeiou",
"ip" : "",
"obj_uuid" : "aeiou"
} ],
"type" : "aeiou",
"total_ip_count" : 123
} ],
"free_ip_count" : 123,
"total_ip_count" : 123
} ],
"obj_uuids" : [ "aeiou" ],
"tenant_ref" : "aeiou",
"name" : "aeiou",
"uuid" : "aeiou",
"url" : "aeiou",
"_last_modified" : "aeiou",
"se_uuid" : [ "aeiou" ]
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the
Content-Type response header.
Responses
200
OK
NetworkRuntime
401
log in failed
Up
patch /networkruntime/{uuid}
(networkruntimeUuidPatch)
Path parameters
uuid (required)
Path Parameter — UUID of the object to fetch
Consumes
This API call consumes the following media types via the
Content-Type request header:
Request body
body (required)
Body Parameter — NetworkRuntime object creation
Query parameters
name (optional)
Query Parameter — object name
Return type
Example data
Content-Type: application/json
{
"subnet_runtime" : [ {
"ip_alloced" : [ {
"ip" : {
"addr" : "aeiou",
"type" : "aeiou"
},
"mac" : "aeiou",
"se_uuid" : "aeiou"
} ],
"used_ip_count" : 123,
"prefix" : {
"ip_addr" : "",
"mask" : 123
},
"ip_range_runtimes" : [ {
"free_ip_count" : 123,
"allocated_ips" : [ {
"obj_info" : "aeiou",
"ip" : "",
"obj_uuid" : "aeiou"
} ],
"type" : "aeiou",
"total_ip_count" : 123
} ],
"free_ip_count" : 123,
"total_ip_count" : 123
} ],
"obj_uuids" : [ "aeiou" ],
"tenant_ref" : "aeiou",
"name" : "aeiou",
"uuid" : "aeiou",
"url" : "aeiou",
"_last_modified" : "aeiou",
"se_uuid" : [ "aeiou" ]
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the
Content-Type response header.
Responses
200
OK
NetworkRuntime
401
log in failed
Up
put /networkruntime/{uuid}
(networkruntimeUuidPut)
Path parameters
uuid (required)
Path Parameter — UUID of the object to fetch
Consumes
This API call consumes the following media types via the
Content-Type request header:
Request body
body (required)
Body Parameter — NetworkRuntime object creation
Query parameters
name (optional)
Query Parameter — object name
Return type
Example data
Content-Type: application/json
{
"subnet_runtime" : [ {
"ip_alloced" : [ {
"ip" : {
"addr" : "aeiou",
"type" : "aeiou"
},
"mac" : "aeiou",
"se_uuid" : "aeiou"
} ],
"used_ip_count" : 123,
"prefix" : {
"ip_addr" : "",
"mask" : 123
},
"ip_range_runtimes" : [ {
"free_ip_count" : 123,
"allocated_ips" : [ {
"obj_info" : "aeiou",
"ip" : "",
"obj_uuid" : "aeiou"
} ],
"type" : "aeiou",
"total_ip_count" : 123
} ],
"free_ip_count" : 123,
"total_ip_count" : 123
} ],
"obj_uuids" : [ "aeiou" ],
"tenant_ref" : "aeiou",
"name" : "aeiou",
"uuid" : "aeiou",
"url" : "aeiou",
"_last_modified" : "aeiou",
"se_uuid" : [ "aeiou" ]
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the
Content-Type response header.
Responses
200
OK
NetworkRuntime
401
log in failed
[ Jump to Methods ]
Table of Contents
IpAddr
IpAddrPrefix
IpAllocInfo
NetworkRuntime
NetworkRuntimeApiResponse
StaticIpAllocInfo
StaticIpRangeRuntime
SubnetRuntime
addr
String IP address. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
type
String Enum options - V4, DNS, V6. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
ip_addr
IpAddr Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
mask
Integer Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition. format: int32
ip
IpAddr Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
mac
String Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
se_uuid
String Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
_last_modified (optional)
String UNIX time since epoch in microseconds. Units(MICROSECONDS).
name
String Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
obj_uuids (optional)
array[String] Objects using static IPs in this network. Field introduced in 20.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
se_uuid (optional)
array[String] Use obj_uuids. Field deprecated in 20.1.3. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
subnet_runtime (optional)
array[SubnetRuntime] Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
tenant_ref (optional)
String 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 (optional)
uuid (optional)
String Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
count
results
next (optional)
ip
IpAddr IP address. Field introduced in 20.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
obj_info (optional)
String Object metadata. Field introduced in 20.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
obj_uuid (optional)
String Object which this IP address is allocated to. Field introduced in 20.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
allocated_ips (optional)
array[StaticIpAllocInfo] Allocated IPs. Field introduced in 20.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
free_ip_count (optional)
Integer Free IP count. Field introduced in 20.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition. format: int32
total_ip_count (optional)
Integer Total IP count. Field introduced in 20.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition. format: int32
type (optional)
String Object type (VIP only, Service Engine only, or both) which is using this IP group. Enum options - STATIC_IPS_FOR_SE, STATIC_IPS_FOR_VIP, STATIC_IPS_FOR_VIP_AND_SE. Field introduced in 20.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
free_ip_count (optional)
Integer Moved to StaticIpRangeRuntime. Field deprecated in 20.1.3. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition. format: int32
ip_alloced (optional)
array[IpAllocInfo] Use allocated_ips in StaticIpRangeRuntime. Field deprecated in 20.1.3. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
ip_range_runtimes (optional)
array[StaticIpRangeRuntime] Static IP range runtime. Field introduced in 20.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
prefix
IpAddrPrefix Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
total_ip_count (optional)
Integer Moved to StaticIpRangeRuntime. Field deprecated in 20.1.3. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition. format: int32
used_ip_count (optional)
Integer Can be derived from total - free in StaticIpRangeRuntime. Field deprecated in 20.1.3. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition. format: int32