Difference between revisions of "VScaler: Adding provider (external) networks"

From Define Wiki
Jump to navigation Jump to search
(Created page with "== First Provider Network == After kolla deploys successfully, you need to edit the <tt>/usr/share/kolla-ansible/init-runonce</tt> file to add the first provider (external) n...")
(No difference)

Revision as of 17:16, 18 January 2018

First Provider Network

After kolla deploys successfully, you need to edit the /usr/share/kolla-ansible/init-runonce file to add the first provider (external) network.

Additional Provider Networks

If the additional subnet is hosted on the same physical interface as the first one then run this script:

export EXT_NET_CIDR='185.93.31.32/27'
export EXT_NET_RANGE='start=185.93.31.34,end=185.93.31.62'
export EXT_NET_GATEWAY='185.93.31.33'

openstack subnet create --no-dhcp \
    --allocation-pool ${EXT_NET_RANGE} --network ext-net \
    --subnet-range ${EXT_NET_CIDR} --gateway ${EXT_NET_GATEWAY} ext-subnet2

Where all the variables are for the new subnet and ext-net is the name of the first external network you've added with init-runonce (its name is public1 by default)