首页 > 其他 > 详细

vtep-ctl del-ls ls0

时间:2020-07-09 18:54:20      阅读:58      评论:0      收藏:0      [点我收藏+]

 

[root@kunpeng82 scripts]# vtep-ctl del-ls ls0
2020-07-09T09:46:02Z|00002|ovsdb_idl|WARN|transaction error: {"details":"cannot delete Logical_Switch row bb0b536c-be0c-400f-9a77-9740d58b9625 because of 1 remaining reference(s)","error":"referential integrity violation"}
vtep-ctl: transaction error: {"details":"cannot delete Logical_Switch row bb0b536c-be0c-400f-9a77-9740d58b9625 because of 1 remaining reference(s)","error":"referential integrity violation"}
[root@kunpeng82 scripts]# 

 

[root@kunpeng82 scripts]# ovsdb-client dump hardware_vtep | grep ls0
bb0b536c-be0c-400f-9a77-9740d58b9625 ""          "ls0" {}           []               33
[root@kunpeng82 scripts]# 

 

[root@kunpeng82 scripts]# ovsdb-client dump hardware_vtep | grep bb0b536c-be0c-400f-9a77-9740d58b9625
bb0b536c-be0c-400f-9a77-9740d58b9625 ""          "ls0" {}           []               33
unknown-dst d3e0f968-7bae-461e-846f-c3e04edbe0c3 ""     1ebdfa17-c86f-4d66-a4b3-6422125fc225 bb0b536c-be0c-400f-9a77-9740d58b9625
[root@kunpeng82 scripts]# vtep-ctl list-local-macs ls0
ucast-mac-local

mcast-mac-local

[root@kunpeng82 scripts]#

 

[root@kunpeng82 scripts]# vtep-ctl list-local-macs ls1
ucast-mac-local

mcast-mac-local

[root@kunpeng82 scripts]# vtep-ctl list-local-macs ls2
ucast-mac-local

mcast-mac-local
  unknown-dst -> vxlan_over_ipv4/192.168.16.81

[root@kunpeng82 scripts]# vtep-ctl del-ls ls0
2020-07-09T09:54:22Z|00002|ovsdb_idl|WARN|transaction error: {"details":"cannot delete Logical_Switch row bb0b536c-be0c-400f-9a77-9740d58b9625 because of 1 remaining reference(s)","error":"referential integrity violation"}
vtep-ctl: transaction error: {"details":"cannot delete Logical_Switch row bb0b536c-be0c-400f-9a77-9740d58b9625 because of 1 remaining reference(s)","error":"referential integrity violation"}
[root@kunpeng82 scripts]# vtep-ctl del-ls ls1
[root@kunpeng82 scripts]# vtep-ctl del-ls ls0
2020-07-09T09:54:53Z|00002|ovsdb_idl|WARN|transaction error: {"details":"cannot delete Logical_Switch row bb0b536c-be0c-400f-9a77-9740d58b9625 because of 1 remaining reference(s)","error":"referential integrity violation"}
vtep-ctl: transaction error: {"details":"cannot delete Logical_Switch row bb0b536c-be0c-400f-9a77-9740d58b9625 because of 1 remaining reference(s)","error":"referential integrity violation"}
[root@kunpeng82 scripts]# vtep-ctl list-ls
ls0
ls2
[root@kunpeng82 scripts]# 

 

[root@kunpeng82 scripts]# ovsdb-client dump hardware_vtep Mcast_Macs_Remote
Mcast_Macs_Remote table
MAC         _uuid                                ipaddr locator_set                          logical_switch
----------- ------------------------------------ ------ ------------------------------------ ------------------------------------
unknown-dst d3e0f968-7bae-461e-846f-c3e04edbe0c3 ""     1ebdfa17-c86f-4d66-a4b3-6422125fc225 bb0b536c-be0c-400f-9a77-9740d58b9625
[root@kunpeng82 scripts]# ovsdb-client dump hardware_vtep | grep bb0b536c-be0c-400f-9a77-9740d58b9625 -B 3
Logical_Switch table
_uuid                                description name  other_config replication_mode tunnel_key
------------------------------------ ----------- ----- ------------ ---------------- ----------
bb0b536c-be0c-400f-9a77-9740d58b9625 ""          "ls0" {}           []               33
--
Mcast_Macs_Remote table
MAC         _uuid                                ipaddr locator_set                          logical_switch
----------- ------------------------------------ ------ ------------------------------------ ------------------------------------
unknown-dst d3e0f968-7bae-461e-846f-c3e04edbe0c3 ""     1ebdfa17-c86f-4d66-a4b3-6422125fc225 bb0b536c-be0c-400f-9a77-9740d58b9625
[root@kunpeng82 scripts]# ovsdb-client dump hardware_vtep Mcast_Macs_Remote
Mcast_Macs_Remote table
MAC         _uuid                                ipaddr locator_set                          logical_switch
----------- ------------------------------------ ------ ------------------------------------ ------------------------------------
unknown-dst d3e0f968-7bae-461e-846f-c3e04edbe0c3 ""     1ebdfa17-c86f-4d66-a4b3-6422125fc225 bb0b536c-be0c-400f-9a77-9740d58b9625
[root@kunpeng82 scripts]# 

 

vtep-ctl del-ls ls0

原文:https://www.cnblogs.com/dream397/p/13275105.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!