From a6c1095d42a5e361c6c2cdaca932ed03c90b00e4 Mon Sep 17 00:00:00 2001 From: Martin Cuchran <cuchy@Martins-MacBook-Pro-4.local> Date: Mon, 6 Feb 2017 16:23:29 +0100 Subject: [PATCH] network fixed --- Openstack/pv176_network.yaml | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/Openstack/pv176_network.yaml b/Openstack/pv176_network.yaml index b0b88cd..c13350d 100644 --- a/Openstack/pv176_network.yaml +++ b/Openstack/pv176_network.yaml @@ -14,4 +14,30 @@ resources: dns_nameservers: [ "147.251.4.3", "8.8.8.8" ] ip_version: 4 enable_dhcp: false - name: PV176-private-subnet \ No newline at end of file + name: PV176-private-subnet + + internal_router: + type: OS::Neutron::Router + properties: + external_gateway_info: { network: public-float-21 } + name: PV176-router + + internal_interface: + type: OS::Neutron::RouterInterface + properties: + router_id: { get_resource: internal_router } + subnet: { get_resource: internal_subnet } + + full_access_secgroup: + type: OS::Neutron::SecurityGroup + properties: + name: PV176-security-group-MUNI + rules: + - protocol: tcp + remote_ip_prefix: 147.251.0.0/16 + port_range_min: 1 + port_range_max: 65000 + - protocol: tcp + remote_ip_prefix: 10.0.0.0/8 + port_range_min: 1 + port_range_max: 65000 \ No newline at end of file -- GitLab