[Openstack] How to remove un-used tunning ports on OVS

Li, Chen chen.li at intel.com
Thu Jan 2 05:13:34 UTC 2014


Hi list,

I'm working under CentOS 6.4 + Havana + OVS.

First, I try to enable gre/vxlan, make sure it can work.
So, I set local_ip = 192.168.11.101 (the management IP address) in /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini.

Then, I add a new NIC card to my compute node and network node, and assigned a new IP address to the new NIC = > 192.101.11.101.

But, after I edit ovs_neutron_plugin.ini and restart openvswitch-agent, I get:

ovs-vsctl show
d4c41787-8313-49a1-9fa8-1e34f7fa2086
    Bridge br-tun
        Port "vxlan-192.101.11.201"
            Interface "vxlan-192.101.11.201"
                type: vxlan
                options: {dst_port="8472", in_key=flow, local_ip="192.101.11.101", out_key=flow, remote_ip="192.101.11.201"}
        Port "gre-192.101.11.201"
            Interface "gre-192.101.11.201"
                type: gre
                options: {in_key=flow, local_ip="192.101.11.101", out_key=flow, remote_ip="192.101.11.201"}
        Port "gre-192.168.11.201"
            Interface "gre-192.168.11.201"
                type: gre
                options: {in_key=flow, local_ip="192.101.11.101", out_key=flow, remote_ip="192.168.11.201"}
        Port br-tun
            Interface br-tun
                type: internal
        Port "vxlan-192.168.11.101"
            Interface "vxlan-192.168.11.101"
                type: vxlan
                options: {dst_port="8472", in_key=flow, local_ip="192.101.11.101", out_key=flow, remote_ip="192.168.11.101"}
        Port patch-int
            Interface patch-int
                type: patch
                options: {peer=patch-tun}
        Port "gre-192.168.11.101"
            Interface "gre-192.168.11.101"
                type: gre
                options: {in_key=flow, local_ip="192.101.11.101", out_key=flow, remote_ip="192.168.11.101"}
        Port "vxlan-192.168.11.201"
            Interface "vxlan-192.168.11.201"
                type: vxlan
                options: {dst_port="8472", in_key=flow, local_ip="192.101.11.101", out_key=flow, remote_ip="192.168.11.201"}
    Bridge br-int
        Port br-int
            Interface br-int
                type: internal
        Port patch-tun
            Interface patch-tun
                type: patch
                options: {peer=patch-int}
        Port "qvo69786a37-83"
            tag: 1
            Interface "qvo69786a37-83"
ovs_version: "1.11.0"


Anyone know why this happen ???
How can I remove the wrong port ???
Re-start neutron-openvswitch-agent is not work !!!

Thanks.
-chen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140102/6298702d/attachment.html>


More information about the Openstack mailing list