summaryrefslogtreecommitdiffstats
path: root/deploy
diff options
context:
space:
mode:
Diffstat (limited to 'deploy')
-rw-r--r--deploy/config/vm_environment/zte-virtual1/deploy.yml28
-rw-r--r--deploy/config/vm_environment/zte-virtual1/network.yml60
-rwxr-xr-xdeploy/get_conf.py2
3 files changed, 45 insertions, 45 deletions
diff --git a/deploy/config/vm_environment/zte-virtual1/deploy.yml b/deploy/config/vm_environment/zte-virtual1/deploy.yml
index 5390ecf9..0cb8f62b 100644
--- a/deploy/config/vm_environment/zte-virtual1/deploy.yml
+++ b/deploy/config/vm_environment/zte-virtual1/deploy.yml
@@ -1,20 +1,20 @@
hosts:
- name: 'Node5'
roles:
- - 'CONTROLLER_LB'
- - 'COMPUTER'
+ - 'CONTROLLER_LB'
+ - 'COMPUTER'
ip: '192.168.122.152'
password: 'ossdbg1'
interface:
- - 'ens3':
- - name: 'MANAGEMENT'
- ip: '192.168.122.152'
- - name: 'PUBLICAPI'
- ip:
- - name: 'physnet1'
- ip:
- - name: 'STORAGE'
- ip:
- 'ens8':
- - name: 'EXTERNAL'
- ip:
+ - 'ens3':
+ - name: 'MANAGEMENT'
+ ip: '192.168.122.152'
+ - name: 'PUBLICAPI'
+ ip:
+ - name: 'physnet1'
+ ip:
+ - name: 'STORAGE'
+ ip:
+ - 'ens8':
+ - name: 'EXTERNAL'
+ ip:
diff --git a/deploy/config/vm_environment/zte-virtual1/network.yml b/deploy/config/vm_environment/zte-virtual1/network.yml
index 50fca1be..ea08117d 100644
--- a/deploy/config/vm_environment/zte-virtual1/network.yml
+++ b/deploy/config/vm_environment/zte-virtual1/network.yml
@@ -14,36 +14,36 @@ network-config-metadata:
created: 'Mon Oct 31 2016'
comment:
networks:
-- cidr: '192.168.122.0/24'
- gateway: '192.168.122.1'
- ip_ranges:
- - 'start': '192.168.122.1'
- 'end': '192.168.122.254'
- name: 'MANAGEMENT'
-- cidr: '192.168.122.0/24'
- gateway: '192.168.122.1'
- ip_ranges:
- - start: '192.168.122.1'
- end: '192.168.122.254'
- name: 'STORAGE'
-- cidr: '192.168.2.0/24'
- gateway: '192.168.2.1'
- ip_ranges:
- - 'start': '192.168.2.1'
- 'end': '192.168.2.254'
- 'name': 'EXTERNAL'
-- cidr: '192.168.122.0/24'
- gateway: '192.168.122.1'
- ip_ranges:
- - 'start': '192.168.122.1'
- 'end': '192.168.122.254'
- name: 'PUBLICAPI'
-- cidr: '192.168.122.0/24'
- gateway: '192.168.122.1'
- ip_ranges:
- - 'start': '192.168.122.1'
- 'end': '192.168.122.254'
- name: 'physnet1'
+ - cidr: '192.168.122.0/24'
+ gateway: '192.168.122.1'
+ ip_ranges:
+ - 'start': '192.168.122.1'
+ 'end': '192.168.122.254'
+ name: 'MANAGEMENT'
+ - cidr: '192.168.122.0/24'
+ gateway: '192.168.122.1'
+ ip_ranges:
+ - start: '192.168.122.1'
+ end: '192.168.122.254'
+ name: 'STORAGE'
+ - cidr: '192.168.2.0/24'
+ gateway: '192.168.2.1'
+ ip_ranges:
+ - 'start': '192.168.2.1'
+ 'end': '192.168.2.254'
+ 'name': 'EXTERNAL'
+ - cidr: '192.168.122.0/24'
+ gateway: '192.168.122.1'
+ ip_ranges:
+ - 'start': '192.168.122.1'
+ 'end': '192.168.122.254'
+ name: 'PUBLICAPI'
+ - cidr: '192.168.122.0/24'
+ gateway: '192.168.122.1'
+ ip_ranges:
+ - 'start': '192.168.122.1'
+ 'end': '192.168.122.254'
+ name: 'physnet1'
internal_vip: '192.168.122.144'
diff --git a/deploy/get_conf.py b/deploy/get_conf.py
index 31ccaca0..d2b505c8 100755
--- a/deploy/get_conf.py
+++ b/deploy/get_conf.py
@@ -76,7 +76,7 @@ def network(s, seq, network=None):
@hostdecorator
def interface(s, seq, host=None):
hostname = host.get('name', '')
- interface = host.get('interface', '')[0]
+ interface = host.get('interface', '')
map = {}
map[hostname] = interface
return map