X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=src%2Femuvim%2Fcli%2Fmonitor.py;h=3b667f76c22ea1013e94660daecee2497344202c;hb=994245bc4fb59f4c5129a5cb977af1871f08ce13;hp=55e08f07bf015ac0917b01a7de201fc34f6de4bd;hpb=adfd06fbf80d9d12065bc7bb8903cb1c784fab60;p=osm%2Fvim-emu.git diff --git a/src/emuvim/cli/monitor.py b/src/emuvim/cli/monitor.py index 55e08f0..3b667f7 100755 --- a/src/emuvim/cli/monitor.py +++ b/src/emuvim/cli/monitor.py @@ -40,7 +40,7 @@ class ZeroRpcClient(object): def stop_metric(self, args): vnf_name = self._parse_vnf_name(args.get("vnf_name")) vnf_interface = self._parse_vnf_interface(args.get("vnf_name")) - r = self.c.remove_metric( + r = self.c.stop_metric( vnf_name, vnf_interface, args.get("metric")) @@ -69,6 +69,7 @@ parser.add_argument( "--metric", "-m", dest="metric", help="tx_bytes, rx_bytes, tx_packets, rx_packets") + def main(argv): #print "This is the son-emu monitor CLI." #print "Arguments: %s" % str(argv)