本帖最后由 marsaber 于 2015-1-15 10:03 编辑
之前配置失误,导致br-tun的一个Port是错误的,想删除掉,使用:
ovs-vsctl del-port br-tun gre-c0a8190c
分别在网络节点和计算节点执行,再次查看,没有了。
但是网络节点重启openvswitch服务之后,又再次出现,这个该如何彻底删除啊?
/etc/openvswitch/conf.db:{"_date":1421257057687,"Port":{"60be3cf0-8819-469c-a1bf-898e2c20b4d7":{"name":"gre-c0a8190c","interfaces":["uuid","f81dd3c2-81f9-433d-8d7a-eda190dd7b28"]}},"Interface":{"f81dd3c2-81f9-433d-8d7a-eda190dd7b28":{"options":["map",[["in_key","flow"],["local_ip","172.16.10.21"],["out_key","flow"],["remote_ip","192.168.25.12"]]],"name":"gre-c0a8190c","type":"gre"}},"Bridge":{"ca2e47aa-2652-4446-84e1-7045d82d33ea":{"ports":["set",[["uuid","5548b29f-f4fc-452f-a5ff-981a30b8ea57"],["uuid","591b7fa4-bfeb-4323-b00f-d521ecbb3348"],["uuid","60be3cf0-8819-469c-a1bf-898e2c20b4d7"],["uuid","ef881dd7-53fa-429b-8fd8-c5714432b6a6"]]]}},"_comment":"ovs-vsctl: /usr/bin/ovs-vsctl --timeout=10 -- --may-exist add-port br-tun gre-c0a8190c -- set Interface gre-c0a8190c type=gre options:remote_ip=192.168.25.12 options:local_ip=172.16.10.21 options:in_key=flow options:out_key=flow","Open_vSwitch":{"f2380b5c-7221-41cd-8c38-3aaea0f4f636":{"next_cfg":12}}}
|
-
|