+ # remove the rate measurement for a vnf interface
+ def stop_metric(self, vnf_name, vnf_interface, metric):
+ logging.debug("RPC CALL: stop metric")
+ try:
+ c = self.net.monitor_agent.stop_metric(vnf_name, vnf_interface, metric)
+ return c
+ except Exception as ex:
+ logging.exception("RPC error.")
+ return ex.message