+ params = self._create_dict(
+ vnf_name=self._parse_vnf_name(args.get("vnf_name")),
+ vnf_interface=self._parse_vnf_interface(args.get("vnf_name")),
+ metric=args.get("metric"),
+ cookie=args.get("cookie"))
+
+ url = "{0}/restapi/monitor/flow".format(args.get("endpoint"))
+ response = put(url, params=params)
+ pp.pprint(response.text)
+
+ def prometheus(self, args):
+ # This functions makes it more user-friendly to create the correct prometheus query
+ # <uuid> is replaced by the correct uuid of the deployed vnf container