[ovs-discuss] Help for removing unwanted configuration from ovs

Gaurav Goyal er.gauravgoyal at gmail.com
Thu Oct 13 17:44:01 UTC 2016


Dear All,

I am using openvswitch.
Initially i had done some wrong configuration using vxlan.

Now i am using gre for tunneling. But i could still see vxlan ports in
ovs-vsctl show output.

Is there any option can can read current configuration files and remove the
non required configuration from ovs-vsctl .

I mean i am looking for reset option.


[root at OSKVM1 nova]# ovs-vsctl show
602ca311-4ebe-4773-8d58-00d1a0161294
    Bridge br-int
        fail_mode: secure
        Port patch-tun
            Interface patch-tun
                type: patch
                options: {peer=patch-int}
        Port br-int
            Interface br-int
                type: internal
        Port "qr-2fdc65ca-3a"
            tag: 2
            Interface "qr-2fdc65ca-3a"
                type: internal
        Port int-br-ex
            Interface int-br-ex
                type: patch
                options: {peer=phy-br-ex}
        Port "tap4763d73b-95"
            tag: 1
            Interface "tap4763d73b-95"
                type: internal
        Port "qg-a690c808-49"
            tag: 1
            Interface "qg-a690c808-49"
                type: internal
        Port "tape364c044-4f"
            tag: 2
            Interface "tape364c044-4f"
                type: internal
    Bridge br-ex
        Port "p5p2"
            Interface "p5p2"
        Port phy-br-ex
            Interface phy-br-ex
                type: patch
                options: {peer=int-br-ex}
        Port br-ex
            Interface br-ex
                type: internal
    Bridge br-tun
        fail_mode: secure
        Port "vxlan-0a180005"
            Interface "vxlan-0a180005"
                type: vxlan
                options: {df_default="true", in_key=flow,
local_ip="10.24.0.4", out_key=flow, remote_ip="10.24.0.5"}
        Port br-tun
            Interface br-tun
                type: internal
        Port "gre-0a180005"
            Interface "gre-0a180005"
                type: gre
                options: {df_default="true", in_key=flow,
local_ip="10.24.0.4", out_key=flow, remote_ip="10.24.0.5"}
        Port patch-int
            Interface patch-int
                type: patch
                options: {peer=patch-tun}
    ovs_version: "2.5.0"
[root at OSKVM1 nova]#
[root at OSKVM1 ~]# nova list



Regards
Gaurav Goyal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20161013/d3d96e6d/attachment-0002.html>


More information about the discuss mailing list