)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"change_message_id":"1bdb4dd0873eee4c43e47805e1457586efde936f","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Kanagaraj Manickam \u003cmkr1481@gmail.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2016-07-14 11:16:57 +0530"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"vnf-scale"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"vnf-scale --vnf-name \u003cvnf-name\u003e --vnf-id \u003cvnf-id\u003e"},{"line_number":10,"context_line":"          --scaling-policy-name \u003cpolicy-name\u003e"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"dada55a8_3a75d697","line":7,"range":{"start_line":7,"start_character":0,"end_line":7,"end_character":9},"updated":"2016-07-20 00:06:18.000000000","message":"Please write a bit more elaborate commit mesg headline","commit_id":"b2e5ae796c55095da8fe31d05b36d130d81a2f2f"}],"tackerclient/tacker/v1_0/__init__.py":[{"author":{"_account_id":13485,"name":"Sripriya Seetharam","email":"sseetha@brocade.com","username":"Sripriya"},"change_message_id":"5437e19c798a42cb34cbbdbdc3cbeabe5a00d22c","unresolved":false,"context_lines":[{"line_number":687,"context_line":"            return None"},{"line_number":688,"context_line":""},{"line_number":689,"context_line":""},{"line_number":690,"context_line":"class ScaleCommand(TackerCommand):"},{"line_number":691,"context_line":"    \"\"\"Scale a VNF. \"\"\""},{"line_number":692,"context_line":""},{"line_number":693,"context_line":"    api \u003d \u0027nfv-orchestration\u0027"}],"source_content_type":"text/x-python","patch_set":4,"id":"dada55a8_a4d1b2cf","line":690,"range":{"start_line":690,"start_character":0,"end_line":690,"end_character":34},"updated":"2016-07-26 01:29:01.000000000","message":"i don\u0027t think we should add ScaleCommand class dealing with VNF resource here in __init__ . this logic is specifically invoking scale_vnf which can be added into the ScaleVNF class itself. \n\n[1] https://review.openstack.org/#/c/337266/4/tackerclient/tacker/v1_0/vm/vnf.py@148","commit_id":"9ff05776be6756e4c2cd1a799ac514cd77bbc3f0"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"94cad50901249085f81fd58295502133132b2aea","unresolved":false,"context_lines":[{"line_number":687,"context_line":"            return None"},{"line_number":688,"context_line":""},{"line_number":689,"context_line":""},{"line_number":690,"context_line":"class ScaleCommand(TackerCommand):"},{"line_number":691,"context_line":"    \"\"\"Scale a VNF. \"\"\""},{"line_number":692,"context_line":""},{"line_number":693,"context_line":"    api \u003d \u0027nfv-orchestration\u0027"}],"source_content_type":"text/x-python","patch_set":4,"id":"dada55a8_ada18596","line":690,"range":{"start_line":690,"start_character":0,"end_line":690,"end_character":34},"in_reply_to":"dada55a8_a4d1b2cf","updated":"2016-07-26 04:23:54.000000000","message":"All commands are kept here while [1] so to be in consistent , i added here. So i feel we no need to change.","commit_id":"9ff05776be6756e4c2cd1a799ac514cd77bbc3f0"},{"author":{"_account_id":13485,"name":"Sripriya Seetharam","email":"sseetha@brocade.com","username":"Sripriya"},"change_message_id":"71c2251ef3aa350c2a2f0fb4c53e0692b2e4142d","unresolved":false,"context_lines":[{"line_number":687,"context_line":"            return None"},{"line_number":688,"context_line":""},{"line_number":689,"context_line":""},{"line_number":690,"context_line":"class ScaleCommand(TackerCommand):"},{"line_number":691,"context_line":"    \"\"\"Scale a VNF. \"\"\""},{"line_number":692,"context_line":""},{"line_number":693,"context_line":"    api \u003d \u0027nfv-orchestration\u0027"}],"source_content_type":"text/x-python","patch_set":4,"id":"dada55a8_921ab96d","line":690,"range":{"start_line":690,"start_character":0,"end_line":690,"end_character":34},"in_reply_to":"dada55a8_ada18596","updated":"2016-07-26 17:03:12.000000000","message":"you do not need to have a generic ScaleCommand for now since this is only applicable for VNF resource","commit_id":"9ff05776be6756e4c2cd1a799ac514cd77bbc3f0"}],"tackerclient/tacker/v1_0/vm/vnf.py":[{"author":{"_account_id":22132,"name":"Lu lei","email":"lei.lu@easystack.cn","username":"Lulei"},"change_message_id":"353c103a2a9e53fcac28691758ffe558e2493452","unresolved":false,"context_lines":[{"line_number":158,"context_line":"        return parser"},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"    def run(self, parsed_args):"},{"line_number":161,"context_line":"        self.log.debug(\u0027run(%s)\u0027 % parsed_args)"},{"line_number":162,"context_line":"        tacker_client \u003d self.get_client()"},{"line_number":163,"context_line":"        tacker_client.format \u003d parsed_args.request_format"},{"line_number":164,"context_line":"        body \u003d self.args2body(parsed_args)"}],"source_content_type":"text/x-python","patch_set":5,"id":"bacf61ea_e08446d5","line":161,"range":{"start_line":161,"start_character":32,"end_line":161,"end_character":35},"updated":"2016-07-29 05:10:30.000000000","message":"hi, Kanagaraj Manickam. I have founded all log.debug fuctions in project. Only the log.debug function in /tackerclient/tacker/v1_0/__init__.py(429) is still use \u0027%\u0027. Others were instead of using \u0027,\u0027. Here I saw you use \u0027%\u0027 again, I think may be use \u0027,\u0027 will make codes more unified. Besides, it may be simpler for beginner to read. Thanks.","commit_id":"14f92126dff2f4acf509337975a570166e4a2552"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"6ffda2cae1271b58ad62a800abf12f45eed9ab05","unresolved":false,"context_lines":[{"line_number":158,"context_line":"        return parser"},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"    def run(self, parsed_args):"},{"line_number":161,"context_line":"        self.log.debug(\u0027run(%s)\u0027 % parsed_args)"},{"line_number":162,"context_line":"        tacker_client \u003d self.get_client()"},{"line_number":163,"context_line":"        tacker_client.format \u003d parsed_args.request_format"},{"line_number":164,"context_line":"        body \u003d self.args2body(parsed_args)"}],"source_content_type":"text/x-python","patch_set":5,"id":"bacf61ea_37114653","line":161,"range":{"start_line":161,"start_character":32,"end_line":161,"end_character":35},"in_reply_to":"bacf61ea_5f185dd3","updated":"2016-08-05 00:53:09.000000000","message":"I think this line of log could be removed, as we get the detailed debugging info when use the option -v. Earlier i have not seen this bug, I was expecting base class would set the log, and seems a regression. so i will remove it now. thanks for pointing out.","commit_id":"14f92126dff2f4acf509337975a570166e4a2552"},{"author":{"_account_id":17952,"name":"Santosh Kodicherla","email":"ksantosh.cs@gmail.com","username":"santoshkumar"},"change_message_id":"73ef3092c6d00249053d191ec87c73978ecb1633","unresolved":false,"context_lines":[{"line_number":158,"context_line":"        return parser"},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"    def run(self, parsed_args):"},{"line_number":161,"context_line":"        self.log.debug(\u0027run(%s)\u0027 % parsed_args)"},{"line_number":162,"context_line":"        tacker_client \u003d self.get_client()"},{"line_number":163,"context_line":"        tacker_client.format \u003d parsed_args.request_format"},{"line_number":164,"context_line":"        body \u003d self.args2body(parsed_args)"}],"source_content_type":"text/x-python","patch_set":5,"id":"bacf61ea_5f185dd3","line":161,"range":{"start_line":161,"start_character":32,"end_line":161,"end_character":35},"in_reply_to":"bacf61ea_e08446d5","updated":"2016-08-04 19:44:29.000000000","message":"when vnf_name is not given, i am having below error,\nvyatta@os-dev-06:/opt/stack/tacker$\nvyatta@os-dev-06:/opt/stack/tacker$ tacker vnf-scale --verbose --vnf-id b61c1d10-b85c-42be-9b61c1d10-b85c-42be-9217-80ea03200001 --scaling-policy-name SP1 --scaling-type out\nDEBUG: keystoneclient.session REQ: curl -g -i -X GET http://10.18.165.36:5000/v2.0 -H \"Accept: application/json\" -H \"User-Agent: python-keystoneclient\"\nDEBUG: keystoneclient.session RESP: [200] Date: Thu, 04 Aug 2016 19:40:32 GMT Server: Apache/2.4.7 (Ubuntu) Vary: X-Auth-Token x-openstack-request-id: req-c80d5a1f-20a9-4b70-b307-61e7854d0ee9 Content-Length: 342 Keep-Alive: timeout\u003d5, max\u003d100 Connection: Keep-Alive Content-Type: application/json\nRESP BODY: {\"version\": {\"status\": \"stable\", \"updated\": \"2014-04-17T00:00:00Z\", \"media-types\": [{\"base\": \"application/json\", \"type\": \"application/vnd.openstack.identity-v2.0+json\"}], \"id\": \"v2.0\", \"links\": [{\"href\": \"http://10.18.165.36/identity/v2.0/\", \"rel\": \"self\"}, {\"href\": \"http://docs.openstack.org/\", \"type\": \"text/html\", \"rel\": \"describedby\"}]}}\n\nERROR: tackerclient.shell \u0027NoneType\u0027 object has no attribute \u0027debug\u0027\nTraceback (most recent call last):\n  File \"/usr/local/lib/python2.7/dist-packages/tackerclient/shell.py\", line 549, in run_subcommand\n    return run_command(cmd, cmd_parser, sub_argv)\n  File \"/usr/local/lib/python2.7/dist-packages/tackerclient/shell.py\", line 69, in run_command\n    return cmd.run(known_args)\n  File \"/usr/local/lib/python2.7/dist-packages/tackerclient/tacker/v1_0/vm/vnf.py\", line 161, in run\n    self.log.debug(\u0027run(%s)\u0027 % parsed_args)\nAttributeError: \u0027NoneType\u0027 object has no attribute \u0027debug\u0027\n\u0027NoneType\u0027 object has no attribute \u0027debug\u0027\nvyatta@os-dev-06:/opt/stack/tacker$","commit_id":"14f92126dff2f4acf509337975a570166e4a2552"},{"author":{"_account_id":20986,"name":"Manikantha Srinivas Tadi","email":"manikantha.tadi@gmail.com","username":"mtadi"},"change_message_id":"291535a7e47270f11a60f0a5f77b8e41b992bda7","unresolved":false,"context_lines":[{"line_number":179,"context_line":"            help\u003d\u0027VNF policy name used to scale\u0027)"},{"line_number":180,"context_line":"        parser.add_argument("},{"line_number":181,"context_line":"            \u0027--scaling-type\u0027,"},{"line_number":182,"context_line":"            help\u003d\u0027VNF scaling type, it could be either \"out\" of \"in\"\u0027)"},{"line_number":183,"context_line":""},{"line_number":184,"context_line":"    def args2body(self, parsed_args):"},{"line_number":185,"context_line":"        args \u003d {}"}],"source_content_type":"text/x-python","patch_set":5,"id":"bacf61ea_334d136d","line":182,"updated":"2016-07-29 07:08:46.000000000","message":"of -\u003e or","commit_id":"14f92126dff2f4acf509337975a570166e4a2552"},{"author":{"_account_id":17952,"name":"Santosh Kodicherla","email":"ksantosh.cs@gmail.com","username":"santoshkumar"},"change_message_id":"e29fd2c64d2a326e4d05c2932733afd87a4ce279","unresolved":false,"context_lines":[{"line_number":164,"context_line":"        obj_creator \u003d getattr(tacker_client,"},{"line_number":165,"context_line":"                              \"scale_vnf\")"},{"line_number":166,"context_line":"        obj_creator(body[\"scale\"].pop(\u0027vnf_id\u0027), body)"},{"line_number":167,"context_line":""},{"line_number":168,"context_line":"    def add_known_arguments(self, parser):"},{"line_number":169,"context_line":"        vnf_group \u003d parser.add_mutually_exclusive_group(required\u003dTrue)"},{"line_number":170,"context_line":"        vnf_group.add_argument("}],"source_content_type":"text/x-python","patch_set":6,"id":"bacf61ea_4fe22cd6","line":167,"updated":"2016-08-05 23:40:52.000000000","message":"Trying this new patchset, I am hitting an error where it  is failing to find vnf_id. Request is not going till server (no activity on tacker.log log file).\n\n\nvyatta@os-dev-06:/opt/stack/tacker$\nvyatta@os-dev-06:/opt/stack/tacker$\nvyatta@os-dev-06:/opt/stack/tacker$ ls samples/tosca-templates/vnfd/tosca*scale*\nsamples/tosca-templates/vnfd/tosca-vnfd-scale.yaml\nvyatta@os-dev-06:/opt/stack/tacker$\nvyatta@os-dev-06:/opt/stack/tacker$\nvyatta@os-dev-06:/opt/stack/tacker$\nvyatta@os-dev-06:/opt/stack/tacker$ tacker vnfd-create samples/tosca-templates/vnfd/tosca-vnfd-scale.yaml\nusage: tacker vnfd-create [-h] [-f {html,json,shell,table,value,yaml}]\n                          [-c COLUMN] [--max-width \u003cinteger\u003e] [--noindent]\n                          [--prefix PREFIX] [--request-format {json,xml}]\n                          [--tenant-id TENANT_ID]\n                          (--vnfd-file VNFD_FILE | --vnfd VNFD) [--name NAME]\n                          [--description DESCRIPTION]\ntacker vnfd-create: error: one of the arguments --vnfd-file --vnfd is required\nvyatta@os-dev-06:/opt/stack/tacker$ tacker vnfd-create  --vnfd-file samples/tosca-templates/vnfd/tosca-vnfd-scale.yaml  --\\name v1\nCreated a new vnfd:\n+---------------+------------------------------------------------------------------------+\n| Field         | Value                                                                  |\n+---------------+------------------------------------------------------------------------+\n| description   | sample-tosca-vnfd-scaling                                              |\n| id            | 3a37b05f-c0e6-45b5-a153-240152b782ac                                   |\n| infra_driver  | heat                                                                   |\n| mgmt_driver   | noop                                                                   |\n| name          | v1                                                                     |\n| service_types | {\"service_type\": \"vnfd\", \"id\": \"79aaff81-4719-488d-bf78-e0b292e6c217\"} |\n| tenant_id     | 047af147e72449bab3ae3241fa6e6792                                       |\n+---------------+------------------------------------------------------------------------+\nvyatta@os-dev-06:/opt/stack/tacker$ ^C\nvyatta@os-dev-06:/opt/stack/tacker$ tacker vnd-list\nUnknown command [u\u0027vnd-list\u0027]\nvyatta@os-dev-06:/opt/stack/tacker$ tacker vnfd-list\n+--------------------------------------+------+---------------------------+--------------+-------------+\n| id                                   | name | description               | infra_driver | mgmt_driver |\n+--------------------------------------+------+---------------------------+--------------+-------------+\n| 3a37b05f-c0e6-45b5-a153-240152b782ac | v1   | sample-tosca-vnfd-scaling | heat         | noop        |\n+--------------------------------------+------+---------------------------+--------------+-------------+\nvyatta@os-dev-06:/opt/stack/tacker$\nvyatta@os-dev-06:/opt/stack/tacker$\nvyatta@os-dev-06:/opt/stack/tacker$\nvyatta@os-dev-06:/opt/stack/tacker$ tacker vnf-create --name v1 --vnfd-name v1\nCreated a new vnf:\n+----------------+--------------------------------------+\n| Field          | Value                                |\n+----------------+--------------------------------------+\n| description    | sample-tosca-vnfd-scaling            |\n| error_reason   |                                      |\n| id             | 50a59f1c-0a60-40bc-a952-60d6060e68bf |\n| instance_id    | 74ec2559-2797-4eb9-b034-93688064614f |\n| mgmt_url       |                                      |\n| name           | v1                                   |\n| placement_attr | {\"vim_name\": \"VIM0\"}                 |\n| status         | PENDING_CREATE                       |\n| tenant_id      | 047af147e72449bab3ae3241fa6e6792     |\n| vim_id         | 7eaada40-fb26-42e4-9e75-8067e9ff0a4b |\n| vnfd_id        | 3a37b05f-c0e6-45b5-a153-240152b782ac |\n+----------------+--------------------------------------+\nvyatta@os-dev-06:/opt/stack/tacker$ taccker vnf-list\ntaccker: command not found\nvyatta@os-dev-06:/opt/stack/tacker$ tacker vnf-list\n+-----------------------+------+-----------------------+-----------------------+--------+-----------------------+------------------------+--------------+\n| id                    | name | description           | mgmt_url              | status | vim_id                | placement_attr         | error_reason |\n+-----------------------+------+-----------------------+-----------------------+--------+-----------------------+------------------------+--------------+\n| 50a59f1c-0a60-40bc-a9 | v1   | sample-tosca-vnfd-    | {\"VDU1\": \"15.0.0.5\",  | ACTIVE | 7eaada40-fb26-42e4-9e | {u\u0027vim_name\u0027: u\u0027VIM0\u0027} |              |\n| 52-60d6060e68bf       |      | scaling               | \"VDU2\": \"15.0.0.4\"}   |        | 75-8067e9ff0a4b       |                        |              |\n+-----------------------+------+-----------------------+-----------------------+--------+-----------------------+------------------------+--------------+\nvyatta@os-dev-06:/opt/stack/tacker$\nvyatta@os-dev-06:/opt/stack/tacker$\nvyatta@os-dev-06:/opt/stack/tacker$\nvyatta@os-dev-06:/opt/stack/tacker$\nvyatta@os-dev-06:/opt/stack/tacker$ tacker vnfd-show v1\n+---------------+----------------------------------------------------------------------------------------------------------------------------------------+\n| Field         | Value                                                                                                                                  |\n+---------------+----------------------------------------------------------------------------------------------------------------------------------------+\n| attributes    | {\"vnfd\": \"tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\\n\\ndescription: sample-tosca-vnfd-scaling\\n\\nmetadata:\\n       |\n|               | template_name: sample-tosca-vnfd-scaling\\n\\ntopology_template:\\n  node_templates:\\n    VDU1:\\n      type: tosca.nodes.nfv.VDU.Tacker\\n |\n|               | properties:\\n        image: cirros-0.3.4-x86_64-uec\\n        mgmt_driver: noop\\n        availability_zone: nova\\n        flavor:       |\n|               | m1.tiny\\n\\n    CP1:\\n      type: tosca.nodes.nfv.CP.Tacker\\n      properties:\\n        management: true\\n                              |\n|               | anti_spoofing_protection: false\\n      requirements:\\n        - virtualLink:\\n            node: VL1\\n        - virtualBinding:\\n       |\n|               | node: VDU1\\n\\n    VDU2:\\n      type: tosca.nodes.nfv.VDU.Tacker\\n      properties:\\n        image: cirros-0.3.4-x86_64-uec\\n           |\n|               | mgmt_driver: noop\\n        availability_zone: nova\\n        flavor: m1.tiny\\n\\n    CP2:\\n      type: tosca.nodes.nfv.CP.Tacker\\n       |\n|               | properties:\\n        management: true\\n        anti_spoofing_protection: false\\n      requirements:\\n        - virtualLink:\\n          |\n|               | node: VL1\\n        - virtualBinding:\\n            node: VDU2\\n\\n    VL1:\\n      type: tosca.nodes.nfv.VL\\n      properties:\\n          |\n|               | network_name: private\\n        vendor: Tacker\\n\\n  policies:\\n    - SP1:\\n        type: tosca.policy.tacker.Scaling\\n                  |\n|               | properties:\\n          increment: 1\\n          cooldown: 120\\n          min_instances: 1\\n          max_instances: 3\\n                 |\n|               | default_instances: 2\\n          targets: [VDU1, VDU2]\\n\"}                                                                              |\n| description   | sample-tosca-vnfd-scaling                                                                                                              |\n| id            | 3a37b05f-c0e6-45b5-a153-240152b782ac                                                                                                   |\n| infra_driver  | heat                                                                                                                                   |\n| mgmt_driver   | noop                                                                                                                                   |\n| name          | v1                                                                                                                                     |\n| service_types | {\"service_type\": \"vnfd\", \"id\": \"79aaff81-4719-488d-bf78-e0b292e6c217\"}                                                                 |\n| tenant_id     | 047af147e72449bab3ae3241fa6e6792                                                                                                       |\n+---------------+----------------------------------------------------------------------------------------------------------------------------------------+\nvyatta@os-dev-06:/opt/stack/tacker$\nvyatta@os-dev-06:/opt/stack/tacker$\nvyatta@os-dev-06:/opt/stack/tacker$ tacker vnf-scale --help\nusage: tacker vnf-scale [-h] [--request-format {json,xml}]\n                        (--vnf-id VNF_ID | --vnf-name VNF_NAME)\n                        [--scaling-policy-name SCALING_POLICY_NAME]\n                        [--scaling-type SCALING_TYPE]\n\nScale a VNF.\n\noptional arguments:\n  -h, --help            show this help message and exit\n  --request-format {json,xml}\n                        The xml or json request format\n  --vnf-id VNF_ID       VNF ID\n  --vnf-name VNF_NAME   VNF name\n  --scaling-policy-name SCALING_POLICY_NAME\n                        VNF policy name used to scale\n  --scaling-type SCALING_TYPE\n                        VNF scaling type, it could be either \"out\" or \"in\"\nvyatta@os-dev-06:/opt/stack/tacker$ tacker vnf-scale --vnf-id v1 --scaling-policy-name SP1 --scaling-type out\nNamespace(request_format\u003d\u0027json\u0027, scaling_policy_name\u003du\u0027SP1\u0027, scaling_type\u003du\u0027out\u0027, vnf_id\u003du\u0027v1\u0027, vnf_name\u003dNone)\nThe resource could not be found.\u003cbr /\u003e\u003cbr /\u003e\n\n\n\nvyatta@os-dev-06:/opt/stack/tacker$\nvyatta@os-dev-06:/opt/stack/tacker$\nvyatta@os-dev-06:/opt/stack/tacker$\nvyatta@os-dev-06:/opt/stack/tacker$ tacker vnf-scale --vnf-id v1 --scaling-policy-name SP1 --scaling-type out\nNamespace(request_format\u003d\u0027json\u0027, scaling_policy_name\u003du\u0027SP1\u0027, scaling_type\u003du\u0027out\u0027, vnf_id\u003du\u0027v1\u0027, vnf_name\u003dNone)\nThe resource could not be found.\u003cbr /\u003e\u003cbr /\u003e\n\n\n\nvyatta@os-dev-06:/opt/stack/tacker$\nvyatta@os-dev-06:/opt/stack/tacker$\nvyatta@os-dev-06:/opt/stack/tacker$ tacker vnf-scale --verbose --vnf-id v1 --scaling-policy-name SP1 --scaling-type out\nDEBUG: keystoneclient.session REQ: curl -g -i -X GET http://10.18.165.36:5000/v2.0 -H \"Accept: application/json\" -H \"User-Agent: python-keystoneclient\"\nDEBUG: keystoneclient.session RESP: [200] Date: Fri, 05 Aug 2016 23:37:49 GMT Server: Apache/2.4.7 (Ubuntu) Vary: X-Auth-Token x-openstack-request-id: req-d6800933-60e8-4d20-ac4f-1c66fef00b44 Content-Length: 342 Keep-Alive: timeout\u003d5, max\u003d100 Connection: Keep-Alive Content-Type: application/json\nRESP BODY: {\"version\": {\"status\": \"stable\", \"updated\": \"2014-04-17T00:00:00Z\", \"media-types\": [{\"base\": \"application/json\", \"type\": \"application/vnd.openstack.identity-v2.0+json\"}], \"id\": \"v2.0\", \"links\": [{\"href\": \"http://10.18.165.36/identity/v2.0/\", \"rel\": \"self\"}, {\"href\": \"http://docs.openstack.org/\", \"type\": \"text/html\", \"rel\": \"describedby\"}]}}\n\nDEBUG: keystoneclient.auth.identity.v2 Making authentication request to http://10.18.165.36/identity/v2.0/tokens\nNamespace(request_format\u003d\u0027json\u0027, scaling_policy_name\u003du\u0027SP1\u0027, scaling_type\u003du\u0027out\u0027, vnf_id\u003du\u0027v1\u0027, vnf_name\u003dNone)\nDEBUG: keystoneclient.session REQ: curl -g -i -X POST http://10.18.165.36:9890/v1.0/vnfs/v1/actions.json -H \"User-Agent: python-tackerclient\" -H \"Content-Type: application/json\" -H \"Accept: application/json\" -H \"X-Auth-Token: {SHA1}d00beb2be2b203b2683f8892b9999ea1c1af631a\" -d \u0027{\"scale\": {\"policy\": \"SP1\", \"type\": \"out\"}}\u0027\nDEBUG: keystoneclient.session RESP: [404] Content-Length: 112 Content-Type: application/json; charset\u003dUTF-8 X-Openstack-Request-Id: req-43d2a800-1364-4789-81c6-1591cec71914 Date: Fri, 05 Aug 2016 23:37:49 GMT Connection: keep-alive\nRESP BODY: {\"message\": \"The resource could not be found.\u003cbr /\u003e\u003cbr /\u003e\\n\\n\\n\", \"code\": \"404 Not Found\", \"title\": \"Not Found\"}\n\nDEBUG: tackerclient.v1_0.client Error message: {\"message\": \"The resource could not be found.\u003cbr /\u003e\u003cbr /\u003e\\n\\n\\n\", \"code\": \"404 Not Found\", \"title\": \"Not Found\"}\nERROR: tackerclient.shell The resource could not be found.\u003cbr /\u003e\u003cbr /\u003e\n\n\nTraceback (most recent call last):\n  File \"/usr/local/lib/python2.7/dist-packages/tackerclient/shell.py\", line 549, in run_subcommand\n    return run_command(cmd, cmd_parser, sub_argv)\n  File \"/usr/local/lib/python2.7/dist-packages/tackerclient/shell.py\", line 69, in run_command\n    return cmd.run(known_args)\n  File \"/usr/local/lib/python2.7/dist-packages/tackerclient/tacker/v1_0/vm/vnf.py\", line 167, in run\n    obj_creator(body[\"scale\"].pop(\u0027vnf_id\u0027), body)\n  File \"/usr/local/lib/python2.7/dist-packages/tackerclient/v1_0/client.py\", line 100, in with_params\n    ret \u003d self.function(instance, *args, **kwargs)\n  File \"/usr/local/lib/python2.7/dist-packages/tackerclient/v1_0/client.py\", line 423, in scale_vnf\n    return self.post(self.vnf_scale_path % vnf, body\u003dbody)\n  File \"/usr/local/lib/python2.7/dist-packages/tackerclient/v1_0/client.py\", line 296, in post\n    headers\u003dheaders, params\u003dparams)\n  File \"/usr/local/lib/python2.7/dist-packages/tackerclient/v1_0/client.py\", line 209, in do_request\n    self._handle_fault_response(status_code, replybody)\n  File \"/usr/local/lib/python2.7/dist-packages/tackerclient/v1_0/client.py\", line 183, in _handle_fault_response\n    exception_handler_v10(status_code, des_error_body)\n  File \"/usr/local/lib/python2.7/dist-packages/tackerclient/v1_0/client.py\", line 81, in exception_handler_v10\n    message\u003dmessage)\nTackerClientException: The resource could not be found.\u003cbr /\u003e\u003cbr /\u003e\n\n\n\nvyatta@os-dev-06:/opt/stack/tacker$","commit_id":"94ccf2ded83b5923f5637e3368355429883256c9"},{"author":{"_account_id":17952,"name":"Santosh Kodicherla","email":"ksantosh.cs@gmail.com","username":"santoshkumar"},"change_message_id":"49d91abfe9e59407d8f47b3732698ea78062baa8","unresolved":false,"context_lines":[{"line_number":164,"context_line":"        obj_creator \u003d getattr(tacker_client,"},{"line_number":165,"context_line":"                              \"scale_vnf\")"},{"line_number":166,"context_line":"        obj_creator(body[\"scale\"].pop(\u0027vnf_id\u0027), body)"},{"line_number":167,"context_line":""},{"line_number":168,"context_line":"    def add_known_arguments(self, parser):"},{"line_number":169,"context_line":"        vnf_group \u003d parser.add_mutually_exclusive_group(required\u003dTrue)"},{"line_number":170,"context_line":"        vnf_group.add_argument("}],"source_content_type":"text/x-python","patch_set":6,"id":"9ad45d7e_af142bf5","line":167,"in_reply_to":"9ad45d7e_7517aaa3","updated":"2016-08-09 05:57:56.000000000","message":"other vnf commands seems to be fine,\nvyatta@os-dev-06:/opt/stack/tacker$ tacker vnf-show v1\n+----------------+---------------------------------------------------------------------------------------------------------------------------------------+\n| Field          | Value                                                                                                                                 |\n+----------------+---------------------------------------------------------------------------------------------------------------------------------------+\n| attributes     | {\"heat_template\": \"heat_template_version: 2013-05-23\\ndescription: \u0027sample-tosca-vnfd-scaling\\n\\n  \u0027\\nparameters: {}\\nresources:\\n    |\n|                | VDU1:\\n    type: OS::Nova::Server\\n    properties:\\n      availability_zone: nova\\n      config_drive: false\\n      flavor: m1.tiny\\n |\n|                | image: cirros-0.3.4-x86_64-uec\\n      networks:\\n      - port:\\n          get_resource: CP1\\n      user_data_format:                  |\n|                | SOFTWARE_CONFIG\\n  CP1:\\n    type: OS::Neutron::Port\\n    properties:\\n      network: private\\n      port_security_enabled: false\\n   |\n|                | VDU2:\\n    type: OS::Nova::Server\\n    properties:\\n      availability_zone: nova\\n      config_drive: false\\n      flavor: m1.tiny\\n |\n|                | image: cirros-0.3.4-x86_64-uec\\n      networks:\\n      - port:\\n          get_resource: CP2\\n      user_data_format:                  |\n|                | SOFTWARE_CONFIG\\n  CP2:\\n    type: OS::Neutron::Port\\n    properties:\\n      network: private\\n      port_security_enabled:           |\n|                | false\\noutputs:\\n  mgmt_ip-VDU2:\\n    value:\\n      get_attr: [CP2, fixed_ips, 0, ip_address]\\n  mgmt_ip-VDU1:\\n    value:\\n          |\n|                | get_attr: [CP1, fixed_ips, 0, ip_address]\\n\", \"monitoring_policy\": \"{\\\"vdus\\\": {}}\"}                                                  |\n| description    | sample-tosca-vnfd-scaling                                                                                                             |\n| error_reason   |                                                                                                                                       |\n| id             | 50a59f1c-0a60-40bc-a952-60d6060e68bf                                                                                                  |\n| instance_id    | 74ec2559-2797-4eb9-b034-93688064614f                                                                                                  |\n| mgmt_url       | {\"VDU1\": \"15.0.0.5\", \"VDU2\": \"15.0.0.4\"}                                                                                              |\n| name           | v1                                                                                                                                    |\n| placement_attr | {\"vim_name\": \"VIM0\"}                                                                                                                  |\n| status         | ACTIVE                                                                                                                                |\n| tenant_id      | 047af147e72449bab3ae3241fa6e6792                                                                                                      |\n| vim_id         | 7eaada40-fb26-42e4-9e75-8067e9ff0a4b                                                                                                  |\n+----------------+---------------------------------------------------------------------------------------------------------------------------------------+\nvyatta@os-dev-06:/opt/stack/tacker$ tacker vnf-show --verbose v1\nDEBUG: keystoneclient.session REQ: curl -g -i -X GET http://10.18.165.36:5000/v2.0 -H \"Accept: application/json\" -H \"User-Agent: python-keystoneclient\"\nDEBUG: keystoneclient.session RESP: [200] Date: Tue, 09 Aug 2016 05:13:24 GMT Server: Apache/2.4.7 (Ubuntu) Vary: X-Auth-Token x-openstack-request-id: req-4ee96257-e8b8-48fd-8cd5-c35906c541a3 Content-Length: 342 Keep-Alive: timeout\u003d5, max\u003d100 Connection: Keep-Alive Content-Type: application/json\nRESP BODY: {\"version\": {\"status\": \"stable\", \"updated\": \"2014-04-17T00:00:00Z\", \"media-types\": [{\"base\": \"application/json\", \"type\": \"application/vnd.openstack.identity-v2.0+json\"}], \"id\": \"v2.0\", \"links\": [{\"href\": \"http://10.18.165.36/identity/v2.0/\", \"rel\": \"self\"}, {\"href\": \"http://docs.openstack.org/\", \"type\": \"text/html\", \"rel\": \"describedby\"}]}}\n\nDEBUG: stevedore.extension found extension EntryPoint.parse(\u0027table \u003d cliff.formatters.table:TableFormatter\u0027)\nDEBUG: stevedore.extension found extension EntryPoint.parse(\u0027json \u003d cliff.formatters.json_format:JSONFormatter\u0027)\nDEBUG: stevedore.extension found extension EntryPoint.parse(\u0027shell \u003d cliff.formatters.shell:ShellFormatter\u0027)\nDEBUG: stevedore.extension found extension EntryPoint.parse(\u0027value \u003d cliff.formatters.value:ValueFormatter\u0027)\nDEBUG: stevedore.extension found extension EntryPoint.parse(\u0027yaml \u003d cliff.formatters.yaml_format:YAMLFormatter\u0027)\nDEBUG: stevedore.extension found extension EntryPoint.parse(\u0027html \u003d clifftablib.formatters:HtmlFormatter\u0027)\nDEBUG: tackerclient.tacker.v1_0.vm.vnf.ShowVNF get_data(Namespace(columns\u003d[], fields\u003d[], formatter\u003d\u0027table\u0027, id\u003du\u0027v1\u0027, max_width\u003d0, noindent\u003dFalse, prefix\u003d\u0027\u0027, request_format\u003d\u0027json\u0027, show_details\u003dFalse, variables\u003d[]))\nDEBUG: keystoneclient.auth.identity.v2 Making authentication request to http://10.18.165.36/identity/v2.0/tokens\nDEBUG: keystoneclient.session REQ: curl -g -i -X GET http://10.18.165.36:9890/v1.0/vnfs.json?fields\u003did\u0026name\u003dv1 -H \"User-Agent: python-tackerclient\" -H \"Accept: application/json\" -H \"X-Auth-Token: {SHA1}8a91950cb94264187bf8ca3cd7c529d7e1b4cf46\"\nDEBUG: keystoneclient.session RESP: [200] Content-Type: application/json Content-Length: 58 X-Openstack-Request-Id: req-19774475-8258-45f4-bf9b-cb492d46fa86 Date: Tue, 09 Aug 2016 05:13:24 GMT Connection: keep-alive\nRESP BODY: {\"vnfs\": [{\"id\": \"50a59f1c-0a60-40bc-a952-60d6060e68bf\"}]}\n\nDEBUG: keystoneclient.session REQ: curl -g -i -X GET http://10.18.165.36:9890/v1.0/vnfs/50a59f1c-0a60-40bc-a952-60d6060e68bf.json -H \"User-Agent: python-tackerclient\" -H \"Accept: application/json\" -H \"X-Auth-Token: {SHA1}8a91950cb94264187bf8ca3cd7c529d7e1b4cf46\"\nDEBUG: keystoneclient.session RESP: [200] Content-Type: application/json Content-Length: 1544 X-Openstack-Request-Id: req-99f2e986-6c3e-4fd9-8677-f05179b88171 Date: Tue, 09 Aug 2016 05:13:24 GMT Connection: keep-alive\nRESP BODY: {\"vnf\": {\"status\": \"ACTIVE\", \"description\": \"sample-tosca-vnfd-scaling\", \"tenant_id\": \"047af147e72449bab3ae3241fa6e6792\", \"vim_id\": \"7eaada40-fb26-42e4-9e75-8067e9ff0a4b\", \"instance_id\": \"74ec2559-2797-4eb9-b034-93688064614f\", \"mgmt_url\": \"{\\\"VDU1\\\": \\\"15.0.0.5\\\", \\\"VDU2\\\": \\\"15.0.0.4\\\"}\", \"placement_attr\": {\"vim_name\": \"VIM0\"}, \"error_reason\": null, \"attributes\": {\"heat_template\": \"heat_template_version: 2013-05-23\\ndescription: \u0027sample-tosca-vnfd-scaling\\n\\n  \u0027\\nparameters: {}\\nresources:\\n  VDU1:\\n    type: OS::Nova::Server\\n    properties:\\n      availability_zone: nova\\n      config_drive: false\\n      flavor: m1.tiny\\n      image: cirros-0.3.4-x86_64-uec\\n      networks:\\n      - port:\\n          get_resource: CP1\\n      user_data_format: SOFTWARE_CONFIG\\n  CP1:\\n    type: OS::Neutron::Port\\n    properties:\\n      network: private\\n      port_security_enabled: false\\n  VDU2:\\n    type: OS::Nova::Server\\n    properties:\\n      availability_zone: nova\\n      config_drive: false\\n      flavor: m1.tiny\\n      image: cirros-0.3.4-x86_64-uec\\n      networks:\\n      - port:\\n          get_resource: CP2\\n      user_data_format: SOFTWARE_CONFIG\\n  CP2:\\n    type: OS::Neutron::Port\\n    properties:\\n      network: private\\n      port_security_enabled: false\\noutputs:\\n  mgmt_ip-VDU2:\\n    value:\\n      get_attr: [CP2, fixed_ips, 0, ip_address]\\n  mgmt_ip-VDU1:\\n    value:\\n      get_attr: [CP1, fixed_ips, 0, ip_address]\\n\", \"monitoring_policy\": \"{\\\"vdus\\\": {}}\"}, \"id\": \"50a59f1c-0a60-40bc-a952-60d6060e68bf\", \"name\": \"v1\"}}\n\n+----------------+---------------------------------------------------------------------------------------------------------------------------------------+\n| Field          | Value                                                                                                                                 |\n+----------------+---------------------------------------------------------------------------------------------------------------------------------------+\n| attributes     | {\"heat_template\": \"heat_template_version: 2013-05-23\\ndescription: \u0027sample-tosca-vnfd-scaling\\n\\n  \u0027\\nparameters: {}\\nresources:\\n    |\n|                | VDU1:\\n    type: OS::Nova::Server\\n    properties:\\n      availability_zone: nova\\n      config_drive: false\\n      flavor: m1.tiny\\n |\n|                | image: cirros-0.3.4-x86_64-uec\\n      networks:\\n      - port:\\n          get_resource: CP1\\n      user_data_format:                  |\n|                | SOFTWARE_CONFIG\\n  CP1:\\n    type: OS::Neutron::Port\\n    properties:\\n      network: private\\n      port_security_enabled: false\\n   |\n|                | VDU2:\\n    type: OS::Nova::Server\\n    properties:\\n      availability_zone: nova\\n      config_drive: false\\n      flavor: m1.tiny\\n |\n|                | image: cirros-0.3.4-x86_64-uec\\n      networks:\\n      - port:\\n          get_resource: CP2\\n      user_data_format:                  |\n|                | SOFTWARE_CONFIG\\n  CP2:\\n    type: OS::Neutron::Port\\n    properties:\\n      network: private\\n      port_security_enabled:           |\n|                | false\\noutputs:\\n  mgmt_ip-VDU2:\\n    value:\\n      get_attr: [CP2, fixed_ips, 0, ip_address]\\n  mgmt_ip-VDU1:\\n    value:\\n          |\n|                | get_attr: [CP1, fixed_ips, 0, ip_address]\\n\", \"monitoring_policy\": \"{\\\"vdus\\\": {}}\"}                                                  |\n| description    | sample-tosca-vnfd-scaling                                                                                                             |\n| error_reason   |                                                                                                                                       |\n| id             | 50a59f1c-0a60-40bc-a952-60d6060e68bf                                                                                                  |\n| instance_id    | 74ec2559-2797-4eb9-b034-93688064614f                                                                                                  |\n| mgmt_url       | {\"VDU1\": \"15.0.0.5\", \"VDU2\": \"15.0.0.4\"}                                                                                              |\n| name           | v1                                                                                                                                    |\n| placement_attr | {\"vim_name\": \"VIM0\"}                                                                                                                  |\n| status         | ACTIVE                                                                                                                                |\n| tenant_id      | 047af147e72449bab3ae3241fa6e6792                                                                                                      |\n| vim_id         | 7eaada40-fb26-42e4-9e75-8067e9ff0a4b                                                                                                  |\n+----------------+---------------------------------------------------------------------------------------------------------------------------------------+\nvyatta@os-dev-06:/opt/stack/tacker$\nvyatta@os-dev-06:/opt/stack/tacker$\nvyatta@os-dev-06:/opt/stack/tacker$\nvyatta@os-dev-06:/opt/stack/tacker$\nvyatta@os-dev-06:/opt/stack/tacker$ tacker vnf-show --verbose v1 ^C\nvyatta@os-dev-06:/opt/stack/tacker$ tacker vnf-show v1\n+----------------+---------------------------------------------------------------------------------------------------------------------------------------+\n| Field          | Value                                                                                                                                 |\n+----------------+---------------------------------------------------------------------------------------------------------------------------------------+\n| attributes     | {\"heat_template\": \"heat_template_version: 2013-05-23\\ndescription: \u0027sample-tosca-vnfd-scaling\\n\\n  \u0027\\nparameters: {}\\nresources:\\n    |\n|                | VDU1:\\n    type: OS::Nova::Server\\n    properties:\\n      availability_zone: nova\\n      config_drive: false\\n      flavor: m1.tiny\\n |\n|                | image: cirros-0.3.4-x86_64-uec\\n      networks:\\n      - port:\\n          get_resource: CP1\\n      user_data_format:                  |\n|                | SOFTWARE_CONFIG\\n  CP1:\\n    type: OS::Neutron::Port\\n    properties:\\n      network: private\\n      port_security_enabled: false\\n   |\n|                | VDU2:\\n    type: OS::Nova::Server\\n    properties:\\n      availability_zone: nova\\n      config_drive: false\\n      flavor: m1.tiny\\n |\n|                | image: cirros-0.3.4-x86_64-uec\\n      networks:\\n      - port:\\n          get_resource: CP2\\n      user_data_format:                  |\n|                | SOFTWARE_CONFIG\\n  CP2:\\n    type: OS::Neutron::Port\\n    properties:\\n      network: private\\n      port_security_enabled:           |\n|                | false\\noutputs:\\n  mgmt_ip-VDU2:\\n    value:\\n      get_attr: [CP2, fixed_ips, 0, ip_address]\\n  mgmt_ip-VDU1:\\n    value:\\n          |\n|                | get_attr: [CP1, fixed_ips, 0, ip_address]\\n\", \"monitoring_policy\": \"{\\\"vdus\\\": {}}\"}                                                  |\n| description    | sample-tosca-vnfd-scaling                                                                                                             |\n| error_reason   |                                                                                                                                       |\n| id             | 50a59f1c-0a60-40bc-a952-60d6060e68bf                                                                                                  |\n| instance_id    | 74ec2559-2797-4eb9-b034-93688064614f                                                                                                  |\n| mgmt_url       | {\"VDU1\": \"15.0.0.5\", \"VDU2\": \"15.0.0.4\"}                                                                                              |\n| name           | v1                                                                                                                                    |\n| placement_attr | {\"vim_name\": \"VIM0\"}                                                                                                                  |\n| status         | ACTIVE                                                                                                                                |\n| tenant_id      | 047af147e72449bab3ae3241fa6e6792                                                                                                      |\n| vim_id         | 7eaada40-fb26-42e4-9e75-8067e9ff0a4b                                                                                                  |\n+----------------+---------------------------------------------------------------------------------------------------------------------------------------+\nvyatta@os-dev-06:/opt/stack/tacker$\nvyatta@os-dev-06:/opt/stack/tacker$\nvyatta@os-dev-06:/opt/stack/tacker$ tacker vnf-show --vnf-name v1\n+----------------+---------------------------------------------------------------------------------------------------------------------------------------+\n| Field          | Value                                                                                                                                 |\n+----------------+---------------------------------------------------------------------------------------------------------------------------------------+\n| attributes     | {\"heat_template\": \"heat_template_version: 2013-05-23\\ndescription: \u0027sample-tosca-vnfd-scaling\\n\\n  \u0027\\nparameters: {}\\nresources:\\n    |\n|                | VDU1:\\n    type: OS::Nova::Server\\n    properties:\\n      availability_zone: nova\\n      config_drive: false\\n      flavor: m1.tiny\\n |\n|                | image: cirros-0.3.4-x86_64-uec\\n      networks:\\n      - port:\\n          get_resource: CP1\\n      user_data_format:                  |\n|                | SOFTWARE_CONFIG\\n  CP1:\\n    type: OS::Neutron::Port\\n    properties:\\n      network: private\\n      port_security_enabled: false\\n   |\n|                | VDU2:\\n    type: OS::Nova::Server\\n    properties:\\n      availability_zone: nova\\n      config_drive: false\\n      flavor: m1.tiny\\n |\n|                | image: cirros-0.3.4-x86_64-uec\\n      networks:\\n      - port:\\n          get_resource: CP2\\n      user_data_format:                  |\n|                | SOFTWARE_CONFIG\\n  CP2:\\n    type: OS::Neutron::Port\\n    properties:\\n      network: private\\n      port_security_enabled:           |\n|                | false\\noutputs:\\n  mgmt_ip-VDU2:\\n    value:\\n      get_attr: [CP2, fixed_ips, 0, ip_address]\\n  mgmt_ip-VDU1:\\n    value:\\n          |\n|                | get_attr: [CP1, fixed_ips, 0, ip_address]\\n\", \"monitoring_policy\": \"{\\\"vdus\\\": {}}\"}                                                  |\n| description    | sample-tosca-vnfd-scaling                                                                                                             |\n| error_reason   |                                                                                                                                       |\n| id             | 50a59f1c-0a60-40bc-a952-60d6060e68bf                                                                                                  |\n| instance_id    | 74ec2559-2797-4eb9-b034-93688064614f                                                                                                  |\n| mgmt_url       | {\"VDU1\": \"15.0.0.5\", \"VDU2\": \"15.0.0.4\"}                                                                                              |\n| name           | v1                                                                                                                                    |\n| placement_attr | {\"vim_name\": \"VIM0\"}                                                                                                                  |\n| status         | ACTIVE                                                                                                                                |\n| tenant_id      | 047af147e72449bab3ae3241fa6e6792                                                                                                      |\n| vim_id         | 7eaada40-fb26-42e4-9e75-8067e9ff0a4b                                                                                                  |\n+----------------+---------------------------------------------------------------------------------------------------------------------------------------+\nvyatta@os-dev-06:/opt/stack/tacker$\nvyatta@os-dev-06:/opt/stack/tacker$\nvyatta@os-dev-06:/opt/stack/tacker$ tacker vnf-show --vnf-id 50a59f1c-0a60-40bc-a952-60d6060e68bf\n+----------------+---------------------------------------------------------------------------------------------------------------------------------------+\n| Field          | Value                                                                                                                                 |\n+----------------+---------------------------------------------------------------------------------------------------------------------------------------+\n| attributes     | {\"heat_template\": \"heat_template_version: 2013-05-23\\ndescription: \u0027sample-tosca-vnfd-scaling\\n\\n  \u0027\\nparameters: {}\\nresources:\\n    |\n|                | VDU1:\\n    type: OS::Nova::Server\\n    properties:\\n      availability_zone: nova\\n      config_drive: false\\n      flavor: m1.tiny\\n |\n|                | image: cirros-0.3.4-x86_64-uec\\n      networks:\\n      - port:\\n          get_resource: CP1\\n      user_data_format:                  |\n|                | SOFTWARE_CONFIG\\n  CP1:\\n    type: OS::Neutron::Port\\n    properties:\\n      network: private\\n      port_security_enabled: false\\n   |\n|                | VDU2:\\n    type: OS::Nova::Server\\n    properties:\\n      availability_zone: nova\\n      config_drive: false\\n      flavor: m1.tiny\\n |\n|                | image: cirros-0.3.4-x86_64-uec\\n      networks:\\n      - port:\\n          get_resource: CP2\\n      user_data_format:                  |\n|                | SOFTWARE_CONFIG\\n  CP2:\\n    type: OS::Neutron::Port\\n    properties:\\n      network: private\\n      port_security_enabled:           |\n|                | false\\noutputs:\\n  mgmt_ip-VDU2:\\n    value:\\n      get_attr: [CP2, fixed_ips, 0, ip_address]\\n  mgmt_ip-VDU1:\\n    value:\\n          |\n|                | get_attr: [CP1, fixed_ips, 0, ip_address]\\n\", \"monitoring_policy\": \"{\\\"vdus\\\": {}}\"}                                                  |\n| description    | sample-tosca-vnfd-scaling                                                                                                             |\n| error_reason   |                                                                                                                                       |\n| id             | 50a59f1c-0a60-40bc-a952-60d6060e68bf                                                                                                  |\n| instance_id    | 74ec2559-2797-4eb9-b034-93688064614f                                                                                                  |\n| mgmt_url       | {\"VDU1\": \"15.0.0.5\", \"VDU2\": \"15.0.0.4\"}                                                                                              |\n| name           | v1                                                                                                                                    |\n| placement_attr | {\"vim_name\": \"VIM0\"}                                                                                                                  |\n| status         | ACTIVE                                                                                                                                |\n| tenant_id      | 047af147e72449bab3ae3241fa6e6792                                                                                                      |\n| vim_id         | 7eaada40-fb26-42e4-9e75-8067e9ff0a4b                                                                                                  |\n+----------------+---------------------------------------------------------------------------------------------------------------------------------------+\nvyatta@os-dev-06:/opt/stack/tacker$ tacker vnf-list\n+-----------------------+------+-----------------------+-----------------------+--------+-----------------------+------------------------+--------------+\n| id                    | name | description           | mgmt_url              | status | vim_id                | placement_attr         | error_reason |\n+-----------------------+------+-----------------------+-----------------------+--------+-----------------------+------------------------+--------------+\n| 50a59f1c-0a60-40bc-a9 | v1   | sample-tosca-vnfd-    | {\"VDU1\": \"15.0.0.5\",  | ACTIVE | 7eaada40-fb26-42e4-9e | {u\u0027vim_name\u0027: u\u0027VIM0\u0027} |              |\n| 52-60d6060e68bf       |      | scaling               | \"VDU2\": \"15.0.0.4\"}   |        | 75-8067e9ff0a4b       |                        |              |\n+-----------------------+------+-----------------------+-----------------------+--------+-----------------------+------------------------+--------------+\nvyatta@os-dev-06:/opt/stack/tacker$","commit_id":"94ccf2ded83b5923f5637e3368355429883256c9"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"8405927b47659ec42c7485235dfb8aa6f49c512d","unresolved":false,"context_lines":[{"line_number":164,"context_line":"        obj_creator \u003d getattr(tacker_client,"},{"line_number":165,"context_line":"                              \"scale_vnf\")"},{"line_number":166,"context_line":"        obj_creator(body[\"scale\"].pop(\u0027vnf_id\u0027), body)"},{"line_number":167,"context_line":""},{"line_number":168,"context_line":"    def add_known_arguments(self, parser):"},{"line_number":169,"context_line":"        vnf_group \u003d parser.add_mutually_exclusive_group(required\u003dTrue)"},{"line_number":170,"context_line":"        vnf_group.add_argument("}],"source_content_type":"text/x-python","patch_set":6,"id":"9ad45d7e_7517aaa3","line":167,"in_reply_to":"bacf61ea_4fe22cd6","updated":"2016-08-09 02:28:42.000000000","message":"L187-196 does make sure that , it gets the required vnf id.\n\nI have tested this code and it was working. it seems now regression. can you try other show commands like vnf-show. thanks.","commit_id":"94ccf2ded83b5923f5637e3368355429883256c9"}],"tackerclient/v1_0/client.py":[{"author":{"_account_id":13485,"name":"Sripriya Seetharam","email":"sseetha@brocade.com","username":"Sripriya"},"change_message_id":"5437e19c798a42cb34cbbdbdc3cbeabe5a00d22c","unresolved":false,"context_lines":[{"line_number":338,"context_line":"    vnfd_path \u003d \u0027/vnfds/%s\u0027"},{"line_number":339,"context_line":"    vnfs_path \u003d \u0027/vnfs\u0027"},{"line_number":340,"context_line":"    vnf_path \u003d \u0027/vnfs/%s\u0027"},{"line_number":341,"context_line":"    vnf_scale_path \u003d \u0027/vnfs/%s/actions\u0027"},{"line_number":342,"context_line":""},{"line_number":343,"context_line":"    vims_path \u003d \u0027/vims\u0027"},{"line_number":344,"context_line":"    vim_path \u003d \u0027/vims/%s\u0027"}],"source_content_type":"text/x-python","patch_set":4,"id":"dada55a8_890e3a30","line":341,"range":{"start_line":341,"start_character":31,"end_line":341,"end_character":38},"updated":"2016-07-26 01:29:01.000000000","message":"i thought we agreed on the API as \u0027/vnfs/%s/scale\u0027","commit_id":"9ff05776be6756e4c2cd1a799ac514cd77bbc3f0"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"94cad50901249085f81fd58295502133132b2aea","unresolved":false,"context_lines":[{"line_number":338,"context_line":"    vnfd_path \u003d \u0027/vnfds/%s\u0027"},{"line_number":339,"context_line":"    vnfs_path \u003d \u0027/vnfs\u0027"},{"line_number":340,"context_line":"    vnf_path \u003d \u0027/vnfs/%s\u0027"},{"line_number":341,"context_line":"    vnf_scale_path \u003d \u0027/vnfs/%s/actions\u0027"},{"line_number":342,"context_line":""},{"line_number":343,"context_line":"    vims_path \u003d \u0027/vims\u0027"},{"line_number":344,"context_line":"    vim_path \u003d \u0027/vims/%s\u0027"}],"source_content_type":"text/x-python","patch_set":4,"id":"dada55a8_8dada186","line":341,"range":{"start_line":341,"start_character":31,"end_line":341,"end_character":38},"in_reply_to":"dada55a8_890e3a30","updated":"2016-07-26 04:23:54.000000000","message":"yes, while implementing the logic, the framework mandates to go this way. we can\u0027t have scale for both collections and resource at the rest api framework, as it does not allow and i didn\u0027t want to tamper it.\n\nso i kept this way, as this also one of the convention followed in heat.","commit_id":"9ff05776be6756e4c2cd1a799ac514cd77bbc3f0"},{"author":{"_account_id":13485,"name":"Sripriya Seetharam","email":"sseetha@brocade.com","username":"Sripriya"},"change_message_id":"f35410f73caa3f80c96727e22e6dac208298ed1b","unresolved":false,"context_lines":[{"line_number":338,"context_line":"    vnfd_path \u003d \u0027/vnfds/%s\u0027"},{"line_number":339,"context_line":"    vnfs_path \u003d \u0027/vnfs\u0027"},{"line_number":340,"context_line":"    vnf_path \u003d \u0027/vnfs/%s\u0027"},{"line_number":341,"context_line":"    vnf_scale_path \u003d \u0027/vnfs/%s/actions\u0027"},{"line_number":342,"context_line":""},{"line_number":343,"context_line":"    vims_path \u003d \u0027/vims\u0027"},{"line_number":344,"context_line":"    vim_path \u003d \u0027/vims/%s\u0027"}],"source_content_type":"text/x-python","patch_set":4,"id":"dada55a8_72c2a554","line":341,"range":{"start_line":341,"start_character":31,"end_line":341,"end_character":38},"in_reply_to":"dada55a8_8dada186","updated":"2016-07-26 17:11:35.000000000","message":"ok this is a significant change/deviation in terms of API calls than what we discussed in the spec, please plan to document this thoroughly since the scaling blueprint has the API call as \u0027/vnfs/%s/scale\u0027","commit_id":"9ff05776be6756e4c2cd1a799ac514cd77bbc3f0"},{"author":{"_account_id":13485,"name":"Sripriya Seetharam","email":"sseetha@brocade.com","username":"Sripriya"},"change_message_id":"5437e19c798a42cb34cbbdbdc3cbeabe5a00d22c","unresolved":false,"context_lines":[{"line_number":420,"context_line":""},{"line_number":421,"context_line":"    @APIParamsCall"},{"line_number":422,"context_line":"    def scale_vnf(self, vnf, body\u003dNone):"},{"line_number":423,"context_line":"        return self.post(self.vnf_scale_path % vnf, body\u003dbody)"},{"line_number":424,"context_line":""},{"line_number":425,"context_line":"    @APIParamsCall"},{"line_number":426,"context_line":"    def show_vim(self, vim, **_params):"}],"source_content_type":"text/x-python","patch_set":4,"id":"dada55a8_c92f9286","line":423,"range":{"start_line":423,"start_character":26,"end_line":423,"end_character":50},"updated":"2016-07-26 01:29:01.000000000","message":"same as above comment","commit_id":"9ff05776be6756e4c2cd1a799ac514cd77bbc3f0"}]}
