Add OVN chassis macs to hieradata
Add template for hireadata file containing OVN chassis mac mapping. Depends-On: https://review.opendev.org/732175 Change-Id: Id10f4dc7c1faf0b59bcf33dcdd64620558d9f1d5 Related-Bug: #1881593
This commit is contained in:
parent
42737784bc
commit
1884f32a71
@ -45,3 +45,4 @@
|
||||
- service_configs
|
||||
- service_names
|
||||
- vip_data
|
||||
- ovn_chassis_mac_map
|
||||
|
@ -256,7 +256,8 @@ provisioner:
|
||||
validate_ntp: true
|
||||
Standalone:
|
||||
hosts:
|
||||
ubi8: {}
|
||||
ubi8:
|
||||
datacentre: bb:bb:bb:bb:bb:bb
|
||||
log: true
|
||||
env:
|
||||
ANSIBLE_STDOUT_CALLBACK: yaml
|
||||
|
@ -34,7 +34,8 @@ def test_json_render(host):
|
||||
"net_ip_map",
|
||||
"service_configs",
|
||||
"service_names",
|
||||
"vip_data"
|
||||
"vip_data",
|
||||
"ovn_chassis_mac_map"
|
||||
]
|
||||
|
||||
for f in rendered_files:
|
||||
|
@ -0,0 +1 @@
|
||||
{{ hostvars[inventory_hostname]['ovn_chassis_mac_map'] | default({}) | to_nice_json }}
|
Loading…
Reference in New Issue
Block a user