blob: febe836959eda87d6b47a4d63b9a984a3a1ee41d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/bash
source /root/openrc
openstack --insecure network create --external \
--provider-physical-network flat \
--provider-network-type flat {{ external_network }}
openstack --insecure subnet create --network {{ external_network }} \
--allocation-pool {{ allocation_pool }} \
--subnet-range {{ subnet_cidr }} --gateway {{ gateway_ip }} \
--no-dhcp {{ subnet_name }}
|