summaryrefslogtreecommitdiffstats
path: root/xci/playbooks/roles/create-nodes/templates/net-mgmt.xml.j2
blob: 4a9964c3fa67bc3cf346073f25cbb0c2158f49cb (plain)
1
2
3
4
5
6
7
8
9
10
11
<network>
  <name>{{ item }}</name>
  <forward mode='route'>
  </forward>
  <bridge name='br-{{ item }}' stp='on' delay='0'/>
  <ip address='{{ opnfv_vm_pdf.interfaces[opnfv_vm_idf.net_config.mgmt.interface].gateway }}' netmask='255.255.255.0'>
     <dhcp>
       <host mac="{{ opnfv_vm_pdf.interfaces[opnfv_vm_idf.net_config.mgmt.interface].mac_address }}" ip="{{ opnfv_vm_pdf.interfaces[opnfv_vm_idf.net_config.mgmt.interface].address }}"/>
     </dhcp>
  </ip>
</network>