Canonical · Schema
NetworkAllocations
NetworkAllocations used for displaying network addresses used by a consuming entity e.g, instance, network forward, load-balancer, network...
CanonicalCloudLinuxOpen SourceUbuntuContainersBare MetalCharmsIdentity
Properties
| Name | Type | Description |
|---|---|---|
| addresses | string | The network address of the allocation (in CIDR format) |
| hwaddr | string | Hwaddr is the MAC address of the entity consuming the network address |
| nat | boolean | Whether the entity comes from a network that LXD performs egress source NAT on |
| network | string | Network is the name of the network the allocated address belongs to |
| type | string | Type of the entity consuming the network address |
| used_by | string | Name of the entity consuming the network address |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/canonical/main/json-schema/canonical-network-allocations-schema.json",
"title": "NetworkAllocations",
"description": "NetworkAllocations used for displaying network addresses used by a consuming entity\ne.g, instance, network forward, load-balancer, network...",
"x-generated": "2026-10-04",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/canonical-network-allocations-api-openapi.yml#/components/schemas/NetworkAllocations",
"properties": {
"addresses": {
"description": "The network address of the allocation (in CIDR format)",
"type": "string",
"x-go-name": "Address"
},
"hwaddr": {
"description": "Hwaddr is the MAC address of the entity consuming the network address",
"type": "string",
"x-go-name": "Hwaddr"
},
"nat": {
"description": "Whether the entity comes from a network that LXD performs egress source NAT on",
"type": "boolean",
"x-go-name": "NAT"
},
"network": {
"description": "Network is the name of the network the allocated address belongs to",
"type": "string",
"x-go-name": "Network"
},
"type": {
"description": "Type of the entity consuming the network address",
"type": "string",
"x-go-name": "Type"
},
"used_by": {
"description": "Name of the entity consuming the network address",
"type": "string",
"x-go-name": "UsedBy"
}
},
"type": "object",
"x-go-package": "github.com/canonical/lxd/shared/api"
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/canonical-network-allocations"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API 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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.