AVI Networks Network Inventory API
The NetworkInventory API from AVI Networks — 2 operation(s) for networkinventory.
The NetworkInventory API from AVI Networks — 2 operation(s) for networkinventory.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/avi-networks:avi-networks-networkinventory-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Avi Networks Network Inventory API
version: 32.2.1
contact:
name: Avi Networks Inc.
url: https://avinetworks.com/contact-us
email: support@avinetworks.com
description: 'Operations tagged NetworkInventory across 2 of this provider''s published API definitions: avi_global_spec.json, avi-networks-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: /api
tags:
- name: NetworkInventory
paths:
/network-inventory:
get:
tags:
- NetworkInventory
description: /network-inventory
operationId: GET/network-inventory
parameters:
- name: name
in: query
description: object name
required: false
schema:
type: string
- name: refers_to
in: query
description: 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
schema:
type: string
- name: referred_by
in: query
description: 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
schema:
type: string
- name: fields
in: query
description: List of fields to be returned for the resource. Some fields like name, URL, uuid etc. are always returned.
schema:
type: string
- name: include_name
in: query
description: 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.
required: false
schema:
type: boolean
- name: skip_default
in: query
description: Default values are not set.
required: false
schema:
type: boolean
- name: join_subresources
in: query
description: It automatically returns additional dependent resources like runtime. Eg. join_subresources=runtime.
schema:
type: string
- name: X-Avi-Tenant
in: header
required: false
description: Avi Tenant Header
schema:
type: string
- name: X-Avi-Tenant-UUID
in: header
required: false
description: Avi Tenant Header UUID
schema:
type: string
- name: X-Avi-Version
in: header
required: true
description: 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.
schema:
type: string
- name: X-CSRFToken
in: header
required: false
description: 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.
schema:
type: string
security:
- basicAuth: []
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/NetworkInventoryApiResponse'
'401':
description: log in failed
summary: GET /network inventory
x-summary-source: derived
x-operation-id-source: normalized
x-operation-id-original: GET /network-inventory
servers:
- url: /api
/network-inventory/{uuid}:
get:
tags:
- NetworkInventory
description: /network-inventory/{uuid}/{uuid}
operationId: GET/network-inventory/{uuid}
parameters:
- name: name
in: query
description: object name
required: false
schema:
type: string
- name: X-Avi-Tenant
in: header
required: false
description: Avi Tenant Header
schema:
type: string
- name: X-Avi-Tenant-UUID
in: header
required: false
description: Avi Tenant Header UUID
schema:
type: string
- name: X-Avi-Version
in: header
required: true
description: 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.
schema:
type: string
- name: X-CSRFToken
in: header
required: false
description: 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.
schema:
type: string
- name: uuid
in: path
description: UUID of the object to fetch
required: true
schema:
type: string
- name: fields
in: query
description: List of fields to be returned for the resource. Some fields like name, URL, uuid etc. are always returned.
schema:
type: string
- name: include_name
in: query
description: 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.
required: false
schema:
type: boolean
- name: skip_default
in: query
description: Default values are not set.
required: false
schema:
type: boolean
- name: join_subresources
in: query
description: It automatically returns additional dependent resources like runtime. Eg. join_subresources=runtime.
schema:
type: string
security:
- basicAuth: []
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/NetworkInventory'
'401':
description: log in failed
'404':
description: object not found
summary: GET /network inventory/{uuid}
x-summary-source: derived
x-operation-id-source: normalized
x-operation-id-original: GET /network-inventory/{uuid}
servers:
- url: /api
components:
schemas:
IpAddrPrefix:
type: object
required:
- ip_addr
- mask
properties:
ip_addr:
description: ' Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
$ref: '#/components/schemas/IpAddr'
mask:
description: ' Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
type: integer
format: int32
StaticIpRangeRuntime:
type: object
properties:
allocated_ips:
description: Allocated IPs. Field introduced in 20.1.3. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: array
items:
$ref: '#/components/schemas/StaticIpAllocInfo'
free_ip_count:
description: Free IP count. Field introduced in 20.1.3. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: integer
format: uint32
total_ip_count:
description: Total IP count. Field introduced in 20.1.3. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: integer
format: uint32
type:
description: 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 with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: string
default: STATIC_IPS_FOR_VIP_AND_SE
SubnetRuntime:
type: object
required:
- prefix
properties:
ip_range_runtimes:
description: Static IP range runtime. Field introduced in 20.1.3. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: array
items:
$ref: '#/components/schemas/StaticIpRangeRuntime'
prefix:
description: ' Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
$ref: '#/components/schemas/IpAddrPrefix'
VlanRange:
type: object
required:
- end
- start
properties:
end:
description: ' Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
type: integer
format: int32
start:
description: ' Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
type: integer
format: int32
NetworkInventory:
type: object
properties:
_last_modified:
description: UNIX time since epoch in microseconds. Units(MICROSECONDS).
readOnly: true
type: string
config:
description: Configuration summary of the network. Field introduced in 22.1.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
$ref: '#/components/schemas/NetworkConfig'
discovery:
description: Configuration summary of the service engine group. Field introduced in 22.1.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
$ref: '#/components/schemas/VIMgrNWRuntime'
runtime:
description: Runtime summary of the network. Field introduced in 22.1.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
$ref: '#/components/schemas/NetworkRuntime'
url:
description: url
readOnly: true
type: string
uuid:
description: UUID of the network. Field introduced in 22.1.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: string
NetworkConfig:
type: object
required:
- name
properties:
cloud_ref:
description: ' It is a reference to an object of type Cloud. Field introduced in 22.1.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
type: string
dhcp_enabled:
description: Select the IP address management scheme for this Network. Field introduced in 22.1.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: boolean
default: true
exclude_discovered_subnets:
description: When selected, excludes all discovered subnets in this network from consideration for virtual service placement. Field introduced in 22.1.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: boolean
ip6_autocfg_enabled:
description: Enable IPv6 auto configuration. Field introduced in 22.1.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: boolean
default: true
name:
description: Name of the network. Field introduced in 22.1.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: string
synced_from_se:
description: ' Field introduced in 22.1.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
type: boolean
tenant_ref:
description: ' It is a reference to an object of type Tenant. Field introduced in 22.1.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
type: string
url:
description: URL of the Network. Field introduced in 22.1.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: string
uuid:
description: UUID of the network. Field introduced in 22.1.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: string
vcenter_dvs:
description: ' Field introduced in 22.1.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
type: boolean
default: true
vimgrnw_ref:
description: ' It is a reference to an object of type VIMgrNWRuntime. Field introduced in 22.1.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
readOnly: true
type: string
vrf_context_ref:
description: ' It is a reference to an object of type VrfContext. Field introduced in 22.1.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
type: string
VIMgrIPSubnetRuntime:
type: object
required:
- prefix
properties:
fip_available:
description: If true, capable of floating/elastic IP association. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: boolean
fip_subnet_uuids:
description: If fip_available is True, this is list of supported FIP subnets, possibly empty if Cloud does not support such a network list. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: array
items:
type: string
floatingip_subnets:
description: If fip_available is True, the list of associated FloatingIP subnets, possibly empty if unsupported or implictly defined by the Cloud. Field introduced in 17.2.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: array
items:
$ref: '#/components/schemas/FloatingIpSubnet'
ip_subnet:
description: ' Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
type: string
name:
description: ' Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
type: string
prefix:
description: ' Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
$ref: '#/components/schemas/IpAddrPrefix'
primary:
description: True if prefix is primary IP on interface, else false. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: boolean
ref_count:
description: ' Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
type: integer
format: int32
se_ref_count:
description: ' Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
type: integer
format: int32
uuid:
description: ' Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
type: string
FloatingIpSubnet:
type: object
required:
- name
properties:
name:
description: FloatingIp subnet name if available, else uuid. Field introduced in 17.2.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: string
prefix:
description: FloatingIp subnet prefix. Field introduced in 17.2.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
$ref: '#/components/schemas/IpAddrPrefix'
uuid:
description: FloatingIp subnet uuid. Field introduced in 17.2.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: string
NetworkInventoryApiResponse:
type: object
required:
- count
- results
properties:
count:
type: integer
format: int32
results:
type: array
items:
$ref: '#/components/schemas/NetworkInventory'
next:
type: string
VIMgrNWRuntime:
type: object
required:
- managed_object_id
- name
- type
properties:
_last_modified:
description: UNIX time since epoch in microseconds. Units(MICROSECONDS).
readOnly: true
type: string
auto_expand:
description: ' Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
type: boolean
availability_zone:
description: ' Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
type: string
cloud_ref:
description: ' It is a reference to an object of type Cloud. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
type: string
datacenter_uuid:
description: ' Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
type: string
dvs:
description: ' Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
type: boolean
host_refs:
description: ' It is a reference to an object of type VIMgrHostRuntime. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
type: array
items:
type: string
interested_nw:
description: ' Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
type: boolean
ip_subnet:
description: ' Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
type: array
items:
$ref: '#/components/schemas/VIMgrIPSubnetRuntime'
logical_switch_id:
description: UUID of NSX-T segment spanning multiple VDS with vCenter cloud. Field introduced in 22.1.3. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: string
managed_object_id:
description: ' Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
type: string
MgmtNW:
description: ' Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
type: boolean
name:
description: ' Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
type: string
num_ports:
description: ' Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
type: integer
format: int32
switch_name:
description: ' Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
type: string
tenant_name:
description: ' Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
type: string
tenant_ref:
description: ' It is a reference to an object of type Tenant. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
type: string
type:
description: ' Enum options - CLOUD_NONE, CLOUD_VCENTER, CLOUD_OPENSTACK, CLOUD_AWS, CLOUD_VCA, CLOUD_APIC, CLOUD_MESOS, CLOUD_LINUXSERVER, CLOUD_DOCKER_UCP, CLOUD_RANCHER, CLOUD_OSHIFT_K8S, CLOUD_AZURE, CLOUD_GCP, CLOUD_NSXT. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
type: string
url:
description: url
readOnly: true
type: string
uuid:
description: ' Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
type: string
vlan:
description: ' Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
type: integer
format: int32
vlan_range:
description: ' Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
type: array
items:
$ref: '#/components/schemas/VlanRange'
vm_refs:
description: ' It is a reference to an object of type VIMgrVMRuntime. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
type: array
items:
type: string
vrf_context_ref:
description: ' It is a reference to an object of type VrfContext. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
type: string
IpAddr:
type: object
required:
- addr
- type
properties:
addr:
description: IP address. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: string
type:
description: ' Enum options - V4, DNS, V6. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
type: string
StaticIpAllocInfo:
type: object
required:
- ip
properties:
ip:
description: IP address. Field introduced in 20.1.3. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
$ref: '#/components/schemas/IpAddr'
obj_info:
description: Object metadata. Field introduced in 20.1.3. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: string
obj_uuid:
description: Object which this IP address is allocated to. Field introduced in 20.1.3. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: string
NetworkRuntime:
type: object
required:
- name
properties:
_last_modified:
description: UNIX time since epoch in microseconds. Units(MICROSECONDS).
readOnly: true
type: string
name:
description: ' Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
type: string
obj_uuids:
description: Objects using static IPs in this network. Field introduced in 20.1.3. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: array
items:
type: string
subnet_runtime:
description: ' Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
type: array
items:
$ref: '#/components/schemas/SubnetRuntime'
tenant_ref:
description: ' It is a reference to an object of type Tenant. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
type: string
url:
description: url
readOnly: true
type: string
uuid:
description: ' Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
type: string
securitySchemes:
basicAuth:
type: http
scheme: basic
description: basic authentication
x-refined-from:
- avi_global_spec.json
- avi-networks-openapi.yml