)]}'
{"openstackclient/compute/v2/server.py":[{"author":{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},"change_message_id":"770e9ebae940573344d09f6f4e73f0414feb6619","unresolved":false,"context_lines":[{"line_number":394,"context_line":"                   \"port-id: attach NIC to port with this UUID, \""},{"line_number":395,"context_line":"                   \"v4-fixed-ip: IPv4 fixed address for NIC (optional), \""},{"line_number":396,"context_line":"                   \"v6-fixed-ip: IPv6 fixed address for NIC (optional). \""},{"line_number":397,"context_line":"                   \"Beginning in microversion 2.37 this field is required \""},{"line_number":398,"context_line":"                   \"and also supports a single string value of \u0027auto\u0027 \""},{"line_number":399,"context_line":"                   \"or \u0027none\u0027. The \u0027auto\u0027 value means the Compute service \""},{"line_number":400,"context_line":"                   \"will automatically allocate a network for the project \""},{"line_number":401,"context_line":"                   \"if one is not available. This is the same behavior \""},{"line_number":402,"context_line":"                   \"as not passing anything for nics before microversion \""},{"line_number":403,"context_line":"                   \"2.37. The \u0027none\u0027 value tells the Compute service to not \""},{"line_number":404,"context_line":"                   \"allocate any networking for the server.\"),"},{"line_number":405,"context_line":"        )"},{"line_number":406,"context_line":"        parser.add_argument("},{"line_number":407,"context_line":"            \u0027--hint\u0027,"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a6eadb0_e77ca5b7","line":404,"range":{"start_line":397,"start_character":20,"end_line":404,"end_character":62},"updated":"2016-12-20 05:29:59.000000000","message":"we probably want to just continue to list the options here. lines 393-396 just list the different acceptable values.\n\nHow about:\n\n  \"none: (v2.37+) no network is attached.\n  \"auto: (v2.37+) the compute service will automatically allocate a network.\"","commit_id":"b4603b22d559e34c2fe65f183586a8995bd643bd"},{"author":{"_account_id":15888,"name":"Zhenyu Zheng","email":"zheng.zhenyu@outlook.com","username":"Kevin_Zheng"},"change_message_id":"3a6cb83275e6f79bd9c07de7a6cbc88775c52eca","unresolved":false,"context_lines":[{"line_number":394,"context_line":"                   \"port-id: attach NIC to port with this UUID, \""},{"line_number":395,"context_line":"                   \"v4-fixed-ip: IPv4 fixed address for NIC (optional), \""},{"line_number":396,"context_line":"                   \"v6-fixed-ip: IPv6 fixed address for NIC (optional). \""},{"line_number":397,"context_line":"                   \"Beginning in microversion 2.37 this field is required \""},{"line_number":398,"context_line":"                   \"and also supports a single string value of \u0027auto\u0027 \""},{"line_number":399,"context_line":"                   \"or \u0027none\u0027. The \u0027auto\u0027 value means the Compute service \""},{"line_number":400,"context_line":"                   \"will automatically allocate a network for the project \""},{"line_number":401,"context_line":"                   \"if one is not available. This is the same behavior \""},{"line_number":402,"context_line":"                   \"as not passing anything for nics before microversion \""},{"line_number":403,"context_line":"                   \"2.37. The \u0027none\u0027 value tells the Compute service to not \""},{"line_number":404,"context_line":"                   \"allocate any networking for the server.\"),"},{"line_number":405,"context_line":"        )"},{"line_number":406,"context_line":"        parser.add_argument("},{"line_number":407,"context_line":"            \u0027--hint\u0027,"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a6eadb0_d0d2f85a","line":404,"range":{"start_line":397,"start_character":20,"end_line":404,"end_character":62},"in_reply_to":"1a6eadb0_e77ca5b7","updated":"2016-12-20 08:46:41.000000000","message":"Done","commit_id":"b4603b22d559e34c2fe65f183586a8995bd643bd"},{"author":{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},"change_message_id":"770e9ebae940573344d09f6f4e73f0414feb6619","unresolved":false,"context_lines":[{"line_number":533,"context_line":"                    msg \u003d _(\"either net-id or port-id should be specified \""},{"line_number":534,"context_line":"                            \"but not both\")"},{"line_number":535,"context_line":"                    raise exceptions.CommandError(msg)"},{"line_number":536,"context_line":"                if self.app.client_manager.is_network_endpoint_enabled():"},{"line_number":537,"context_line":"                    network_client \u003d self.app.client_manager.network"},{"line_number":538,"context_line":"                    if nic_info[\"net-id\"]:"},{"line_number":539,"context_line":"                        net \u003d network_client.find_network("},{"line_number":540,"context_line":"                            nic_info[\"net-id\"], ignore_missing\u003dFalse)"},{"line_number":541,"context_line":"                        nic_info[\"net-id\"] \u003d net.id"},{"line_number":542,"context_line":"                    if nic_info[\"port-id\"]:"},{"line_number":543,"context_line":"                        port \u003d network_client.find_port("},{"line_number":544,"context_line":"                            nic_info[\"port-id\"], ignore_missing\u003dFalse)"},{"line_number":545,"context_line":"                        nic_info[\"port-id\"] \u003d port.id"},{"line_number":546,"context_line":"                else:"},{"line_number":547,"context_line":"                    if nic_info[\"net-id\"]:"},{"line_number":548,"context_line":"                        nic_info[\"net-id\"] \u003d utils.find_resource("},{"line_number":549,"context_line":"                            compute_client.networks,"},{"line_number":550,"context_line":"                            nic_info[\"net-id\"]"},{"line_number":551,"context_line":"                        ).id"},{"line_number":552,"context_line":"                    if nic_info[\"port-id\"]:"},{"line_number":553,"context_line":"                        msg \u003d _(\"can\u0027t create server with port specified \""},{"line_number":554,"context_line":"                                \"since network endpoint not enabled\")"},{"line_number":555,"context_line":"                        raise exceptions.CommandError(msg)"},{"line_number":556,"context_line":"                nics.append(nic_info)"},{"line_number":557,"context_line":""},{"line_number":558,"context_line":"        hints \u003d {}"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a6eadb0_a759cd5d","line":555,"range":{"start_line":536,"start_character":16,"end_line":555,"end_character":58},"updated":"2016-12-20 05:29:59.000000000","message":"gerrit diff needs to be smarter :)","commit_id":"b4603b22d559e34c2fe65f183586a8995bd643bd"},{"author":{"_account_id":15888,"name":"Zhenyu Zheng","email":"zheng.zhenyu@outlook.com","username":"Kevin_Zheng"},"change_message_id":"3a6cb83275e6f79bd9c07de7a6cbc88775c52eca","unresolved":false,"context_lines":[{"line_number":533,"context_line":"                    msg \u003d _(\"either net-id or port-id should be specified \""},{"line_number":534,"context_line":"                            \"but not both\")"},{"line_number":535,"context_line":"                    raise exceptions.CommandError(msg)"},{"line_number":536,"context_line":"                if self.app.client_manager.is_network_endpoint_enabled():"},{"line_number":537,"context_line":"                    network_client \u003d self.app.client_manager.network"},{"line_number":538,"context_line":"                    if nic_info[\"net-id\"]:"},{"line_number":539,"context_line":"                        net \u003d network_client.find_network("},{"line_number":540,"context_line":"                            nic_info[\"net-id\"], ignore_missing\u003dFalse)"},{"line_number":541,"context_line":"                        nic_info[\"net-id\"] \u003d net.id"},{"line_number":542,"context_line":"                    if nic_info[\"port-id\"]:"},{"line_number":543,"context_line":"                        port \u003d network_client.find_port("},{"line_number":544,"context_line":"                            nic_info[\"port-id\"], ignore_missing\u003dFalse)"},{"line_number":545,"context_line":"                        nic_info[\"port-id\"] \u003d port.id"},{"line_number":546,"context_line":"                else:"},{"line_number":547,"context_line":"                    if nic_info[\"net-id\"]:"},{"line_number":548,"context_line":"                        nic_info[\"net-id\"] \u003d utils.find_resource("},{"line_number":549,"context_line":"                            compute_client.networks,"},{"line_number":550,"context_line":"                            nic_info[\"net-id\"]"},{"line_number":551,"context_line":"                        ).id"},{"line_number":552,"context_line":"                    if nic_info[\"port-id\"]:"},{"line_number":553,"context_line":"                        msg \u003d _(\"can\u0027t create server with port specified \""},{"line_number":554,"context_line":"                                \"since network endpoint not enabled\")"},{"line_number":555,"context_line":"                        raise exceptions.CommandError(msg)"},{"line_number":556,"context_line":"                nics.append(nic_info)"},{"line_number":557,"context_line":""},{"line_number":558,"context_line":"        hints \u003d {}"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a6eadb0_f040d409","line":555,"range":{"start_line":536,"start_character":16,"end_line":555,"end_character":58},"in_reply_to":"1a6eadb0_a759cd5d","updated":"2016-12-20 08:46:41.000000000","message":"hehe","commit_id":"b4603b22d559e34c2fe65f183586a8995bd643bd"}],"releasenotes/notes/add-auto-and-none-as-nic-parameter-ed23a6e7f99f250d.yaml":[{"author":{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},"change_message_id":"3dfa4ad21a31dd4df3dc5ba3f9f1e3366476989c","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    The nova 2.37 microversion is now supported. This introduces the following"},{"line_number":5,"context_line":"    changes:"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"    The **--nic** value for the **openstack server create** command now"},{"line_number":8,"context_line":"    takes two special values, \u0027auto\u0027 and \u0027none\u0027. If --nic is not specified,"},{"line_number":9,"context_line":"    the CLI defaults to \u0027auto\u0027."}],"source_content_type":"text/x-yaml","patch_set":2,"id":"1a6eadb0_8ae5a4a9","line":9,"range":{"start_line":4,"start_character":4,"end_line":9,"end_character":31},"updated":"2016-12-20 12:11:31.000000000","message":"slight re-wording please, so our release notes look and sound the same:\n\n  - Added ``auto`` and ``none`` as values for ``--nic`` to the``server create`` command. Specifying ``none`` will not\nattach a network to the server. Specifying ``auto`` will automatically attach a network. Note, v2.37 (or newer) of the Compute API is required for these options.\n    [Bug `1650342 \u003chttps://bugs.launchpad.net/bugs/1650342\u003e`_]","commit_id":"55f6d08f2dd54fb9d327cc84ae4a3bef3c720c34"}]}
