1、 ovn-nbctl 命令
- ovn-nbctl show
- ovn-nbctl show <switch> | <router>
- ovn-nbctl list <table>
- 交换机
- ls-list
- ls-add <switch>
- ls-del <switch>
- lsp-list <switch>
- lsp-add <switch> <port>
- lsp-add <switch> <port> <parent> <tag>
- lsp-del <port>
- lsp-set-addresses <port> <mac>|<mac ip>|<mac ipv4 ipv6 >
- lsp-get-addresses <port>
- lsp-get-up <port>
- lsp-set-options <port> key=value
- lsp-get-options <port>
lsp-set-dhcpv4-options <port> [DHCP_OPTIONS_UUID]
lsp-get-dhcpv4-options <port>
lsp-set-dhcpv6-options <port> [DHCP_OPTIONS_UUID]
lsp-get-dhcpv6-options PORT
lsp-get-ls PORT
- 路由器
- lr-list <port>
- lr-add <router>
- lr-del <router>