Schema Library Documentation
Base
name | description |
---|---|
dcim | Basic DCIM schema to capture devices, racks, interfaces, and related information. |
ipam | Basic IPAM schema to capture IP addresses, subnets, and related information. |
location | Basic Location schema to capture locations, sites, and related information. |
organization | Basic Organization schema to capture organizations, vendors, and related information. |
Extensions
name | description |
---|---|
cable | This schema extension contains a basic Cable model allowing you to connect two endpoints. |
circuit | This schema extension contains Circuits and ways to connect them with your infrastructure! The circuit could be a fiber connecting two sites, you would then have two endpoints, one on each site. |
cluster | This schema extension contains the foundations to capture clusters. With this one in place you can unlock various clusters flavors (hosting cluster able to host VMs, firewall clusters built with specific appliances ...) |
compute | With this schema extension in place you will be able to capture all your physical servers. It also gives you the baseline to build virtualization. You might consider HostingCluster extension to go with! |
cross_connect | This extension contains schema to capture Cross Connect. You can see it as "a cable operated by a provider". You will be able to attach it to a location and then connect endpoints to it (e.g. rear interface of a patch panel, circuit endpoint ...) |
dwdm | This schema extension contains models for OADM (Optical Add Drop Multiplexer) supporting various WDM (Wavelength Division Multiplexing) technologies such as DWDM (Dense Wavelength Division Multiplexing) or CWDM (Coarse Wavelength Division Multiplexing). With some vendors, the tunable optics are not configured via the channel number but via the wavelength and/or the frequency. This model provides a unique entry in Infrahub for those. |
firewall_policer | This schema extension contains models for VMs. You might consider Cluster or/and Hypervisor extension to go with! |
hosting_cluster | A rather generic cluster built with compute units (e.g. servers) and able to host VMs. |
interface_breakout | This schema extension introduces relationships to support breakout interfaces, enabling you to document the breakout of a physical interface into smaller physical interfaces. |
lag | This schema extension includes models for Link Aggregation Groups (LAGs), enabling you to link physical interfaces as building blocs of your LAG interface. It can be used in standard networking environments as well as in compute scenarios, such as capturing bond interfaces. |
location_minimal | This schema extension is minimal but will provide you with basic items to store location related data. |
modules | This schema extension allows you to capture Device Modules related information like the serial number or the status. You can insert the Module into a Dcim Physical Device. NOTE: This extension doesn't contain any Nodes, you can use the extension module_linecards or modules_routing_engine to use it |
patch_panel | This schema extension allows you to capture patch panel related information like rear/front interfaces and mapping between them. You can insert the patch panel into a rack and leverage the device type model. Finally you can also capture information about potential modules you would insert into your patch panel. NOTE: This extension is compatible with all sort of connectors, meaning you can plug cable, circuits, cross-connect to front & rear interfaces! |
peering_ixp | This schema extension contains all you need to model anything revolving around internet peering (Exchange points ...)! |
physical_disk | Simple schema allowing you to capture physical disks information for the sake of inventory and lifecycle management. NOTE: This extension is compatible with all sort of device. You can apply the generic "DeviceWithPhysicalDisks" to particular model to enable disks tracking. You might also link that schema to location for instance to capture spares. |
qinq | This schema extension brings extensions to VLAN model in order to support QinQ. |
routing | This schema extension contains generics to create Routing Protocol "Instance". The idea is to create one Routing Protocol instance per IpamVRF + DcimDevice pair. |
routing_aggregate | This schema extension contains all you need to model the Aggregate Routing Protocol. |
routing_bgp | This schema extension contains all you need to model your BGP platform. |
routing_bgp_community | This schema extension adds the BGP Communities models. |
routing_bgp_rr | This schema extension extend the BGP extension to add BGP Route Reflector Clustering. |
routing_ospf | This schema extension contains all you need to model the OSPF Routing Protocol. |
routing_pim | This schema extension contains all you need to model the PIM Protocol. |
routing_policies | This schema extension contains a generic to create Routing Policies. This Generic can be extend for each Routing Protocols you may want to use. |
routing_policies_aggregate | This extension is using the Routing Policies extensions and the Routing Aggregate one together. |
routing_policies_bgp | This extension is using the Routing Policies extensions and the Routing BGP one together. |
routing_policies_ospf | This extension is using the Routing Policies extensions and the Routing OSPF one together. |
routing_policies_pim | This schema inherits the RoutingPolicy schema and removes import_policies and export_policies attributes. However it adds a number of relationships to RoutingPIM . |
sfp | This schema extension gives you all the models you need to document Small Form-factor Pluggable (SFP). You can either plug it into an interface or attach it to a location (e.g. it's a spare SFP stored in a rack). Improvements: - As of now there is no verification with type / form factor / protocol / distance ... - You could plug any SFP into any equipment interface (e.g. a virtual interface ...) - You could link a SFP to an interface AND a location ... |
snmp | This schema extension contains models for SNMP Communities and SNMP Clients. As you can see this extension is not linked to Tenancy or Device, as you could decide to link the Community to different models based on your use case. |
topology | This schema extension introduces abstract network pods and services running in the pods, such as MPLS and EVPN. |
users | This schema extension contains models for account management. |
vlan | This schema extension contains models to support VLANs in you network. |
vrf | This schema extension contains models to support VRF in your network. |
vrrp | This schema extension contains models for VRRP. |
Experimental
name | description |
---|---|
azure | This schema extension introduces cloud support for Microsoft Azure. |
circuit_service | This schema extension contains model coming on top of circuit to capture a single service shared across multiple circuits. For example you have a MPLS network supported by a provider connecting multiple locations: - One single CircuitService would be needed to store MPLS related information (e.g. service id, provider ...) - On each site we would create a circuit connecting on one side our device and the CircuitService on the other side |
infiniband | This schema extension adds support for InfiniBand switches. |
location_extended | This schema extension is the most detailed when it comes to location, you'll find all the layers you can think of. |
modules_linecards | This schema extension allows you to capture Linecard related information like the version. You can insert the Linecard into a Dcim Physical Device and leverage the Linecard type model. The Linecard can accept PIC to help configure PORT information like breakout-capabilities and configurations. |
modules_routing_engine | This schema extension allows you to capture Routing Engine related information like the version. You can insert the Routing Engine into a Dcim Physical Device and leverage the Routing Engine type model. |
qos | This schema extension contains models for Quality of Service (QoS) |
security | This schema extension contains models for implementing detailed security. |
tenancy | This schema extension introduces tenancy for some of the schema nodes (circuits...) |
topology | A schema for defining and managing network topology, strategies, and services. |
vlan-translation | This schema extension is based on Juniper VLAN MAP, and not yet test out for other vendors. |
DCIM
Basic DCIM schema to capture devices, racks, interfaces, and related information.
- Version: 1.0
Generics
GenericDevice
- Description: Generic Device object.
- Label: Device
- Icon: mdi:server
- Include in Menu: ❌
Ordering and Constraints
- **Order By:**name__value
- Uniqueness Constraints:
Attributes
name | kind | unique | order_weight | optional |
---|---|---|---|---|
name | Text | True | 1000 | |
description | Text | 2000 | True | |
os_version | Text | 2200 | True |
Relationships
name | peer | optional | cardinality | identifier | kind | order_weight | label |
---|---|---|---|---|---|---|---|
interfaces | DcimInterface | True | many | device__interface | Component | ||
tags | BuiltinTag | True | many | Attribute | 2000 | ||
primary_address | IpamIPAddress | True | one | Attribute | 1700 | Primary IP Address | |
platform | DcimPlatform | True | one | Attribute | 1250 |
PhysicalDevice
- Description: Generic holding attributes and relationships relevant for physical device.
- Include in Menu: ❌
Attributes
name | label | description | kind | optional | order_weight | default_value | choices |
---|---|---|---|---|---|---|---|
position | Position (U) | Lowest unit. | Number | True | 1500 | `` | |
serial | Text | True | 1500 | `` | |||
rack_face | Rack Face | On which face of the rack the device is mounted. | Dropdown | False | 1515 | front | `front, rear` |
Relationships
name | peer | optional | cardinality | kind | order_weight | label |
---|---|---|---|---|---|---|
device_type | DcimDeviceType | True | one | Attribute | 1200 | |
location | LocationHosting | False | one | Attribute | 1500 | Location |
Endpoint
- Description: Generic Endpoint to receive a connector.
- Include in Menu: ❌
Relationships
name | peer | optional | cardinality | order_weight | kind |
---|---|---|---|---|---|
connector | DcimConnector | True | one | 1500 | Attribute |
Connector
- Description: Generic Connector to link two endpoints together.
- Include in Menu: ❌
Relationships
name | peer | optional | cardinality | order_weight | kind |
---|---|---|---|---|---|
connected_endpoints | DcimEndpoint | True | many | 1500 | Generic |
Interface
- Description: Generic Network Interface
- Label: Interface
- Include in Menu: ❌
Ordering and Constraints
- **Order By:**device__name__value, name__value
- **Uniqueness Constraints:**device + name__value
Attributes
name | kind | description | order_weight | optional | label | default_value | choices |
---|---|---|---|---|---|---|---|
name | Text | Name of the interface | 1000 | `` | |||
description | Text | A brief description of the interface | 1100 | True | `` | ||
mtu | Number | 1300 | MTU | 1514 | `` | ||
status | Dropdown | The status of the interface | 1200 | active | `provisioning, free, active, maintenance, disabled, deleted, outage` | ||
role | Dropdown | The role of the interface in the network | 1250 | True | `lag, core, cust, access, management, peering, upstream` |
Relationships
name | peer | identifier | optional | cardinality | kind | order_weight |
---|---|---|---|---|---|---|
device | DcimGenericDevice | device__interface | False | one | Parent | 1025 |
tags | BuiltinTag | True | many | Attribute | 3000 |
Layer2
- Description: Layer 2 specific attributes for network interfaces
- Label: Layer 2 Interface
- Include in Menu: ❌
Attributes
name | label | kind | optional | choices | description | order_weight |
---|---|---|---|---|---|---|
l2_mode | Layer2 Mode | Dropdown | True | `access, trunk, trunk_all` | Layer 2 mode of the interface | 1500 |
Layer3
- Description: Layer 3 specific attributes for network interfaces
- Label: Layer 3 Interface
- Include in Menu: ❌
Attributes
name | label | kind | description | order_weight | optional |
---|---|---|---|---|---|
dot1q_id | VLAN ID (dot1q) | Number | Dot1Q VLAN ID | 1600 | True |
mac_address | Mac Address | Text | 1550 | True |
Relationships
name | label | peer | cardinality | kind | optional | description | order_weight |
---|---|---|---|---|---|---|---|
ip_addresses | IP Addresses | IpamIPAddress | many | Attribute | True | List of IP addresses associated with the interface | 1150 |
HasSubInterface
- Description: A generic interface that can have sub-interfaces
- Include in Menu: ❌
Relationships
name | label | peer | identifier | optional | cardinality | kind | description | order_weight |
---|---|---|---|---|---|---|---|---|
sub_interfaces | Sub-interface(s) | InterfaceVirtual | sub__interface | True | many | Attribute | Sub-interfaces of this interface | 1750 |
Nodes
DeviceType
- Description: A model of device
- Label: Device Type
- Icon: mdi:poll
- Include in Menu: ❌
Ordering and Constraints
- **Order By:**manufacturer__name__value, name__value
- **Uniqueness Constraints:**manufacturer + name__value
Attributes
name | kind | unique | order_weight | optional | label | default_value |
---|---|---|---|---|---|---|
name | Text | True | 1000 | |||
description | Text | 1100 | True | |||
part_number | Text | 1200 | True | Part Number | ||
height | Number | 1400 | False | Height (U) | 1 | |
full_depth | Boolean | 1500 | Full Depth | True | ||
weight | Number | 1600 | True | Weight (kg) |
Relationships
name | peer | cardinality | kind | order_weight | optional |
---|---|---|---|---|---|
platform | DcimPlatform | one | Attribute | 1300 | |
manufacturer | OrganizationManufacturer | one | Attribute | 1250 | False |
tags | BuiltinTag | many | Attribute | 2000 | True |
Platform
- Description: A Platform represent the type of software running on a device.
- Label: Platform
- Icon: mdi:application-cog-outline
- Include in Menu: ❌
Ordering and Constraints
- **Order By:**manufacturer__name__value, name__value
- **Uniqueness Constraints:**name__value
Attributes
name | kind | unique | order_weight | optional |
---|---|---|---|---|
name | Text | True | 1000 | |
description | Text | 1200 | True | |
nornir_platform | Text | 1500 | True | |
napalm_driver | Text | 1600 | True | |
netmiko_device_type | Text | 1700 | True | |
ansible_network_os | Text | 1800 | True | |
containerlab_os | Text | 1900 | True |
Relationships
name | peer | optional | cardinality | order_weight | kind |
---|---|---|---|---|---|
devices | DcimGenericDevice | True | many | 1350 | |
manufacturer | OrganizationManufacturer | one | 1300 | Attribute |
Device
- Description: A configurable network device for managing and directing data traffic, including routers, switches...
- Label: Network Device
- Icon: clarity:network-switch-solid
- Include in Menu: ❌
Attributes
name | kind | optional | order_weight | choices |
---|---|---|---|---|
status | Dropdown | False | 1100 | `active, provisioning, maintenance, drained` |
role | Dropdown | True | 1400 | `core, edge, cpe, spine, leaf, tor` |
Physical
- Description: Physical network port on a device
- Label: Physical Interface
- Include in Menu: ❌
Virtual
- Description: Virtual interface like VLAN or Loopback
- Label: Virtual Interface
- Include in Menu: ❌
Relationships
name | peer | cardinality | kind | identifier | description |
---|---|---|---|---|---|
parent_interface | InterfaceHasSubInterface | one | Attribute | sub__interface | Parent interface to which this sub-interface belongs |
- Version: 1.0
Generics
Generic
- Description: An organization represent a legal entity, a company.
- Label: Organization
- Icon: mdi:domain
- Include in Menu: ✅
Ordering and Constraints
- **Order By:**name__value
- Uniqueness Constraints:
Attributes
name | kind | unique | order_weight | optional |
---|---|---|---|---|
name | Text | True | 1000 | |
description | Text | 1200 | True |
Relationships
name | peer | cardinality | kind | optional | order_weight |
---|---|---|---|---|---|
tags | BuiltinTag | many | Attribute | True | 3000 |
Nodes
Manufacturer
- Description: Device Manufacturer
- Icon: mdi:domain
- Menu Placement: OrganizationGeneric
- Include in Menu: ✅
Relationships
name | peer | cardinality | optional |
---|---|---|---|
device_type | DcimDeviceType | many | True |
platform | DcimPlatform | many | True |
Provider
-
Description: Circuit or Location Provider
-
Icon: mdi:domain
-
Menu Placement: OrganizationGeneric
-
Include in Menu: ✅
-
Version: 1.0
Generics
Generic
- Description: Generic Location, could be a country, city ...
- Label: Location
- Icon: mingcute:location-line
- Include in Menu: ✅
Ordering and Constraints
- **Order By:**name__value
- Uniqueness Constraints:
Attributes
name | kind | order_weight | unique | optional |
---|---|---|---|---|
name | Text | 1000 | ||
shortname | Text | 1100 | True | |
description | Text | 1200 | True |
Relationships
name | peer | kind | optional | cardinality |
---|---|---|---|---|
tags | BuiltinTag | Attribute | True | many |
Hosting
- Description: Location directly hosting device and services.
- Include in Menu: ❌
Relationships
name | label | peer | cardinality | optional |
---|---|---|---|---|
prefixes | Prefixes | IpamPrefix | many | True |
devices | Devices | DcimPhysicalDevice | many | True |
- Version: 1.0
Nodes
IPAddress
- Description: IP Address
- Label: IP Address
- Icon: mdi:ip
- Include in Menu: ❌
Ordering and Constraints
- **Order By:**address__value
- **Uniqueness Constraints:**ip_namespace + address__value
Attributes
name | label | kind | optional | regex |
---|---|---|---|---|
fqdn | FQDN | Text | True | (?=^.253$)(^(((?!-)[a-zA-Z0-9-]63(?<!-))|((?!-)[a-zA-Z0-9-]63(?<!-)\.)+[a-zA-Z]63)$) |
Relationships
name | peer | optional | cardinality |
---|---|---|---|
interface | InterfaceLayer3 | True | one |
Prefix
- Description: IPv4 or IPv6 network (with mask)
- Label: Prefix
- Icon: mdi:ip-network
- Include in Menu: ❌
Ordering and Constraints
- **Order By:**prefix__value
- **Uniqueness Constraints:**ip_namespace + prefix__value
Attributes
name | kind | choices | optional |
---|---|---|---|
status | Dropdown | `active, deprecated, reserved` | |
role | Dropdown | `loopback, management, public, server, supernet, technical, loopback-vtep` | True |
Relationships
name | peer | optional | cardinality | kind | order_weight | label | identifier |
---|---|---|---|---|---|---|---|
organization | OrganizationGeneric | True | one | Attribute | 1200 | ||
location | LocationHosting | True | one | Attribute | 1300 | ||
gateway | IpamIPAddress | True | one | Attribute | 1500 | L3 Gateway | prefix__gateway |
IPAM
Basic IPAM schema to capture IP addresses, subnets, and related information.
- Version: 1.0
Generics
GenericDevice
- Description: Generic Device object.
- Label: Device
- Icon: mdi:server
- Include in Menu: ❌
Ordering and Constraints
- **Order By:**name__value
- Uniqueness Constraints:
Attributes
name | kind | unique | order_weight | optional |
---|---|---|---|---|
name | Text | True | 1000 | |
description | Text | 2000 | True | |
os_version | Text | 2200 | True |
Relationships
name | peer | optional | cardinality | identifier | kind | order_weight | label |
---|---|---|---|---|---|---|---|
interfaces | DcimInterface | True | many | device__interface | Component | ||
tags | BuiltinTag | True | many | Attribute | 2000 | ||
primary_address | IpamIPAddress | True | one | Attribute | 1700 | Primary IP Address | |
platform | DcimPlatform | True | one | Attribute | 1250 |
PhysicalDevice
- Description: Generic holding attributes and relationships relevant for physical device.
- Include in Menu: ❌
Attributes
name | label | description | kind | optional | order_weight | default_value | choices |
---|---|---|---|---|---|---|---|
position | Position (U) | Lowest unit. | Number | True | 1500 | `` | |
serial | Text | True | 1500 | `` | |||
rack_face | Rack Face | On which face of the rack the device is mounted. | Dropdown | False | 1515 | front | `front, rear` |
Relationships
name | peer | optional | cardinality | kind | order_weight | label |
---|---|---|---|---|---|---|
device_type | DcimDeviceType | True | one | Attribute | 1200 | |
location | LocationHosting | False | one | Attribute | 1500 | Location |
Endpoint
- Description: Generic Endpoint to receive a connector.
- Include in Menu: ❌
Relationships
name | peer | optional | cardinality | order_weight | kind |
---|---|---|---|---|---|
connector | DcimConnector | True | one | 1500 | Attribute |
Connector
- Description: Generic Connector to link two endpoints together.
- Include in Menu: ❌
Relationships
name | peer | optional | cardinality | order_weight | kind |
---|---|---|---|---|---|
connected_endpoints | DcimEndpoint | True | many | 1500 | Generic |
Interface
- Description: Generic Network Interface
- Label: Interface
- Include in Menu: ❌
Ordering and Constraints
- **Order By:**device__name__value, name__value
- **Uniqueness Constraints:**device + name__value
Attributes
name | kind | description | order_weight | optional | label | default_value | choices |
---|---|---|---|---|---|---|---|
name | Text | Name of the interface | 1000 | `` | |||
description | Text | A brief description of the interface | 1100 | True | `` | ||
mtu | Number | 1300 | MTU | 1514 | `` | ||
status | Dropdown | The status of the interface | 1200 | active | `provisioning, free, active, maintenance, disabled, deleted, outage` | ||
role | Dropdown | The role of the interface in the network | 1250 | True | `lag, core, cust, access, management, peering, upstream` |
Relationships
name | peer | identifier | optional | cardinality | kind | order_weight |
---|---|---|---|---|---|---|
device | DcimGenericDevice | device__interface | False | one | Parent | 1025 |
tags | BuiltinTag | True | many | Attribute | 3000 |
Layer2
- Description: Layer 2 specific attributes for network interfaces
- Label: Layer 2 Interface
- Include in Menu: ❌
Attributes
name | label | kind | optional | choices | description | order_weight |
---|---|---|---|---|---|---|
l2_mode | Layer2 Mode | Dropdown | True | `access, trunk, trunk_all` | Layer 2 mode of the interface | 1500 |
Layer3
- Description: Layer 3 specific attributes for network interfaces
- Label: Layer 3 Interface
- Include in Menu: ❌
Attributes
name | label | kind | description | order_weight | optional |
---|---|---|---|---|---|
dot1q_id | VLAN ID (dot1q) | Number | Dot1Q VLAN ID | 1600 | True |
mac_address | Mac Address | Text | 1550 | True |
Relationships
name | label | peer | cardinality | kind | optional | description | order_weight |
---|---|---|---|---|---|---|---|
ip_addresses | IP Addresses | IpamIPAddress | many | Attribute | True | List of IP addresses associated with the interface | 1150 |
HasSubInterface
- Description: A generic interface that can have sub-interfaces
- Include in Menu: ❌
Relationships
name | label | peer | identifier | optional | cardinality | kind | description | order_weight |
---|---|---|---|---|---|---|---|---|
sub_interfaces | Sub-interface(s) | InterfaceVirtual | sub__interface | True | many | Attribute | Sub-interfaces of this interface | 1750 |
Nodes
DeviceType
- Description: A model of device
- Label: Device Type
- Icon: mdi:poll
- Include in Menu: ❌
Ordering and Constraints
- **Order By:**manufacturer__name__value, name__value
- **Uniqueness Constraints:**manufacturer + name__value
Attributes
name | kind | unique | order_weight | optional | label | default_value |
---|---|---|---|---|---|---|
name | Text | True | 1000 | |||
description | Text | 1100 | True | |||
part_number | Text | 1200 | True | Part Number | ||
height | Number | 1400 | False | Height (U) | 1 | |
full_depth | Boolean | 1500 | Full Depth | True | ||
weight | Number | 1600 | True | Weight (kg) |
Relationships
name | peer | cardinality | kind | order_weight | optional |
---|---|---|---|---|---|
platform | DcimPlatform | one | Attribute | 1300 | |
manufacturer | OrganizationManufacturer | one | Attribute | 1250 | False |
tags | BuiltinTag | many | Attribute | 2000 | True |
Platform
- Description: A Platform represent the type of software running on a device.
- Label: Platform
- Icon: mdi:application-cog-outline
- Include in Menu: ❌
Ordering and Constraints
- **Order By:**manufacturer__name__value, name__value
- **Uniqueness Constraints:**name__value
Attributes
name | kind | unique | order_weight | optional |
---|---|---|---|---|
name | Text | True | 1000 | |
description | Text | 1200 | True | |
nornir_platform | Text | 1500 | True | |
napalm_driver | Text | 1600 | True | |
netmiko_device_type | Text | 1700 | True | |
ansible_network_os | Text | 1800 | True | |
containerlab_os | Text | 1900 | True |
Relationships
name | peer | optional | cardinality | order_weight | kind |
---|---|---|---|---|---|
devices | DcimGenericDevice | True | many | 1350 | |
manufacturer | OrganizationManufacturer | one | 1300 | Attribute |
Device
- Description: A configurable network device for managing and directing data traffic, including routers, switches...
- Label: Network Device
- Icon: clarity:network-switch-solid
- Include in Menu: ❌
Attributes
name | kind | optional | order_weight | choices |
---|---|---|---|---|
status | Dropdown | False | 1100 | `active, provisioning, maintenance, drained` |
role | Dropdown | True | 1400 | `core, edge, cpe, spine, leaf, tor` |
Physical
- Description: Physical network port on a device
- Label: Physical Interface
- Include in Menu: ❌
Virtual
- Description: Virtual interface like VLAN or Loopback
- Label: Virtual Interface
- Include in Menu: ❌
Relationships
name | peer | cardinality | kind | identifier | description |
---|---|---|---|---|---|
parent_interface | InterfaceHasSubInterface | one | Attribute | sub__interface | Parent interface to which this sub-interface belongs |
- Version: 1.0
Generics
Generic
- Description: An organization represent a legal entity, a company.
- Label: Organization
- Icon: mdi:domain
- Include in Menu: ✅
Ordering and Constraints
- **Order By:**name__value
- Uniqueness Constraints:
Attributes
name | kind | unique | order_weight | optional |
---|---|---|---|---|
name | Text | True | 1000 | |
description | Text | 1200 | True |
Relationships
name | peer | cardinality | kind | optional | order_weight |
---|---|---|---|---|---|
tags | BuiltinTag | many | Attribute | True | 3000 |
Nodes
Manufacturer
- Description: Device Manufacturer
- Icon: mdi:domain
- Menu Placement: OrganizationGeneric
- Include in Menu: ✅
Relationships
name | peer | cardinality | optional |
---|---|---|---|
device_type | DcimDeviceType | many | True |
platform | DcimPlatform | many | True |
Provider
-
Description: Circuit or Location Provider
-
Icon: mdi:domain
-
Menu Placement: OrganizationGeneric
-
Include in Menu: ✅
-
Version: 1.0
Generics
Generic
- Description: Generic Location, could be a country, city ...
- Label: Location
- Icon: mingcute:location-line
- Include in Menu: ✅
Ordering and Constraints
- **Order By:**name__value
- Uniqueness Constraints:
Attributes
name | kind | order_weight | unique | optional |
---|---|---|---|---|
name | Text | 1000 | ||
shortname | Text | 1100 | True | |
description | Text | 1200 | True |
Relationships
name | peer | kind | optional | cardinality |
---|---|---|---|---|
tags | BuiltinTag | Attribute | True | many |
Hosting
- Description: Location directly hosting device and services.
- Include in Menu: ❌
Relationships
name | label | peer | cardinality | optional |
---|---|---|---|---|
prefixes | Prefixes | IpamPrefix | many | True |
devices | Devices | DcimPhysicalDevice | many | True |
- Version: 1.0
Nodes
IPAddress
- Description: IP Address
- Label: IP Address
- Icon: mdi:ip
- Include in Menu: ❌
Ordering and Constraints
- **Order By:**address__value
- **Uniqueness Constraints:**ip_namespace + address__value
Attributes
name | label | kind | optional | regex |
---|---|---|---|---|
fqdn | FQDN | Text | True | (?=^.253$)(^(((?!-)[a-zA-Z0-9-]63(?<!-))|((?!-)[a-zA-Z0-9-]63(?<!-)\.)+[a-zA-Z]63)$) |
Relationships
name | peer | optional | cardinality |
---|---|---|---|
interface | InterfaceLayer3 | True | one |
Prefix
- Description: IPv4 or IPv6 network (with mask)
- Label: Prefix
- Icon: mdi:ip-network
- Include in Menu: ❌
Ordering and Constraints
- **Order By:**prefix__value
- **Uniqueness Constraints:**ip_namespace + prefix__value
Attributes
name | kind | choices | optional |
---|---|---|---|
status | Dropdown | `active, deprecated, reserved` | |
role | Dropdown | `loopback, management, public, server, supernet, technical, loopback-vtep` | True |
Relationships
name | peer | optional | cardinality | kind | order_weight | label | identifier |
---|---|---|---|---|---|---|---|
organization | OrganizationGeneric | True | one | Attribute | 1200 | ||
location | LocationHosting | True | one | Attribute | 1300 | ||
gateway | IpamIPAddress | True | one | Attribute | 1500 | L3 Gateway | prefix__gateway |
Locations
Basic Location schema to capture locations, sites, and related information.
- Version: 1.0
Generics
GenericDevice
- Description: Generic Device object.
- Label: Device
- Icon: mdi:server
- Include in Menu: ❌
Ordering and Constraints
- **Order By:**name__value
- Uniqueness Constraints:
Attributes
name | kind | unique | order_weight | optional |
---|---|---|---|---|
name | Text | True | 1000 | |
description | Text | 2000 | True | |
os_version | Text | 2200 | True |
Relationships
name | peer | optional | cardinality | identifier | kind | order_weight | label |
---|---|---|---|---|---|---|---|
interfaces | DcimInterface | True | many | device__interface | Component | ||
tags | BuiltinTag | True | many | Attribute | 2000 | ||
primary_address | IpamIPAddress | True | one | Attribute | 1700 | Primary IP Address | |
platform | DcimPlatform | True | one | Attribute | 1250 |
PhysicalDevice
- Description: Generic holding attributes and relationships relevant for physical device.
- Include in Menu: ❌
Attributes
name | label | description | kind | optional | order_weight | default_value | choices |
---|---|---|---|---|---|---|---|
position | Position (U) | Lowest unit. | Number | True | 1500 | `` | |
serial | Text | True | 1500 | `` | |||
rack_face | Rack Face | On which face of the rack the device is mounted. | Dropdown | False | 1515 | front | `front, rear` |
Relationships
name | peer | optional | cardinality | kind | order_weight | label |
---|---|---|---|---|---|---|
device_type | DcimDeviceType | True | one | Attribute | 1200 | |
location | LocationHosting | False | one | Attribute | 1500 | Location |
Endpoint
- Description: Generic Endpoint to receive a connector.
- Include in Menu: ❌
Relationships
name | peer | optional | cardinality | order_weight | kind |
---|---|---|---|---|---|
connector | DcimConnector | True | one | 1500 | Attribute |
Connector
- Description: Generic Connector to link two endpoints together.
- Include in Menu: ❌
Relationships
name | peer | optional | cardinality | order_weight | kind |
---|---|---|---|---|---|
connected_endpoints | DcimEndpoint | True | many | 1500 | Generic |
Interface
- Description: Generic Network Interface
- Label: Interface
- Include in Menu: ❌
Ordering and Constraints
- **Order By:**device__name__value, name__value
- **Uniqueness Constraints:**device + name__value
Attributes
name | kind | description | order_weight | optional | label | default_value | choices |
---|---|---|---|---|---|---|---|
name | Text | Name of the interface | 1000 | `` | |||
description | Text | A brief description of the interface | 1100 | True | `` | ||
mtu | Number | 1300 | MTU | 1514 | `` | ||
status | Dropdown | The status of the interface | 1200 | active | `provisioning, free, active, maintenance, disabled, deleted, outage` | ||
role | Dropdown | The role of the interface in the network | 1250 | True | `lag, core, cust, access, management, peering, upstream` |
Relationships
name | peer | identifier | optional | cardinality | kind | order_weight |
---|---|---|---|---|---|---|
device | DcimGenericDevice | device__interface | False | one | Parent | 1025 |
tags | BuiltinTag | True | many | Attribute | 3000 |
Layer2
- Description: Layer 2 specific attributes for network interfaces
- Label: Layer 2 Interface
- Include in Menu: ❌
Attributes
name | label | kind | optional | choices | description | order_weight |
---|---|---|---|---|---|---|
l2_mode | Layer2 Mode | Dropdown | True | `access, trunk, trunk_all` | Layer 2 mode of the interface | 1500 |
Layer3
- Description: Layer 3 specific attributes for network interfaces
- Label: Layer 3 Interface
- Include in Menu: ❌
Attributes
name | label | kind | description | order_weight | optional |
---|---|---|---|---|---|
dot1q_id | VLAN ID (dot1q) | Number | Dot1Q VLAN ID | 1600 | True |
mac_address | Mac Address | Text | 1550 | True |
Relationships
name | label | peer | cardinality | kind | optional | description | order_weight |
---|---|---|---|---|---|---|---|
ip_addresses | IP Addresses | IpamIPAddress | many | Attribute | True | List of IP addresses associated with the interface | 1150 |
HasSubInterface
- Description: A generic interface that can have sub-interfaces
- Include in Menu: ❌
Relationships
name | label | peer | identifier | optional | cardinality | kind | description | order_weight |
---|---|---|---|---|---|---|---|---|
sub_interfaces | Sub-interface(s) | InterfaceVirtual | sub__interface | True | many | Attribute | Sub-interfaces of this interface | 1750 |
Nodes
DeviceType
- Description: A model of device
- Label: Device Type
- Icon: mdi:poll
- Include in Menu: ❌
Ordering and Constraints
- **Order By:**manufacturer__name__value, name__value
- **Uniqueness Constraints:**manufacturer + name__value
Attributes
name | kind | unique | order_weight | optional | label | default_value |
---|---|---|---|---|---|---|
name | Text | True | 1000 | |||
description | Text | 1100 | True | |||
part_number | Text | 1200 | True | Part Number | ||
height | Number | 1400 | False | Height (U) | 1 | |
full_depth | Boolean | 1500 | Full Depth | True | ||
weight | Number | 1600 | True | Weight (kg) |
Relationships
name | peer | cardinality | kind | order_weight | optional |
---|---|---|---|---|---|
platform | DcimPlatform | one | Attribute | 1300 | |
manufacturer | OrganizationManufacturer | one | Attribute | 1250 | False |
tags | BuiltinTag | many | Attribute | 2000 | True |
Platform
- Description: A Platform represent the type of software running on a device.
- Label: Platform
- Icon: mdi:application-cog-outline
- Include in Menu: ❌
Ordering and Constraints
- **Order By:**manufacturer__name__value, name__value
- **Uniqueness Constraints:**name__value
Attributes
name | kind | unique | order_weight | optional |
---|---|---|---|---|
name | Text | True | 1000 | |
description | Text | 1200 | True | |
nornir_platform | Text | 1500 | True | |
napalm_driver | Text | 1600 | True | |
netmiko_device_type | Text | 1700 | True | |
ansible_network_os | Text | 1800 | True | |
containerlab_os | Text | 1900 | True |