Skip to content

Commit

Permalink
example: add manager (#20)
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Berendt <[email protected]>
  • Loading branch information
berendt authored Dec 4, 2024
1 parent b06f29e commit 6c3dff3
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
17 changes: 17 additions & 0 deletions example/resources/200-rack-1000.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
position: 1
tags:
- managed-by-osism
- managed-by-ironic

- device:
name: com0003
Expand All @@ -61,6 +62,7 @@
position: 2
tags:
- managed-by-osism
- managed-by-ironic

- device:
name: com0005
Expand All @@ -74,6 +76,7 @@
position: 3
tags:
- managed-by-osism
- managed-by-ironic

- device:
name: com0007
Expand All @@ -87,3 +90,17 @@
position: 4
tags:
- managed-by-osism
- managed-by-ironic

- device:
name: mgr0039
site: "{{ site }}"
location: "{{ location }}"
rack: "{{ rack }}"
device_type: manager
device_role: Manager
face: front
airflow: front-to-rear
position: 20
tags:
- managed-by-osism
20 changes: 20 additions & 0 deletions example/resources/300-connections-1000.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,23 @@
termination_b:
device: sw0093
name: Ethernet12

- cable:
termination_a_type: dcim.interface
termination_a:
device: mgr0039
name: Ethernet3
termination_b_type: dcim.interface
termination_b:
device: sw0091
name: Ethernet16

- cable:
termination_a_type: dcim.interface
termination_a:
device: mgr0039
name: Ethernet4
termination_b_type: dcim.interface
termination_b:
device: sw0093
name: Ethernet16

0 comments on commit 6c3dff3

Please sign in to comment.