Merge "Updated fuel adapter (ODL)" into stable/euphrates
authorJack Morgan <jack.morgan@intel.com>
Thu, 14 Dec 2017 01:11:13 +0000 (01:11 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Thu, 14 Dec 2017 01:11:13 +0000 (01:11 +0000)
1  2 
config/installers/fuel/pod_config.yml.j2

      {%- set net_private = '10.1.0.0' -%}
      {%- set net_public = '172.30.10.0' -%}
      {%- set vlan_mgmt = '300' -%}
 -    {%- set vlan_private = '302' -%}
 +    {%- set vlan_private = '1000' -%}
  {%- endif -%}
  
- {%- if conf.net_config.public.dns is defined -%}
-     {%- set dns_public = conf['net_config']['public']['dns'] -%}
- {%- else -%}
+ {%- if dns_public is not defined -%}
      {%- set dns_public = [ '8.8.8.8', '8.8.4.4' ] -%}
  {%- endif -%}
  
@@@ -76,11 -78,11 +79,11 @@@ parameters
      opnfv_name_servers: {{ dns_public }}
      opnfv_dns_server01: '{{ dns_public[0] }}'
  
-     opnfv_net_mgmt_vlan: {{ conf['net_config']['mgmt']['vlan'] }}
-     opnfv_net_tenant_vlan: {{ conf['net_config']['private']['vlan'] }}
+     opnfv_net_mgmt_vlan: {{ vlan_mgmt }}
+     opnfv_net_tenant_vlan: {{ vlan_private }}
  
      opnfv_maas_node01_architecture: '{{ conf['nodes'][0]['node']['arch'] | dpkg_arch }}/generic'
 -    opnfv_maas_node01_power_address: {{ conf['nodes'][0]['remote_management']['address'] }}
 +    opnfv_maas_node01_power_address: {{ conf['nodes'][0]['remote_management']['address'].rsplit('/')[0]}}
      opnfv_maas_node01_power_type: {{ conf['nodes'][0]['remote_management']['type'] }}
      opnfv_maas_node01_power_user: {{ conf['nodes'][0]['remote_management']['user'] }}
      opnfv_maas_node01_power_password: {{ conf['nodes'][0]['remote_management']['pass'] }}