Skip to main content

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

Details

Nodes

Service

  • Label: Circuit Service
  • Description: Represent the boundary of a provider network, the details of which are unknown or unimportant
  • Namespace: Circuit
  • Icon: mdi:cloud
  • Display Labels: name__value
  • Human Friendly ID: name__value

Attributes

namedescriptionkindoptionaldefault_valuechoices
nameText
service_idTextTrue
descriptionTextTrue

Relationships

namepeeroptionalcardinalitykind
providerOrganizationProviderFalseoneAttribute
circuit_endpointsCircuitEndpointTruemanyComponent

Extensions

note

In this context "extensions" refer to modifications or additions to the existing schema, such as adding new attributes, relationships, or other schema elements.

OrganizationProvider

Relationships

namepeeroptionalcardinalitykind
circuit_servicesCircuitServiceTruemany

CircuitEndpoint

Relationships

namepeeroptionalcardinalitykind
circuit_serviceCircuitServiceTrueone

Code

version: '1.0'
nodes:
- name: Service
namespace: Circuit
description: Represent the boundary of a provider network, the details of which
are unknown or unimportant
label: Circuit Service
icon: mdi:cloud
menu_placement: DcimCircuit
human_friendly_id:
- name__value
order_by:
- name__value
display_labels:
- name__value
attributes:
- name: name
kind: Text
unique: true
- name: service_id
kind: Text
optional: true
- name: description
kind: Text
optional: true
relationships:
- name: provider
peer: OrganizationProvider
optional: false
cardinality: one
kind: Attribute
- name: circuit_endpoints
peer: CircuitEndpoint
optional: true
cardinality: many
kind: Component
extensions:
nodes:
- kind: OrganizationProvider
relationships:
- name: circuit_services
peer: CircuitService
cardinality: many
optional: true
- kind: CircuitEndpoint
relationships:
- name: circuit_service
peer: CircuitService
cardinality: one
optional: true