)]}'
{"etc/quantum/plugins/nicira/nvp.ini":[{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"unresolved":false,"context_lines":[{"line_number":3,"context_line":"# The following flag will cause a host route to the metadata server"},{"line_number":4,"context_line":"# to be injected into instances. The metadata server will be reached"},{"line_number":5,"context_line":"# via the dhcp server."},{"line_number":6,"context_line":"metadata_dhcp_host_route \u003d True"},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"[DATABASE]"},{"line_number":9,"context_line":"# This line MUST be changed to actually run the plugin."}],"source_content_type":"text/x-properties","patch_set":3,"id":"AAAAM3%2F%2FCNM%3D","line":6,"updated":"2013-02-10 15:45:21.000000000","message":"In quantum/plugins/nicira/nicira_nvp_plugin/common/config.py this is defaulted to False. Any reason for the difference?","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"unresolved":false,"context_lines":[{"line_number":3,"context_line":"# The following flag will cause a host route to the metadata server"},{"line_number":4,"context_line":"# to be injected into instances. The metadata server will be reached"},{"line_number":5,"context_line":"# via the dhcp server."},{"line_number":6,"context_line":"metadata_dhcp_host_route \u003d True"},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"[DATABASE]"},{"line_number":9,"context_line":"# This line MUST be changed to actually run the plugin."}],"source_content_type":"text/x-properties","patch_set":3,"id":"AAAAM3%2F%2FCIw%3D","line":6,"in_reply_to":"AAAAM3%2F%2FCNM%3D","updated":"2013-02-10 18:30:06.000000000","message":"Done","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"}],"quantum/plugins/nicira/nicira_nvp_plugin/QuantumPlugin.py":[{"author":{"_account_id":2592,"name":"Mark McClain","email":"mark@mcclain.xyz","username":"markmcclain"},"change_message_id":"8dad92a57b1f65869c8173ba9b6466d1283e45c2","unresolved":false,"context_lines":[{"line_number":720,"context_line":"                          \"network %s\"), net_data.get(\u0027name\u0027, \u0027\u003cunknown\u003e\u0027))"},{"line_number":721,"context_line":"        target_cluster \u003d self._find_target_cluster(net_data)"},{"line_number":722,"context_line":"        external \u003d net_data.get(l3.EXTERNAL)"},{"line_number":723,"context_line":"        if (not attr.is_attr_set(external) or "},{"line_number":724,"context_line":"            attr.is_attr_set(external) and not external):"},{"line_number":725,"context_line":"            nvp_binding_type \u003d net_data.get(pnet.NETWORK_TYPE)"},{"line_number":726,"context_line":"            if nvp_binding_type in (\u0027flat\u0027, \u0027vlan\u0027):"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAM3%2F%2FDrg%3D","line":723,"updated":"2013-02-08 17:59:59.000000000","message":"extra whitespace","commit_id":"3f9940c50be8136c9788a5f76f7a81ca835763cb"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"unresolved":false,"context_lines":[{"line_number":720,"context_line":"                          \"network %s\"), net_data.get(\u0027name\u0027, \u0027\u003cunknown\u003e\u0027))"},{"line_number":721,"context_line":"        target_cluster \u003d self._find_target_cluster(net_data)"},{"line_number":722,"context_line":"        external \u003d net_data.get(l3.EXTERNAL)"},{"line_number":723,"context_line":"        if (not attr.is_attr_set(external) or "},{"line_number":724,"context_line":"            attr.is_attr_set(external) and not external):"},{"line_number":725,"context_line":"            nvp_binding_type \u003d net_data.get(pnet.NETWORK_TYPE)"},{"line_number":726,"context_line":"            if nvp_binding_type in (\u0027flat\u0027, \u0027vlan\u0027):"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAM3%2F%2FCQg%3D","line":723,"in_reply_to":"AAAAM3%2F%2FDrg%3D","updated":"2013-02-10 13:08:12.000000000","message":"thanks missed that","commit_id":"3f9940c50be8136c9788a5f76f7a81ca835763cb"},{"author":{"_account_id":4395,"name":"Aaron Rosen","email":"aaronorosen@gmail.com","username":"arosen"},"change_message_id":"06cdda999ccbeeee7f7c1cd0049fd7a8ee3b1525","unresolved":false,"context_lines":[{"line_number":1221,"context_line":"                self._update_port_security_binding("},{"line_number":1222,"context_line":"                    context, id, ret_port[psec.PORTSECURITY])"},{"line_number":1223,"context_line":"            self._extend_port_port_security_dict(context, ret_port)"},{"line_number":1224,"context_line":"            self._extend_port_dict_security_group(context, ret_port)"},{"line_number":1225,"context_line":"            port_nvp, cluster \u003d ("},{"line_number":1226,"context_line":"                nvplib.get_port_by_quantum_tag(self.clusters.itervalues(),"},{"line_number":1227,"context_line":"                                               ret_port[\"network_id\"], id))"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAM3%2F%2FCYA%3D","line":1224,"updated":"2013-02-10 06:15:25.000000000","message":"This patch added:  nicira_db.get_nvp_port_id() so we should update all the get_port_by_tag() to use this method instead.","commit_id":"3f9940c50be8136c9788a5f76f7a81ca835763cb"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"unresolved":false,"context_lines":[{"line_number":1221,"context_line":"                self._update_port_security_binding("},{"line_number":1222,"context_line":"                    context, id, ret_port[psec.PORTSECURITY])"},{"line_number":1223,"context_line":"            self._extend_port_port_security_dict(context, ret_port)"},{"line_number":1224,"context_line":"            self._extend_port_dict_security_group(context, ret_port)"},{"line_number":1225,"context_line":"            port_nvp, cluster \u003d ("},{"line_number":1226,"context_line":"                nvplib.get_port_by_quantum_tag(self.clusters.itervalues(),"},{"line_number":1227,"context_line":"                                               ret_port[\"network_id\"], id))"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAM3%2F%2FCQc%3D","line":1224,"in_reply_to":"AAAAM3%2F%2FCYA%3D","updated":"2013-02-10 13:08:12.000000000","message":"Good point. This will save us some time when fetching data.","commit_id":"3f9940c50be8136c9788a5f76f7a81ca835763cb"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"unresolved":false,"context_lines":[{"line_number":847,"context_line":"        :raises: exception.QuantumException"},{"line_number":848,"context_line":"        \"\"\""},{"line_number":849,"context_line":"        with context.session.begin(subtransactions\u003dTrue):"},{"line_number":850,"context_line":"            # goto to the plugin DB and fecth the network"},{"line_number":851,"context_line":"            network \u003d self._get_network(context, id)"},{"line_number":852,"context_line":"            # if the network is external, do not go to NVP"},{"line_number":853,"context_line":"            if not self._network_is_external(context, id):"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCNY%3D","line":850,"updated":"2013-02-10 15:45:21.000000000","message":"typo - fecth","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"unresolved":false,"context_lines":[{"line_number":847,"context_line":"        :raises: exception.QuantumException"},{"line_number":848,"context_line":"        \"\"\""},{"line_number":849,"context_line":"        with context.session.begin(subtransactions\u003dTrue):"},{"line_number":850,"context_line":"            # goto to the plugin DB and fecth the network"},{"line_number":851,"context_line":"            network \u003d self._get_network(context, id)"},{"line_number":852,"context_line":"            # if the network is external, do not go to NVP"},{"line_number":853,"context_line":"            if not self._network_is_external(context, id):"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCIo%3D","line":850,"in_reply_to":"AAAAM3%2F%2FCNY%3D","updated":"2013-02-10 18:30:06.000000000","message":"Done","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"}],"quantum/plugins/nicira/nicira_nvp_plugin/common/exceptions.py":[{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"unresolved":false,"context_lines":[{"line_number":43,"context_line":""},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"class NvpNatRuleMismatch(NvpPluginException):"},{"line_number":46,"context_line":"    message \u003d _(\"While retrieving NAT rules, %(actual_rules)s where found \""},{"line_number":47,"context_line":"                \"whereas rules in the (%(min_rules)s,%(max_rules)s) interval \""},{"line_number":48,"context_line":"                \"were expected\")"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCNI%3D","line":46,"updated":"2013-02-10 15:45:21.000000000","message":"where \u003d\u003e were","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"unresolved":false,"context_lines":[{"line_number":43,"context_line":""},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"class NvpNatRuleMismatch(NvpPluginException):"},{"line_number":46,"context_line":"    message \u003d _(\"While retrieving NAT rules, %(actual_rules)s where found \""},{"line_number":47,"context_line":"                \"whereas rules in the (%(min_rules)s,%(max_rules)s) interval \""},{"line_number":48,"context_line":"                \"were expected\")"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCIk%3D","line":46,"in_reply_to":"AAAAM3%2F%2FCNI%3D","updated":"2013-02-10 18:30:06.000000000","message":"Done","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"}],"quantum/plugins/nicira/nicira_nvp_plugin/nvp_cluster.py":[{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"unresolved":false,"context_lines":[{"line_number":16,"context_line":"#    under the License."},{"line_number":17,"context_line":"#"},{"line_number":18,"context_line":"# vim: tabstop\u003d4 shiftwidth\u003d4 softtabstop\u003d4"},{"line_number":19,"context_line":"#"},{"line_number":20,"context_line":"import re"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"from quantum.api.v2 import attributes"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCNE%3D","line":19,"updated":"2013-02-10 15:45:21.000000000","message":"new line","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"unresolved":false,"context_lines":[{"line_number":16,"context_line":"#    under the License."},{"line_number":17,"context_line":"#"},{"line_number":18,"context_line":"# vim: tabstop\u003d4 shiftwidth\u003d4 softtabstop\u003d4"},{"line_number":19,"context_line":"#"},{"line_number":20,"context_line":"import re"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"from quantum.api.v2 import attributes"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCIg%3D","line":19,"in_reply_to":"AAAAM3%2F%2FCNE%3D","updated":"2013-02-10 18:30:06.000000000","message":"Done","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"}],"quantum/plugins/nicira/nicira_nvp_plugin/nvplib.py":[{"author":{"_account_id":2592,"name":"Mark McClain","email":"mark@mcclain.xyz","username":"markmcclain"},"change_message_id":"8dad92a57b1f65869c8173ba9b6466d1283e45c2","unresolved":false,"context_lines":[{"line_number":104,"context_line":"    uri_path \u003d \"%s/%s\" % (URI_PREFIX, res_path)"},{"line_number":105,"context_line":"    non_empty_params \u003d [x for x in params if x is not None]"},{"line_number":106,"context_line":"    if len(non_empty_params):"},{"line_number":107,"context_line":"        query_string \u003d reduce(lambda x, y: \"%s\u0026%s\" % (x, y),"},{"line_number":108,"context_line":"                              non_empty_params)"},{"line_number":109,"context_line":"        if query_string:"},{"line_number":110,"context_line":"            uri_path +\u003d \"?%s\" % query_string"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAM3%2F%2FDqg%3D","line":107,"updated":"2013-02-08 17:59:59.000000000","message":"Consider:\n\nquery_string \u003d \u0027\u0026\u0027.join(non_empty_params)","commit_id":"3f9940c50be8136c9788a5f76f7a81ca835763cb"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"unresolved":false,"context_lines":[{"line_number":104,"context_line":"    uri_path \u003d \"%s/%s\" % (URI_PREFIX, res_path)"},{"line_number":105,"context_line":"    non_empty_params \u003d [x for x in params if x is not None]"},{"line_number":106,"context_line":"    if len(non_empty_params):"},{"line_number":107,"context_line":"        query_string \u003d reduce(lambda x, y: \"%s\u0026%s\" % (x, y),"},{"line_number":108,"context_line":"                              non_empty_params)"},{"line_number":109,"context_line":"        if query_string:"},{"line_number":110,"context_line":"            uri_path +\u003d \"?%s\" % query_string"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAM3%2F%2FCQY%3D","line":107,"in_reply_to":"AAAAM3%2F%2FDqg%3D","updated":"2013-02-10 13:08:12.000000000","message":"Yes, that would be much cleaner, effective and easier to read.","commit_id":"3f9940c50be8136c9788a5f76f7a81ca835763cb"},{"author":{"_account_id":4395,"name":"Aaron Rosen","email":"aaronorosen@gmail.com","username":"arosen"},"change_message_id":"06cdda999ccbeeee7f7c1cd0049fd7a8ee3b1525","unresolved":false,"context_lines":[{"line_number":495,"context_line":"        raise exception.QuantumException()"},{"line_number":496,"context_line":""},{"line_number":497,"context_line":""},{"line_number":498,"context_line":"def get_port_by_quantum_tag(clusters, lswitch, quantum_tag):"},{"line_number":499,"context_line":"    \"\"\"Return (url, cluster_id) of port or raises ResourceNotFound"},{"line_number":500,"context_line":"    \"\"\""},{"line_number":501,"context_line":"    query \u003d (\"/ws.v1/lswitch/%s/lport?fields\u003dadmin_status_enabled,\""}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAM3%2F%2FCX8%3D","line":498,"updated":"2013-02-10 06:15:25.000000000","message":"I don\u0027t think we need this one anymore.","commit_id":"3f9940c50be8136c9788a5f76f7a81ca835763cb"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"unresolved":false,"context_lines":[{"line_number":495,"context_line":"        raise exception.QuantumException()"},{"line_number":496,"context_line":""},{"line_number":497,"context_line":""},{"line_number":498,"context_line":"def get_port_by_quantum_tag(clusters, lswitch, quantum_tag):"},{"line_number":499,"context_line":"    \"\"\"Return (url, cluster_id) of port or raises ResourceNotFound"},{"line_number":500,"context_line":"    \"\"\""},{"line_number":501,"context_line":"    query \u003d (\"/ws.v1/lswitch/%s/lport?fields\u003dadmin_status_enabled,\""}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAM3%2F%2FCQU%3D","line":498,"in_reply_to":"AAAAM3%2F%2FCX8%3D","updated":"2013-02-10 13:08:12.000000000","message":"I will check and delete if appropriate.","commit_id":"3f9940c50be8136c9788a5f76f7a81ca835763cb"},{"author":{"_account_id":2592,"name":"Mark McClain","email":"mark@mcclain.xyz","username":"markmcclain"},"change_message_id":"8dad92a57b1f65869c8173ba9b6466d1283e45c2","unresolved":false,"context_lines":[{"line_number":984,"context_line":""},{"line_number":985,"context_line":""},{"line_number":986,"context_line":"def _create_nat_match_obj(**kwargs):"},{"line_number":987,"context_line":"    nat_match_obj \u003d {\"ethertype\": \"IPv4\"}"},{"line_number":988,"context_line":"    for k, v in kwargs.items():"},{"line_number":989,"context_line":"        if k in MATCH_KEYS:"},{"line_number":990,"context_line":"            nat_match_obj[k] \u003d v"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAM3%2F%2FDp4%3D","line":987,"updated":"2013-02-08 17:59:59.000000000","message":"Consider replacing 987-994:\n\ndelta \u003d set(kwargs.keys()) - set(MATCH_KEYS)\nif delta:\n     raise Exception(\"invalid keys for NAT match: %s\" % delta)\nreturn dict(kwargs, ether_type\u003d\u0027IPv4\u0027)","commit_id":"3f9940c50be8136c9788a5f76f7a81ca835763cb"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"unresolved":false,"context_lines":[{"line_number":984,"context_line":""},{"line_number":985,"context_line":""},{"line_number":986,"context_line":"def _create_nat_match_obj(**kwargs):"},{"line_number":987,"context_line":"    nat_match_obj \u003d {\"ethertype\": \"IPv4\"}"},{"line_number":988,"context_line":"    for k, v in kwargs.items():"},{"line_number":989,"context_line":"        if k in MATCH_KEYS:"},{"line_number":990,"context_line":"            nat_match_obj[k] \u003d v"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAM3%2F%2FCQE%3D","line":987,"in_reply_to":"AAAAM3%2F%2FDp4%3D","updated":"2013-02-10 13:08:12.000000000","message":"We had similar code before but was not working.\nI can\u0027t recall the reason though. I will replace as you suggest anyway, and fix is some problem arises.","commit_id":"3f9940c50be8136c9788a5f76f7a81ca835763cb"},{"author":{"_account_id":2592,"name":"Mark McClain","email":"mark@mcclain.xyz","username":"markmcclain"},"change_message_id":"8dad92a57b1f65869c8173ba9b6466d1283e45c2","unresolved":false,"context_lines":[{"line_number":1050,"context_line":"        if (r[\u0027type\u0027] !\u003d rule_type):"},{"line_number":1051,"context_line":"            continue"},{"line_number":1052,"context_line":""},{"line_number":1053,"context_line":"        is_match \u003d True"},{"line_number":1054,"context_line":"        for key, value in kwargs.iteritems():"},{"line_number":1055,"context_line":"            if not (key in r[\u0027match\u0027] and r[\u0027match\u0027][key] \u003d\u003d value):"},{"line_number":1056,"context_line":"                is_match \u003d False"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAM3%2F%2FDp0%3D","line":1053,"updated":"2013-02-08 17:59:59.000000000","message":"Consider replacing 1053-1059 with for..else loop:\n\nfor key,value in kwargs.iteritems():\n    if not (key in r[\u0027match\u0027] and r[\u0027match\u0027][key] \u003d\u003d value):\n        break\nelse:\n    to_delete_ids.append(r[\u0027uuid\u0027])","commit_id":"3f9940c50be8136c9788a5f76f7a81ca835763cb"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"unresolved":false,"context_lines":[{"line_number":1050,"context_line":"        if (r[\u0027type\u0027] !\u003d rule_type):"},{"line_number":1051,"context_line":"            continue"},{"line_number":1052,"context_line":""},{"line_number":1053,"context_line":"        is_match \u003d True"},{"line_number":1054,"context_line":"        for key, value in kwargs.iteritems():"},{"line_number":1055,"context_line":"            if not (key in r[\u0027match\u0027] and r[\u0027match\u0027][key] \u003d\u003d value):"},{"line_number":1056,"context_line":"                is_match \u003d False"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAM3%2F%2FCQA%3D","line":1053,"in_reply_to":"AAAAM3%2F%2FDp0%3D","updated":"2013-02-10 13:08:12.000000000","message":"I deliberately avoided the for...else loop, because It\u0027s just not really natural to me!\n\nBut if a member of the PSF recommends to use it, then that\u0027s fine!","commit_id":"3f9940c50be8136c9788a5f76f7a81ca835763cb"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"unresolved":false,"context_lines":[{"line_number":323,"context_line":"                                            cluster\u003dcluster))"},{"line_number":324,"context_line":"    except NvpApiClient.NvpApiException:"},{"line_number":325,"context_line":"        # just log and re-raise - let the caller handle it"},{"line_number":326,"context_line":"        LOG.exception(\"An exception occured while communicating with \""},{"line_number":327,"context_line":"                      \"the NVP controller for cluster:%s\", cluster.name)"},{"line_number":328,"context_line":"        raise"},{"line_number":329,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCM8%3D","line":326,"updated":"2013-02-10 15:45:21.000000000","message":"i18n support","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"unresolved":false,"context_lines":[{"line_number":323,"context_line":"                                            cluster\u003dcluster))"},{"line_number":324,"context_line":"    except NvpApiClient.NvpApiException:"},{"line_number":325,"context_line":"        # just log and re-raise - let the caller handle it"},{"line_number":326,"context_line":"        LOG.exception(\"An exception occured while communicating with \""},{"line_number":327,"context_line":"                      \"the NVP controller for cluster:%s\", cluster.name)"},{"line_number":328,"context_line":"        raise"},{"line_number":329,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCIc%3D","line":326,"in_reply_to":"AAAAM3%2F%2FCM8%3D","updated":"2013-02-10 18:30:06.000000000","message":"Done","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"unresolved":false,"context_lines":[{"line_number":336,"context_line":"                          cluster\u003dcluster)"},{"line_number":337,"context_line":"    except NvpApiClient.NvpApiException:"},{"line_number":338,"context_line":"        # just log and re-raise - let the caller handle it"},{"line_number":339,"context_line":"        LOG.exception(\"An exception occured while communicating with \""},{"line_number":340,"context_line":"                      \"the NVP controller for cluster:%s\", cluster.name)"},{"line_number":341,"context_line":"        raise"},{"line_number":342,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCM4%3D","line":339,"updated":"2013-02-10 15:45:21.000000000","message":"i18n support","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"unresolved":false,"context_lines":[{"line_number":336,"context_line":"                          cluster\u003dcluster)"},{"line_number":337,"context_line":"    except NvpApiClient.NvpApiException:"},{"line_number":338,"context_line":"        # just log and re-raise - let the caller handle it"},{"line_number":339,"context_line":"        LOG.exception(\"An exception occured while communicating with \""},{"line_number":340,"context_line":"                      \"the NVP controller for cluster:%s\", cluster.name)"},{"line_number":341,"context_line":"        raise"},{"line_number":342,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCIY%3D","line":339,"in_reply_to":"AAAAM3%2F%2FCM4%3D","updated":"2013-02-10 18:30:06.000000000","message":"Done","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"unresolved":false,"context_lines":[{"line_number":350,"context_line":"                          cluster\u003dcluster))"},{"line_number":351,"context_line":"    except NvpApiClient.NvpApiException:"},{"line_number":352,"context_line":"        # just log and re-raise - let the caller handle it"},{"line_number":353,"context_line":"        LOG.exception(\"An exception occured while communicating with \""},{"line_number":354,"context_line":"                      \"the NVP controller for cluster:%s\", cluster.name)"},{"line_number":355,"context_line":"        raise"},{"line_number":356,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCNA%3D","line":353,"updated":"2013-02-10 15:45:21.000000000","message":"i18n support","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"unresolved":false,"context_lines":[{"line_number":350,"context_line":"                          cluster\u003dcluster))"},{"line_number":351,"context_line":"    except NvpApiClient.NvpApiException:"},{"line_number":352,"context_line":"        # just log and re-raise - let the caller handle it"},{"line_number":353,"context_line":"        LOG.exception(\"An exception occured while communicating with \""},{"line_number":354,"context_line":"                      \"the NVP controller for cluster:%s\", cluster.name)"},{"line_number":355,"context_line":"        raise"},{"line_number":356,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCIU%3D","line":353,"in_reply_to":"AAAAM3%2F%2FCNA%3D","updated":"2013-02-10 18:30:06.000000000","message":"Done","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"unresolved":false,"context_lines":[{"line_number":391,"context_line":"                          cluster\u003dcluster))"},{"line_number":392,"context_line":"    except NvpApiClient.NvpApiException:"},{"line_number":393,"context_line":"        # just log and re-raise - let the caller handle it"},{"line_number":394,"context_line":"        LOG.exception(\"An exception occured while communicating with \""},{"line_number":395,"context_line":"                      \"the NVP controller for cluster:%s\", cluster.name)"},{"line_number":396,"context_line":"        raise"},{"line_number":397,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCM0%3D","line":394,"updated":"2013-02-10 15:45:21.000000000","message":"i18n support","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"unresolved":false,"context_lines":[{"line_number":391,"context_line":"                          cluster\u003dcluster))"},{"line_number":392,"context_line":"    except NvpApiClient.NvpApiException:"},{"line_number":393,"context_line":"        # just log and re-raise - let the caller handle it"},{"line_number":394,"context_line":"        LOG.exception(\"An exception occured while communicating with \""},{"line_number":395,"context_line":"                      \"the NVP controller for cluster:%s\", cluster.name)"},{"line_number":396,"context_line":"        raise"},{"line_number":397,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCIQ%3D","line":394,"in_reply_to":"AAAAM3%2F%2FCM0%3D","updated":"2013-02-10 18:30:06.000000000","message":"Done","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"unresolved":false,"context_lines":[{"line_number":458,"context_line":"    try:"},{"line_number":459,"context_line":"        resp_obj \u003d do_single_request(\"GET\", uri, cluster\u003dcluster)"},{"line_number":460,"context_line":"    except NvpApiClient.ResourceNotFound:"},{"line_number":461,"context_line":"        LOG.exception(\"Logical switch: %s not found\", ls_uuid)"},{"line_number":462,"context_line":"        raise"},{"line_number":463,"context_line":"    except NvpApiClient.NvpApiException:"},{"line_number":464,"context_line":"        LOG.exception(\"An error occured while querying logical ports on \""}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCMw%3D","line":461,"updated":"2013-02-10 15:45:21.000000000","message":"i18n support","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"unresolved":false,"context_lines":[{"line_number":458,"context_line":"    try:"},{"line_number":459,"context_line":"        resp_obj \u003d do_single_request(\"GET\", uri, cluster\u003dcluster)"},{"line_number":460,"context_line":"    except NvpApiClient.ResourceNotFound:"},{"line_number":461,"context_line":"        LOG.exception(\"Logical switch: %s not found\", ls_uuid)"},{"line_number":462,"context_line":"        raise"},{"line_number":463,"context_line":"    except NvpApiClient.NvpApiException:"},{"line_number":464,"context_line":"        LOG.exception(\"An error occured while querying logical ports on \""}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCII%3D","line":461,"in_reply_to":"AAAAM3%2F%2FCMw%3D","updated":"2013-02-10 18:30:06.000000000","message":"Done","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"unresolved":false,"context_lines":[{"line_number":461,"context_line":"        LOG.exception(\"Logical switch: %s not found\", ls_uuid)"},{"line_number":462,"context_line":"        raise"},{"line_number":463,"context_line":"    except NvpApiClient.NvpApiException:"},{"line_number":464,"context_line":"        LOG.exception(\"An error occured while querying logical ports on \""},{"line_number":465,"context_line":"                      \"the NVP platfom\")"},{"line_number":466,"context_line":"        raise"},{"line_number":467,"context_line":"    return json.loads(resp_obj)[\"results\"]"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCMs%3D","line":464,"updated":"2013-02-10 15:45:21.000000000","message":"i18n support","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"unresolved":false,"context_lines":[{"line_number":461,"context_line":"        LOG.exception(\"Logical switch: %s not found\", ls_uuid)"},{"line_number":462,"context_line":"        raise"},{"line_number":463,"context_line":"    except NvpApiClient.NvpApiException:"},{"line_number":464,"context_line":"        LOG.exception(\"An error occured while querying logical ports on \""},{"line_number":465,"context_line":"                      \"the NVP platfom\")"},{"line_number":466,"context_line":"        raise"},{"line_number":467,"context_line":"    return json.loads(resp_obj)[\"results\"]"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCIM%3D","line":464,"in_reply_to":"AAAAM3%2F%2FCMs%3D","updated":"2013-02-10 18:30:06.000000000","message":"Done (and you missed the typo! eh eh)","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"unresolved":false,"context_lines":[{"line_number":474,"context_line":"    try:"},{"line_number":475,"context_line":"        resp_obj \u003d do_single_request(\"GET\", uri, cluster\u003dcluster)"},{"line_number":476,"context_line":"    except NvpApiClient.ResourceNotFound:"},{"line_number":477,"context_line":"        LOG.exception(\"Logical router: %s not found\", lr_uuid)"},{"line_number":478,"context_line":"        raise"},{"line_number":479,"context_line":"    except NvpApiClient.NvpApiException:"},{"line_number":480,"context_line":"        LOG.exception(\"An error occured while querying logical router \""}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCMo%3D","line":477,"updated":"2013-02-10 15:45:21.000000000","message":"i18n support","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"unresolved":false,"context_lines":[{"line_number":474,"context_line":"    try:"},{"line_number":475,"context_line":"        resp_obj \u003d do_single_request(\"GET\", uri, cluster\u003dcluster)"},{"line_number":476,"context_line":"    except NvpApiClient.ResourceNotFound:"},{"line_number":477,"context_line":"        LOG.exception(\"Logical router: %s not found\", lr_uuid)"},{"line_number":478,"context_line":"        raise"},{"line_number":479,"context_line":"    except NvpApiClient.NvpApiException:"},{"line_number":480,"context_line":"        LOG.exception(\"An error occured while querying logical router \""}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCIE%3D","line":477,"in_reply_to":"AAAAM3%2F%2FCMo%3D","updated":"2013-02-10 18:30:06.000000000","message":"Done","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"unresolved":false,"context_lines":[{"line_number":477,"context_line":"        LOG.exception(\"Logical router: %s not found\", lr_uuid)"},{"line_number":478,"context_line":"        raise"},{"line_number":479,"context_line":"    except NvpApiClient.NvpApiException:"},{"line_number":480,"context_line":"        LOG.exception(\"An error occured while querying logical router \""},{"line_number":481,"context_line":"                      \"ports on the NVP platfom\")"},{"line_number":482,"context_line":"        raise"},{"line_number":483,"context_line":"    return json.loads(resp_obj)[\"results\"]"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCMk%3D","line":480,"updated":"2013-02-10 15:45:21.000000000","message":"i18n support","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"unresolved":false,"context_lines":[{"line_number":477,"context_line":"        LOG.exception(\"Logical router: %s not found\", lr_uuid)"},{"line_number":478,"context_line":"        raise"},{"line_number":479,"context_line":"    except NvpApiClient.NvpApiException:"},{"line_number":480,"context_line":"        LOG.exception(\"An error occured while querying logical router \""},{"line_number":481,"context_line":"                      \"ports on the NVP platfom\")"},{"line_number":482,"context_line":"        raise"},{"line_number":483,"context_line":"    return json.loads(resp_obj)[\"results\"]"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCIA%3D","line":480,"in_reply_to":"AAAAM3%2F%2FCMk%3D","updated":"2013-02-10 18:30:06.000000000","message":"Done","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"unresolved":false,"context_lines":[{"line_number":653,"context_line":"        raise"},{"line_number":654,"context_line":""},{"line_number":655,"context_line":"    result \u003d json.loads(resp_obj)"},{"line_number":656,"context_line":"    LOG.debug(\"Created logical port %s on logical router %s\""},{"line_number":657,"context_line":"              % (result[\u0027uuid\u0027], lrouter_uuid))"},{"line_number":658,"context_line":"    return result"},{"line_number":659,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCMg%3D","line":656,"updated":"2013-02-10 15:45:21.000000000","message":"i18n support","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"unresolved":false,"context_lines":[{"line_number":653,"context_line":"        raise"},{"line_number":654,"context_line":""},{"line_number":655,"context_line":"    result \u003d json.loads(resp_obj)"},{"line_number":656,"context_line":"    LOG.debug(\"Created logical port %s on logical router %s\""},{"line_number":657,"context_line":"              % (result[\u0027uuid\u0027], lrouter_uuid))"},{"line_number":658,"context_line":"    return result"},{"line_number":659,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCH0%3D","line":656,"in_reply_to":"AAAAM3%2F%2FCMg%3D","updated":"2013-02-10 18:30:06.000000000","message":"Done","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"unresolved":false,"context_lines":[{"line_number":682,"context_line":"                                     json.dumps(lport_obj),"},{"line_number":683,"context_line":"                                     cluster\u003dcluster)"},{"line_number":684,"context_line":"    except NvpApiClient.ResourceNotFound as e:"},{"line_number":685,"context_line":"        LOG.error(\"Logical router or router port not found, \""},{"line_number":686,"context_line":"                  \"Error: %s\" % str(e))"},{"line_number":687,"context_line":"        raise"},{"line_number":688,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCMc%3D","line":685,"updated":"2013-02-10 15:45:21.000000000","message":"i18n support","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"unresolved":false,"context_lines":[{"line_number":682,"context_line":"                                     json.dumps(lport_obj),"},{"line_number":683,"context_line":"                                     cluster\u003dcluster)"},{"line_number":684,"context_line":"    except NvpApiClient.ResourceNotFound as e:"},{"line_number":685,"context_line":"        LOG.error(\"Logical router or router port not found, \""},{"line_number":686,"context_line":"                  \"Error: %s\" % str(e))"},{"line_number":687,"context_line":"        raise"},{"line_number":688,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCH4%3D","line":685,"in_reply_to":"AAAAM3%2F%2FCMc%3D","updated":"2013-02-10 18:30:06.000000000","message":"Done","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"unresolved":false,"context_lines":[{"line_number":687,"context_line":"        raise"},{"line_number":688,"context_line":""},{"line_number":689,"context_line":"    result \u003d json.loads(resp_obj)"},{"line_number":690,"context_line":"    LOG.debug(\"Updated logical port %s on logical router %s\""},{"line_number":691,"context_line":"              % (lrouter_port_uuid, lrouter_uuid))"},{"line_number":692,"context_line":"    return result"},{"line_number":693,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCMY%3D","line":690,"updated":"2013-02-10 15:45:21.000000000","message":"i18n support","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"unresolved":false,"context_lines":[{"line_number":687,"context_line":"        raise"},{"line_number":688,"context_line":""},{"line_number":689,"context_line":"    result \u003d json.loads(resp_obj)"},{"line_number":690,"context_line":"    LOG.debug(\"Updated logical port %s on logical router %s\""},{"line_number":691,"context_line":"              % (lrouter_port_uuid, lrouter_uuid))"},{"line_number":692,"context_line":"    return result"},{"line_number":693,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCHs%3D","line":690,"in_reply_to":"AAAAM3%2F%2FCMY%3D","updated":"2013-02-10 18:30:06.000000000","message":"Done","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"unresolved":false,"context_lines":[{"line_number":700,"context_line":"    except NvpApiClient.ResourceNotFound as e:"},{"line_number":701,"context_line":"        LOG.error(\"Logical router not found, Error: %s\" % str(e))"},{"line_number":702,"context_line":"        raise"},{"line_number":703,"context_line":"    LOG.debug(\"Delete logical router port %s on logical router %s\""},{"line_number":704,"context_line":"              % (lport_uuid, lrouter_uuid))"},{"line_number":705,"context_line":""},{"line_number":706,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCMU%3D","line":703,"updated":"2013-02-10 15:45:21.000000000","message":"i18n support","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"unresolved":false,"context_lines":[{"line_number":700,"context_line":"    except NvpApiClient.ResourceNotFound as e:"},{"line_number":701,"context_line":"        LOG.error(\"Logical router not found, Error: %s\" % str(e))"},{"line_number":702,"context_line":"        raise"},{"line_number":703,"context_line":"    LOG.debug(\"Delete logical router port %s on logical router %s\""},{"line_number":704,"context_line":"              % (lport_uuid, lrouter_uuid))"},{"line_number":705,"context_line":""},{"line_number":706,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCHo%3D","line":703,"in_reply_to":"AAAAM3%2F%2FCMU%3D","updated":"2013-02-10 18:30:06.000000000","message":"Done","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"unresolved":false,"context_lines":[{"line_number":757,"context_line":"        resp_obj \u003d do_single_request("},{"line_number":758,"context_line":"            \"PUT\", uri, json.dumps(attach_obj), cluster\u003dcluster)"},{"line_number":759,"context_line":"    except NvpApiClient.ResourceNotFound as e:"},{"line_number":760,"context_line":"        LOG.exception(\"Router Port not found, Error: %s\" % str(e))"},{"line_number":761,"context_line":"        raise"},{"line_number":762,"context_line":"    except NvpApiClient.Conflict as e:"},{"line_number":763,"context_line":"        LOG.exception(\"Conflict while setting router port attachment\")"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCMQ%3D","line":760,"updated":"2013-02-10 15:45:21.000000000","message":"i18n support","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"unresolved":false,"context_lines":[{"line_number":757,"context_line":"        resp_obj \u003d do_single_request("},{"line_number":758,"context_line":"            \"PUT\", uri, json.dumps(attach_obj), cluster\u003dcluster)"},{"line_number":759,"context_line":"    except NvpApiClient.ResourceNotFound as e:"},{"line_number":760,"context_line":"        LOG.exception(\"Router Port not found, Error: %s\" % str(e))"},{"line_number":761,"context_line":"        raise"},{"line_number":762,"context_line":"    except NvpApiClient.Conflict as e:"},{"line_number":763,"context_line":"        LOG.exception(\"Conflict while setting router port attachment\")"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCHk%3D","line":760,"in_reply_to":"AAAAM3%2F%2FCMQ%3D","updated":"2013-02-10 18:30:06.000000000","message":"Done","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"unresolved":false,"context_lines":[{"line_number":760,"context_line":"        LOG.exception(\"Router Port not found, Error: %s\" % str(e))"},{"line_number":761,"context_line":"        raise"},{"line_number":762,"context_line":"    except NvpApiClient.Conflict as e:"},{"line_number":763,"context_line":"        LOG.exception(\"Conflict while setting router port attachment\")"},{"line_number":764,"context_line":"        raise"},{"line_number":765,"context_line":"    except NvpApiClient.NvpApiException as e:"},{"line_number":766,"context_line":"        LOG.exception(\"Unable to plug attachment into logical router port\")"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCMM%3D","line":763,"updated":"2013-02-10 15:45:21.000000000","message":"i18n support","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"unresolved":false,"context_lines":[{"line_number":760,"context_line":"        LOG.exception(\"Router Port not found, Error: %s\" % str(e))"},{"line_number":761,"context_line":"        raise"},{"line_number":762,"context_line":"    except NvpApiClient.Conflict as e:"},{"line_number":763,"context_line":"        LOG.exception(\"Conflict while setting router port attachment\")"},{"line_number":764,"context_line":"        raise"},{"line_number":765,"context_line":"    except NvpApiClient.NvpApiException as e:"},{"line_number":766,"context_line":"        LOG.exception(\"Unable to plug attachment into logical router port\")"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCHg%3D","line":763,"in_reply_to":"AAAAM3%2F%2FCMM%3D","updated":"2013-02-10 18:30:06.000000000","message":"Done","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"unresolved":false,"context_lines":[{"line_number":763,"context_line":"        LOG.exception(\"Conflict while setting router port attachment\")"},{"line_number":764,"context_line":"        raise"},{"line_number":765,"context_line":"    except NvpApiClient.NvpApiException as e:"},{"line_number":766,"context_line":"        LOG.exception(\"Unable to plug attachment into logical router port\")"},{"line_number":767,"context_line":"        raise"},{"line_number":768,"context_line":"    result \u003d json.loads(resp_obj)"},{"line_number":769,"context_line":"    return result"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCME%3D","line":766,"updated":"2013-02-10 15:45:21.000000000","message":"i18n support","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"unresolved":false,"context_lines":[{"line_number":763,"context_line":"        LOG.exception(\"Conflict while setting router port attachment\")"},{"line_number":764,"context_line":"        raise"},{"line_number":765,"context_line":"    except NvpApiClient.NvpApiException as e:"},{"line_number":766,"context_line":"        LOG.exception(\"Unable to plug attachment into logical router port\")"},{"line_number":767,"context_line":"        raise"},{"line_number":768,"context_line":"    result \u003d json.loads(resp_obj)"},{"line_number":769,"context_line":"    return result"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCHc%3D","line":766,"in_reply_to":"AAAAM3%2F%2FCME%3D","updated":"2013-02-10 18:30:06.000000000","message":"Done","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"unresolved":false,"context_lines":[{"line_number":963,"context_line":"    nat_match_obj \u003d {\u0027ethertype\u0027: \u0027IPv4\u0027}"},{"line_number":964,"context_line":"    delta \u003d set(kwargs.keys()) - set(MATCH_KEYS)"},{"line_number":965,"context_line":"    if delta:"},{"line_number":966,"context_line":"        raise Exception(\"invalid keys for NAT match: %s\" % delta)"},{"line_number":967,"context_line":"    nat_match_obj.update(kwargs)"},{"line_number":968,"context_line":"    return nat_match_obj"},{"line_number":969,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCMA%3D","line":966,"updated":"2013-02-10 15:45:21.000000000","message":"i18n support","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"unresolved":false,"context_lines":[{"line_number":963,"context_line":"    nat_match_obj \u003d {\u0027ethertype\u0027: \u0027IPv4\u0027}"},{"line_number":964,"context_line":"    delta \u003d set(kwargs.keys()) - set(MATCH_KEYS)"},{"line_number":965,"context_line":"    if delta:"},{"line_number":966,"context_line":"        raise Exception(\"invalid keys for NAT match: %s\" % delta)"},{"line_number":967,"context_line":"    nat_match_obj.update(kwargs)"},{"line_number":968,"context_line":"    return nat_match_obj"},{"line_number":969,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCHU%3D","line":966,"in_reply_to":"AAAAM3%2F%2FCMA%3D","updated":"2013-02-10 18:30:06.000000000","message":"Done","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"unresolved":false,"context_lines":[{"line_number":975,"context_line":"        resp \u003d do_single_request(\"POST\", uri, json.dumps(nat_rule_obj),"},{"line_number":976,"context_line":"                                 cluster\u003dcluster)"},{"line_number":977,"context_line":"    except NvpApiClient.ResourceNotFound:"},{"line_number":978,"context_line":"        LOG.exception(\"NVP Logical Router %s not found\", router_id)"},{"line_number":979,"context_line":"        raise"},{"line_number":980,"context_line":"    except NvpApiClient.NvpApiException:"},{"line_number":981,"context_line":"        LOG.exception(\"An error occurred while creating the NAT rule \""}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCL8%3D","line":978,"updated":"2013-02-10 15:45:21.000000000","message":"i18n support","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"unresolved":false,"context_lines":[{"line_number":975,"context_line":"        resp \u003d do_single_request(\"POST\", uri, json.dumps(nat_rule_obj),"},{"line_number":976,"context_line":"                                 cluster\u003dcluster)"},{"line_number":977,"context_line":"    except NvpApiClient.ResourceNotFound:"},{"line_number":978,"context_line":"        LOG.exception(\"NVP Logical Router %s not found\", router_id)"},{"line_number":979,"context_line":"        raise"},{"line_number":980,"context_line":"    except NvpApiClient.NvpApiException:"},{"line_number":981,"context_line":"        LOG.exception(\"An error occurred while creating the NAT rule \""}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCHQ%3D","line":978,"in_reply_to":"AAAAM3%2F%2FCL8%3D","updated":"2013-02-10 18:30:06.000000000","message":"Done","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"unresolved":false,"context_lines":[{"line_number":1044,"context_line":"    try:"},{"line_number":1045,"context_line":"        do_single_request(\"DELETE\", uri, cluster\u003dcluster)"},{"line_number":1046,"context_line":"    except NvpApiClient.NvpApiException:"},{"line_number":1047,"context_line":"        LOG.exception(\"An error occurred while removing NAT rule %s \""},{"line_number":1048,"context_line":"                      \"for logical router %s\", rule_id, router_id)"},{"line_number":1049,"context_line":"        raise"},{"line_number":1050,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCL4%3D","line":1047,"updated":"2013-02-10 15:45:21.000000000","message":"i18n support","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"unresolved":false,"context_lines":[{"line_number":1044,"context_line":"    try:"},{"line_number":1045,"context_line":"        do_single_request(\"DELETE\", uri, cluster\u003dcluster)"},{"line_number":1046,"context_line":"    except NvpApiClient.NvpApiException:"},{"line_number":1047,"context_line":"        LOG.exception(\"An error occurred while removing NAT rule %s \""},{"line_number":1048,"context_line":"                      \"for logical router %s\", rule_id, router_id)"},{"line_number":1049,"context_line":"        raise"},{"line_number":1050,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCHM%3D","line":1047,"in_reply_to":"AAAAM3%2F%2FCL4%3D","updated":"2013-02-10 18:30:06.000000000","message":"Done","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"unresolved":false,"context_lines":[{"line_number":1057,"context_line":"        LOG.exception(\"NAT rule %s not found\", rule_id)"},{"line_number":1058,"context_line":"        raise"},{"line_number":1059,"context_line":"    except NvpApiClient.NvpApiException:"},{"line_number":1060,"context_line":"        LOG.exception(\"An error occured while retrieving NAT rule %s\""},{"line_number":1061,"context_line":"                      \"from NVP platform\", rule_id)"},{"line_number":1062,"context_line":"        raise"},{"line_number":1063,"context_line":"    res \u003d json.loads(resp)"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCL0%3D","line":1060,"updated":"2013-02-10 15:45:21.000000000","message":"i18n support","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"unresolved":false,"context_lines":[{"line_number":1057,"context_line":"        LOG.exception(\"NAT rule %s not found\", rule_id)"},{"line_number":1058,"context_line":"        raise"},{"line_number":1059,"context_line":"    except NvpApiClient.NvpApiException:"},{"line_number":1060,"context_line":"        LOG.exception(\"An error occured while retrieving NAT rule %s\""},{"line_number":1061,"context_line":"                      \"from NVP platform\", rule_id)"},{"line_number":1062,"context_line":"        raise"},{"line_number":1063,"context_line":"    res \u003d json.loads(resp)"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCHI%3D","line":1060,"in_reply_to":"AAAAM3%2F%2FCL0%3D","updated":"2013-02-10 18:30:06.000000000","message":"Done","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"unresolved":false,"context_lines":[{"line_number":1070,"context_line":"    try:"},{"line_number":1071,"context_line":"        resp \u003d do_single_request(\"GET\", uri, cluster\u003dcluster)"},{"line_number":1072,"context_line":"    except NvpApiClient.ResourceNotFound:"},{"line_number":1073,"context_line":"        LOG.exception(\"NVP Logical Router %s not found\", router_id)"},{"line_number":1074,"context_line":"        raise"},{"line_number":1075,"context_line":"    except NvpApiClient.NvpApiException:"},{"line_number":1076,"context_line":"        LOG.exception(\"An error occured while retrieving NAT rules for \""}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCLw%3D","line":1073,"updated":"2013-02-10 15:45:21.000000000","message":"i18n support","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"unresolved":false,"context_lines":[{"line_number":1070,"context_line":"    try:"},{"line_number":1071,"context_line":"        resp \u003d do_single_request(\"GET\", uri, cluster\u003dcluster)"},{"line_number":1072,"context_line":"    except NvpApiClient.ResourceNotFound:"},{"line_number":1073,"context_line":"        LOG.exception(\"NVP Logical Router %s not found\", router_id)"},{"line_number":1074,"context_line":"        raise"},{"line_number":1075,"context_line":"    except NvpApiClient.NvpApiException:"},{"line_number":1076,"context_line":"        LOG.exception(\"An error occured while retrieving NAT rules for \""}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCHE%3D","line":1073,"in_reply_to":"AAAAM3%2F%2FCLw%3D","updated":"2013-02-10 18:30:06.000000000","message":"Done","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"unresolved":false,"context_lines":[{"line_number":1073,"context_line":"        LOG.exception(\"NVP Logical Router %s not found\", router_id)"},{"line_number":1074,"context_line":"        raise"},{"line_number":1075,"context_line":"    except NvpApiClient.NvpApiException:"},{"line_number":1076,"context_line":"        LOG.exception(\"An error occured while retrieving NAT rules for \""},{"line_number":1077,"context_line":"                      \"NVP logical router %s\", router_id)"},{"line_number":1078,"context_line":"        raise"},{"line_number":1079,"context_line":"    res \u003d json.loads(resp)"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCLs%3D","line":1076,"updated":"2013-02-10 15:45:21.000000000","message":"i18n support","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"unresolved":false,"context_lines":[{"line_number":1073,"context_line":"        LOG.exception(\"NVP Logical Router %s not found\", router_id)"},{"line_number":1074,"context_line":"        raise"},{"line_number":1075,"context_line":"    except NvpApiClient.NvpApiException:"},{"line_number":1076,"context_line":"        LOG.exception(\"An error occured while retrieving NAT rules for \""},{"line_number":1077,"context_line":"                      \"NVP logical router %s\", router_id)"},{"line_number":1078,"context_line":"        raise"},{"line_number":1079,"context_line":"    res \u003d json.loads(resp)"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCHA%3D","line":1076,"in_reply_to":"AAAAM3%2F%2FCLs%3D","updated":"2013-02-10 18:30:06.000000000","message":"Done","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"unresolved":false,"context_lines":[{"line_number":1077,"context_line":"                      \"NVP logical router %s\", router_id)"},{"line_number":1078,"context_line":"        raise"},{"line_number":1079,"context_line":"    res \u003d json.loads(resp)"},{"line_number":1080,"context_line":"    LOG.debug(\"NAT rules retrieved from router %s: %s\", router_id, res)"},{"line_number":1081,"context_line":"    return res[\"results\"]"},{"line_number":1082,"context_line":""},{"line_number":1083,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCLo%3D","line":1080,"updated":"2013-02-10 15:45:21.000000000","message":"i18n support","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"unresolved":false,"context_lines":[{"line_number":1077,"context_line":"                      \"NVP logical router %s\", router_id)"},{"line_number":1078,"context_line":"        raise"},{"line_number":1079,"context_line":"    res \u003d json.loads(resp)"},{"line_number":1080,"context_line":"    LOG.debug(\"NAT rules retrieved from router %s: %s\", router_id, res)"},{"line_number":1081,"context_line":"    return res[\"results\"]"},{"line_number":1082,"context_line":""},{"line_number":1083,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCG8%3D","line":1080,"in_reply_to":"AAAAM3%2F%2FCLo%3D","updated":"2013-02-10 18:30:06.000000000","message":"I\u0027ll remove this line as it was useful only during development","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"}],"quantum/tests/unit/nicira/fake_nvpapiclient.py":[{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"unresolved":false,"context_lines":[{"line_number":254,"context_line":"        \"\"\""},{"line_number":255,"context_line":"        # The first element will always be \u0027ws.v1\u0027 - so we just discard it"},{"line_number":256,"context_line":"        uri_split \u003d path.split(\u0027/\u0027)[1:]"},{"line_number":257,"context_line":"        # parse uri_split backwaeds"},{"line_number":258,"context_line":"        suffix \u003d \"\""},{"line_number":259,"context_line":"        idx \u003d len(uri_split) - 1"},{"line_number":260,"context_line":"        if \u0027status\u0027 in uri_split[idx]:"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCLk%3D","line":257,"updated":"2013-02-10 15:45:21.000000000","message":"typo \u003d\u003e backwaeds","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"unresolved":false,"context_lines":[{"line_number":254,"context_line":"        \"\"\""},{"line_number":255,"context_line":"        # The first element will always be \u0027ws.v1\u0027 - so we just discard it"},{"line_number":256,"context_line":"        uri_split \u003d path.split(\u0027/\u0027)[1:]"},{"line_number":257,"context_line":"        # parse uri_split backwaeds"},{"line_number":258,"context_line":"        suffix \u003d \"\""},{"line_number":259,"context_line":"        idx \u003d len(uri_split) - 1"},{"line_number":260,"context_line":"        if \u0027status\u0027 in uri_split[idx]:"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCJI%3D","line":257,"in_reply_to":"AAAAM3%2F%2FCLk%3D","updated":"2013-02-10 18:30:06.000000000","message":"ai spik inglisch","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"}],"quantum/tests/unit/nicira/test_defaults.py":[{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright 2012 Nicira Networks, Inc."},{"line_number":2,"context_line":"#"},{"line_number":3,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":4,"context_line":"#    not use this file except in compliance with the License. You may obtain"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCLg%3D","line":1,"updated":"2013-02-10 15:45:21.000000000","message":"2013","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright 2012 Nicira Networks, Inc."},{"line_number":2,"context_line":"#"},{"line_number":3,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":4,"context_line":"#    not use this file except in compliance with the License. You may obtain"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FCG4%3D","line":1,"in_reply_to":"AAAAM3%2F%2FCLg%3D","updated":"2013-02-10 18:30:06.000000000","message":"Done","commit_id":"e32b5dfc998a42c6d82fe304e2ae650beec9ff39"}]}
