2022-04-08 15:51:27 +02:00
|
|
|
# # Required parameters for termination X ('a' or 'b'):
|
|
|
|
# #
|
|
|
|
# # ```
|
|
|
|
# # termination_x_name -> name of interface
|
|
|
|
# # termination_x_device -> name of the device interface belongs to
|
|
|
|
# # termination_x_class -> required if different than 'Interface' which is the default
|
|
|
|
# # ```
|
|
|
|
# #
|
|
|
|
# # Supported termination classes: Interface, ConsolePort, ConsoleServerPort, FrontPort, RearPort, PowerPort, PowerOutlet
|
|
|
|
# #
|
|
|
|
# #
|
|
|
|
# # If a termination is a circuit then the required parameter is termination_x_circuit.
|
|
|
|
# # Required parameters for a circuit termination:
|
|
|
|
# #
|
|
|
|
# # ```
|
|
|
|
# # termination_x_circuit:
|
|
|
|
# # term_side -> termination side of a circuit. Must be A or B
|
|
|
|
# # cid -> circuit ID value
|
|
|
|
# # site OR provider_network -> name of Site or ProviderNetwork respectively. If both provided, Site takes precedence
|
|
|
|
# # ```
|
|
|
|
# #
|
|
|
|
# # If a termination is a power feed then the required parameter is termination_x_feed.
|
|
|
|
# #
|
|
|
|
# # ```
|
|
|
|
# # termination_x_feed:
|
|
|
|
# # name -> name of the PowerFeed object
|
|
|
|
# # power_panel:
|
|
|
|
# # name -> name of the PowerPanel the PowerFeed is attached to
|
|
|
|
# # site -> name of the Site in which the PowerPanel is present
|
|
|
|
# # ```
|
|
|
|
# #
|
|
|
|
# # Any other Cable parameters supported by Netbox are supported as the top level keys, e.g. 'type', 'status', etc.
|
|
|
|
# #
|
|
|
|
# # - termination_a_name: console
|
|
|
|
# # termination_a_device: spine
|
|
|
|
# # termination_a_class: ConsolePort
|
|
|
|
# # termination_b_name: tty9
|
|
|
|
# # termination_b_device: console-server
|
|
|
|
# # termination_b_class: ConsoleServerPort
|
|
|
|
# # type: cat6
|
|
|
|
# #
|
2022-04-05 17:46:35 +02:00
|
|
|
# - termination_a_name: to-server02
|
|
|
|
# termination_a_device: server01
|
|
|
|
# termination_b_name: to-server01
|
|
|
|
# termination_b_device: server02
|
|
|
|
# status: planned
|
|
|
|
# type: mmf
|
|
|
|
|
|
|
|
# - termination_a_name: eth0
|
|
|
|
# termination_a_device: server02
|
|
|
|
# termination_b_circuit:
|
|
|
|
# term_side: A
|
|
|
|
# cid: Circuit_ID-1
|
|
|
|
# site: AMS 1
|
|
|
|
# type: cat6
|
|
|
|
|
|
|
|
# - termination_a_name: psu0
|
|
|
|
# termination_a_device: server04
|
|
|
|
# termination_a_class: PowerPort
|
|
|
|
# termination_b_feed:
|
|
|
|
# name: power feed 1
|
|
|
|
# power_panel:
|
|
|
|
# name: power panel AMS 1
|
|
|
|
# site: AMS 1
|
|
|
|
|
|
|
|
# - termination_a_name: outlet1
|
|
|
|
# termination_a_device: server04
|
|
|
|
# termination_a_class: PowerOutlet
|
|
|
|
# termination_b_name: psu1
|
|
|
|
# termination_b_device: server04
|
|
|
|
# termination_b_class: PowerPort
|