Merge "Load dns_name to all interfaces instead of just mgmt" into dev/experimental
This commit is contained in:
commit
4419a6d17e
@ -22,15 +22,15 @@
|
||||
#set $rekeyed[$netmask_key] = $val.netmask
|
||||
#set $rekeyed[$mgmt_key] = $val.is_mgmt
|
||||
#set $rekeyed[$static_key] = True
|
||||
#set dns_key = '-'.join(('dnsname', $nic))
|
||||
#set $rekeyed[$dns_key] = $dns
|
||||
|
||||
#if $val.is_promiscuous:
|
||||
#set promic_nic = $nic
|
||||
#end if
|
||||
#if $val.is_mgmt:
|
||||
#set mac_key = '-'.join(('macaddress', $nic))
|
||||
#set dns_key = '-'.join(('dnsname', $nic))
|
||||
#set $rekeyed[$mac_key] = $mac
|
||||
#set $rekeyed[$dns_key] = $dns
|
||||
#end if
|
||||
#end for
|
||||
#set nic_info = json.dumps($rekeyed, encoding='utf-8')
|
||||
|
@ -21,15 +21,15 @@
|
||||
#set $rekeyed[$ip_key] = $val.ip
|
||||
#set $rekeyed[$netmask_key] = $val.netmask
|
||||
#set $rekeyed[$static_key] = True
|
||||
#set dns_key = '-'.join(('dnsname', $nic))
|
||||
#set $rekeyed[$dns_key] = $dns
|
||||
|
||||
#if $val.is_promiscuous:
|
||||
#set promic_nic = $nic
|
||||
#end if
|
||||
#if $val.is_mgmt:
|
||||
#set mac_key = '-'.join(('macaddress', $nic))
|
||||
#set dns_key = '-'.join(('dnsname', $nic))
|
||||
#set $rekeyed[$mac_key] = $mac
|
||||
#set $rekeyed[$dns_key] = $dns
|
||||
#end if
|
||||
#end for
|
||||
#set nic_info = json.dumps($rekeyed, encoding='utf-8')
|
||||
|
Loading…
Reference in New Issue
Block a user