From ea776f2faf1d99c49d3dcf256fd0eda840c83639 Mon Sep 17 00:00:00 2001 From: Yao Lu Date: Thu, 17 Nov 2016 16:02:52 +0800 Subject: add common config and parse it to prepare deploy Change-Id: I864082b885a4c7117f0b546da602e9580e8ccf46 Signed-off-by: Yao Lu --- .../config/vm_environment/zte-virtual1/network.yml | 50 ++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 deploy/config/vm_environment/zte-virtual1/network.yml (limited to 'deploy/config/vm_environment/zte-virtual1/network.yml') diff --git a/deploy/config/vm_environment/zte-virtual1/network.yml b/deploy/config/vm_environment/zte-virtual1/network.yml new file mode 100644 index 00000000..50fca1be --- /dev/null +++ b/deploy/config/vm_environment/zte-virtual1/network.yml @@ -0,0 +1,50 @@ +############################################################################## +# Copyright (c) 2016 ZTE Coreporation and others. +# hu.zhijiang@zte.com.cn +# sun.jing22@zte.com.cn +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + +network-config-metadata: + title: 'zte-virtual1 network config' + version: '0.1' + 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' + +internal_vip: '192.168.122.144' + +public_vip: '192.168.122.144' -- cgit 1.2.3-korg