Provider network and dnsmaq conf improvment
When dhcp server is launch, now dns servers and default routes can be progated to a vm.
A qrouter is created inside a namespace allowing connections with a provider network and a openvim tenant network.
Change-Id: If2becc010b2886493396c9f6b363980a846a04da
Signed-off-by: mirabal <leonardo.mirabal@altran.com>
diff --git a/test/networks/net-example5.yaml b/test/networks/net-example5.yaml
new file mode 100644
index 0000000..8dc865c
--- /dev/null
+++ b/test/networks/net-example5.yaml
@@ -0,0 +1,20 @@
+network:
+ name: mgmt
+ type: bridge_man
+ shared: True
+ cidr: 192.168.11.0/24
+ enable_dhcp: True
+ dhcp_first_ip: 192.168.11.16
+ dhcp_last_ip: 192.168.11.200
+ dns:
+ - 8.8.8.8
+ - 8.8.4.4
+ links:
+ - nat: 10.250.0.3/24
+ iface: bridge-osm # Needs to be create in advance by the user
+ - nat: 10.90.80.5/24
+ iface: bridge-internet # Needs to be create in advance by the user
+ - iface: bridge-private # Needs to be create in advance by the user
+ routes:
+ default: 192.168.11.1 # route will be propagate via dhcp server, GW can not be in the dhcp range
+ 10.90.80.0/24: 192.168.11.20 # route will be propagate via dhcp server