)]}'
{"tacker/tests/etc/samples/sample-tosca-scale-all.yaml":[{"author":{"_account_id":2874,"name":"yong sheng gong","email":"gong.yongsheng@99cloud.net","username":"gongysh"},"change_message_id":"9b21ed18cf394006266f09490f115b4088256d4c","unresolved":false,"context_lines":[{"line_number":30,"context_line":"    VL1:"},{"line_number":31,"context_line":"      type: tosca.nodes.nfv.VL"},{"line_number":32,"context_line":"      properties:"},{"line_number":33,"context_line":"        network_name: private"},{"line_number":34,"context_line":"        vendor: Tacker"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"  policies:"}],"source_content_type":"text/x-yaml","patch_set":10,"id":"9a89bdaa_34b82f2a","line":33,"range":{"start_line":33,"start_character":22,"end_line":33,"end_character":29},"updated":"2016-09-07 10:46:37.000000000","message":"net_mgmt","commit_id":"a89a383a472193899e8fa16e5b6a26eb89fced2f"},{"author":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"change_message_id":"183a9c787f6b28c92343511631d66e229b8cb483","unresolved":false,"context_lines":[{"line_number":14,"context_line":"        image: cirros-0.3.4-x86_64-uec"},{"line_number":15,"context_line":"        mgmt_driver: noop"},{"line_number":16,"context_line":"        availability_zone: nova"},{"line_number":17,"context_line":"        flavor: m1.tiny"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"    CP1:"},{"line_number":20,"context_line":"      type: tosca.nodes.nfv.CP.Tacker"}],"source_content_type":"text/x-yaml","patch_set":12,"id":"9a89bdaa_14e102ff","line":17,"range":{"start_line":17,"start_character":8,"end_line":17,"end_character":23},"updated":"2016-09-08 23:04:36.000000000","message":"We should stop using flavor, instead use TOSCA to describe the compute like in [1]\n\n[1] https://github.com/openstack/tacker/blob/master/samples/tosca-templates/vnfd/tosca-vnfd-hello-world.yaml#L13-L17","commit_id":"eb12a65461f2ce6c736a974affe58c17c4e3df59"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"53508848c55f0a05bc2744d0e3326a6af9116dae","unresolved":false,"context_lines":[{"line_number":14,"context_line":"        image: cirros-0.3.4-x86_64-uec"},{"line_number":15,"context_line":"        mgmt_driver: noop"},{"line_number":16,"context_line":"        availability_zone: nova"},{"line_number":17,"context_line":"        flavor: m1.tiny"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"    CP1:"},{"line_number":20,"context_line":"      type: tosca.nodes.nfv.CP.Tacker"}],"source_content_type":"text/x-yaml","patch_set":12,"id":"9a89bdaa_b3b65488","line":17,"range":{"start_line":17,"start_character":8,"end_line":17,"end_character":23},"in_reply_to":"9a89bdaa_14e102ff","updated":"2016-09-12 04:23:32.000000000","message":"Sridhar, IMO, its ok to go with this as we are testing the scaling feature as part of this yaml and flavor is supported one.","commit_id":"eb12a65461f2ce6c736a974affe58c17c4e3df59"},{"author":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"change_message_id":"9718a3dcef8a344920232a463f8dc75067732a8f","unresolved":false,"context_lines":[{"line_number":14,"context_line":"        image: cirros-0.3.4-x86_64-uec"},{"line_number":15,"context_line":"        mgmt_driver: noop"},{"line_number":16,"context_line":"        availability_zone: nova"},{"line_number":17,"context_line":"        flavor: m1.tiny"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"    CP1:"},{"line_number":20,"context_line":"      type: tosca.nodes.nfv.CP.Tacker"}],"source_content_type":"text/x-yaml","patch_set":12,"id":"9a89bdaa_81d62c4d","line":17,"range":{"start_line":17,"start_character":8,"end_line":17,"end_character":23},"in_reply_to":"9a89bdaa_b3b65488","updated":"2016-09-12 18:48:40.000000000","message":"I\u0027ve explained the reasoning in the commit-mesg in [1]. Even though flavor is supported, it still makes the template openstack specific. As we will be doing more openstack agnostic nfv-orchestration going forward, it is better direct our user community in the right way and avoid such things.\n\n[1] https://review.openstack.org/#/c/343118/2//COMMIT_MSG@9","commit_id":"eb12a65461f2ce6c736a974affe58c17c4e3df59"}],"tacker/tests/functional/vnfm/test_tosca_vnf_scale.py":[{"author":{"_account_id":2874,"name":"yong sheng gong","email":"gong.yongsheng@99cloud.net","username":"gongysh"},"change_message_id":"7fbc6624bff396aab70626240200fc05b5ddd004","unresolved":false,"context_lines":[{"line_number":48,"context_line":"        vnf_id \u003d vnf_instance[\u0027vnf\u0027][\u0027id\u0027]"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"        def _wait(count):"},{"line_number":51,"context_line":"            vnf_current_status \u003d self.wait_until_vnf_active("},{"line_number":52,"context_line":"                vnf_id,"},{"line_number":53,"context_line":"                constants.VNF_CIRROS_CREATE_TIMEOUT,"},{"line_number":54,"context_line":"                constants.ACTIVE_SLEEP_TIME)"}],"source_content_type":"text/x-python","patch_set":10,"id":"9a89bdaa_d412a308","line":51,"range":{"start_line":51,"start_character":33,"end_line":51,"end_character":37},"updated":"2016-09-07 10:50:37.000000000","message":"I don\u0027t know how this case can pass with net Private.\nResource Create Failed: Resources.Nhr75itmmmy6: Resources.G1.Property Error: Resources.Cp1.Properties.Network: Error Validating Value \u0027Private\u0027: Unable To Find Network With Name Or Id \u0027Private\u0027","commit_id":"a89a383a472193899e8fa16e5b6a26eb89fced2f"},{"author":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"change_message_id":"183a9c787f6b28c92343511631d66e229b8cb483","unresolved":false,"context_lines":[{"line_number":57,"context_line":"            # {\"VDU1\": [\"10.0.0.14\", \"10.0.0.5\"]}"},{"line_number":58,"context_line":"            self.assertEqual(count, len(json.loads(vnf[\u0027mgmt_url\u0027])[\u0027VDU1\u0027]))"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"        _wait(2)"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"        def _scale(type, count):"},{"line_number":63,"context_line":"            body \u003d {\"scale\": {\u0027type\u0027: type, \u0027policy\u0027: \u0027SP1\u0027}}"}],"source_content_type":"text/x-python","patch_set":12,"id":"9a89bdaa_d4b95acd","line":60,"range":{"start_line":60,"start_character":8,"end_line":60,"end_character":16},"updated":"2016-09-08 23:04:36.000000000","message":"Hmm..the template in L30 uses one CP. So, before scaling we should just have one mgmt_url ? And after scale out in L69 it should have 2 VDUs hence two mgmt_ips ?","commit_id":"eb12a65461f2ce6c736a974affe58c17c4e3df59"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"726f74b17c6cfcb1f7ecbfb369af20afbf38c078","unresolved":false,"context_lines":[{"line_number":57,"context_line":"            # {\"VDU1\": [\"10.0.0.14\", \"10.0.0.5\"]}"},{"line_number":58,"context_line":"            self.assertEqual(count, len(json.loads(vnf[\u0027mgmt_url\u0027])[\u0027VDU1\u0027]))"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"        _wait(2)"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"        def _scale(type, count):"},{"line_number":63,"context_line":"            body \u003d {\"scale\": {\u0027type\u0027: type, \u0027policy\u0027: \u0027SP1\u0027}}"}],"source_content_type":"text/x-python","patch_set":12,"id":"9a89bdaa_11166aa7","line":60,"range":{"start_line":60,"start_character":8,"end_line":60,"end_character":16},"in_reply_to":"9a89bdaa_d4b95acd","updated":"2016-09-09 05:09:46.000000000","message":"Sridhar, to bring this feature, we need to introduce an load balancer and bring out the virtual ip. Here i am using this mainly to make sure that scaling is done as expected.\n\nBut its good to add an TODO here, that once load balancer is used, this needs to be updated.","commit_id":"eb12a65461f2ce6c736a974affe58c17c4e3df59"}],"tacker/vm/plugin.py":[{"author":{"_account_id":2874,"name":"yong sheng gong","email":"gong.yongsheng@99cloud.net","username":"gongysh"},"change_message_id":"42e69e2ec5c48f0c9b6c09dca49c7bdf3340d543","unresolved":false,"context_lines":[{"line_number":469,"context_line":"                    policy\u003dpolicy[\u0027id\u0027]"},{"line_number":470,"context_line":"                )"},{"line_number":471,"context_line":""},{"line_number":472,"context_line":"            LOG.debug(_(\"Policy %s is validated successfully\") % policy[\u0027id\u0027])"},{"line_number":473,"context_line":""},{"line_number":474,"context_line":"        def _get_status():"},{"line_number":475,"context_line":"            if policy[\u0027action\u0027] \u003d\u003d constants.ACTION_SCALE_IN:"}],"source_content_type":"text/x-python","patch_set":12,"id":"9a89bdaa_986ba51d","line":472,"range":{"start_line":472,"start_character":64,"end_line":472,"end_character":65},"updated":"2016-09-08 13:22:57.000000000","message":"% -\u003c ,","commit_id":"eb12a65461f2ce6c736a974affe58c17c4e3df59"},{"author":{"_account_id":2874,"name":"yong sheng gong","email":"gong.yongsheng@99cloud.net","username":"gongysh"},"change_message_id":"d7ae393022ce114ecdfe5caadb55f14cf1b8e996","unresolved":false,"context_lines":[{"line_number":469,"context_line":"                    policy\u003dpolicy[\u0027id\u0027]"},{"line_number":470,"context_line":"                )"},{"line_number":471,"context_line":""},{"line_number":472,"context_line":"            LOG.debug(_(\"Policy %s is validated successfully\") % policy[\u0027id\u0027])"},{"line_number":473,"context_line":""},{"line_number":474,"context_line":"        def _get_status():"},{"line_number":475,"context_line":"            if policy[\u0027action\u0027] \u003d\u003d constants.ACTION_SCALE_IN:"}],"source_content_type":"text/x-python","patch_set":12,"id":"9a89bdaa_baac9c36","line":472,"range":{"start_line":472,"start_character":64,"end_line":472,"end_character":65},"in_reply_to":"9a89bdaa_24179cee","updated":"2016-09-09 13:16:41.000000000","message":"I think it is because LOG will tell if it will output according to log level, and then merge the string.","commit_id":"eb12a65461f2ce6c736a974affe58c17c4e3df59"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"9f9442b3148049783ca23c7a2fb31d1b32939b9e","unresolved":false,"context_lines":[{"line_number":469,"context_line":"                    policy\u003dpolicy[\u0027id\u0027]"},{"line_number":470,"context_line":"                )"},{"line_number":471,"context_line":""},{"line_number":472,"context_line":"            LOG.debug(_(\"Policy %s is validated successfully\") % policy[\u0027id\u0027])"},{"line_number":473,"context_line":""},{"line_number":474,"context_line":"        def _get_status():"},{"line_number":475,"context_line":"            if policy[\u0027action\u0027] \u003d\u003d constants.ACTION_SCALE_IN:"}],"source_content_type":"text/x-python","patch_set":12,"id":"9a89bdaa_24179cee","line":472,"range":{"start_line":472,"start_character":64,"end_line":472,"end_character":65},"in_reply_to":"9a89bdaa_3a57c3cb","updated":"2016-09-09 11:18:00.000000000","message":"why di you feel comma is better ? just like to understand :)","commit_id":"eb12a65461f2ce6c736a974affe58c17c4e3df59"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"726f74b17c6cfcb1f7ecbfb369af20afbf38c078","unresolved":false,"context_lines":[{"line_number":469,"context_line":"                    policy\u003dpolicy[\u0027id\u0027]"},{"line_number":470,"context_line":"                )"},{"line_number":471,"context_line":""},{"line_number":472,"context_line":"            LOG.debug(_(\"Policy %s is validated successfully\") % policy[\u0027id\u0027])"},{"line_number":473,"context_line":""},{"line_number":474,"context_line":"        def _get_status():"},{"line_number":475,"context_line":"            if policy[\u0027action\u0027] \u003d\u003d constants.ACTION_SCALE_IN:"}],"source_content_type":"text/x-python","patch_set":12,"id":"9a89bdaa_d11c02c4","line":472,"range":{"start_line":472,"start_character":64,"end_line":472,"end_character":65},"in_reply_to":"9a89bdaa_986ba51d","updated":"2016-09-09 05:09:46.000000000","message":"you want use comma instaed?","commit_id":"eb12a65461f2ce6c736a974affe58c17c4e3df59"},{"author":{"_account_id":2874,"name":"yong sheng gong","email":"gong.yongsheng@99cloud.net","username":"gongysh"},"change_message_id":"5a3693e8638ff934d9ca0d75da08127e614238ce","unresolved":false,"context_lines":[{"line_number":469,"context_line":"                    policy\u003dpolicy[\u0027id\u0027]"},{"line_number":470,"context_line":"                )"},{"line_number":471,"context_line":""},{"line_number":472,"context_line":"            LOG.debug(_(\"Policy %s is validated successfully\") % policy[\u0027id\u0027])"},{"line_number":473,"context_line":""},{"line_number":474,"context_line":"        def _get_status():"},{"line_number":475,"context_line":"            if policy[\u0027action\u0027] \u003d\u003d constants.ACTION_SCALE_IN:"}],"source_content_type":"text/x-python","patch_set":12,"id":"9a89bdaa_3a57c3cb","line":472,"range":{"start_line":472,"start_character":64,"end_line":472,"end_character":65},"in_reply_to":"9a89bdaa_d11c02c4","updated":"2016-09-09 06:28:42.000000000","message":"use comma","commit_id":"eb12a65461f2ce6c736a974affe58c17c4e3df59"},{"author":{"_account_id":2874,"name":"yong sheng gong","email":"gong.yongsheng@99cloud.net","username":"gongysh"},"change_message_id":"42e69e2ec5c48f0c9b6c09dca49c7bdf3340d543","unresolved":false,"context_lines":[{"line_number":516,"context_line":"                    policy\u003dpolicy,"},{"line_number":517,"context_line":"                    region_name\u003dregion_name"},{"line_number":518,"context_line":"                )"},{"line_number":519,"context_line":"                LOG.debug(_(\"Policy %s action is started successfully\") %"},{"line_number":520,"context_line":"                          policy[\u0027id\u0027])"},{"line_number":521,"context_line":"                return last_event_id"},{"line_number":522,"context_line":"            except Exception as e:"}],"source_content_type":"text/x-python","patch_set":12,"id":"9a89bdaa_1866b550","line":519,"range":{"start_line":519,"start_character":72,"end_line":519,"end_character":73},"updated":"2016-09-08 13:22:57.000000000","message":"\u0026 -\u003e ,","commit_id":"eb12a65461f2ce6c736a974affe58c17c4e3df59"},{"author":{"_account_id":2874,"name":"yong sheng gong","email":"gong.yongsheng@99cloud.net","username":"gongysh"},"change_message_id":"42e69e2ec5c48f0c9b6c09dca49c7bdf3340d543","unresolved":false,"context_lines":[{"line_number":533,"context_line":"        # wait"},{"line_number":534,"context_line":"        def _vnf_policy_action_wait():"},{"line_number":535,"context_line":"            try:"},{"line_number":536,"context_line":"                LOG.debug(_(\"Policy %s action is in progress\") %"},{"line_number":537,"context_line":"                          policy[\u0027id\u0027])"},{"line_number":538,"context_line":"                mgmt_url \u003d self._vnf_manager.invoke("},{"line_number":539,"context_line":"                    infra_driver,"}],"source_content_type":"text/x-python","patch_set":12,"id":"9a89bdaa_78050144","line":536,"range":{"start_line":536,"start_character":63,"end_line":536,"end_character":64},"updated":"2016-09-08 13:22:57.000000000","message":"ditto","commit_id":"eb12a65461f2ce6c736a974affe58c17c4e3df59"}],"tacker/vnfm/infra_drivers/heat/heat.py":[{"author":{"_account_id":2874,"name":"yong sheng gong","email":"gong.yongsheng@99cloud.net","username":"gongysh"},"change_message_id":"57684ae2f7d874f1d380d2d9c7bad6c10ff1042e","unresolved":false,"context_lines":[{"line_number":869,"context_line":"                    LOG.warning(error_reason)"},{"line_number":870,"context_line":"                    break"},{"line_number":871,"context_line":"                error_reason \u003d ("},{"line_number":872,"context_line":"                    \"VNF scaling failed to complete within {wait} seconds \""},{"line_number":873,"context_line":"                    \"while waiting for the stack %(stack)s to be \""},{"line_number":874,"context_line":"                    \"scaled.\") % {\u0027stack\u0027: stack_id,"},{"line_number":875,"context_line":"                                  \u0027wait\u0027: STACK_RETRIES * STACK_RETRY_WAIT}"}],"source_content_type":"text/x-python","patch_set":10,"id":"9a89bdaa_ab83fd54","line":872,"range":{"start_line":872,"start_character":60,"end_line":872,"end_character":64},"updated":"2016-09-07 11:25:05.000000000","message":"{wait} -\u003e %(wait)s ?","commit_id":"a89a383a472193899e8fa16e5b6a26eb89fced2f"},{"author":{"_account_id":2874,"name":"yong sheng gong","email":"gong.yongsheng@99cloud.net","username":"gongysh"},"change_message_id":"42e69e2ec5c48f0c9b6c09dca49c7bdf3340d543","unresolved":false,"context_lines":[{"line_number":851,"context_line":"                    if events[0].resource_status \u003d\u003d \u0027SIGNAL_COMPLETE\u0027:"},{"line_number":852,"context_line":"                        break"},{"line_number":853,"context_line":"            except Exception as e:"},{"line_number":854,"context_line":"                error_reason \u003d (\"VNF scaling failed for stack %(stack)s with \""},{"line_number":855,"context_line":"                                \"error %(error)s\") % {"},{"line_number":856,"context_line":"                    \u0027stack\u0027: policy[\u0027instance_id\u0027],"},{"line_number":857,"context_line":"                    \u0027error\u0027: e.message"}],"source_content_type":"text/x-python","patch_set":12,"id":"9a89bdaa_183795ff","line":854,"range":{"start_line":854,"start_character":31,"end_line":854,"end_character":33},"updated":"2016-09-08 13:22:57.000000000","message":"_()","commit_id":"eb12a65461f2ce6c736a974affe58c17c4e3df59"},{"author":{"_account_id":2874,"name":"yong sheng gong","email":"gong.yongsheng@99cloud.net","username":"gongysh"},"change_message_id":"42e69e2ec5c48f0c9b6c09dca49c7bdf3340d543","unresolved":false,"context_lines":[{"line_number":864,"context_line":"            if stack_retries \u003d\u003d 0:"},{"line_number":865,"context_line":"                metadata \u003d heatclient_.resource_metadata(stack_id, policy_name)"},{"line_number":866,"context_line":"                if not metadata[\u0027scaling_in_progress\u0027]:"},{"line_number":867,"context_line":"                    error_reason \u003d (\u0027when signal occurred within cool down \u0027"},{"line_number":868,"context_line":"                                    \u0027window, no events generated from heat, \u0027"},{"line_number":869,"context_line":"                                    \u0027so ignore it\u0027)"},{"line_number":870,"context_line":"                    LOG.warning(error_reason)"}],"source_content_type":"text/x-python","patch_set":12,"id":"9a89bdaa_b82ea9a2","line":867,"range":{"start_line":867,"start_character":35,"end_line":867,"end_character":37},"updated":"2016-09-08 13:22:57.000000000","message":"_()","commit_id":"eb12a65461f2ce6c736a974affe58c17c4e3df59"},{"author":{"_account_id":2874,"name":"yong sheng gong","email":"gong.yongsheng@99cloud.net","username":"gongysh"},"change_message_id":"42e69e2ec5c48f0c9b6c09dca49c7bdf3340d543","unresolved":false,"context_lines":[{"line_number":869,"context_line":"                                    \u0027so ignore it\u0027)"},{"line_number":870,"context_line":"                    LOG.warning(error_reason)"},{"line_number":871,"context_line":"                    break"},{"line_number":872,"context_line":"                error_reason \u003d ("},{"line_number":873,"context_line":"                    \"VNF scaling failed to complete within %{wait}s seconds \""},{"line_number":874,"context_line":"                    \"while waiting for the stack %(stack)s to be \""},{"line_number":875,"context_line":"                    \"scaled.\") % {\u0027stack\u0027: stack_id,"}],"source_content_type":"text/x-python","patch_set":12,"id":"9a89bdaa_980ac524","line":872,"range":{"start_line":872,"start_character":31,"end_line":872,"end_character":32},"updated":"2016-09-08 13:22:57.000000000","message":"_()","commit_id":"eb12a65461f2ce6c736a974affe58c17c4e3df59"}]}
