As we are on the CLI topic, we’re also adding some CLI to netconf [0] and mdsal/cluster/datastore [1].
Thanks, Alexis [0]: https://git.opendaylight.org/gerrit/#/c/36761/ <https://git.opendaylight.org/gerrit/#/c/36761/> [1]: https://git.opendaylight.org/gerrit/#/c/36751/ <https://git.opendaylight.org/gerrit/#/c/36751/> > On Apr 20, 2016, at 3:22 PM, Alexis de Talhouët <[email protected]> > wrote: > > Hello Luis, > > There is actually some CLI that exists, see [0]. > > We also have a patch upstream adding some more [1]. > > If you have any idea, please let us know so we can amend current patch with > some > more CLI. > > Thanks, > Alexis > > [0]: > https://github.com/opendaylight/openflowplugin/tree/master/openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/karaf > > <https://github.com/opendaylight/openflowplugin/tree/master/openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/karaf> > [1]: https://git.opendaylight.org/gerrit/#/c/36702/ > <https://git.opendaylight.org/gerrit/#/c/36702/> > >> On Apr 20, 2016, at 3:18 PM, Luis Gomez <[email protected] >> <mailto:[email protected]>> wrote: >> >> This mail from BGP reminds me: is there any chance we can implement some >> useful CLI for openflowplugin? >> >> Some examples extracted from ONOS wiki: >> >> onos> devices >> id=of:0000000000000001, available=true, role=MASTER, type=SWITCH, >> mfr=Nicira, Inc., hw=Open vSwitch, sw=2.1.3, serial=None, protocol=OF_10 >> id=of:0000000000000002, available=true, role=MASTER, type=SWITCH, >> mfr=Nicira, Inc., hw=Open vSwitch, sw=2.1.3, serial=None, protocol=OF_10 >> id=of:000000000000000b, available=true, role=MASTER, type=SWITCH, >> mfr=Nicira, Inc., hw=Open vSwitch, sw=2.1.3, serial=None, protocol=OF_10 >> id=of:000000000000000c, available=true, role=MASTER, type=SWITCH, >> mfr=Nicira, Inc., hw=Open vSwitch, sw=2.1.3, serial=None, protocol=OF_10 >> id=of:000000000000000d, available=true, role=MASTER, type=SWITCH, >> mfr=Nicira, Inc., hw=Open vSwitch, sw=2.1.3, serial=None, protocol=OF_10 >> id=of:000000000000000e, available=true, role=MASTER, type=SWITCH, >> mfr=Nicira, Inc., hw=Open vSwitch, sw=2.1.3, serial=None, protocol=OF_10 >> >> onos> links >> src=of:000000000000000e/1, dst=of:0000000000000001/5, type=DIRECT, >> state=ACTIVE >> src=of:000000000000000d/1, dst=of:0000000000000001/4, type=DIRECT, >> state=ACTIVE >> src=of:000000000000000e/2, dst=of:0000000000000002/5, type=DIRECT, >> state=ACTIVE >> src=of:000000000000000c/1, dst=of:0000000000000001/3, type=DIRECT, >> state=ACTIVE >> src=of:000000000000000d/2, dst=of:0000000000000002/4, type=DIRECT, >> state=ACTIVE >> src=of:000000000000000b/1, dst=of:0000000000000001/2, type=DIRECT, >> state=ACTIVE >> src=of:000000000000000c/2, dst=of:0000000000000002/3, type=DIRECT, >> state=ACTIVE >> >> onos> hosts >> id=00:00:00:00:00:01/-1, mac=00:00:00:00:00:01, >> location=of:000000000000000b/3, vlan=-1, ip(s)=[10.0.0.1] >> id=00:00:00:00:00:13/-1, mac=00:00:00:00:00:13, >> location=of:000000000000000e/3, vlan=-1, ip(s)=[10.0.0.19] >> >> onos> flows >> deviceId=of:0000000000000001, flowRuleCount=2 >> id=10000c364dd58, state=ADDED, bytes=0, packets=0, duration=1781, >> priority=123, appId=org.onlab.onos.net.intent >> selector=[IN_PORT{port=2}, ETH_SRC{mac=00:00:00:00:00:01}, >> ETH_DST{mac=00:00:00:00:00:13}] >> treatment=[OUTPUT{port=5}] >> id=10000c364ddb2, state=ADDED, bytes=0, packets=0, duration=1781, >> priority=123, appId=org.onlab.onos.net.intent >> selector=[IN_PORT{port=5}, ETH_SRC{mac=00:00:00:00:00:13}, >> ETH_DST{mac=00:00:00:00:00:01}] >> treatment=[OUTPUT{port=2}] >> deviceId=of:0000000000000002, flowRuleCount=0 >> deviceId=of:000000000000000b, flowRuleCount=2 >> id=10000c3659528, state=ADDED, bytes=0, packets=0, duration=1781, >> priority=123, appId=org.onlab.onos.net.intent >> selector=[IN_PORT{port=1}, ETH_SRC{mac=00:00:00:00:00:13}, >> ETH_DST{mac=00:00:00:00:00:01}] >> treatment=[OUTPUT{port=3}] >> id=10000c3659564, state=ADDED, bytes=0, packets=0, duration=1781, >> priority=123, appId=org.onlab.onos.net.intent >> selector=[IN_PORT{port=3}, ETH_SRC{mac=00:00:00:00:00:01}, >> ETH_DST{mac=00:00:00:00:00:13}] >> treatment=[OUTPUT{port=1}] >> deviceId=of:000000000000000c, flowRuleCount=0 >> deviceId=of:000000000000000d, flowRuleCount=0 >> deviceId=of:000000000000000e, flowRuleCount=2 >> id=10000c365a06b, state=ADDED, bytes=0, packets=0, duration=1781, >> priority=123, appId=org.onlab.onos.net.intent >> selector=[IN_PORT{port=1}, ETH_SRC{mac=00:00:00:00:00:01}, >> ETH_DST{mac=00:00:00:00:00:13}] >> treatment=[OUTPUT{port=3}] >> id=10000c365a0a7, state=ADDED, bytes=0, packets=0, duration=1781, >> priority=123, appId=org.onlab.onos.net.intent >> selector=[IN_PORT{port=3}, ETH_SRC{mac=00:00:00:00:00:13}, >> ETH_DST{mac=00:00:00:00:00:01}] >> treatment=[OUTPUT{port=1}] >> >>> Begin forwarded message: >>> >>> From: Icaro Camelo <[email protected] <mailto:[email protected]>> >>> Subject: [bgpcep-dev] BGP CLI feature >>> Date: April 20, 2016 at 9:59:44 AM PDT >>> To: [email protected] >>> <mailto:[email protected]> >>> >>> Hi guys, >>> >>> I have just finished to implement a CLI for BGP stats. It basically reads >>> from the BGPPeerRuntimeMX managed bean that's accessible by jconsole. >>> >>> Patch: https://git.opendaylight.org/gerrit/#/c/36979/ >>> <https://git.opendaylight.org/gerrit/#/c/36979/> >>> >>> Here are some screenshots: >>> bgp:show-stats: http://postimg.org/image/i9ij95uvr/ >>> <http://postimg.org/image/i9ij95uvr/> >>> bgp:reset-stats: http://postimg.org/image/isx9tahzr/ >>> <http://postimg.org/image/isx9tahzr/> >>> >>> Once it's approved, I'm planning to add this information to the wiki page. >>> >>> -- >>> Thanks, >>> >>> Icaro Camelo >>> Software Developer >>> _______________________________________________ >>> bgpcep-dev mailing list >>> [email protected] <mailto:[email protected]> >>> https://lists.opendaylight.org/mailman/listinfo/bgpcep-dev >>> <https://lists.opendaylight.org/mailman/listinfo/bgpcep-dev> >> >> _______________________________________________ >> openflowplugin-dev mailing list >> [email protected] >> <mailto:[email protected]> >> https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev >
_______________________________________________ openflowplugin-dev mailing list [email protected] https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev
