)]}'
{"nova/network/neutronv2/api.py":[{"author":{"_account_id":15888,"name":"Zhenyu Zheng","email":"zheng.zhenyu@outlook.com","username":"Kevin_Zheng"},"change_message_id":"9452aad734f6651868ac78594afca2a50f5a3517","unresolved":false,"context_lines":[{"line_number":258,"context_line":"            port_req_body[\u0027port\u0027][\u0027network_id\u0027] \u003d network_id"},{"line_number":259,"context_line":"            port_req_body[\u0027port\u0027][\u0027admin_state_up\u0027] \u003d True"},{"line_number":260,"context_line":"            port_req_body[\u0027port\u0027][\u0027tenant_id\u0027] \u003d instance.project_id"},{"line_number":261,"context_line":"            port_req_body[\u0027port\u0027][\u0027name\u0027] \u003d instance.display_name"},{"line_number":262,"context_line":"            if security_group_ids:"},{"line_number":263,"context_line":"                port_req_body[\u0027port\u0027][\u0027security_groups\u0027] \u003d security_group_ids"},{"line_number":264,"context_line":"            if available_macs is not None:"}],"source_content_type":"text/x-python","patch_set":9,"id":"9a68dd71_d2bdcdd8","line":261,"range":{"start_line":261,"start_character":11,"end_line":261,"end_character":65},"updated":"2016-01-25 09:20:05.000000000","message":"instance name can be identical to different instances, don\u0027t think this can help identifing ports.","commit_id":"1c64773e45387c7c0bf106680d4221ae957d37e6"},{"author":{"_account_id":11784,"name":"Chirag Shahani","email":"chirag.shahani@gmail.com","username":"cshahani"},"change_message_id":"4fa31c15c165c046466abd29885cb90257ce9791","unresolved":false,"context_lines":[{"line_number":258,"context_line":"            port_req_body[\u0027port\u0027][\u0027network_id\u0027] \u003d network_id"},{"line_number":259,"context_line":"            port_req_body[\u0027port\u0027][\u0027admin_state_up\u0027] \u003d True"},{"line_number":260,"context_line":"            port_req_body[\u0027port\u0027][\u0027tenant_id\u0027] \u003d instance.project_id"},{"line_number":261,"context_line":"            port_req_body[\u0027port\u0027][\u0027name\u0027] \u003d instance.display_name"},{"line_number":262,"context_line":"            if security_group_ids:"},{"line_number":263,"context_line":"                port_req_body[\u0027port\u0027][\u0027security_groups\u0027] \u003d security_group_ids"},{"line_number":264,"context_line":"            if available_macs is not None:"}],"source_content_type":"text/x-python","patch_set":9,"id":"9a68dd71_ba3d742c","line":261,"range":{"start_line":261,"start_character":11,"end_line":261,"end_character":65},"in_reply_to":"9a68dd71_9a7f5014","updated":"2016-01-25 17:55:29.000000000","message":"As of now, when a vm is booted, nova does not send the name of the vm that is getting booted in the port dict which is received in the create_port or update_port code of neutron.\n\nThis may be needed by third-party vendors who have a neutron plugin. Thy may wish to display the name of the vm.","commit_id":"1c64773e45387c7c0bf106680d4221ae957d37e6"},{"author":{"_account_id":15888,"name":"Zhenyu Zheng","email":"zheng.zhenyu@outlook.com","username":"Kevin_Zheng"},"change_message_id":"2a67885f6c87f16407ac6f19bfc8f6393cd3cd3f","unresolved":false,"context_lines":[{"line_number":258,"context_line":"            port_req_body[\u0027port\u0027][\u0027network_id\u0027] \u003d network_id"},{"line_number":259,"context_line":"            port_req_body[\u0027port\u0027][\u0027admin_state_up\u0027] \u003d True"},{"line_number":260,"context_line":"            port_req_body[\u0027port\u0027][\u0027tenant_id\u0027] \u003d instance.project_id"},{"line_number":261,"context_line":"            port_req_body[\u0027port\u0027][\u0027name\u0027] \u003d instance.display_name"},{"line_number":262,"context_line":"            if security_group_ids:"},{"line_number":263,"context_line":"                port_req_body[\u0027port\u0027][\u0027security_groups\u0027] \u003d security_group_ids"},{"line_number":264,"context_line":"            if available_macs is not None:"}],"source_content_type":"text/x-python","patch_set":9,"id":"9a68dd71_0c500031","line":261,"range":{"start_line":261,"start_character":11,"end_line":261,"end_character":65},"in_reply_to":"9a68dd71_ba3d742c","updated":"2016-01-26 01:37:21.000000000","message":"There is also a problem that if I update the instances\u0027 name using update API in nova, the port won\u0027t be updated, thus the instance\u0027s name and the \u0027name\u0027 in the port attached to this instance will be different.","commit_id":"1c64773e45387c7c0bf106680d4221ae957d37e6"},{"author":{"_account_id":11784,"name":"Chirag Shahani","email":"chirag.shahani@gmail.com","username":"cshahani"},"change_message_id":"c7fe6fdc91b8043a4c9bf402e6408b6a7253b233","unresolved":false,"context_lines":[{"line_number":258,"context_line":"            port_req_body[\u0027port\u0027][\u0027network_id\u0027] \u003d network_id"},{"line_number":259,"context_line":"            port_req_body[\u0027port\u0027][\u0027admin_state_up\u0027] \u003d True"},{"line_number":260,"context_line":"            port_req_body[\u0027port\u0027][\u0027tenant_id\u0027] \u003d instance.project_id"},{"line_number":261,"context_line":"            port_req_body[\u0027port\u0027][\u0027name\u0027] \u003d instance.display_name"},{"line_number":262,"context_line":"            if security_group_ids:"},{"line_number":263,"context_line":"                port_req_body[\u0027port\u0027][\u0027security_groups\u0027] \u003d security_group_ids"},{"line_number":264,"context_line":"            if available_macs is not None:"}],"source_content_type":"text/x-python","patch_set":9,"id":"9a68dd71_9a7f5014","line":261,"range":{"start_line":261,"start_character":11,"end_line":261,"end_character":65},"in_reply_to":"9a68dd71_d2bdcdd8","updated":"2016-01-25 17:52:46.000000000","message":"This is the instance name. When the user does a nova boot vm_to_be_booted --image \u003c\u003e --flavor 1 --nic port-id\u003dport-id, the instance.display_name in this case is \"vm_to_be_booted\". This nova boot will call update_port() in neutron code.\n\nAt this time, the name parameter will in the port_dict will be \"vm_to_be_booted\".\n\nThis although result in changing the name of the already created port on which vm is getting booted.\n\nI am not sure if this would be acceptable by neutron committee.","commit_id":"1c64773e45387c7c0bf106680d4221ae957d37e6"}]}
