)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"8835fec176b1981d51cdb4bfbfc206c261b56d53","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Annie Lezil \u003cannie.lezil@gmail.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2016-11-29 18:28:13 +0000"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Network Interface Resource using Biosdevname"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Proposing a spec to add a collector for ironic-python-agent which"},{"line_number":10,"context_line":"collects bios given name of network interface and update the node\u0027s"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"5a74a57a_94a6fd51","line":7,"range":{"start_line":7,"start_character":0,"end_line":7,"end_character":44},"updated":"2016-11-29 19:09:48.000000000","message":"This is quite confusing because a \"Network Interface\" is a thing in Ironic, I would suggest something along the lines of \"Collect NIC name given by BIOS\".","commit_id":"ac48d939f2bbb1e6d000b81a8746b63af0f14201"},{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"c790f53af6e4ea399feb035627c8693dcdd12694","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Collect NIC name given by BIOS"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Proposing a spec to add a extra field \u0027biodevname\u0027 to network inventory"},{"line_number":10,"context_line":"collected by \u0027default\u0027 collector of ironic-python-agent and updates the"},{"line_number":11,"context_line":"port\u0027s extra field."},{"line_number":12,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":8,"id":"da4df55a_2c238fa8","line":9,"updated":"2016-12-27 18:34:11.000000000","message":"s/biodevname/biosdevname/","commit_id":"c81f142a721afa13663896cae8c7b6f490c3b1bb"}],"specs/Network-Interface-Resource-Info.rst":[{"author":{"_account_id":13636,"name":"aarefiev","display_name":"Anton","email":"arefyevanton@gmail.com","username":"aarefiev"},"change_message_id":"49eb4c078856f8d8e2bdac3eefc14ec4533752b9","unresolved":false,"context_lines":[{"line_number":54,"context_line":""},{"line_number":55,"context_line":"The class HardwareManager shall be used to fetch the existing information"},{"line_number":56,"context_line":"related to network interface and add on the extra collected data to it."},{"line_number":57,"context_line":"These extra data are fetched using biosdevname utility."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"The list will consist of dicts containing biosdevname and network pci bus info"},{"line_number":60,"context_line":"fields added to existing network interface details::"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5a74a57a_85cea9b2","line":57,"range":{"start_line":57,"start_character":35,"end_line":57,"end_character":46},"updated":"2016-11-30 10:51:23.000000000","message":"Please make this a link on man","commit_id":"74e70edde3aba887189c1f8de90e41c16c5f7e8d"},{"author":{"_account_id":20462,"name":"Annie Lezil","email":"annie.lezil@gmail.com","username":"alezil"},"change_message_id":"809a451f3f7382e4c55a9aa454df1c99c291cbe8","unresolved":false,"context_lines":[{"line_number":54,"context_line":""},{"line_number":55,"context_line":"The class HardwareManager shall be used to fetch the existing information"},{"line_number":56,"context_line":"related to network interface and add on the extra collected data to it."},{"line_number":57,"context_line":"These extra data are fetched using biosdevname utility."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"The list will consist of dicts containing biosdevname and network pci bus info"},{"line_number":60,"context_line":"fields added to existing network interface details::"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5a74a57a_9fd6d6c1","line":57,"range":{"start_line":57,"start_character":35,"end_line":57,"end_character":46},"in_reply_to":"5a74a57a_85cea9b2","updated":"2016-11-30 22:30:15.000000000","message":"Done","commit_id":"74e70edde3aba887189c1f8de90e41c16c5f7e8d"},{"author":{"_account_id":13636,"name":"aarefiev","display_name":"Anton","email":"arefyevanton@gmail.com","username":"aarefiev"},"change_message_id":"49eb4c078856f8d8e2bdac3eefc14ec4533752b9","unresolved":false,"context_lines":[{"line_number":59,"context_line":"The list will consist of dicts containing biosdevname and network pci bus info"},{"line_number":60,"context_line":"fields added to existing network interface details::"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"    \"interface\":{"},{"line_number":63,"context_line":"        \"eth0\":{"},{"line_number":64,"context_line":"            \"ip\": \"172.24.42.100\","},{"line_number":65,"context_line":"            \"mac: \"52:54:00:52:bc:2c\","}],"source_content_type":"text/x-rst","patch_set":2,"id":"5a74a57a_05b6193d","line":62,"range":{"start_line":62,"start_character":5,"end_line":62,"end_character":14},"updated":"2016-11-30 10:51:23.000000000","message":"s/interface/interfaces","commit_id":"74e70edde3aba887189c1f8de90e41c16c5f7e8d"},{"author":{"_account_id":20462,"name":"Annie Lezil","email":"annie.lezil@gmail.com","username":"alezil"},"change_message_id":"809a451f3f7382e4c55a9aa454df1c99c291cbe8","unresolved":false,"context_lines":[{"line_number":59,"context_line":"The list will consist of dicts containing biosdevname and network pci bus info"},{"line_number":60,"context_line":"fields added to existing network interface details::"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"    \"interface\":{"},{"line_number":63,"context_line":"        \"eth0\":{"},{"line_number":64,"context_line":"            \"ip\": \"172.24.42.100\","},{"line_number":65,"context_line":"            \"mac: \"52:54:00:52:bc:2c\","}],"source_content_type":"text/x-rst","patch_set":2,"id":"5a74a57a_3fb6a28a","line":62,"range":{"start_line":62,"start_character":5,"end_line":62,"end_character":14},"in_reply_to":"5a74a57a_05b6193d","updated":"2016-11-30 22:30:15.000000000","message":"Done","commit_id":"74e70edde3aba887189c1f8de90e41c16c5f7e8d"},{"author":{"_account_id":13636,"name":"aarefiev","display_name":"Anton","email":"arefyevanton@gmail.com","username":"aarefiev"},"change_message_id":"49eb4c078856f8d8e2bdac3eefc14ec4533752b9","unresolved":false,"context_lines":[{"line_number":63,"context_line":"        \"eth0\":{"},{"line_number":64,"context_line":"            \"ip\": \"172.24.42.100\","},{"line_number":65,"context_line":"            \"mac: \"52:54:00:52:bc:2c\","},{"line_number":66,"context_line":"            \"biosdevname\": \"em0\","},{"line_number":67,"context_line":"            \"n/w pci bus info\": \"0000:08:00.0\""},{"line_number":68,"context_line":"        }"},{"line_number":69,"context_line":"    }"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5a74a57a_25c6b516","line":66,"range":{"start_line":66,"start_character":12,"end_line":66,"end_character":33},"updated":"2016-11-30 10:51:23.000000000","message":"How does this look if hardware doesn\u0027t support biosdevname? Are we going to update extra field with some value in this case?","commit_id":"74e70edde3aba887189c1f8de90e41c16c5f7e8d"},{"author":{"_account_id":20462,"name":"Annie Lezil","email":"annie.lezil@gmail.com","username":"alezil"},"change_message_id":"5f8118d039ea0e947ac1d940f42a14e9b6f05225","unresolved":false,"context_lines":[{"line_number":63,"context_line":"        \"eth0\":{"},{"line_number":64,"context_line":"            \"ip\": \"172.24.42.100\","},{"line_number":65,"context_line":"            \"mac: \"52:54:00:52:bc:2c\","},{"line_number":66,"context_line":"            \"biosdevname\": \"em0\","},{"line_number":67,"context_line":"            \"n/w pci bus info\": \"0000:08:00.0\""},{"line_number":68,"context_line":"        }"},{"line_number":69,"context_line":"    }"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3a71b18c_1c4f6093","line":66,"range":{"start_line":66,"start_character":12,"end_line":66,"end_character":33},"in_reply_to":"3a71b18c_ca78ccfb","updated":"2016-12-01 16:49:58.000000000","message":"I shall do as suggested. Will have the field biosdevname in dict but would not update the extra field if there is no value.","commit_id":"74e70edde3aba887189c1f8de90e41c16c5f7e8d"},{"author":{"_account_id":20462,"name":"Annie Lezil","email":"annie.lezil@gmail.com","username":"alezil"},"change_message_id":"809a451f3f7382e4c55a9aa454df1c99c291cbe8","unresolved":false,"context_lines":[{"line_number":63,"context_line":"        \"eth0\":{"},{"line_number":64,"context_line":"            \"ip\": \"172.24.42.100\","},{"line_number":65,"context_line":"            \"mac: \"52:54:00:52:bc:2c\","},{"line_number":66,"context_line":"            \"biosdevname\": \"em0\","},{"line_number":67,"context_line":"            \"n/w pci bus info\": \"0000:08:00.0\""},{"line_number":68,"context_line":"        }"},{"line_number":69,"context_line":"    }"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5a74a57a_fa8b5866","line":66,"range":{"start_line":66,"start_character":12,"end_line":66,"end_character":33},"in_reply_to":"5a74a57a_25c6b516","updated":"2016-11-30 22:30:15.000000000","message":"If hardware doesn\u0027t support biosdevname, then dict will not have fields \u0027biosdevname\u0027 and \u0027n/w pci bud info\u0027 , and the extra field will not be updated.\n\nI am creating the packages for tiny ipa and coreOS, so it will have the packages for both.","commit_id":"74e70edde3aba887189c1f8de90e41c16c5f7e8d"},{"author":{"_account_id":13636,"name":"aarefiev","display_name":"Anton","email":"arefyevanton@gmail.com","username":"aarefiev"},"change_message_id":"5c14748d96ec62eca69480aecd35c7df972fa162","unresolved":false,"context_lines":[{"line_number":63,"context_line":"        \"eth0\":{"},{"line_number":64,"context_line":"            \"ip\": \"172.24.42.100\","},{"line_number":65,"context_line":"            \"mac: \"52:54:00:52:bc:2c\","},{"line_number":66,"context_line":"            \"biosdevname\": \"em0\","},{"line_number":67,"context_line":"            \"n/w pci bus info\": \"0000:08:00.0\""},{"line_number":68,"context_line":"        }"},{"line_number":69,"context_line":"    }"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3a71b18c_ca78ccfb","line":66,"range":{"start_line":66,"start_character":12,"end_line":66,"end_character":33},"in_reply_to":"5a74a57a_fa8b5866","updated":"2016-12-01 11:51:59.000000000","message":"lets get it, but with None value. If this collector was enabled, imo it should be in inventory. Explicit is better than implicit :)","commit_id":"74e70edde3aba887189c1f8de90e41c16c5f7e8d"},{"author":{"_account_id":13636,"name":"aarefiev","display_name":"Anton","email":"arefyevanton@gmail.com","username":"aarefiev"},"change_message_id":"49eb4c078856f8d8e2bdac3eefc14ec4533752b9","unresolved":false,"context_lines":[{"line_number":64,"context_line":"            \"ip\": \"172.24.42.100\","},{"line_number":65,"context_line":"            \"mac: \"52:54:00:52:bc:2c\","},{"line_number":66,"context_line":"            \"biosdevname\": \"em0\","},{"line_number":67,"context_line":"            \"n/w pci bus info\": \"0000:08:00.0\""},{"line_number":68,"context_line":"        }"},{"line_number":69,"context_line":"    }"},{"line_number":70,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"5a74a57a_657b4d7c","line":67,"range":{"start_line":67,"start_character":0,"end_line":67,"end_character":46},"updated":"2016-11-30 10:51:23.000000000","message":"Why do you need bus info?","commit_id":"74e70edde3aba887189c1f8de90e41c16c5f7e8d"},{"author":{"_account_id":20462,"name":"Annie Lezil","email":"annie.lezil@gmail.com","username":"alezil"},"change_message_id":"5f8118d039ea0e947ac1d940f42a14e9b6f05225","unresolved":false,"context_lines":[{"line_number":64,"context_line":"            \"ip\": \"172.24.42.100\","},{"line_number":65,"context_line":"            \"mac: \"52:54:00:52:bc:2c\","},{"line_number":66,"context_line":"            \"biosdevname\": \"em0\","},{"line_number":67,"context_line":"            \"n/w pci bus info\": \"0000:08:00.0\""},{"line_number":68,"context_line":"        }"},{"line_number":69,"context_line":"    }"},{"line_number":70,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"3a71b18c_7c25b4c0","line":67,"range":{"start_line":67,"start_character":0,"end_line":67,"end_character":46},"in_reply_to":"3a71b18c_cad28c34","updated":"2016-12-01 16:49:58.000000000","message":"Done","commit_id":"74e70edde3aba887189c1f8de90e41c16c5f7e8d"},{"author":{"_account_id":13636,"name":"aarefiev","display_name":"Anton","email":"arefyevanton@gmail.com","username":"aarefiev"},"change_message_id":"5c14748d96ec62eca69480aecd35c7df972fa162","unresolved":false,"context_lines":[{"line_number":64,"context_line":"            \"ip\": \"172.24.42.100\","},{"line_number":65,"context_line":"            \"mac: \"52:54:00:52:bc:2c\","},{"line_number":66,"context_line":"            \"biosdevname\": \"em0\","},{"line_number":67,"context_line":"            \"n/w pci bus info\": \"0000:08:00.0\""},{"line_number":68,"context_line":"        }"},{"line_number":69,"context_line":"    }"},{"line_number":70,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"3a71b18c_cad28c34","line":67,"range":{"start_line":67,"start_character":0,"end_line":67,"end_character":46},"in_reply_to":"5a74a57a_5a260c69","updated":"2016-12-01 11:51:59.000000000","message":"I think we can add it later if need w/o spec","commit_id":"74e70edde3aba887189c1f8de90e41c16c5f7e8d"},{"author":{"_account_id":20462,"name":"Annie Lezil","email":"annie.lezil@gmail.com","username":"alezil"},"change_message_id":"809a451f3f7382e4c55a9aa454df1c99c291cbe8","unresolved":false,"context_lines":[{"line_number":64,"context_line":"            \"ip\": \"172.24.42.100\","},{"line_number":65,"context_line":"            \"mac: \"52:54:00:52:bc:2c\","},{"line_number":66,"context_line":"            \"biosdevname\": \"em0\","},{"line_number":67,"context_line":"            \"n/w pci bus info\": \"0000:08:00.0\""},{"line_number":68,"context_line":"        }"},{"line_number":69,"context_line":"    }"},{"line_number":70,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"5a74a57a_5a260c69","line":67,"range":{"start_line":67,"start_character":0,"end_line":67,"end_character":46},"in_reply_to":"5a74a57a_657b4d7c","updated":"2016-11-30 22:30:15.000000000","message":"As of now we do not want bus info, but it may be useful for future scope. If you really do not need it, I could remove the field.","commit_id":"74e70edde3aba887189c1f8de90e41c16c5f7e8d"},{"author":{"_account_id":13636,"name":"aarefiev","display_name":"Anton","email":"arefyevanton@gmail.com","username":"aarefiev"},"change_message_id":"49eb4c078856f8d8e2bdac3eefc14ec4533752b9","unresolved":false,"context_lines":[{"line_number":74,"context_line":"ironic-inspector. The list of extra field can be viewed by node show command"},{"line_number":75,"context_line":"after succesful inspection."},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"    extra \u003d {“em0”: “52:54:00:52:bc:2c”}"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"Alternatives"},{"line_number":80,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5a74a57a_a5a2c598","line":77,"range":{"start_line":77,"start_character":3,"end_line":77,"end_character":40},"updated":"2016-11-30 10:51:23.000000000","message":"we already store mac in port, I don\u0027t see any reason to have  duplicate, maybe:\nextra \u003d {\"biosdevname\": \"em0\", ...","commit_id":"74e70edde3aba887189c1f8de90e41c16c5f7e8d"},{"author":{"_account_id":20462,"name":"Annie Lezil","email":"annie.lezil@gmail.com","username":"alezil"},"change_message_id":"5f8118d039ea0e947ac1d940f42a14e9b6f05225","unresolved":false,"context_lines":[{"line_number":74,"context_line":"ironic-inspector. The list of extra field can be viewed by node show command"},{"line_number":75,"context_line":"after succesful inspection."},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"    extra \u003d {“em0”: “52:54:00:52:bc:2c”}"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"Alternatives"},{"line_number":80,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3a71b18c_f711ddb0","line":77,"range":{"start_line":77,"start_character":3,"end_line":77,"end_character":40},"in_reply_to":"3a71b18c_2fbb1274","updated":"2016-12-01 16:49:58.000000000","message":"I prefer Node\u0027s extra field because node-show will show the biosdevname : mac of all the NICs attached to a node.\n\nIf its in port extra field the deployer have to use ironic port-show of all NICs attached to a node to get the data.","commit_id":"74e70edde3aba887189c1f8de90e41c16c5f7e8d"},{"author":{"_account_id":13636,"name":"aarefiev","display_name":"Anton","email":"arefyevanton@gmail.com","username":"aarefiev"},"change_message_id":"5c14748d96ec62eca69480aecd35c7df972fa162","unresolved":false,"context_lines":[{"line_number":74,"context_line":"ironic-inspector. The list of extra field can be viewed by node show command"},{"line_number":75,"context_line":"after succesful inspection."},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"    extra \u003d {“em0”: “52:54:00:52:bc:2c”}"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"Alternatives"},{"line_number":80,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3a71b18c_2fbb1274","line":77,"range":{"start_line":77,"start_character":3,"end_line":77,"end_character":40},"in_reply_to":"5a74a57a_7ae028fb","updated":"2016-12-01 11:51:59.000000000","message":"Sorry, you are proposing to store this on node\u0027s extra, I\u0027ve missed that. Could you explain your choice?\n\nFor me, nic info should got to Ironic port, we don\u0027t have other node-port relation.\nYou could list ports on certain node and get all info you need. WDYT?","commit_id":"74e70edde3aba887189c1f8de90e41c16c5f7e8d"},{"author":{"_account_id":20462,"name":"Annie Lezil","email":"annie.lezil@gmail.com","username":"alezil"},"change_message_id":"809a451f3f7382e4c55a9aa454df1c99c291cbe8","unresolved":false,"context_lines":[{"line_number":74,"context_line":"ironic-inspector. The list of extra field can be viewed by node show command"},{"line_number":75,"context_line":"after succesful inspection."},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"    extra \u003d {“em0”: “52:54:00:52:bc:2c”}"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"Alternatives"},{"line_number":80,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5a74a57a_7ae028fb","line":77,"range":{"start_line":77,"start_character":3,"end_line":77,"end_character":40},"in_reply_to":"5a74a57a_a5a2c598","updated":"2016-11-30 22:30:15.000000000","message":"We store a dict of \"biosdevname\": \"mac\" so that operators can know which NIC has which name, even though this information is duplicated from the ironic port. This extra field is mainly useful to show the mapping of which NIC has which biosdevname.","commit_id":"74e70edde3aba887189c1f8de90e41c16c5f7e8d"},{"author":{"_account_id":13636,"name":"aarefiev","display_name":"Anton","email":"arefyevanton@gmail.com","username":"aarefiev"},"change_message_id":"49eb4c078856f8d8e2bdac3eefc14ec4533752b9","unresolved":false,"context_lines":[{"line_number":114,"context_line":"Deployer impact"},{"line_number":115,"context_line":"---------------"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"The deployer will be to provide the optional collector via"},{"line_number":118,"context_line":"ipa-inspection-collectors kernel argument."},{"line_number":119,"context_line":""},{"line_number":120,"context_line":"Developer impact"},{"line_number":121,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5a74a57a_65342d4a","line":118,"range":{"start_line":117,"start_character":0,"end_line":118,"end_character":42},"updated":"2016-11-30 10:51:23.000000000","message":"From what I can see, you also need to provide biosdevname kernel boot parameter to enable this feature","commit_id":"74e70edde3aba887189c1f8de90e41c16c5f7e8d"},{"author":{"_account_id":20462,"name":"Annie Lezil","email":"annie.lezil@gmail.com","username":"alezil"},"change_message_id":"809a451f3f7382e4c55a9aa454df1c99c291cbe8","unresolved":false,"context_lines":[{"line_number":114,"context_line":"Deployer impact"},{"line_number":115,"context_line":"---------------"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"The deployer will be to provide the optional collector via"},{"line_number":118,"context_line":"ipa-inspection-collectors kernel argument."},{"line_number":119,"context_line":""},{"line_number":120,"context_line":"Developer impact"},{"line_number":121,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5a74a57a_75eafbad","line":118,"range":{"start_line":117,"start_character":0,"end_line":118,"end_character":42},"in_reply_to":"5a74a57a_65342d4a","updated":"2016-11-30 22:30:15.000000000","message":"As Jay said we use biosdevname as tool to  list the info of network interface.","commit_id":"74e70edde3aba887189c1f8de90e41c16c5f7e8d"},{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"66ab0da44a3ef1d60efdba031ce5b33461b9392b","unresolved":false,"context_lines":[{"line_number":114,"context_line":"Deployer impact"},{"line_number":115,"context_line":"---------------"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"The deployer will be to provide the optional collector via"},{"line_number":118,"context_line":"ipa-inspection-collectors kernel argument."},{"line_number":119,"context_line":""},{"line_number":120,"context_line":"Developer impact"},{"line_number":121,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5a74a57a_4982cc01","line":118,"range":{"start_line":117,"start_character":0,"end_line":118,"end_character":42},"in_reply_to":"5a74a57a_65342d4a","updated":"2016-11-30 20:34:57.000000000","message":"biosdevname is simply a utility that shows what the biosdevname is, and it\u0027s used by some distros on boot. There\u0027s no requirement to enable biosdevname in the Ramdisk bootup for us to use the utility to find useful information.","commit_id":"74e70edde3aba887189c1f8de90e41c16c5f7e8d"},{"author":{"_account_id":13636,"name":"aarefiev","display_name":"Anton","email":"arefyevanton@gmail.com","username":"aarefiev"},"change_message_id":"5c14748d96ec62eca69480aecd35c7df972fa162","unresolved":false,"context_lines":[{"line_number":114,"context_line":"Deployer impact"},{"line_number":115,"context_line":"---------------"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"The deployer will be to provide the optional collector via"},{"line_number":118,"context_line":"ipa-inspection-collectors kernel argument."},{"line_number":119,"context_line":""},{"line_number":120,"context_line":"Developer impact"},{"line_number":121,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3a71b18c_af4ba2af","line":118,"range":{"start_line":117,"start_character":0,"end_line":118,"end_character":42},"in_reply_to":"5a74a57a_75eafbad","updated":"2016-12-01 11:51:59.000000000","message":"ahh, get it, I saw kernel param and decided biosdevname will get this info from os, thanks for clarification","commit_id":"74e70edde3aba887189c1f8de90e41c16c5f7e8d"},{"author":{"_account_id":13636,"name":"aarefiev","display_name":"Anton","email":"arefyevanton@gmail.com","username":"aarefiev"},"change_message_id":"dbac013ce08f0cc0cdc33c4d2e94acb1e78e20d8","unresolved":false,"context_lines":[{"line_number":65,"context_line":"            \"ip\": \"172.24.42.100\","},{"line_number":66,"context_line":"            \"mac: \"52:54:00:52:bc:2c\","},{"line_number":67,"context_line":"            \"biosdevname\": \"em0\","},{"line_number":68,"context_line":"            \"n/w pci bus info\": \"0000:08:00.0\""},{"line_number":69,"context_line":"        }"},{"line_number":70,"context_line":"    }"},{"line_number":71,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"3a71b18c_ca944cea","line":68,"range":{"start_line":68,"start_character":0,"end_line":68,"end_character":46},"updated":"2016-12-01 12:12:02.000000000","message":"lets remove it if you don\u0027t need it, it could be requested w/o spec, I guess, in future.","commit_id":"0a5fe7c2db9a143246af04c1dbbd3bb8185cc700"},{"author":{"_account_id":20462,"name":"Annie Lezil","email":"annie.lezil@gmail.com","username":"alezil"},"change_message_id":"589ad375d4b23302dd40d6c4ce33a80f22e077bf","unresolved":false,"context_lines":[{"line_number":65,"context_line":"            \"ip\": \"172.24.42.100\","},{"line_number":66,"context_line":"            \"mac: \"52:54:00:52:bc:2c\","},{"line_number":67,"context_line":"            \"biosdevname\": \"em0\","},{"line_number":68,"context_line":"            \"n/w pci bus info\": \"0000:08:00.0\""},{"line_number":69,"context_line":"        }"},{"line_number":70,"context_line":"    }"},{"line_number":71,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"3a71b18c_385ee5e9","line":68,"range":{"start_line":68,"start_character":0,"end_line":68,"end_character":46},"in_reply_to":"3a71b18c_ca944cea","updated":"2016-12-01 17:35:26.000000000","message":"Done","commit_id":"0a5fe7c2db9a143246af04c1dbbd3bb8185cc700"},{"author":{"_account_id":13636,"name":"aarefiev","display_name":"Anton","email":"arefyevanton@gmail.com","username":"aarefiev"},"change_message_id":"dbac013ce08f0cc0cdc33c4d2e94acb1e78e20d8","unresolved":false,"context_lines":[{"line_number":77,"context_line":""},{"line_number":78,"context_line":"    extra \u003d {“em0”: “52:54:00:52:bc:2c”}"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"The extra field is useful to show the mapping of which NIC has which"},{"line_number":81,"context_line":"biosdevname even though the mac address is duplicated in ironic port."},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"Alternatives"},{"line_number":84,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3a71b18c_eacbc81c","line":81,"range":{"start_line":80,"start_character":0,"end_line":81,"end_character":69},"updated":"2016-12-01 12:12:02.000000000","message":"Please read comments on patch set 2","commit_id":"0a5fe7c2db9a143246af04c1dbbd3bb8185cc700"},{"author":{"_account_id":20462,"name":"Annie Lezil","email":"annie.lezil@gmail.com","username":"alezil"},"change_message_id":"589ad375d4b23302dd40d6c4ce33a80f22e077bf","unresolved":false,"context_lines":[{"line_number":77,"context_line":""},{"line_number":78,"context_line":"    extra \u003d {“em0”: “52:54:00:52:bc:2c”}"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"The extra field is useful to show the mapping of which NIC has which"},{"line_number":81,"context_line":"biosdevname even though the mac address is duplicated in ironic port."},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"Alternatives"},{"line_number":84,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3a71b18c_b8f915cb","line":81,"range":{"start_line":80,"start_character":0,"end_line":81,"end_character":69},"in_reply_to":"3a71b18c_eacbc81c","updated":"2016-12-01 17:35:26.000000000","message":"I prefer Node\u0027s extra field because node-show will show the biosdevname : mac of all the NICs attached to a node.\nIf its in port extra field the deployer have to use ironic port-show of all NICs attached to a node to get the data.","commit_id":"0a5fe7c2db9a143246af04c1dbbd3bb8185cc700"},{"author":{"_account_id":13636,"name":"aarefiev","display_name":"Anton","email":"arefyevanton@gmail.com","username":"aarefiev"},"change_message_id":"dbac013ce08f0cc0cdc33c4d2e94acb1e78e20d8","unresolved":false,"context_lines":[{"line_number":157,"context_line":"References"},{"line_number":158,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"[1] https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/"},{"line_number":161,"context_line":"[2] https://linux.die.net/man/1/biosdevname"},{"line_number":162,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"3a71b18c_a51d81bf","line":161,"range":{"start_line":160,"start_character":0,"end_line":161,"end_character":43},"updated":"2016-12-01 12:12:02.000000000","message":"Wrong formating, references are on the same line","commit_id":"0a5fe7c2db9a143246af04c1dbbd3bb8185cc700"},{"author":{"_account_id":20462,"name":"Annie Lezil","email":"annie.lezil@gmail.com","username":"alezil"},"change_message_id":"589ad375d4b23302dd40d6c4ce33a80f22e077bf","unresolved":false,"context_lines":[{"line_number":157,"context_line":"References"},{"line_number":158,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"[1] https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/"},{"line_number":161,"context_line":"[2] https://linux.die.net/man/1/biosdevname"},{"line_number":162,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"3a71b18c_fe81b590","line":161,"range":{"start_line":160,"start_character":0,"end_line":161,"end_character":43},"in_reply_to":"3a71b18c_a51d81bf","updated":"2016-12-01 17:35:26.000000000","message":"Done","commit_id":"0a5fe7c2db9a143246af04c1dbbd3bb8185cc700"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"e7326cb7580190f5137be5da42c7a3be33ff7856","unresolved":false,"context_lines":[{"line_number":50,"context_line":""},{"line_number":51,"context_line":"The proposed change is to implement a collector for listing the extra network"},{"line_number":52,"context_line":"interface details in the ironic-python-agent inspector module, which will"},{"line_number":53,"context_line":"return a full list of network interfaces to ironic inspector."},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"The class HardwareManager shall be used to fetch the existing information"},{"line_number":56,"context_line":"related to network interface and add on the extra collected data to it."}],"source_content_type":"text/x-rst","patch_set":5,"id":"3a71b18c_d4982a1e","line":53,"updated":"2016-12-02 13:17:11.000000000","message":"Why not just update network inventory with \"biosdevname\" field?","commit_id":"5b30fc2594a601bad40974d77b907a9dfec67452"},{"author":{"_account_id":20462,"name":"Annie Lezil","email":"annie.lezil@gmail.com","username":"alezil"},"change_message_id":"f75b755bdef9295bcd955ed7fdbf237fa3584a2b","unresolved":false,"context_lines":[{"line_number":50,"context_line":""},{"line_number":51,"context_line":"The proposed change is to implement a collector for listing the extra network"},{"line_number":52,"context_line":"interface details in the ironic-python-agent inspector module, which will"},{"line_number":53,"context_line":"return a full list of network interfaces to ironic inspector."},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"The class HardwareManager shall be used to fetch the existing information"},{"line_number":56,"context_line":"related to network interface and add on the extra collected data to it."}],"source_content_type":"text/x-rst","patch_set":5,"id":"3a71b18c_efce21b3","line":53,"in_reply_to":"3a71b18c_d4982a1e","updated":"2016-12-02 19:27:02.000000000","message":"Dmitry, what you said is correct. I would update network inventory with \"biosdevname\" field. I will re upload the spec.","commit_id":"5b30fc2594a601bad40974d77b907a9dfec67452"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"e7326cb7580190f5137be5da42c7a3be33ff7856","unresolved":false,"context_lines":[{"line_number":72,"context_line":"(optional argument) with collected data. The data collected from"},{"line_number":73,"context_line":"ironic-python-agent is processed and validates by vallidate_interface plugin at"},{"line_number":74,"context_line":"ironic-inspector. The list of extra field can be viewed by node show command"},{"line_number":75,"context_line":"after succesful inspection."},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"    extra \u003d {“em0”: “52:54:00:52:bc:2c”}"},{"line_number":78,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"3a71b18c_f49fe600","line":75,"updated":"2016-12-02 13:17:11.000000000","message":"Why do you need to put anything to Ironic node object? ironic-inspector already stores the complete inventory, you can just fetch it.","commit_id":"5b30fc2594a601bad40974d77b907a9dfec67452"},{"author":{"_account_id":20462,"name":"Annie Lezil","email":"annie.lezil@gmail.com","username":"alezil"},"change_message_id":"f75b755bdef9295bcd955ed7fdbf237fa3584a2b","unresolved":false,"context_lines":[{"line_number":72,"context_line":"(optional argument) with collected data. The data collected from"},{"line_number":73,"context_line":"ironic-python-agent is processed and validates by vallidate_interface plugin at"},{"line_number":74,"context_line":"ironic-inspector. The list of extra field can be viewed by node show command"},{"line_number":75,"context_line":"after succesful inspection."},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"    extra \u003d {“em0”: “52:54:00:52:bc:2c”}"},{"line_number":78,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"3a71b18c_afba69be","line":75,"in_reply_to":"3a71b18c_48471d1d","updated":"2016-12-02 19:27:02.000000000","message":"Anton, I got your point. Yeah storing this info in port object makes sense.\n\nDmitry, Storing the info in port object is useful for the deployer. \u0027ironic port-list --detail\u0027 would give all the info in a single glance.","commit_id":"5b30fc2594a601bad40974d77b907a9dfec67452"},{"author":{"_account_id":13636,"name":"aarefiev","display_name":"Anton","email":"arefyevanton@gmail.com","username":"aarefiev"},"change_message_id":"9fc4ae9037598005d46f630ac54afe0f13a76f94","unresolved":false,"context_lines":[{"line_number":72,"context_line":"(optional argument) with collected data. The data collected from"},{"line_number":73,"context_line":"ironic-python-agent is processed and validates by vallidate_interface plugin at"},{"line_number":74,"context_line":"ironic-inspector. The list of extra field can be viewed by node show command"},{"line_number":75,"context_line":"after succesful inspection."},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"    extra \u003d {“em0”: “52:54:00:52:bc:2c”}"},{"line_number":78,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"3a71b18c_48471d1d","line":75,"in_reply_to":"3a71b18c_f49fe600","updated":"2016-12-02 14:16:53.000000000","message":"Storing inventory is optional, so maybe make sense.\n\nMy question here was why not storing this info in port object. You can then fetch it in one request `port list \u003cnode_ident\u003e`","commit_id":"5b30fc2594a601bad40974d77b907a9dfec67452"},{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"c790f53af6e4ea399feb035627c8693dcdd12694","unresolved":false,"context_lines":[{"line_number":19,"context_line":"collected by \u0027default\u0027 collector of ironic-python-agent and update the port’s"},{"line_number":20,"context_line":"‘extra’ optional argument field with the collected info at ironic-inspector"},{"line_number":21,"context_line":"side using \u0027validate_interface\u0027 plugin. These extra data is fetched using"},{"line_number":22,"context_line":"`biosdevname \u003chttps://linux.die.net/man/1/59 biosdevname\u003e`_ utility. Once the"},{"line_number":23,"context_line":"node inspection is successful the optional argument ‘extra’ which records"},{"line_number":24,"context_line":"arbitrary key/value metadata get updated with ‘biosdevname’/‘em0’."},{"line_number":25,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"da4df55a_2c71cfa8","line":22,"updated":"2016-12-27 18:34:11.000000000","message":"I get 404s for the above link. Also get 404s for:\n\nhttps://linux.die.net/man/1/59_biosdevname\nhttps://linux.die.net/man/1/59/biosdevname\nhttps://linux.die.net/man/1/59biosdevname","commit_id":"c81f142a721afa13663896cae8c7b6f490c3b1bb"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"95f697893ea41dc71cecc262bc7b7ad0e255f088","unresolved":false,"context_lines":[{"line_number":41,"context_line":"name with system."},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"The data collected from the collector would enable us to create config files"},{"line_number":44,"context_line":"to script provisioning of nodes. For example, as the system boots, it uses"},{"line_number":45,"context_line":"these files to determine what network interfaces to bring up and how to"},{"line_number":46,"context_line":"configure them. So when we have a multiple NIC we need unique names for"},{"line_number":47,"context_line":"network interfaces to configure and this can be obtained from the"}],"source_content_type":"text/x-rst","patch_set":8,"id":"3a71b18c_ea92e84a","line":44,"updated":"2016-12-07 16:00:20.000000000","message":"What does this mean, can you elaborate? Ironic does the provisioning. What files can be created, how are those passed to the instance? etc.","commit_id":"c81f142a721afa13663896cae8c7b6f490c3b1bb"},{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"c790f53af6e4ea399feb035627c8693dcdd12694","unresolved":false,"context_lines":[{"line_number":41,"context_line":"name with system."},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"The data collected from the collector would enable us to create config files"},{"line_number":44,"context_line":"to script provisioning of nodes. For example, as the system boots, it uses"},{"line_number":45,"context_line":"these files to determine what network interfaces to bring up and how to"},{"line_number":46,"context_line":"configure them. So when we have a multiple NIC we need unique names for"},{"line_number":47,"context_line":"network interfaces to configure and this can be obtained from the"}],"source_content_type":"text/x-rst","patch_set":8,"id":"da4df55a_ec88a773","line":44,"in_reply_to":"3a71b18c_26b3380c","updated":"2016-12-27 18:34:11.000000000","message":"I imagine that the use case here is the standalone baremetal provisioning story -- i.e. without Nova.","commit_id":"c81f142a721afa13663896cae8c7b6f490c3b1bb"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"79042458f0dde17e11fadf86d0d16c370ca3aa6a","unresolved":false,"context_lines":[{"line_number":41,"context_line":"name with system."},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"The data collected from the collector would enable us to create config files"},{"line_number":44,"context_line":"to script provisioning of nodes. For example, as the system boots, it uses"},{"line_number":45,"context_line":"these files to determine what network interfaces to bring up and how to"},{"line_number":46,"context_line":"configure them. So when we have a multiple NIC we need unique names for"},{"line_number":47,"context_line":"network interfaces to configure and this can be obtained from the"}],"source_content_type":"text/x-rst","patch_set":8,"id":"3a71b18c_e69300ff","line":44,"in_reply_to":"3a71b18c_26b3380c","updated":"2016-12-07 16:59:23.000000000","message":"Right, collecting this information doesn\u0027t magically get it put into the configdrive. If that\u0027s the goal, let\u0027s talk about that instead.","commit_id":"c81f142a721afa13663896cae8c7b6f490c3b1bb"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"f84e620790bf76e731696ea53202a9084127374a","unresolved":false,"context_lines":[{"line_number":41,"context_line":"name with system."},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"The data collected from the collector would enable us to create config files"},{"line_number":44,"context_line":"to script provisioning of nodes. For example, as the system boots, it uses"},{"line_number":45,"context_line":"these files to determine what network interfaces to bring up and how to"},{"line_number":46,"context_line":"configure them. So when we have a multiple NIC we need unique names for"},{"line_number":47,"context_line":"network interfaces to configure and this can be obtained from the"}],"source_content_type":"text/x-rst","patch_set":8,"id":"3a71b18c_26b3380c","line":44,"in_reply_to":"3a71b18c_455d8d47","updated":"2016-12-07 16:50:46.000000000","message":"This is handled via https://specs.openstack.org/openstack/nova-specs/specs/liberty/implemented/metadata-service-network-info.html which doesn\u0027t use interface names or IDs to identify network interfaces because they aren\u0027t consistent, it used MAC addresses instead to map the physical interfaces to the logical names given in the JSON blob.","commit_id":"c81f142a721afa13663896cae8c7b6f490c3b1bb"},{"author":{"_account_id":23220,"name":"Łukasz Leszczuk","email":"lleszczuk@gmail.com","username":"lukl"},"change_message_id":"c72d589609a77e6940458dcc2450a64fed1c2fb6","unresolved":false,"context_lines":[{"line_number":41,"context_line":"name with system."},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"The data collected from the collector would enable us to create config files"},{"line_number":44,"context_line":"to script provisioning of nodes. For example, as the system boots, it uses"},{"line_number":45,"context_line":"these files to determine what network interfaces to bring up and how to"},{"line_number":46,"context_line":"configure them. So when we have a multiple NIC we need unique names for"},{"line_number":47,"context_line":"network interfaces to configure and this can be obtained from the"}],"source_content_type":"text/x-rst","patch_set":8,"id":"3a71b18c_455d8d47","line":44,"in_reply_to":"3a71b18c_ea92e84a","updated":"2016-12-07 16:43:00.000000000","message":"We can use config-drive to configure network interfaces on the box, but depending on system we might need to use interfaces names to drop right configuration.","commit_id":"c81f142a721afa13663896cae8c7b6f490c3b1bb"},{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"c790f53af6e4ea399feb035627c8693dcdd12694","unresolved":false,"context_lines":[{"line_number":43,"context_line":"The data collected from the collector would enable us to create config files"},{"line_number":44,"context_line":"to script provisioning of nodes. For example, as the system boots, it uses"},{"line_number":45,"context_line":"these files to determine what network interfaces to bring up and how to"},{"line_number":46,"context_line":"configure them. So when we have a multiple NIC we need unique names for"},{"line_number":47,"context_line":"network interfaces to configure and this can be obtained from the"},{"line_number":48,"context_line":"proposed spec."},{"line_number":49,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"da4df55a_8c8e3b77","line":46,"updated":"2016-12-27 18:34:11.000000000","message":"s/a multiple NIC/multiple NICs/","commit_id":"c81f142a721afa13663896cae8c7b6f490c3b1bb"},{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"c790f53af6e4ea399feb035627c8693dcdd12694","unresolved":false,"context_lines":[{"line_number":69,"context_line":"            \"name\": \"eth0\","},{"line_number":70,"context_line":"            \"ip\": \"172.24.42.100\","},{"line_number":71,"context_line":"            \"mac: \"52:54:00:52:bc:2c\","},{"line_number":72,"context_line":"            \"biosdevname\": \"em0\","},{"line_number":73,"context_line":"            ...,"},{"line_number":74,"context_line":"            ...,"},{"line_number":75,"context_line":"        }"}],"source_content_type":"text/x-rst","patch_set":8,"id":"da4df55a_8ce55b39","line":72,"updated":"2016-12-27 18:34:11.000000000","message":"Instead of adding another field to the models, why not just change the value of the \"name\" field to the value returned by biosdevname if biosdevname exists on the system?","commit_id":"c81f142a721afa13663896cae8c7b6f490c3b1bb"},{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"a1db85cb7d3948fef991c5807867042dbaa5ef34","unresolved":false,"context_lines":[{"line_number":69,"context_line":"            \"name\": \"eth0\","},{"line_number":70,"context_line":"            \"ip\": \"172.24.42.100\","},{"line_number":71,"context_line":"            \"mac: \"52:54:00:52:bc:2c\","},{"line_number":72,"context_line":"            \"biosdevname\": \"em0\","},{"line_number":73,"context_line":"            ...,"},{"line_number":74,"context_line":"            ...,"},{"line_number":75,"context_line":"        }"}],"source_content_type":"text/x-rst","patch_set":8,"id":"ba5201f7_93c7c144","line":72,"in_reply_to":"ba5201f7_33f3750c","updated":"2016-12-30 14:01:41.000000000","message":"@aariefiev: like I said, *if* biosdevname exists in the system, make name \u003d\u003d the result of biosdevname, otherwise keep name as it is now (i.e. ethX)","commit_id":"c81f142a721afa13663896cae8c7b6f490c3b1bb"},{"author":{"_account_id":13636,"name":"aarefiev","display_name":"Anton","email":"arefyevanton@gmail.com","username":"aarefiev"},"change_message_id":"7b4ea58e240600da31bdef9015d26b5bddd7e19b","unresolved":false,"context_lines":[{"line_number":69,"context_line":"            \"name\": \"eth0\","},{"line_number":70,"context_line":"            \"ip\": \"172.24.42.100\","},{"line_number":71,"context_line":"            \"mac: \"52:54:00:52:bc:2c\","},{"line_number":72,"context_line":"            \"biosdevname\": \"em0\","},{"line_number":73,"context_line":"            ...,"},{"line_number":74,"context_line":"            ...,"},{"line_number":75,"context_line":"        }"}],"source_content_type":"text/x-rst","patch_set":8,"id":"ba5201f7_33f3750c","line":72,"in_reply_to":"da4df55a_8ce55b39","updated":"2016-12-30 13:41:12.000000000","message":"I may be wrong, but I don\u0027t think all BIOSes support this feature.","commit_id":"c81f142a721afa13663896cae8c7b6f490c3b1bb"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"e14396d74d4fef8d8766cbfd0434e1a704bb39bc","unresolved":false,"context_lines":[{"line_number":84,"context_line":"ironic-inspector. The list of extra field can be viewed by \u0027ironic port-list"},{"line_number":85,"context_line":"--detail\u0027 command after succesful inspection."},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"    extra \u003d {“biosdevname”: \"em0\"”}"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"The extra field is useful for deployers to catch the biosdevname quicker than"},{"line_number":90,"context_line":"looking into the json file stored by ironic inspector in swift."}],"source_content_type":"text/x-rst","patch_set":8,"id":"3a71b18c_e2951633","line":87,"updated":"2016-12-05 18:08:52.000000000","message":"as I said previously, we should not dump random things on ironic database.. what prevents you from using\n\n openstack baremetal introspection data save UUID | jq .inventory.interfaces[].biosdevname\n\nor other parsing of a pretty sane JSON? This won\u0027t require changes to ironic-inspector itself at all.","commit_id":"c81f142a721afa13663896cae8c7b6f490c3b1bb"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"4293bb0e2f8407331bbc0ef185850d2499b53c33","unresolved":false,"context_lines":[{"line_number":84,"context_line":"ironic-inspector. The list of extra field can be viewed by \u0027ironic port-list"},{"line_number":85,"context_line":"--detail\u0027 command after succesful inspection."},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"    extra \u003d {“biosdevname”: \"em0\"”}"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"The extra field is useful for deployers to catch the biosdevname quicker than"},{"line_number":90,"context_line":"looking into the json file stored by ironic inspector in swift."}],"source_content_type":"text/x-rst","patch_set":8,"id":"3a71b18c_bc41b03b","line":87,"in_reply_to":"3a71b18c_2c3015e8","updated":"2016-12-09 16:46:39.000000000","message":"I\u0027d like to reiterate what Jim has said above:\n\n\u003e should only be putting things in other fields that will be used by ironic itself\n\nPlease keep in mind that Ironic is not a general-purpose hardware inventory database. We don\u0027t do it because we don\u0027t value your use case, we just never do it.\n\nHowever, the inventory storage in ironic-inspector *is* the place you\u0027re looking for. And http://specs.openstack.org/openstack/ironic-inspector-specs/specs/lldp-reporting.html is a promising example of using it for operator-level reporting.","commit_id":"c81f142a721afa13663896cae8c7b6f490c3b1bb"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"85a7a0fd47ab1e9b3d454393dcb142dd772b60d8","unresolved":false,"context_lines":[{"line_number":84,"context_line":"ironic-inspector. The list of extra field can be viewed by \u0027ironic port-list"},{"line_number":85,"context_line":"--detail\u0027 command after succesful inspection."},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"    extra \u003d {“biosdevname”: \"em0\"”}"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"The extra field is useful for deployers to catch the biosdevname quicker than"},{"line_number":90,"context_line":"looking into the json file stored by ironic inspector in swift."}],"source_content_type":"text/x-rst","patch_set":8,"id":"3a71b18c_6639b0d8","line":87,"in_reply_to":"3a71b18c_40881bc7","updated":"2016-12-07 16:44:09.000000000","message":"\u003e  I believe it\u0027s easier to expose Ironic API to end users instead of exposing Ironic-inspector API.\n\nI don\u0027t know why you make this conclusion. These are just two HTTP API endpoints.","commit_id":"c81f142a721afa13663896cae8c7b6f490c3b1bb"},{"author":{"_account_id":23220,"name":"Łukasz Leszczuk","email":"lleszczuk@gmail.com","username":"lukl"},"change_message_id":"43c7c41e8c5775ebcd7035d6a2c50e78c2736cc6","unresolved":false,"context_lines":[{"line_number":84,"context_line":"ironic-inspector. The list of extra field can be viewed by \u0027ironic port-list"},{"line_number":85,"context_line":"--detail\u0027 command after succesful inspection."},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"    extra \u003d {“biosdevname”: \"em0\"”}"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"The extra field is useful for deployers to catch the biosdevname quicker than"},{"line_number":90,"context_line":"looking into the json file stored by ironic inspector in swift."}],"source_content_type":"text/x-rst","patch_set":8,"id":"3a71b18c_e6b860eb","line":87,"in_reply_to":"3a71b18c_6639b0d8","updated":"2016-12-07 16:51:32.000000000","message":"With policy.json in Ironic API I can limit access to certain information for end users. AFAIK Ironic Inspector is not supporting that, is it?","commit_id":"c81f142a721afa13663896cae8c7b6f490c3b1bb"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"79042458f0dde17e11fadf86d0d16c370ca3aa6a","unresolved":false,"context_lines":[{"line_number":84,"context_line":"ironic-inspector. The list of extra field can be viewed by \u0027ironic port-list"},{"line_number":85,"context_line":"--detail\u0027 command after succesful inspection."},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"    extra \u003d {“biosdevname”: \"em0\"”}"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"The extra field is useful for deployers to catch the biosdevname quicker than"},{"line_number":90,"context_line":"looking into the json file stored by ironic inspector in swift."}],"source_content_type":"text/x-rst","patch_set":8,"id":"3a71b18c_e6ece094","line":87,"in_reply_to":"3a71b18c_66c9b05a","updated":"2016-12-07 16:59:23.000000000","message":"Agree, ironic or inspector should never be putting things in .extra, and should only be putting things in other fields that will be used by ironic itself, not just for user access.","commit_id":"c81f142a721afa13663896cae8c7b6f490c3b1bb"},{"author":{"_account_id":13636,"name":"aarefiev","display_name":"Anton","email":"arefyevanton@gmail.com","username":"aarefiev"},"change_message_id":"7b4ea58e240600da31bdef9015d26b5bddd7e19b","unresolved":false,"context_lines":[{"line_number":84,"context_line":"ironic-inspector. The list of extra field can be viewed by \u0027ironic port-list"},{"line_number":85,"context_line":"--detail\u0027 command after succesful inspection."},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"    extra \u003d {“biosdevname”: \"em0\"”}"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"The extra field is useful for deployers to catch the biosdevname quicker than"},{"line_number":90,"context_line":"looking into the json file stored by ironic inspector in swift."}],"source_content_type":"text/x-rst","patch_set":8,"id":"ba5201f7_13791194","line":87,"in_reply_to":"3a71b18c_bc41b03b","updated":"2016-12-30 13:41:12.000000000","message":"I\u0027m confused, I thought biosdevname will be used for deployment, so we need to provide this info to ironic, no?","commit_id":"c81f142a721afa13663896cae8c7b6f490c3b1bb"},{"author":{"_account_id":10343,"name":"Jim Rollenhagen","email":"jim@jimrollenhagen.com","username":"jimrollenhagen"},"change_message_id":"e48cd49a53327b0efdf26f4092516555742d5694","unresolved":false,"context_lines":[{"line_number":84,"context_line":"ironic-inspector. The list of extra field can be viewed by \u0027ironic port-list"},{"line_number":85,"context_line":"--detail\u0027 command after succesful inspection."},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"    extra \u003d {“biosdevname”: \"em0\"”}"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"The extra field is useful for deployers to catch the biosdevname quicker than"},{"line_number":90,"context_line":"looking into the json file stored by ironic inspector in swift."}],"source_content_type":"text/x-rst","patch_set":8,"id":"3a71b18c_cf2ffea5","line":87,"in_reply_to":"3a71b18c_e2951633","updated":"2016-12-07 15:53:50.000000000","message":"++","commit_id":"c81f142a721afa13663896cae8c7b6f490c3b1bb"},{"author":{"_account_id":23220,"name":"Łukasz Leszczuk","email":"lleszczuk@gmail.com","username":"lukl"},"change_message_id":"c72d589609a77e6940458dcc2450a64fed1c2fb6","unresolved":false,"context_lines":[{"line_number":84,"context_line":"ironic-inspector. The list of extra field can be viewed by \u0027ironic port-list"},{"line_number":85,"context_line":"--detail\u0027 command after succesful inspection."},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"    extra \u003d {“biosdevname”: \"em0\"”}"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"The extra field is useful for deployers to catch the biosdevname quicker than"},{"line_number":90,"context_line":"looking into the json file stored by ironic inspector in swift."}],"source_content_type":"text/x-rst","patch_set":8,"id":"3a71b18c_40881bc7","line":87,"in_reply_to":"3a71b18c_e2951633","updated":"2016-12-07 16:43:00.000000000","message":"How about accessing this kind of information by end users? I believe it\u0027s easier to expose Ironic API to end users instead of exposing Ironic-inspector API.","commit_id":"c81f142a721afa13663896cae8c7b6f490c3b1bb"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"306789e95d52a4dadf29d01eb47f473aa415e809","unresolved":false,"context_lines":[{"line_number":84,"context_line":"ironic-inspector. The list of extra field can be viewed by \u0027ironic port-list"},{"line_number":85,"context_line":"--detail\u0027 command after succesful inspection."},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"    extra \u003d {“biosdevname”: \"em0\"”}"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"The extra field is useful for deployers to catch the biosdevname quicker than"},{"line_number":90,"context_line":"looking into the json file stored by ironic inspector in swift."}],"source_content_type":"text/x-rst","patch_set":8,"id":"3a71b18c_66c9b05a","line":87,"in_reply_to":"3a71b18c_e6b860eb","updated":"2016-12-07 16:53:20.000000000","message":"Well, you can add this support to inspector, if you need it. This is not the reason to break assumptions about node.extra that we have. I\u0027m also not sure if it\u0027s a good idea to expose the whole node to users just because of a few fields in extra.","commit_id":"c81f142a721afa13663896cae8c7b6f490c3b1bb"},{"author":{"_account_id":23220,"name":"Łukasz Leszczuk","email":"lleszczuk@gmail.com","username":"lukl"},"change_message_id":"7bd4d27b03ca8116b8a6230cf665b8e8b4d68e97","unresolved":false,"context_lines":[{"line_number":84,"context_line":"ironic-inspector. The list of extra field can be viewed by \u0027ironic port-list"},{"line_number":85,"context_line":"--detail\u0027 command after succesful inspection."},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"    extra \u003d {“biosdevname”: \"em0\"”}"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"The extra field is useful for deployers to catch the biosdevname quicker than"},{"line_number":90,"context_line":"looking into the json file stored by ironic inspector in swift."}],"source_content_type":"text/x-rst","patch_set":8,"id":"3a71b18c_2c3015e8","line":87,"in_reply_to":"3a71b18c_e6ece094","updated":"2016-12-09 16:35:21.000000000","message":"How about reporting which NIC is connected to which NUMA node? For certain latency critical apps it\u0027s important to know this.","commit_id":"c81f142a721afa13663896cae8c7b6f490c3b1bb"}]}
