ovs-vsctl is how one deletes ports.

If you don't know which ports to delete, you need to ask on an OpenStack
mailing list.  Actually that's the answer to most of your questions--why
haven't you done it yet?

On Thu, Oct 13, 2016 at 02:14:45PM -0400, Gaurav Goyal wrote:
> Actually i am not sure which are bad port and needs to be deleted.
> 
> As per my configuration, i am using
> 
> [root@OSKVM1 nova]# grep -v "^#"
> /etc/neutron/plugins/ml2/openvswitch_agent.ini|grep -v ^$
> [ovs]
> local_ip = 10.24.0.4
> bridge_mappings = external:br-ex
> [agent]
> tunnel_types = gre
> l2_population = False
> [securitygroup]
> [root@OSKVM1 nova]#
> 
> [root@OSKVM1 nova]# grep -v "^#" /etc/neutron/plugins/ml2/ml2_conf.ini|grep
> -v ^$
> [ml2]
> type_drivers = flat,vlan,vxlan,gre
> tenant_network_types = gre
> mechanism_drivers = openvswitch
> [ml2_type_flat]
> flat_networks = external
> [ml2_type_vlan]
> [ml2_type_gre]
> tunnel_id_ranges = 1:1000
> [ml2_type_vxlan]
> [ml2_type_geneve]
> [securitygroup]
> 
> 
> Considering this which ports or bridges must be removed
> 
> On Thu, Oct 13, 2016 at 2:11 PM, Ben Pfaff <b...@ovn.org> wrote:
> 
> > On Thu, Oct 13, 2016 at 01:44:01PM -0400, Gaurav Goyal wrote:
> > > 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 .
> >
> > To delete a port, use "ovs-vsctl del-port".
> >
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to