From: Narinder Gupta Date: Wed, 15 Mar 2017 21:05:31 +0000 (-0500) Subject: modfiied to corner the concerns of Orange labs. X-Git-Tag: danube.1.0~8 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=546de57f6e58e763b26906b6f22c5f7795615734;p=joid.git modfiied to corner the concerns of Orange labs. Change-Id: I82125424714ce5083f045224f8fc9fa4c7a0edc2 Signed-off-by: Narinder Gupta (cherry picked from commit cb6d37a8b4f7762fbd254e9870a19c2c4d865553) --- diff --git a/ci/config_tpl/juju2/bundle_tpl/aodh.yaml b/ci/config_tpl/juju2/bundle_tpl/aodh.yaml index 6abc6d78..49117901 100644 --- a/ci/config_tpl/juju2/bundle_tpl/aodh.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/aodh.yaml @@ -4,17 +4,12 @@ {% if os.service.bindings %} bindings: internal: internal-api + admin: internal-api shared-db: internal-api {% if opnfv.spaces_dict.public is defined %} public: public-api -{% if opnfv.spaces_dict.data is defined %} - admin: admin-api -{% else %} - admin: internal-api -{% endif %} {% else %} public: internal-api - admin: internal-api {% endif %} {% endif %} options: diff --git a/ci/config_tpl/juju2/bundle_tpl/ceilometer.yaml b/ci/config_tpl/juju2/bundle_tpl/ceilometer.yaml index 528d605a..5c52d91d 100644 --- a/ci/config_tpl/juju2/bundle_tpl/ceilometer.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/ceilometer.yaml @@ -14,15 +14,10 @@ bindings: shared-db: internal-api internal: internal-api + admin: internal-api {% if opnfv.spaces_dict.public is defined %} public: public-api -{% if opnfv.spaces_dict.data is defined %} - admin: admin-api {% else %} - admin: internal-api -{% endif %} -{% else %} - admin: internal-api public: internal-api {% endif %} {% endif %} diff --git a/ci/config_tpl/juju2/bundle_tpl/ceph.yaml b/ci/config_tpl/juju2/bundle_tpl/ceph.yaml index f3c35d05..dc4e101b 100644 --- a/ci/config_tpl/juju2/bundle_tpl/ceph.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/ceph.yaml @@ -110,16 +110,11 @@ {% if os.service.bindings %} bindings: internal: internal-api + admin: internal-api {% if opnfv.spaces_dict.public is defined %} public: public-api -{% if opnfv.spaces_dict.data is defined %} - admin: admin-api -{% else %} - admin: internal-api -{% endif %} {% else %} public: internal-api - admin: internal-api {% endif %} {% endif %} options: diff --git a/ci/config_tpl/juju2/bundle_tpl/cinder.yaml b/ci/config_tpl/juju2/bundle_tpl/cinder.yaml index d350edce..8b26e25e 100644 --- a/ci/config_tpl/juju2/bundle_tpl/cinder.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/cinder.yaml @@ -8,17 +8,12 @@ {% if os.service.bindings %} bindings: internal: internal-api + admin: internal-api shared-db: internal-api {% if opnfv.spaces_dict.public is defined %} public: public-api -{% if opnfv.spaces_dict.data is defined %} - admin: admin-api -{% else %} - admin: internal-api -{% endif %} {% else %} public: internal-api - admin: internal-api {% endif %} {% endif %} options: diff --git a/ci/config_tpl/juju2/bundle_tpl/congress.yaml b/ci/config_tpl/juju2/bundle_tpl/congress.yaml index e9a549db..d2dcdaaf 100644 --- a/ci/config_tpl/juju2/bundle_tpl/congress.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/congress.yaml @@ -4,17 +4,12 @@ {% if os.service.bindings %} bindings: internal: internal-api + admin: internal-api shared-db: internal-api {% if opnfv.spaces_dict.public is defined %} public: public-api -{% if opnfv.spaces_dict.data is defined %} - admin: admin-api -{% else %} - admin: internal-api -{% endif %} {% else %} public: internal-api - admin: internal-api {% endif %} {% endif %} options: diff --git a/ci/config_tpl/juju2/bundle_tpl/glance.yaml b/ci/config_tpl/juju2/bundle_tpl/glance.yaml index a34a0f0b..3329ea40 100644 --- a/ci/config_tpl/juju2/bundle_tpl/glance.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/glance.yaml @@ -4,17 +4,12 @@ {% if os.service.bindings %} bindings: internal: internal-api + admin: internal-api shared-db: internal-api {% if opnfv.spaces_dict.public is defined %} public: public-api -{% if opnfv.spaces_dict.data is defined %} - admin: admin-api -{% else %} - admin: internal-api -{% endif %} {% else %} public: internal-api - admin: internal-api {% endif %} {% endif %} options: diff --git a/ci/config_tpl/juju2/bundle_tpl/heat.yaml b/ci/config_tpl/juju2/bundle_tpl/heat.yaml index 5e03b1f7..21b2479c 100644 --- a/ci/config_tpl/juju2/bundle_tpl/heat.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/heat.yaml @@ -4,17 +4,12 @@ {% if os.service.bindings %} bindings: internal: internal-api + admin: internal-api shared-db: internal-api {% if opnfv.spaces_dict.public is defined %} public: public-api -{% if opnfv.spaces_dict.data is defined %} - admin: admin-api -{% else %} - admin: internal-api -{% endif %} {% else %} public: internal-api - admin: internal-api {% endif %} {% endif %} options: diff --git a/ci/config_tpl/juju2/bundle_tpl/keystone.yaml b/ci/config_tpl/juju2/bundle_tpl/keystone.yaml index 06499b4f..4f81dc5f 100644 --- a/ci/config_tpl/juju2/bundle_tpl/keystone.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/keystone.yaml @@ -4,17 +4,12 @@ {% if os.service.bindings %} bindings: internal: internal-api + admin: internal-api shared-db: internal-api {% if opnfv.spaces_dict.public is defined %} public: public-api -{% if opnfv.spaces_dict.data is defined %} - admin: admin-api -{% else %} - admin: internal-api -{% endif %} {% else %} public: internal-api - admin: internal-api {% endif %} {% endif %} options: diff --git a/ci/config_tpl/juju2/bundle_tpl/neutron-api.yaml b/ci/config_tpl/juju2/bundle_tpl/neutron-api.yaml index d25a23e9..0febddd1 100644 --- a/ci/config_tpl/juju2/bundle_tpl/neutron-api.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/neutron-api.yaml @@ -4,17 +4,12 @@ {% if os.service.bindings %} bindings: internal: internal-api + admin: internal-api shared-db: internal-api {% if opnfv.spaces_dict.public is defined %} public: public-api -{% if opnfv.spaces_dict.data is defined %} - admin: admin-api -{% else %} - admin: internal-api -{% endif %} {% else %} public: internal-api - admin: internal-api {% endif %} {% endif %} options: diff --git a/ci/config_tpl/juju2/bundle_tpl/nova-cloud-controller.yaml b/ci/config_tpl/juju2/bundle_tpl/nova-cloud-controller.yaml index 2f21edf1..b5fdb103 100644 --- a/ci/config_tpl/juju2/bundle_tpl/nova-cloud-controller.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/nova-cloud-controller.yaml @@ -4,17 +4,12 @@ {% if os.service.bindings %} bindings: internal: internal-api + admin: internal-api shared-db: internal-api {% if opnfv.spaces_dict.public is defined %} public: public-api -{% if opnfv.spaces_dict.data is defined %} - admin: admin-api -{% else %} - admin: internal-api -{% endif %} {% else %} public: internal-api - admin: internal-api {% endif %} {% endif %} options: diff --git a/ci/config_tpl/juju2/bundle_tpl/openstack-dashboard.yaml b/ci/config_tpl/juju2/bundle_tpl/openstack-dashboard.yaml index eec485eb..bf0ac99d 100644 --- a/ci/config_tpl/juju2/bundle_tpl/openstack-dashboard.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/openstack-dashboard.yaml @@ -4,7 +4,11 @@ {% if os.service.bindings %} bindings: shared-db: internal-api +{% if opnfv.spaces_dict.public is defined %} + website: public-api +{% else %} website: internal-api +{% endif %} {% if os.ha.mode == 'ha' %} cluster: internal-api {% endif %} diff --git a/labconfig/orange/pod2/labconfig.yaml b/labconfig/orange/pod2/labconfig.yaml index 98e7ec64..5d19043f 100644 --- a/labconfig/orange/pod2/labconfig.yaml +++ b/labconfig/orange/pod2/labconfig.yaml @@ -5,157 +5,142 @@ lab: nodes: - name: rack-2-m1 architecture: x86_64 - roles: [compute,storage] + roles: [compute] nics: - - ifname: eth0 + - ifname: eno1 spaces: [admin] - mac: ["38:63:bb:3f:bc:c8"] - - ifname: eth5 + mac: ["38:63:bb:3f:1d:8c"] + - ifname: ens3f0.2056 + spaces: [public] + mac: ["a0:36:9f:4e:88:38"] + - ifname: ens3f0 + spaces: [floating] + mac: ["a0:36:9f:4e:88:38"] + - ifname: ens3f1 spaces: [data] - mac: ["a0:36:9f:4e:88:5e"] - - ifname: eth4 - spaces: [storage] - mac: ["a0:36:9f:4e:88:5c"] + mac: ["a0:36:9f:4e:88:3a"] power: type: ipmi - address: 192.168.2.11 + address: 10.0.0.16 user: Administrator - pass: pod2Admin + pass: opnfv2017 - name: rack-2-m2 architecture: x86_64 - roles: [compute,storage] + roles: [compute] nics: - - ifname: eth0 + - ifname: eno1 spaces: [admin] mac: ["38:63:bb:44:34:84"] - - ifname: eth5 + - ifname: ens3f0.2056 + spaces: [public] + mac: ["a0:36:9f:4e:8b:0c"] + - ifname: ens3f0 + spaces: [floating] + mac: ["a0:36:9f:4e:8b:0c"] + - ifname: ens3f1 spaces: [data] mac: ["a0:36:9f:4e:8b:0e"] - - ifname: eth4 - spaces: [storage] - mac: ["a0:36:9f:4e:8b:0c"] power: type: ipmi - address: 192.168.2.12 + address: 10.0.0.17 user: Administrator - pass: pod2Admin + pass: opnfv2017 - name: rack-2-m3 architecture: x86_64 - roles: [compute,storage] + roles: [compute] nics: - - ifname: eth0 + - ifname: eno1 spaces: [admin] - mac: ["38:63:bb:3f:1d:8c"] - - ifname: eth5 + mac: ["38:63:bb:3f:bc:c8"] + - ifname: ens3f0.2056 + spaces: [public] + mac: ["a0:36:9f:4e:88:5c"] + - ifname: ens3f0 + spaces: [floating] + mac: ["a0:36:9f:4e:88:5c"] + - ifname: ens3f1 spaces: [data] - mac: ["a0:36:9f:4e:88:3a"] - - ifname: eth4 - spaces: [storage] - mac: ["a0:36:9f:4e:88:38"] + mac: ["a0:36:9f:4e:88:5e"] power: type: ipmi - address: 192.168.2.13 + address: 10.0.0.18 user: Administrator - pass: pod2Admin + pass: opnfv2017 - name: rack-2-m4 architecture: x86_64 - roles: [compute,storage] + roles: [compute] nics: - - ifname: eth0 + - ifname: eno1 spaces: [admin] - mac: ["38:63:bb:3f:2d:a8"] - - ifname: eth5 + mac: ["1c:98:ec:1c:5d:88"] + - ifname: ens3f0.2056 + spaces: [public] + mac: ["a0:36:9f:1f:67:1c"] + - ifname: ens3f0 + spaces: [floating] + mac: ["a0:36:9f:1f:67:1c"] + - ifname: ens3f1 spaces: [data] - mac: ["a0:36:9f:4e:8b:18"] - - ifname: eth4 - spaces: [storage] - mac: ["a0:36:9f:4e:8b:1a"] + mac: ["a0:36:9f:1f:67:1e"] power: type: ipmi - address: 192.168.2.14 + address: 10.0.0.29 user: Administrator - pass: pod2Admin + pass: opnfv2017 - name: rack-2-m5 architecture: x86_64 roles: [network,control] nics: - - ifname: eth0 - spaces: [admin] - mac: ["94:57:a5:52:c9:48"] - - ifname: eth3 - spaces: [data] - mac: ["94:57:a5:52:c9:4b"] - - ifname: eth2 - spaces: [storage] - mac: ["94:57:a5:52:c9:4a"] - power: - type: ipmi - address: 192.168.2.15 - user: Administrator - pass: pod2Admin - - name: rack-2-m6 - architecture: x86_64 - roles: [control,compute] - nics: - - ifname: eth0 + - ifname: eno1 spaces: [admin] - mac: ["94:57:a5:52:63:b0"] - - ifname: eth3 + mac: ["1c:98:ec:1d:84:7c"] + - ifname: ens3f0.2056 + spaces: [public] + mac: ["a0:36:9f:1f:66:a4"] + - ifname: ens3f0 + spaces: [floating] + mac: ["a0:36:9f:1f:66:a4"] + - ifname: ens3f1 spaces: [data] - mac: ["94:57:a5:52:63:b3"] - - ifname: eth2 - spaces: [storage] - mac: ["94:57:a5:52:63:b2"] + mac: ["a0:36:9f:1f:66:a6"] power: type: ipmi - address: 192.168.2.16 + address: 10.0.0.30 user: Administrator - pass: pod2Admin - - name: rack-2-m7 - architecture: x86_64 - roles: [control,compute] - nics: - - ifname: eth0 - spaces: [admin] - mac: ["94:57:a5:52:f1:80"] - - ifname: eth3 - spaces: [data] - mac: ["94:57:a5:52:f1:83"] - - ifname: eth2 - spaces: [storage] - mac: ["94:57:a5:52:f1:82"] - power: - type: ipmi - address: 192.168.2.17 - user: Administrator - pass: pod2Admin - floating-ip-range: 161.105.231.2,161.105.231.62,161.105.231.1,161.105.231.0/26 - ext-port: "br-eth1" - dns: 192.168.2.1 - osdomainname: pod2.opnfv.fr + pass: opnfv2017 + floating-ip-range: 161.105.231.4,161.105.231.62,161.105.231.1,161.105.231.0/26 + ext-port: "ens3f0" + dns: 10.2.0.1 + osdomainname: opnfv: release: c - distro: trusty + distro: xenial type: nonha - openstack: liberty + openstack: newton sdncontroller: - type: nosdn storage: - type: ceph - disk: /dev/sdb /dev/sdc + disk: /dev/sdb feature: odl_l2 spaces: - type: admin bridge: brAdm - cidr: 192.168.2.0/24 - gateway: 192.168.2.1 + cidr: 10.2.0.0/24 + gateway: 10.2.0.1 vlan: - type: data bridge: brData - cidr: 192.168.12.0/24 + cidr: 10.2.3.0/24 + gateway: + vlan: + - type: public + bridge: brApi + cidr: 10.2.1.0/24 gateway: vlan: - - type: storage - bridge: brStorage - cidr: 192.168.22.0/24 + - type: floating + bridge: brFloating + cidr: gateway: + vlan: