- def profile(self, args):
- nw_list = list()
- if args.get("network") is not None:
- nw_list = self._parse_network(args.get("network"))
-
- params = self._create_dict(
- network=nw_list,
- command=args.get("docker_command"),
- image=args.get("image"),
- input=args.get("input"),
- output=args.get("output"))
-
- for output in self.c.compute_profile(
- args.get("datacenter"),
- args.get("name"),
- params):
- print(output + '\n')
-
- #pp.pprint(r)
- #print(r)
-