Cable startup script
This commit is contained in:
parent
2c757af250
commit
302c0fed59
3 changed files with 292 additions and 2 deletions
53
initializers/cables.yml
Normal file
53
initializers/cables.yml
Normal file
|
@ -0,0 +1,53 @@
|
|||
## 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
|
||||
##
|
||||
## If 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
|
||||
##
|
||||
## 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
|
||||
##
|
||||
# - 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
|
Loading…
Add table
Add a link
Reference in a new issue