From 6c3dff3550b41371a93d4f555975b332b0f81988 Mon Sep 17 00:00:00 2001 From: Christian Berendt Date: Wed, 4 Dec 2024 21:51:27 +0100 Subject: [PATCH] example: add manager (#20) Signed-off-by: Christian Berendt --- example/resources/200-rack-1000.yml | 17 +++++++++++++++++ example/resources/300-connections-1000.yml | 20 ++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/example/resources/200-rack-1000.yml b/example/resources/200-rack-1000.yml index 2da30b3..e65ec4a 100644 --- a/example/resources/200-rack-1000.yml +++ b/example/resources/200-rack-1000.yml @@ -48,6 +48,7 @@ position: 1 tags: - managed-by-osism + - managed-by-ironic - device: name: com0003 @@ -61,6 +62,7 @@ position: 2 tags: - managed-by-osism + - managed-by-ironic - device: name: com0005 @@ -74,6 +76,7 @@ position: 3 tags: - managed-by-osism + - managed-by-ironic - device: name: com0007 @@ -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 diff --git a/example/resources/300-connections-1000.yml b/example/resources/300-connections-1000.yml index 55c46cd..eab447a 100644 --- a/example/resources/300-connections-1000.yml +++ b/example/resources/300-connections-1000.yml @@ -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