1. 程式人生 > 實用技巧 >vtep-ctl del-ls ls0

vtep-ctl del-ls ls0

[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]#