<div dir="ltr">Hi Geraint, <br><br>Most plugins don't support updating the network_type unfortunately. You could probably get away with updating the network_type in the database. That said if you are switching from gre to vlans you'll end up having downtime so it probably makes more sense to write a script that recreates the networks using vlans instead with the same mac and port info rather than figuring out how to change the db.<br>
<br>Aaron <br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Oct 15, 2013 at 10:15 AM, Geraint Jones <span dir="ltr"><<a href="mailto:geraint@koding.com" target="_blank">geraint@koding.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-size:14px;font-family:Calibri,sans-serif;word-wrap:break-word"><div><div><div>Thanks for that, reading it makes me think I will need to update at least some stuff.</div>
<div><br></div><div>Okay so an example of one of my current networks looks like this :</div><div><br></div><div><div>+---------------------------+--------------------------------------+</div><div>| Field | Value |</div>
<div>+---------------------------+--------------------------------------+</div><div>| admin_state_up | True |</div><div>| id | 51efc95c-3791-4ca7-ad83-47a0e9b1d550 |</div>
<div>| name | Application Servers |</div><div>| provider:network_type | gre |</div><div>| provider:physical_network | |</div>
<div>| provider:segmentation_id | 7 |</div><div>| router:external | False |</div><div>| shared | False |</div>
<div>| status | ACTIVE |</div><div>| subnets | 2caa6e3c-45ce-4021-9afa-19133c0d4b5e |</div><div>| tenant_id | 59a2d92051fe417f90539622d61951d0 |</div>
<div>+---------------------------+———————————————————+</div></div><div><br></div><div>Clearly those will not come up post migration,</div><div><br></div><div>Do I just need to do quantum net-update 51efc95c-3791-4ca7-ad83-47a0e9b1d550 —provider:network_type vlan —provider:physical_network physnet —provider:segmentation_id 107</div>
<div class="im"><div><br></div><div>?</div><div><div><div>-- </div><div>Geraint Jones</div></div><div>Director of Systems & Infrastructure</div><div>Koding </div><div><a href="https://koding.com" target="_blank">https://koding.com</a></div>
<div><a href="mailto:geraint@koding.com" target="_blank">geraint@koding.com</a></div><div>M (NZ) <a href="tel:%2B64%2022%20123%204626" value="+64221234626" target="_blank">+64 22 123 4626</a></div><div>M (US) <a href="tel:%2B1%20415%20316%208027" value="+14153168027" target="_blank">+1 415 316 8027</a></div>
</div></div></div></div><div><br></div><span><div style="border-right:medium none;padding-right:0in;padding-left:0in;padding-top:3pt;text-align:left;font-size:11pt;border-bottom:medium none;font-family:Calibri;border-top:#b5c4df 1pt solid;padding-bottom:0in;border-left:medium none">
<span style="font-weight:bold">From: </span> Rahul Sharma <<a href="mailto:rahulsharmaait@gmail.com" target="_blank">rahulsharmaait@gmail.com</a>><br><span style="font-weight:bold">Date: </span> Monday, 14 October 2013 11:02 pm<br>
<span style="font-weight:bold">To: </span> Geraint Jones <<a href="mailto:geraint@koding.com" target="_blank">geraint@koding.com</a>><br><span style="font-weight:bold">Cc: </span> openstack <<a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>><br>
<span style="font-weight:bold">Subject: </span> Re: [Openstack] Migration from OVS-GRE to OVS-VLAN<br></div><div><div class="h5"><div><br></div><div dir="ltr"><div>Hi Geraint,<br><br></div><div>You missed one line which also needs to be added:-<br>
</div><div>bridge_mappings = physnet:br-eth1<br><br></div><div>Here, br-eth1 does the similar kind of task which br-tun was doing in GRE mode, but with different internal working. For more details, please refer to this guide:-<br>
<a href="http://docs.openstack.org/trunk/openstack-network/admin/content/under_the_hood_openvswitch.html" target="_blank">http://docs.openstack.org/trunk/openstack-network/admin/content/under_the_hood_openvswitch.html</a><br>
<br></div><div>
There is no need to change anything in MySql database.<br></div><div><br></div><div>Thanks and Regards<br>Rahul Sharma<br></div><div><br><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Oct 15, 2013 at 12:24 AM, Geraint Jones <span dir="ltr"><<a href="mailto:geraint@koding.com" target="_blank">geraint@koding.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-size:14px;font-family:Calibri,sans-serif;word-wrap:break-word"><div>Hi Guys</div><div><br></div><div>
We are currently using OVS-GRE in our environment configured as below :</div><div><br></div><div><div>tenant_network_type = gre</div><div>tunnel_id_ranges = 1:1000</div><div>integration_bridge = br-int</div><div>tunnel_bridge = br-tun</div>
<div>local_ip = 192.168.52.12</div><div>enable_tunneling = True</div></div><div><br></div><div><br></div><div>If I change this to :</div><div><br></div><div><div>tenant_network_type = vlan</div><div>network_vlan_ranges = physnet:200:400</div>
<div>integration_bridge = br-int</div><div><br></div></div><div><br></div><div>If I then trunk vl 200 – 400 to the interfaces bound to br-int what else will I need to change ? Anything in MySQL ?</div><div><br></div><div>
Thanks</div><span><font color="#888888"><div><br></div><div><div><div>-- </div><div>Geraint Jones</div></div><div>Director of Systems & Infrastructure</div><div>Koding </div><div><a href="https://koding.com" target="_blank">https://koding.com</a></div>
<div><a href="mailto:geraint@koding.com" target="_blank">geraint@koding.com</a></div><div>M (NZ) <a href="tel:%2B64%2022%20123%204626" value="+64221234626" target="_blank">+64 22 123 4626</a></div><div>M (US) <a href="tel:%2B1%20415%20316%208027" value="+14153168027" target="_blank">+1 415 316 8027</a></div>
</div></font></span></div><br>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br><br></blockquote></div><br></div></div></div></span></div>
<br>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br></div>