)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":26458,"name":"Brin Zhang","email":"zhangbailin@inspur.com","username":"zhangbailin"},"change_message_id":"5e89bec0069e937be43187a6267de255d3cba785","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     qiufossen \u003cqiujunting@inspur.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2019-12-23 06:54:06 -0500"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"specify mac for creating instance"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"As an end user, to better manage servers, I would like to specify the"},{"line_number":10,"context_line":"server\u0027s MAC when booting, to ensure that the server\u0027s MAC is within my"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"3fa7e38b_c50acacf","line":7,"range":{"start_line":7,"start_character":0,"end_line":7,"end_character":7},"updated":"2019-12-23 12:20:25.000000000","message":"Specify","commit_id":"f96523bb5e8a08bd02fb9cdb1ecac067cfa4f81a"},{"author":{"_account_id":26458,"name":"Brin Zhang","email":"zhangbailin@inspur.com","username":"zhangbailin"},"change_message_id":"5e89bec0069e937be43187a6267de255d3cba785","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"specify mac for creating instance"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"As an end user, to better manage servers, I would like to specify the"},{"line_number":10,"context_line":"server\u0027s MAC when booting, to ensure that the server\u0027s MAC is within my"},{"line_number":11,"context_line":"planning range."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"https://blueprints.launchpad.net/nova/+spec/specify-mac-for-creating-instance"},{"line_number":14,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"3fa7e38b_e50d86e7","line":11,"range":{"start_line":9,"start_character":0,"end_line":11,"end_character":15},"updated":"2019-12-23 12:20:25.000000000","message":"You can replace this with \"The blueprint proposes to allow the user to specify MAC to booting a server.\"","commit_id":"f96523bb5e8a08bd02fb9cdb1ecac067cfa4f81a"},{"author":{"_account_id":26458,"name":"Brin Zhang","email":"zhangbailin@inspur.com","username":"zhangbailin"},"change_message_id":"5e89bec0069e937be43187a6267de255d3cba785","unresolved":false,"context_lines":[{"line_number":9,"context_line":"As an end user, to better manage servers, I would like to specify the"},{"line_number":10,"context_line":"server\u0027s MAC when booting, to ensure that the server\u0027s MAC is within my"},{"line_number":11,"context_line":"planning range."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"https://blueprints.launchpad.net/nova/+spec/specify-mac-for-creating-instance"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Change-Id: I1e2056b2e21704d1cdea7c0ad89bf0bceb89d90d"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"3fa7e38b_2504fec4","line":12,"updated":"2019-12-23 12:20:25.000000000","message":"This will impact the server\u0027s API, add the tag \"APIImpact\".","commit_id":"f96523bb5e8a08bd02fb9cdb1ecac067cfa4f81a"},{"author":{"_account_id":26458,"name":"Brin Zhang","email":"zhangbailin@inspur.com","username":"zhangbailin"},"change_message_id":"5e89bec0069e937be43187a6267de255d3cba785","unresolved":false,"context_lines":[{"line_number":11,"context_line":"planning range."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"https://blueprints.launchpad.net/nova/+spec/specify-mac-for-creating-instance"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Change-Id: I1e2056b2e21704d1cdea7c0ad89bf0bceb89d90d"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"3fa7e38b_0501c2b5","line":14,"updated":"2019-12-23 12:20:25.000000000","message":"Blueprint: mac-for-creating-instance","commit_id":"f96523bb5e8a08bd02fb9cdb1ecac067cfa4f81a"}],"specs/ussuri/approved/specify-mac-for-creating-instance.rst":[{"author":{"_account_id":26458,"name":"Brin Zhang","email":"zhangbailin@inspur.com","username":"zhangbailin"},"change_message_id":"5e89bec0069e937be43187a6267de255d3cba785","unresolved":false,"context_lines":[{"line_number":10,"context_line":""},{"line_number":11,"context_line":"https://blueprints.launchpad.net/nova/+spec/specify-mac-for-creating-instance"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"The blueprint proposes to alloow specify MAC when creating a server."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Problem description"},{"line_number":16,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3fa7e38b_a58eae77","line":13,"range":{"start_line":13,"start_character":26,"end_line":13,"end_character":32},"updated":"2019-12-23 12:20:25.000000000","message":"s/alloow/allow/\n\nThe blueprint proposes to allow the user to specify MAC to booting a server.","commit_id":"f96523bb5e8a08bd02fb9cdb1ecac067cfa4f81a"},{"author":{"_account_id":26458,"name":"Brin Zhang","email":"zhangbailin@inspur.com","username":"zhangbailin"},"change_message_id":"5e89bec0069e937be43187a6267de255d3cba785","unresolved":false,"context_lines":[{"line_number":24,"context_line":"Use Cases"},{"line_number":25,"context_line":"---------"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"As an end user, to better manage servers, I would like to specify the"},{"line_number":28,"context_line":"server\u0027s MAC when booting, to ensure that the server\u0027s MAC is within my"},{"line_number":29,"context_line":"planning range."},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"Proposed change"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3fa7e38b_25363eb5","line":28,"range":{"start_line":27,"start_character":42,"end_line":28,"end_character":26},"updated":"2019-12-23 12:20:25.000000000","message":"I would like to specify the fixed MAC to boot a server.","commit_id":"f96523bb5e8a08bd02fb9cdb1ecac067cfa4f81a"},{"author":{"_account_id":26458,"name":"Brin Zhang","email":"zhangbailin@inspur.com","username":"zhangbailin"},"change_message_id":"5e89bec0069e937be43187a6267de255d3cba785","unresolved":false,"context_lines":[{"line_number":36,"context_line":""},{"line_number":37,"context_line":"Alternatives"},{"line_number":38,"context_line":"------------"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"None"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"Data model impact"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3fa7e38b_25839e57","line":39,"updated":"2019-12-23 12:20:25.000000000","message":"There is an alternative: We are normal creating a server, and then use Show Server Details API [1] to get the server\u0027s \"addresses\", then get the \"mac_addr\", such as:\n\n  .. code-block:: json\n    {\n        \"server\": {\n\t\t    ...\n            \"addresses\": {\n                \"network\": [{\n                        \"version\": 4,\n                        \"addr\": \"192.168.0.165\",\n                        \"OS-EXT-IPS:type\": \"fixed\",\n                        \"OS-EXT-IPS-MAC:mac_addr\": \"fa:16:3e:f5:34:26\"\n                    }\n                ]\n            },\n\t\t\t...\n        }\n    }\n\nWe can get the *mac_addr* by server_details[\u0027server\u0027][\u0027addresses\u0027][\u0027network\u0027][\u0027OS-EXT-IPS-MAC:mac_addr\u0027] from the show server details API\u0027s response.\n\nEmm... Although this way can get the server\u0027s MAC, however, it does not meet the needs of users, and users cannot control the mac address range of the server.\n\n[1]https://docs.openstack.org/api-ref/compute/?expanded\u003dcreate-server-detail,show-server-details-detail#show-server-details","commit_id":"f96523bb5e8a08bd02fb9cdb1ecac067cfa4f81a"},{"author":{"_account_id":26458,"name":"Brin Zhang","email":"zhangbailin@inspur.com","username":"zhangbailin"},"change_message_id":"5e89bec0069e937be43187a6267de255d3cba785","unresolved":false,"context_lines":[{"line_number":82,"context_line":"to specify the MAC address for the instance. If the ``fixed_mac`` is None,"},{"line_number":83,"context_line":"assigned a MAC address randomly for the instance."},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"Specifying MAC address create a network port and using the port create a"},{"line_number":86,"context_line":"server. But this is troublesome, especially creatng many instances."},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"Security impact"},{"line_number":89,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3fa7e38b_654bd627","line":86,"range":{"start_line":85,"start_character":0,"end_line":86,"end_character":67},"updated":"2019-12-23 12:20:25.000000000","message":"You can remove this to the Alternatives.\nMaybe said as:\n\nSpecifying MAC address create a network port and recorded it\u0027s MAC, then using the port create a server. But this is troublesome, especially creatng many instances.","commit_id":"f96523bb5e8a08bd02fb9cdb1ecac067cfa4f81a"},{"author":{"_account_id":26458,"name":"Brin Zhang","email":"zhangbailin@inspur.com","username":"zhangbailin"},"change_message_id":"5e89bec0069e937be43187a6267de255d3cba785","unresolved":false,"context_lines":[{"line_number":174,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":175,"context_line":""},{"line_number":176,"context_line":".. list-table:: Revisions"},{"line_number":177,"context_line":"      :header-rows: 1"},{"line_number":178,"context_line":""},{"line_number":179,"context_line":"   * - Release Name"},{"line_number":180,"context_line":"     - Description"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3fa7e38b_4569fa89","line":177,"range":{"start_line":177,"start_character":3,"end_line":177,"end_character":6},"updated":"2019-12-23 12:20:25.000000000","message":"redundant space","commit_id":"f96523bb5e8a08bd02fb9cdb1ecac067cfa4f81a"},{"author":{"_account_id":9708,"name":"Balazs Gibizer","display_name":"gibi","email":"gibizer@gmail.com","username":"gibi"},"change_message_id":"973e0e71a3291658008025b0336d0a5527effb09","unresolved":false,"context_lines":[{"line_number":26,"context_line":""},{"line_number":27,"context_line":"As an end user, to better manage servers, I would like to specify the"},{"line_number":28,"context_line":"fixed MAC to boot a server, to ensure that the server\u0027s MAC is within my"},{"line_number":29,"context_line":"planning range."},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"Proposed change"},{"line_number":32,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3fa7e38b_5e9ae75f","line":29,"updated":"2020-02-11 16:15:33.000000000","message":"This is already doable today. When you create the neutron port you can specify the MAC address of that port. Then you can use such pre-created port in the boot request.","commit_id":"3497cd80ea485594a38ffdbb225103387bcd06e5"},{"author":{"_account_id":26458,"name":"Brin Zhang","email":"zhangbailin@inspur.com","username":"zhangbailin"},"change_message_id":"2a00f112bb31ae64bedae46bee2a56c2c8918f9e","unresolved":false,"context_lines":[{"line_number":26,"context_line":""},{"line_number":27,"context_line":"As an end user, to better manage servers, I would like to specify the"},{"line_number":28,"context_line":"fixed MAC to boot a server, to ensure that the server\u0027s MAC is within my"},{"line_number":29,"context_line":"planning range."},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"Proposed change"},{"line_number":32,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3fa7e38b_e0bbe9bb","line":29,"in_reply_to":"3fa7e38b_5e9ae75f","updated":"2020-02-12 02:50:30.000000000","message":"Yes, today we can specify MAC to create a port, compared to https://review.opendev.org/#/c/672400/, I think we don\u0027t need this much.","commit_id":"3497cd80ea485594a38ffdbb225103387bcd06e5"},{"author":{"_account_id":9708,"name":"Balazs Gibizer","display_name":"gibi","email":"gibizer@gmail.com","username":"gibi"},"change_message_id":"973e0e71a3291658008025b0336d0a5527effb09","unresolved":false,"context_lines":[{"line_number":63,"context_line":"server."},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"Specifying MAC address create a network port and recorded it\u0027s MAC, then using"},{"line_number":66,"context_line":"the port create a server. But this is troublesome, especially creatng many"},{"line_number":67,"context_line":"instances."},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"Data model impact"},{"line_number":70,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3fa7e38b_7ea80373","line":67,"range":{"start_line":66,"start_character":26,"end_line":67,"end_character":10},"updated":"2020-02-11 16:15:33.000000000","message":"I hope if you create many instances then it is automated through some orchestration engine like Heat so per-creating a port is not harder than adding a small piece to that HOT template.\n\nSee also https://docs.openstack.org/nova/rocky/contributor/project-scope.html#no-more-orchestration","commit_id":"3497cd80ea485594a38ffdbb225103387bcd06e5"},{"author":{"_account_id":30077,"name":"Qiu Fossen","display_name":"fossnqiu","email":"qiujunting@inspur.com","username":"qiufossen"},"change_message_id":"e5aa1988d4acd424ff2a3efb2fadeb9c75c4274d","unresolved":false,"context_lines":[{"line_number":63,"context_line":"server."},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"Specifying MAC address create a network port and recorded it\u0027s MAC, then using"},{"line_number":66,"context_line":"the port create a server. But this is troublesome, especially creatng many"},{"line_number":67,"context_line":"instances."},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"Data model impact"},{"line_number":70,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3fa7e38b_a000916a","line":67,"range":{"start_line":66,"start_character":26,"end_line":67,"end_character":10},"in_reply_to":"3fa7e38b_7ea80373","updated":"2020-02-12 02:57:28.000000000","message":"Hi Balazs Gibizer ! Some users do not apply heat, and they tend to set the instance\u0027s MAC in creating instance.","commit_id":"3497cd80ea485594a38ffdbb225103387bcd06e5"},{"author":{"_account_id":9708,"name":"Balazs Gibizer","display_name":"gibi","email":"gibizer@gmail.com","username":"gibi"},"change_message_id":"73990d51677b2570c69aefee982bbf2e3a76eb9c","unresolved":false,"context_lines":[{"line_number":63,"context_line":"server."},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"Specifying MAC address create a network port and recorded it\u0027s MAC, then using"},{"line_number":66,"context_line":"the port create a server. But this is troublesome, especially creatng many"},{"line_number":67,"context_line":"instances."},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"Data model impact"},{"line_number":70,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3fa7e38b_30486888","line":67,"range":{"start_line":66,"start_character":26,"end_line":67,"end_character":10},"in_reply_to":"3fa7e38b_a000916a","updated":"2020-02-12 13:34:56.000000000","message":"If they are not applying heat they can still create the port  in neutron with a MAC then use that port in the nova server create request. If it is too many manual step for them then they can use an automation framework they like. Nova does not want to become such an automation framework","commit_id":"3497cd80ea485594a38ffdbb225103387bcd06e5"}],"specs/victoria/approved/specify-mac-for-creating-instance.rst":[{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"b74a076a6e9bd35566c357539dde09f7155ecef8","unresolved":false,"context_lines":[{"line_number":15,"context_line":"Problem description"},{"line_number":16,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"Currently, we can boot a server with specifing a fixed-ip, but we if we want"},{"line_number":19,"context_line":"to get the server\u0027s MAC, we need to log in to the instance to configure the"},{"line_number":20,"context_line":"MAC address. In large-scale scenarios, if there are multiple servers that"},{"line_number":21,"context_line":"need to be set up for Mac to facilitate better management, then this"},{"line_number":22,"context_line":"configuration method is more complicated. And for the shared network Net-A,"},{"line_number":23,"context_line":"create a Port-A with MAC-A, Net-A belongs to project A. Now, I want to create"},{"line_number":24,"context_line":"a instance-B for project B with Port-A and MAC-A. But this is not for neutron"},{"line_number":25,"context_line":"using Port-A creating instance-B in project B. Because for Port, neutron is"},{"line_number":26,"context_line":"not allowed Used across projects."},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"Use Cases"},{"line_number":29,"context_line":"---------"}],"source_content_type":"text/x-rst","patch_set":5,"id":"ff570b3c_8558fa30","line":26,"range":{"start_line":18,"start_character":0,"end_line":26,"end_character":33},"updated":"2020-05-21 10:50:02.000000000","message":"this is specifcally covered as not in novas project scope\n\nhttps://github.com/openstack/nova/blob/54f89f17116b81b28d0b4834c9f74342238bb422/doc/source/contributor/project-scope.rst#no-more-api-proxies\n\n\nproxy apis that create convincae wrapper around api provided by other service should not be added to nova.\n\n\nif you want to create a vm with a specific mac you can precreate a port. this could be done clinet side via an enhancement to the opesntack client to precreate a port passing it in when invoking the nova spawn api endpoint but i think think we should do this in the nova api.","commit_id":"83e319a628a9aa90bfc169c280540c67abfcac2b"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"b74a076a6e9bd35566c357539dde09f7155ecef8","unresolved":false,"context_lines":[{"line_number":28,"context_line":"Use Cases"},{"line_number":29,"context_line":"---------"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"As an end user, to better manage servers, I would like to specify the"},{"line_number":32,"context_line":"fixed MAC to boot a server, to ensure that the server\u0027s MAC is within my"},{"line_number":33,"context_line":"planning range."},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"Proposed change"},{"line_number":36,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":5,"id":"ff570b3c_e542963d","line":33,"range":{"start_line":31,"start_character":0,"end_line":33,"end_character":15},"updated":"2020-05-21 10:50:02.000000000","message":"yep you can already do this by createing a neuton port with the required mac.","commit_id":"83e319a628a9aa90bfc169c280540c67abfcac2b"}]}
