On Mon, Apr 18, 2016 at 10:04:11AM -0700, ngh...@us.ibm.com wrote: > ovn-nbctl provides a shortcut to perform commands related lswitch, lport > and such but it doesn't have similar commands related to logical routers > and logical router ports. Also, 'ovn-nbctl show' is supposed to show an > overview of database contents, which means it should show the routers > as well. "ovn-nbctl show LSWITCH" shows the switch details, similarly > "ovn-nbctl show LROUTER" should show the router details too. This patch > takes care of all of these. > > Modifications; > 1) ovn-nbctl show -- will now show lrouters as well > 2) ovn-nbctl show <lrouter> -- will show the router now > > New commands added: > 3) ovn-nbctl lrouter-add [LROUTER] > 4) ovn-nbctl lrouter-del LROUTER > 5) ovn-nbctl lrouter-list > 6) lrport-add LROUTER LRPORT > 7) lrport-del LRPORT > 8) lrport-list LROUTER > 9) lrport-set-mac-address LRPORT [ADDRESS] > 10) lrport-get-mac-address LRPORT > 11) lrport-set-enabled LRPORT STATE > 12) lrport-get-enabled LRPORT > > Unit test cases have been added to test all of these modifications and > additions.
Thanks for the patch. Please document the new commands in ovn-nbctl.8.xml. _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev