Mailing List Archive

[tripleo] What is the proper way to use NetConfigDataLookup?
What is the proper way to use NetConfigDataLookup? I tried the following:

(undercloud) [stack@oscloud5 ~]$ cat << '__EOF__' >
~/templates/mapping-info.yaml
parameter_defaults:
NetConfigDataLookup:
control1:
nic1: '5c:f3:fc:36:dd:68'
nic2: '5c:f3:fc:36:dd:6c'
nic3: '6c:ae:8b:29:27:fa' # 9.114.219.34
nic4: '6c:ae:8b:29:27:fb' # 9.114.118.???
nic5: '6c:ae:8b:29:27:fc'
nic6: '6c:ae:8b:29:27:fd'
compute1:
nic1: '6c:ae:8b:25:34:ea' # 9.114.219.44
nic2: '6c:ae:8b:25:34:eb'
nic3: '6c:ae:8b:25:34:ec' # 9.114.118.???
nic4: '6c:ae:8b:25:34:ed'
compute2:
nic1: '00:0a:f7:73:3c:c0'
nic2: '00:0a:f7:73:3c:c1'
nic3: '00:0a:f7:73:3c:c2' # 9.114.118.156
nic4: '00:0a:f7:73:3c:c3' # 9.114.112.???
nic5: '00:0a:f7:73:73:f4'
nic6: '00:0a:f7:73:73:f5'
nic7: '00:0a:f7:73:73:f6' # 9.114.219.134
nic8: '00:0a:f7:73:73:f7'
__EOF__
(undercloud) [stack@oscloud5 ~]$ openstack overcloud deploy --templates -e
~/templates/node-info.yaml -e ~/templates/mapping-info.yaml -e
~/templates/overcloud_images.yaml -e
~/templates/environments/network-environment.yaml -e
~/templates/environments/network-isolation.yaml -e
~/templates/environments/config-debug.yaml --disable-validations
--ntp-server pool.ntp.org --control-scale 1 --compute-scale

But I did not see a /etc/os-net-config/mapping.yaml get created.

Also is this configuration used when the system boots IronicPythonAgent to
provision the disk?

--
Mark

You must be the change you wish to see in the world. -- Mahatma Gandhi
Never let the future disturb you. You will meet it, if you have to, with
the same weapons of reason which today arm you against the present. --
Marcus Aurelius