CORD-1763 Fix CiaB E2E after addresspool change
Change-Id: I8fdc95545a587c70933125a41e0295bb77700cce
diff --git a/roles/cord-profile/templates/cord-services.yaml.j2 b/roles/cord-profile/templates/cord-services.yaml.j2
index bd5fcc7..2662f00 100644
--- a/roles/cord-profile/templates/cord-services.yaml.j2
+++ b/roles/cord-profile/templates/cord-services.yaml.j2
@@ -96,15 +96,15 @@
addresses_vsg:
type: tosca.nodes.AddressPool
properties:
- addresses: 10.7.1.128/26
- gateway_ip: 10.7.1.129
+ addresses: 10.7.1.0/24
+ gateway_ip: 10.7.1.1
gateway_mac: a4:23:05:06:01:01
addresses_public:
type: tosca.nodes.AddressPool
properties:
- addresses: 10.7.1.192/26
- gateway_ip: 10.7.1.193
+ addresses: 10.8.1.0/24
+ gateway_ip: 10.8.1.1
gateway_mac: a4:23:05:06:01:01
label_vsg:
diff --git a/roles/cord-profile/templates/ecord-services.yaml.j2 b/roles/cord-profile/templates/ecord-services.yaml.j2
index 319751a..9362aed 100644
--- a/roles/cord-profile/templates/ecord-services.yaml.j2
+++ b/roles/cord-profile/templates/ecord-services.yaml.j2
@@ -72,15 +72,15 @@
addresses_veg:
type: tosca.nodes.AddressPool
properties:
- addresses: 10.7.1.128/26
- gateway_ip: 10.7.1.129
+ addresses: 10.7.1.0/24
+ gateway_ip: 10.7.1.1
gateway_mac: a4:23:05:06:01:01
addresses_public:
type: tosca.nodes.AddressPool
properties:
- addresses: 10.7.1.192/26
- gateway_ip: 10.7.1.193
+ addresses: 10.8.1.0/24
+ gateway_ip: 10.8.1.1
gateway_mac: a4:23:05:06:01:01
label_veg:
diff --git a/roles/test-exampleservice/tasks/main.yml b/roles/test-exampleservice/tasks/main.yml
index e352009..865631c 100644
--- a/roles/test-exampleservice/tasks/main.yml
+++ b/roles/test-exampleservice/tasks/main.yml
@@ -47,7 +47,7 @@
- skip_ansible_lint # running a sub job
- name: Get public IP of VM
- shell: bash -c "source /opt/cord_profile/admin-openrc.sh; nova interface-list {{ nova_id.stdout }}|grep -o -m 1 '10\.6\.[[:digit:]]*\.[[:digit:]]*'"
+ shell: bash -c "source /opt/cord_profile/admin-openrc.sh; nova interface-list {{ nova_id.stdout }}|grep -o -m 1 '10\.8\.[[:digit:]]*\.[[:digit:]]*'"
register: public_ip
tags:
- skip_ansible_lint # running a sub job