Changing Existing tenant network type.

asked 2018-05-29 03:25:23 -0500

nahian gravatar image

I am using Openstack kolla-ansible queens version.

I have created 2 instances with different tenant network type.

Instance1 > tenant_network_type: VXLAN

Instance2 > tenant_network_type: GRE

(it is for test purpose, we all know both are the same tunneling mechanism)

Both networks work fine and can connect to the internet.

Now I need to CHANGE these EXISTING TENANT NETWORK TYPE, Let's say

Instance1 to GRE

Instance2 to VXLAN

Kolla-ansible reconfigure does not have such option yet, (I didn't find anyway)

So I am planning to change it Manually like following:

option 1: Creating a new ovs vxlan port on the network node, Unbound the previous Insance1 interface with GRE ovs port and bound it to the new vxlan port. Then run kolla reconfigure and neutron-db-manage update head.

option2: Access the mysql openstack neutron database, and change the tenant network type and pass any API call to make changes on corresponding nodes (network/compute) that are needed.

Ques: Are those options feasible to do? If yes,

Will Option1 work perfectly as mentioned or I need to consider more things here?

Option2 is my hypothetical, how to do that exactly if anyone knows?

edit retag flag offensive close merge delete