)]}'
{"quantumclient/quantum/v2_0/quota.py":[{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"change_message_id":"ee1537eeebe0c5039b0ab0982e0b8585f5d798e0","unresolved":false,"context_lines":[{"line_number":203,"context_line":"        quantum_client.format \u003d parsed_args.request_format"},{"line_number":204,"context_line":"        _extra_values \u003d quantumv20.parse_args_to_dict(self.values_specs)"},{"line_number":205,"context_line":"        quantumv20._merge_args(self, parsed_args, _extra_values,"},{"line_number":206,"context_line":"                               self.values_specs)"},{"line_number":207,"context_line":"        body \u003d self.args2body(parsed_args)"},{"line_number":208,"context_line":"        if self.resource in body:"},{"line_number":209,"context_line":"            body[self.resource].update(_extra_values)"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAOH%2F%2F0lk%3D","line":206,"updated":"2013-03-26 08:18:51.000000000","message":"Are you sure this operation is actually adding extra value specs to the request body?\n\nI added some log statements here and there, and when trying to do quantum quota-update --network 20 --lota 200\n(with \u0027lota\u0027 being the extra argument) I had the following:\n\nDEBUG: quantumclient.quantum.v2_0.quota.UpdateQuota #####EXTRAS:{\u0027lota\u0027: \u0027200\u0027}\nDEBUG: quantumclient.quantum.v2_0.quota.UpdateQuota #####PARSED_args:Namespace(columns\u003d[], floatingip\u003dNone, formatter\u003d\u0027table\u0027, network\u003d\u002720\u0027, port\u003dNone, prefix\u003d\u0027\u0027, request_format\u003d\u0027json\u0027, router\u003dNone, security_group\u003dNone, security_group_rule\u003dNone, subnet\u003dNone, tenant_id\u003dNone, variables\u003d[])\nDEBUG: quantumclient.quantum.v2_0.quota.UpdateQuota #####BODY:{\u0027quota\u0027: {\u0027network\u0027: 20}}","commit_id":"661aea13c1eb40694fa52e98b23bfd411d793e2f"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"unresolved":false,"context_lines":[{"line_number":203,"context_line":"        quantum_client.format \u003d parsed_args.request_format"},{"line_number":204,"context_line":"        _extra_values \u003d quantumv20.parse_args_to_dict(self.values_specs)"},{"line_number":205,"context_line":"        quantumv20._merge_args(self, parsed_args, _extra_values,"},{"line_number":206,"context_line":"                               self.values_specs)"},{"line_number":207,"context_line":"        body \u003d self.args2body(parsed_args)"},{"line_number":208,"context_line":"        if self.resource in body:"},{"line_number":209,"context_line":"            body[self.resource].update(_extra_values)"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAOH%2F%2F0kE%3D","line":206,"in_reply_to":"AAAAOH%2F%2F0ko%3D","updated":"2013-03-26 08:59:34.000000000","message":"yes I was just logging in the wrong place","commit_id":"661aea13c1eb40694fa52e98b23bfd411d793e2f"},{"author":{"_account_id":2874,"name":"yong sheng gong","email":"gong.yongsheng@99cloud.net","username":"gongysh"},"change_message_id":"907cb414dd2c87605306b16f0729396a6b815863","unresolved":false,"context_lines":[{"line_number":203,"context_line":"        quantum_client.format \u003d parsed_args.request_format"},{"line_number":204,"context_line":"        _extra_values \u003d quantumv20.parse_args_to_dict(self.values_specs)"},{"line_number":205,"context_line":"        quantumv20._merge_args(self, parsed_args, _extra_values,"},{"line_number":206,"context_line":"                               self.values_specs)"},{"line_number":207,"context_line":"        body \u003d self.args2body(parsed_args)"},{"line_number":208,"context_line":"        if self.resource in body:"},{"line_number":209,"context_line":"            body[self.resource].update(_extra_values)"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAOH%2F%2F0ko%3D","line":206,"in_reply_to":"AAAAOH%2F%2F0lk%3D","updated":"2013-03-26 08:52:12.000000000","message":"it is done in lines 207-211.\nThis is my output of the command:\nquantum quota-update --network 20 --lota 200 \n\nDEBUG: quantumclient.client \nREQ: curl -i http://localhost:9696/v2.0/quotas/3671f46ec35e4bbca6ef92ab7975e463.json -X PUT -H \"User-Agent: python-quantumclient\" -H \"Content-Type: application/json\" -H \"Accept: application/json\" -H \"X-Auth-Token: 86b8f5d365d0462ca81c6bdfb89d4a22\" -d \u0027{\"quota\": {\"lota\": \"200\", \"network\": 20}}\u0027\n\nDEBUG: quantumclient.client RESP:{\u0027date\u0027: \u0027Tue, 26 Mar 2013 08:46:05 GMT\u0027, \u0027status\u0027: \u0027400\u0027, \u0027content-length\u0027: \u002752\u0027, \u0027content-type\u0027: \u0027application/json; charset\u003dUTF-8\u0027} {\"QuantumError\": \"Unrecognized attribute(s) \u0027lota\u0027\"}\n\nDEBUG: quantumclient.v2_0.client Error message: {\"QuantumError\": \"Unrecognized attribute(s) \u0027lota\u0027\"}\nERROR: quantumclient.shell Unrecognized attribute(s) \u0027lota\u0027\nDEBUG: quantumclient.shell clean_up UpdateQuota\nDEBUG: quantumclient.shell got an error: Unrecognized attribute(s) \u0027lota\u0027","commit_id":"661aea13c1eb40694fa52e98b23bfd411d793e2f"}]}
