Armada: Add neutron network information in kubespray inventory

For armada, we need the neutron external interface information,
and that information is already fetched in get-baremetal-info role.
This patch adds that information into kubespray inventory also,
so that it is available later for armada scenario.

Change-Id: Iba8f8c0bff1e58ca23dda954feeb460c2420cbe6
diff --git a/playbooks/roles/generate-inventory/templates/inventory_kubespray.ini.j2 b/playbooks/roles/generate-inventory/templates/inventory_kubespray.ini.j2
index 4076dac..05f27c2 100644
--- a/playbooks/roles/generate-inventory/templates/inventory_kubespray.ini.j2
+++ b/playbooks/roles/generate-inventory/templates/inventory_kubespray.ini.j2
@@ -1,11 +1,14 @@
 [all:vars]
 ansible_ssh_extra_args=' -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null'
+neutron_network={{ idf.net_config.neutron.network }}
+neutron_netmask={{ idf.net_config.neutron.mask }}
 
 [baremetal]
 {% for node in nodes %}
 {% set ansible_host = node.interfaces[idf.net_config[engine.pxe_network].interface].address %}
 {% set ip = node.interfaces[idf.net_config[engine.kubespray_network | default('public')].interface].address %}
-{{ idf[installer_type].hostnames[node.name] }} ansible_host={{ ansible_host }} ip={{ ip }} ansible_user=root
+{% set ansible_hostname = idf[installer_type].hostnames[node.name] %}
+{{ ansible_hostname }} ansible_host={{ ansible_host }} ip={{ ip }} ansible_user=root neutron_external_interface={{hostvars[ansible_hostname].neutron_ifname}}
 {% endfor %}
 
 [localhost]