)]}'
{"specs/pike/approved/netronome-smartnic-enablement.rst":[{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"9d75675cabb2fc08d9dc8d6d63b7404780c00965","unresolved":false,"context_lines":[{"line_number":187,"context_line":""},{"line_number":188,"context_line":"* Publish proof-of-concept implementation."},{"line_number":189,"context_line":""},{"line_number":190,"context_line":"  * The proof-of-concept implementation exists already."},{"line_number":191,"context_line":""},{"line_number":192,"context_line":"* Rework proof-of-concept implementation to be vendor neutral."},{"line_number":193,"context_line":"* Update unit tests."}],"source_content_type":"text/x-rst","patch_set":3,"id":"9ff52f3f_5f66eb53","line":190,"updated":"2017-04-12 21:56:33.000000000","message":"link?","commit_id":"b5409e691c5d8c96bef7bd893ce32c91d0f30e31"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"9d75675cabb2fc08d9dc8d6d63b7404780c00965","unresolved":false,"context_lines":[{"line_number":202,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":203,"context_line":""},{"line_number":204,"context_line":"Unit testing will be added for the new semantics, functional testing will be"},{"line_number":205,"context_line":"conducted at Netronome."},{"line_number":206,"context_line":""},{"line_number":207,"context_line":"Documentation Impact"},{"line_number":208,"context_line":"\u003d\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":3,"id":"9ff52f3f_ff549f56","line":205,"updated":"2017-04-12 21:56:33.000000000","message":"Via a 3rd party CI?","commit_id":"b5409e691c5d8c96bef7bd893ce32c91d0f30e31"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"9d75675cabb2fc08d9dc8d6d63b7404780c00965","unresolved":false,"context_lines":[{"line_number":227,"context_line":"History"},{"line_number":228,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":229,"context_line":""},{"line_number":230,"context_line":"Optional section intended to be used each time the spec is updated to describe"},{"line_number":231,"context_line":"new design, API or any database schema updated. Useful to let reader understand"},{"line_number":232,"context_line":"what\u0027s happened along the time."},{"line_number":233,"context_line":""},{"line_number":234,"context_line":".. list-table:: Revisions"},{"line_number":235,"context_line":"   :header-rows: 1"}],"source_content_type":"text/x-rst","patch_set":3,"id":"9ff52f3f_7fc64f19","line":232,"range":{"start_line":230,"start_character":0,"end_line":232,"end_character":31},"updated":"2017-04-12 21:56:33.000000000","message":"Remove boilerplate","commit_id":"b5409e691c5d8c96bef7bd893ce32c91d0f30e31"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"0fca59016dabea1f3e56654179e5f0b23e886140","unresolved":false,"context_lines":[{"line_number":62,"context_line":""},{"line_number":63,"context_line":"  * It is proposed that this list be extended with:"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"    * virtio-forwarder"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"* Add logic to implement PCI reservation in the neutron API section:"},{"line_number":68,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"9ff52f3f_af7da51d","line":65,"range":{"start_line":65,"start_character":6,"end_line":65,"end_character":22},"updated":"2017-04-13 20:04:19.000000000","message":"yes this makes sense to me.\ni have discussed similar models to this in the past for dpdk controlled sriov interface.\nthis is similar to how snabb switch works, they expose a vhost-user interface to the guest by using at thin virtio forwarder ontop of a sriov vf.\n\nthis decouples the guest form knowledge of the underlying hardware(no vendor specifc nic driver in guest) but keeps most of the performance of sriov espcially if you use a high speed networking api such as dpdk or ebpf to implenent the vitio forwarder.","commit_id":"39f81076695da0ebb9cf083ddc66fb3e3c6919a7"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"0fca59016dabea1f3e56654179e5f0b23e886140","unresolved":false,"context_lines":[{"line_number":73,"context_line":""},{"line_number":74,"context_line":"* Add plugging logic for new VIF types:"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"  * Add two new VIF-types to OS-VIF and Nova:"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"    * VIFSmartNICPassthrough: for Passthrough plugging"},{"line_number":79,"context_line":"    * VIFSmartNICVirtioForwarder: for Virtio Forwarder plugging"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9ff52f3f_0f301156","line":76,"range":{"start_line":76,"start_character":16,"end_line":76,"end_character":25},"updated":"2017-04-13 20:04:19.000000000","message":"as i mentioned on the os-vif review the vif types are likely not need but 2 new port profiles will be need to carry the pci address information and any other implementation specific information that is required.","commit_id":"39f81076695da0ebb9cf083ddc66fb3e3c6919a7"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"0fca59016dabea1f3e56654179e5f0b23e886140","unresolved":false,"context_lines":[{"line_number":75,"context_line":""},{"line_number":76,"context_line":"  * Add two new VIF-types to OS-VIF and Nova:"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"    * VIFSmartNICPassthrough: for Passthrough plugging"},{"line_number":79,"context_line":"    * VIFSmartNICVirtioForwarder: for Virtio Forwarder plugging"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"  * Add logic in `nova/network/os_vif_util.py:_nova_to_osvif_vif_ovs` to pick"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9ff52f3f_2f14f59f","line":78,"range":{"start_line":78,"start_character":6,"end_line":78,"end_character":29},"updated":"2017-04-13 20:04:19.000000000","message":"in this case we should reuse VIFHostDevice\n https://github.com/openstack/os-vif/blob/e133b8a3771ce6a49594af83b90586bdd88630ae/os_vif/objects/vif.py#L146\n\nwith a new portprofile if required.","commit_id":"39f81076695da0ebb9cf083ddc66fb3e3c6919a7"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"0fca59016dabea1f3e56654179e5f0b23e886140","unresolved":false,"context_lines":[{"line_number":76,"context_line":"  * Add two new VIF-types to OS-VIF and Nova:"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"    * VIFSmartNICPassthrough: for Passthrough plugging"},{"line_number":79,"context_line":"    * VIFSmartNICVirtioForwarder: for Virtio Forwarder plugging"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"  * Add logic in `nova/network/os_vif_util.py:_nova_to_osvif_vif_ovs` to pick"},{"line_number":82,"context_line":"    between them based on VNIC type."}],"source_content_type":"text/x-rst","patch_set":5,"id":"7ffa3b31_be6299d7","line":79,"range":{"start_line":79,"start_character":6,"end_line":79,"end_character":32},"updated":"2017-04-13 20:04:19.000000000","message":"this should just use VIFVHostUser\nhttps://github.com/openstack/os-vif/blob/e133b8a3771ce6a49594af83b90586bdd88630ae/os_vif/objects/vif.py#L121\n\nwith a port profile for the pci info.","commit_id":"39f81076695da0ebb9cf083ddc66fb3e3c6919a7"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"0fca59016dabea1f3e56654179e5f0b23e886140","unresolved":false,"context_lines":[{"line_number":78,"context_line":"    * VIFSmartNICPassthrough: for Passthrough plugging"},{"line_number":79,"context_line":"    * VIFSmartNICVirtioForwarder: for Virtio Forwarder plugging"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"  * Add logic in `nova/network/os_vif_util.py:_nova_to_osvif_vif_ovs` to pick"},{"line_number":82,"context_line":"    between them based on VNIC type."},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"* Additional notes:"},{"line_number":85,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"7ffa3b31_3e7d696e","line":82,"range":{"start_line":81,"start_character":4,"end_line":82,"end_character":36},"updated":"2017-04-13 20:04:19.000000000","message":"if we get the vif negociation done this cycle then this wont be need but for now its the right way to go.","commit_id":"39f81076695da0ebb9cf083ddc66fb3e3c6919a7"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"0fca59016dabea1f3e56654179e5f0b23e886140","unresolved":false,"context_lines":[{"line_number":92,"context_line":"    * Standard Neutron plugins or ML2 drivers can be used."},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"  * The OS-VIF plugin needs to run commands on the hypervisor to configure the"},{"line_number":95,"context_line":"    Virtual Function and handles. This is likely to be vendor specific, so it"},{"line_number":96,"context_line":"    should call out to a user-replaceable script."},{"line_number":97,"context_line":""},{"line_number":98,"context_line":"  * A user still has to register the PCI devices on the hypervisor with"},{"line_number":99,"context_line":"    `pci_passthrough_whitelist` and `pci_alias` in `nova.conf`."}],"source_content_type":"text/x-rst","patch_set":5,"id":"7ffa3b31_dec1e582","line":96,"range":{"start_line":95,"start_character":34,"end_line":96,"end_character":48},"updated":"2017-04-13 20:04:19.000000000","message":"if this is supported in ovs upstream this will be handeled byt the os-vif ovs plugin in a generic way. if it not support by ovs upstream this logic will need to be in a vendore specific os-vif plugin not in the main os-vif repo.","commit_id":"39f81076695da0ebb9cf083ddc66fb3e3c6919a7"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"0fca59016dabea1f3e56654179e5f0b23e886140","unresolved":false,"context_lines":[{"line_number":116,"context_line":""},{"line_number":117,"context_line":"* Add glance or flavor annotations:"},{"line_number":118,"context_line":""},{"line_number":119,"context_line":"  * This would force a VM to have one type of acceleration. Code"},{"line_number":120,"context_line":"    would possibly move out to more VIF types and Virtual Function reservation"},{"line_number":121,"context_line":"    would still need to be updated."},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"* Fork the OVS ML2 plugin and add new OS-VIF plugin types: This would not"},{"line_number":124,"context_line":"  avoid changes to core, the PCI request mechanism still needs to be modified."}],"source_content_type":"text/x-rst","patch_set":5,"id":"7ffa3b31_be1a9914","line":121,"range":{"start_line":119,"start_character":4,"end_line":121,"end_character":35},"updated":"2017-04-13 20:04:19.000000000","message":"this is bad for other reason too such as futher increasing the explostion of flavors and images required","commit_id":"39f81076695da0ebb9cf083ddc66fb3e3c6919a7"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"3bed17f09e3a2d10ebd71db5570970a79da43fea","unresolved":false,"context_lines":[{"line_number":131,"context_line":"REST API impact"},{"line_number":132,"context_line":"---------------"},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"No new calls. An `ovs` type VIF with `direct` or `virtio-forwarder` VNIC type"},{"line_number":135,"context_line":"will trigger new code paths instead of causing an exception."},{"line_number":136,"context_line":""},{"line_number":137,"context_line":"Security impact"},{"line_number":138,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9ff52f3f_843d28bd","line":135,"range":{"start_line":134,"start_character":0,"end_line":135,"end_character":60},"updated":"2017-04-13 18:45:28.000000000","message":"nit: if you respin, I\u0027d just change this section to None to avoid any confusion.\n\nI think of this basically like this change:\n\nhttps://github.com/openstack/nova/commit/32069c8f397e395134c3b1142c2d852640685fef","commit_id":"39f81076695da0ebb9cf083ddc66fb3e3c6919a7"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"08ec01fffbb7845ddad151c19cbb03fa9ee1f8da","unresolved":false,"context_lines":[{"line_number":91,"context_line":"      OVS solutions."},{"line_number":92,"context_line":"    * Standard Neutron plugins or ML2 drivers can be used."},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"  * The OS-VIF plugin needs to run commands on the hypervisor to configure the"},{"line_number":95,"context_line":"    Virtual Function and handles. This is likely to be vendor specific, so it"},{"line_number":96,"context_line":"    should call out to a user-replaceable script."},{"line_number":97,"context_line":""},{"line_number":98,"context_line":"  * A user still has to register the PCI devices on the hypervisor with"},{"line_number":99,"context_line":"    `pci_passthrough_whitelist` and `pci_alias` in `nova.conf`."}],"source_content_type":"text/x-rst","patch_set":7,"id":"7ffa3b31_de9e8553","line":96,"range":{"start_line":94,"start_character":4,"end_line":96,"end_character":49},"updated":"2017-04-13 20:15:22.000000000","message":"in the case of agilio-ovs-software as this is a forked version of ovs the os-vif change bar the definition of the port profile will require an external plugin to be created.","commit_id":"8cd0817d8bedbeb3e44d6cc2d7b8c963104511bc"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"08ec01fffbb7845ddad151c19cbb03fa9ee1f8da","unresolved":false,"context_lines":[{"line_number":123,"context_line":"    would possibly move out to more VIF types and Virtual Function reservation"},{"line_number":124,"context_line":"    would still need to be updated."},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"* Fork the OVS ML2 plugin and add new OS-VIF plugin types: This would not"},{"line_number":127,"context_line":"  avoid changes to core, the PCI request mechanism still needs to be modified."},{"line_number":128,"context_line":""},{"line_number":129,"context_line":"Data model impact"}],"source_content_type":"text/x-rst","patch_set":7,"id":"7ffa3b31_de8445b4","line":126,"range":{"start_line":126,"start_character":2,"end_line":126,"end_character":57},"updated":"2017-04-13 20:15:22.000000000","message":"a new os-vif plugin will be required as the ovs plugin in\nos-vif only support features in upstream ovs not any vendorised derivative unless we reverse that requirement.\n\nthis is the how 6winds fp integration works with os-vif for example.\n\nyou may wish to have an alternitive ml2 driver also if you choose but that will not impact the nova or os-vif integration so its out of scope of this spec.","commit_id":"8cd0817d8bedbeb3e44d6cc2d7b8c963104511bc"},{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"ac7800ad77c1438d021e67c57f5c2128ae3c6c92","unresolved":false,"context_lines":[{"line_number":39,"context_line":"---------"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"* An end user should be able to attach a port to a VM running on"},{"line_number":42,"context_line":"  a Netronome SmartNIC with OVS in one of three modes:"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"  * Normal: Standard kernel-based OVS plugging. (hybrid or TAP)"},{"line_number":45,"context_line":"  * Passthrough: Accelerated IOMMU passthrough, ideal for NFV-like"}],"source_content_type":"text/x-rst","patch_set":9,"id":"7ffa3b31_001c7468","line":42,"updated":"2017-04-14 14:25:24.000000000","message":"Technically, the VM doesn\u0027t run on a Netronome SmartNIC :) It runs on a hypervisor.","commit_id":"5e6d9dd1973657ad194ea8accbb07aed4bfcc66a"},{"author":{"_account_id":25733,"name":"Jan Gutter","email":"github@jangutter.com","username":"jangutter"},"change_message_id":"f4fdd71d141b2a2517aa4d3025630f5d1a0e07d9","unresolved":false,"context_lines":[{"line_number":39,"context_line":"---------"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"* An end user should be able to attach a port to a VM running on"},{"line_number":42,"context_line":"  a Netronome SmartNIC with OVS in one of three modes:"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"  * Normal: Standard kernel-based OVS plugging. (hybrid or TAP)"},{"line_number":45,"context_line":"  * Passthrough: Accelerated IOMMU passthrough, ideal for NFV-like"}],"source_content_type":"text/x-rst","patch_set":9,"id":"7ffa3b31_80f2c405","line":42,"in_reply_to":"7ffa3b31_001c7468","updated":"2017-04-14 15:59:39.000000000","message":"Correct!","commit_id":"5e6d9dd1973657ad194ea8accbb07aed4bfcc66a"},{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"ac7800ad77c1438d021e67c57f5c2128ae3c6c92","unresolved":false,"context_lines":[{"line_number":45,"context_line":"  * Passthrough: Accelerated IOMMU passthrough, ideal for NFV-like"},{"line_number":46,"context_line":"    applications. (vfio-pci)"},{"line_number":47,"context_line":"  * Virtio Forwarder: Accelerated vhost-user passthrough, maximum"},{"line_number":48,"context_line":"    compatibility with support for live migration. (XVIO)"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"Proposed change"},{"line_number":51,"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":9,"id":"7ffa3b31_e0186876","line":48,"updated":"2017-04-14 14:25:24.000000000","message":"maximum compatibility with *what*? Do you mean maximum *functional ability* with regards to virtualization commands like live migration?","commit_id":"5e6d9dd1973657ad194ea8accbb07aed4bfcc66a"},{"author":{"_account_id":25733,"name":"Jan Gutter","email":"github@jangutter.com","username":"jangutter"},"change_message_id":"f4fdd71d141b2a2517aa4d3025630f5d1a0e07d9","unresolved":false,"context_lines":[{"line_number":45,"context_line":"  * Passthrough: Accelerated IOMMU passthrough, ideal for NFV-like"},{"line_number":46,"context_line":"    applications. (vfio-pci)"},{"line_number":47,"context_line":"  * Virtio Forwarder: Accelerated vhost-user passthrough, maximum"},{"line_number":48,"context_line":"    compatibility with support for live migration. (XVIO)"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"Proposed change"},{"line_number":51,"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":9,"id":"7ffa3b31_80cbe4a3","line":48,"in_reply_to":"7ffa3b31_e0186876","updated":"2017-04-14 15:59:39.000000000","message":"Ah, yes, I\u0027ll elaborate: Maximum compatibility with existing software virtio drivers.","commit_id":"5e6d9dd1973657ad194ea8accbb07aed4bfcc66a"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"cc00c4ca6dfe082f055120eeda676a8929707056","unresolved":false,"context_lines":[{"line_number":68,"context_line":""},{"line_number":69,"context_line":"  * In `nova/network/neutronv2/api.py` a secondary check needs to be added to"},{"line_number":70,"context_line":"    `create_pci_requests_for_sriov_ports` in order to allocate PCI requests"},{"line_number":71,"context_line":"    for OVS networks when the VNIC type is set to `direct` or"},{"line_number":72,"context_line":"    `virtio-forwarder`."},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"* Because Agilio OVS is a forked version of upstream OVS, an external OS-VIF"}],"source_content_type":"text/x-rst","patch_set":9,"id":"7ffa3b31_c09a0cc4","line":71,"range":{"start_line":71,"start_character":51,"end_line":71,"end_character":57},"updated":"2017-04-14 14:33:07.000000000","message":"I think this is actually direct-physical?\n\nhttps://github.com/openstack/nova/blob/ae637e70a72166067e09f3bbc3acb54e5d92771e/nova/pci/request.py#L59","commit_id":"5e6d9dd1973657ad194ea8accbb07aed4bfcc66a"},{"author":{"_account_id":25733,"name":"Jan Gutter","email":"github@jangutter.com","username":"jangutter"},"change_message_id":"f4fdd71d141b2a2517aa4d3025630f5d1a0e07d9","unresolved":false,"context_lines":[{"line_number":68,"context_line":""},{"line_number":69,"context_line":"  * In `nova/network/neutronv2/api.py` a secondary check needs to be added to"},{"line_number":70,"context_line":"    `create_pci_requests_for_sriov_ports` in order to allocate PCI requests"},{"line_number":71,"context_line":"    for OVS networks when the VNIC type is set to `direct` or"},{"line_number":72,"context_line":"    `virtio-forwarder`."},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"* Because Agilio OVS is a forked version of upstream OVS, an external OS-VIF"}],"source_content_type":"text/x-rst","patch_set":9,"id":"7ffa3b31_e0bbc80b","line":71,"range":{"start_line":71,"start_character":51,"end_line":71,"end_character":57},"in_reply_to":"7ffa3b31_c09a0cc4","updated":"2017-04-14 15:59:39.000000000","message":"I think \"direct-physical\" refers to NIC Physical Functions in stead of virtual functions.","commit_id":"5e6d9dd1973657ad194ea8accbb07aed4bfcc66a"},{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"ac7800ad77c1438d021e67c57f5c2128ae3c6c92","unresolved":false,"context_lines":[{"line_number":69,"context_line":"  * In `nova/network/neutronv2/api.py` a secondary check needs to be added to"},{"line_number":70,"context_line":"    `create_pci_requests_for_sriov_ports` in order to allocate PCI requests"},{"line_number":71,"context_line":"    for OVS networks when the VNIC type is set to `direct` or"},{"line_number":72,"context_line":"    `virtio-forwarder`."},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"* Because Agilio OVS is a forked version of upstream OVS, an external OS-VIF"},{"line_number":75,"context_line":"  plugin is required, based on the OVS OS-VIF plugin."}],"source_content_type":"text/x-rst","patch_set":9,"id":"7ffa3b31_c027acb6","line":72,"updated":"2017-04-14 14:25:24.000000000","message":"This isn\u0027t where device allocation is done and I am leary of adding allocation/claim logic into any more modules, especially the neutronv2/api.py module.","commit_id":"5e6d9dd1973657ad194ea8accbb07aed4bfcc66a"},{"author":{"_account_id":25733,"name":"Jan Gutter","email":"github@jangutter.com","username":"jangutter"},"change_message_id":"f4fdd71d141b2a2517aa4d3025630f5d1a0e07d9","unresolved":false,"context_lines":[{"line_number":69,"context_line":"  * In `nova/network/neutronv2/api.py` a secondary check needs to be added to"},{"line_number":70,"context_line":"    `create_pci_requests_for_sriov_ports` in order to allocate PCI requests"},{"line_number":71,"context_line":"    for OVS networks when the VNIC type is set to `direct` or"},{"line_number":72,"context_line":"    `virtio-forwarder`."},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"* Because Agilio OVS is a forked version of upstream OVS, an external OS-VIF"},{"line_number":75,"context_line":"  plugin is required, based on the OVS OS-VIF plugin."}],"source_content_type":"text/x-rst","patch_set":9,"id":"7ffa3b31_8059a4ff","line":72,"in_reply_to":"7ffa3b31_80a4040a","updated":"2017-04-14 15:59:39.000000000","message":"Yeah, the idea is not to add another point where allocation is done. That would be horrific. Rather expand the existing checks to include more port profiles.","commit_id":"5e6d9dd1973657ad194ea8accbb07aed4bfcc66a"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"cc00c4ca6dfe082f055120eeda676a8929707056","unresolved":false,"context_lines":[{"line_number":69,"context_line":"  * In `nova/network/neutronv2/api.py` a secondary check needs to be added to"},{"line_number":70,"context_line":"    `create_pci_requests_for_sriov_ports` in order to allocate PCI requests"},{"line_number":71,"context_line":"    for OVS networks when the VNIC type is set to `direct` or"},{"line_number":72,"context_line":"    `virtio-forwarder`."},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"* Because Agilio OVS is a forked version of upstream OVS, an external OS-VIF"},{"line_number":75,"context_line":"  plugin is required, based on the OVS OS-VIF plugin."}],"source_content_type":"text/x-rst","patch_set":9,"id":"7ffa3b31_80a4040a","line":72,"in_reply_to":"7ffa3b31_c027acb6","updated":"2017-04-14 14:33:07.000000000","message":"I think this is just referring to this:\n\nhttps://review.openstack.org/#/c/456481/1/nova/network/neutronv2/api.py\n\nWhich is already handling direct-physical in a special way, and they are saying they need to also handle this new vnic type.\n\nObviously that needs to be made more generic and less vendor-y, but I think that\u0027s noted elsewhere in the spec.","commit_id":"5e6d9dd1973657ad194ea8accbb07aed4bfcc66a"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"368a875a2ad46a2e8ed643371badee4b693529ab","unresolved":false,"context_lines":[{"line_number":93,"context_line":"    * Standard Neutron plugins or ML2 drivers can be used."},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"  * The OS-VIF plugin needs to run commands on the hypervisor to configure the"},{"line_number":96,"context_line":"    Virtual Function and handles. This is likely to be vendor specific, so it"},{"line_number":97,"context_line":"    should call out to a user-replaceable script."},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"  * A user still has to register the PCI devices on the hypervisor with"},{"line_number":100,"context_line":"    `pci_passthrough_whitelist` and `pci_alias` in `nova.conf`."}],"source_content_type":"text/x-rst","patch_set":9,"id":"7ffa3b31_a455e61f","line":97,"range":{"start_line":96,"start_character":70,"end_line":97,"end_character":48},"updated":"2017-04-13 21:30:54.000000000","message":"nit: i would remove this if you respin as its an implementation detail of the os-vif plugin that will be created. \n\nas os-vif support user extensible plugins we dont have to support execute arbitray scripts as we can write a mini plugin for each vendor as needed.","commit_id":"5e6d9dd1973657ad194ea8accbb07aed4bfcc66a"},{"author":{"_account_id":25733,"name":"Jan Gutter","email":"github@jangutter.com","username":"jangutter"},"change_message_id":"7cd53c55363247c83be6d2c2b67ccb33ba3c75d0","unresolved":false,"context_lines":[{"line_number":93,"context_line":"    * Standard Neutron plugins or ML2 drivers can be used."},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"  * The OS-VIF plugin needs to run commands on the hypervisor to configure the"},{"line_number":96,"context_line":"    Virtual Function and handles. This is likely to be vendor specific, so it"},{"line_number":97,"context_line":"    should call out to a user-replaceable script."},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"  * A user still has to register the PCI devices on the hypervisor with"},{"line_number":100,"context_line":"    `pci_passthrough_whitelist` and `pci_alias` in `nova.conf`."}],"source_content_type":"text/x-rst","patch_set":9,"id":"7ffa3b31_c75354e2","line":97,"range":{"start_line":96,"start_character":70,"end_line":97,"end_character":48},"in_reply_to":"7ffa3b31_a455e61f","updated":"2017-04-13 21:43:04.000000000","message":"The intention is to cooperate with other vendors to come up with a common standard and semantics, and hopefully to make upstreaming into OVS simpler.","commit_id":"5e6d9dd1973657ad194ea8accbb07aed4bfcc66a"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"54bcea403f48be541214b5b203424706bb0ac51f","unresolved":false,"context_lines":[{"line_number":93,"context_line":"    * Standard Neutron plugins or ML2 drivers can be used."},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"  * The OS-VIF plugin needs to run commands on the hypervisor to configure the"},{"line_number":96,"context_line":"    Virtual Function and handles. This is likely to be vendor specific, so it"},{"line_number":97,"context_line":"    should call out to a user-replaceable script."},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"  * A user still has to register the PCI devices on the hypervisor with"},{"line_number":100,"context_line":"    `pci_passthrough_whitelist` and `pci_alias` in `nova.conf`."}],"source_content_type":"text/x-rst","patch_set":9,"id":"7ffa3b31_678ec02f","line":97,"range":{"start_line":96,"start_character":70,"end_line":97,"end_character":48},"in_reply_to":"7ffa3b31_c75354e2","updated":"2017-04-13 21:51:29.000000000","message":"yes if there is a common api upstream in ovs then the os-vif ovs plugin can be extended to offer that.\n\nwhile its vender specific it can remain in vendor specific plugins that share a common datamodel in os-vif","commit_id":"5e6d9dd1973657ad194ea8accbb07aed4bfcc66a"},{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"ac7800ad77c1438d021e67c57f5c2128ae3c6c92","unresolved":false,"context_lines":[{"line_number":97,"context_line":"    should call out to a user-replaceable script."},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"  * A user still has to register the PCI devices on the hypervisor with"},{"line_number":100,"context_line":"    `pci_passthrough_whitelist` and `pci_alias` in `nova.conf`."},{"line_number":101,"context_line":""},{"line_number":102,"context_line":"  * SmartNIC enabled nodes and classic nodes can run side-by-side. Standard"},{"line_number":103,"context_line":"    scheduling filters allocate and place VMs according to port types."}],"source_content_type":"text/x-rst","patch_set":9,"id":"7ffa3b31_a02ca099","line":100,"updated":"2017-04-14 14:25:24.000000000","message":"Users don\u0027t do this. Deployers/administrators do.","commit_id":"5e6d9dd1973657ad194ea8accbb07aed4bfcc66a"},{"author":{"_account_id":25733,"name":"Jan Gutter","email":"github@jangutter.com","username":"jangutter"},"change_message_id":"f4fdd71d141b2a2517aa4d3025630f5d1a0e07d9","unresolved":false,"context_lines":[{"line_number":97,"context_line":"    should call out to a user-replaceable script."},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"  * A user still has to register the PCI devices on the hypervisor with"},{"line_number":100,"context_line":"    `pci_passthrough_whitelist` and `pci_alias` in `nova.conf`."},{"line_number":101,"context_line":""},{"line_number":102,"context_line":"  * SmartNIC enabled nodes and classic nodes can run side-by-side. Standard"},{"line_number":103,"context_line":"    scheduling filters allocate and place VMs according to port types."}],"source_content_type":"text/x-rst","patch_set":9,"id":"7ffa3b31_40739c81","line":100,"in_reply_to":"7ffa3b31_a02ca099","updated":"2017-04-14 15:59:39.000000000","message":"Thanks, will update.","commit_id":"5e6d9dd1973657ad194ea8accbb07aed4bfcc66a"},{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"ac7800ad77c1438d021e67c57f5c2128ae3c6c92","unresolved":false,"context_lines":[{"line_number":105,"context_line":"  * A proof-of-concept implementation has been submitted: this is tracked on"},{"line_number":106,"context_line":"    the blueprint. For convenience, the constants and new additions have been"},{"line_number":107,"context_line":"    named with the keyword \"Agilio\". This will be replaced with vendor-neutral"},{"line_number":108,"context_line":"    SmartNIC terms."},{"line_number":109,"context_line":""},{"line_number":110,"context_line":"  * An RFE needs to be logged on Neutron API to be amended to recognise"},{"line_number":111,"context_line":"    `virtio-forwarder` as a valid option for `binding:vnic_type`."}],"source_content_type":"text/x-rst","patch_set":9,"id":"7ffa3b31_8021a4a2","line":108,"updated":"2017-04-14 14:25:24.000000000","message":"SmartNIC is not vendor-neutral :) But, regardless, I don\u0027t see why this vendor-specific code should look vendor-neutral. It isn\u0027t. It\u0027s vendor-specific and there\u0027s nothing inherently wrong with that.","commit_id":"5e6d9dd1973657ad194ea8accbb07aed4bfcc66a"},{"author":{"_account_id":25733,"name":"Jan Gutter","email":"github@jangutter.com","username":"jangutter"},"change_message_id":"f4fdd71d141b2a2517aa4d3025630f5d1a0e07d9","unresolved":false,"context_lines":[{"line_number":105,"context_line":"  * A proof-of-concept implementation has been submitted: this is tracked on"},{"line_number":106,"context_line":"    the blueprint. For convenience, the constants and new additions have been"},{"line_number":107,"context_line":"    named with the keyword \"Agilio\". This will be replaced with vendor-neutral"},{"line_number":108,"context_line":"    SmartNIC terms."},{"line_number":109,"context_line":""},{"line_number":110,"context_line":"  * An RFE needs to be logged on Neutron API to be amended to recognise"},{"line_number":111,"context_line":"    `virtio-forwarder` as a valid option for `binding:vnic_type`."}],"source_content_type":"text/x-rst","patch_set":9,"id":"7ffa3b31_80276465","line":108,"in_reply_to":"7ffa3b31_8021a4a2","updated":"2017-04-14 15:59:39.000000000","message":"Yep, but having \"Agilio\" in the middle of OpenStack core protocols is ugly.","commit_id":"5e6d9dd1973657ad194ea8accbb07aed4bfcc66a"},{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"ac7800ad77c1438d021e67c57f5c2128ae3c6c92","unresolved":false,"context_lines":[{"line_number":149,"context_line":"---------------------"},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"python-neutronclient should accept the `virtio-forwarder` VNIC type, in"},{"line_number":152,"context_line":"addition to the current list of VNICs."},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"Performance Impact"},{"line_number":155,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":9,"id":"7ffa3b31_602698ba","line":152,"updated":"2017-04-14 14:25:24.000000000","message":"s/VNICs/vNIC types/","commit_id":"5e6d9dd1973657ad194ea8accbb07aed4bfcc66a"},{"author":{"_account_id":25733,"name":"Jan Gutter","email":"github@jangutter.com","username":"jangutter"},"change_message_id":"f4fdd71d141b2a2517aa4d3025630f5d1a0e07d9","unresolved":false,"context_lines":[{"line_number":149,"context_line":"---------------------"},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"python-neutronclient should accept the `virtio-forwarder` VNIC type, in"},{"line_number":152,"context_line":"addition to the current list of VNICs."},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"Performance Impact"},{"line_number":155,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":9,"id":"7ffa3b31_40215c4d","line":152,"in_reply_to":"7ffa3b31_602698ba","updated":"2017-04-14 15:59:39.000000000","message":"Thanks, will fix.","commit_id":"5e6d9dd1973657ad194ea8accbb07aed4bfcc66a"},{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"ac7800ad77c1438d021e67c57f5c2128ae3c6c92","unresolved":false,"context_lines":[{"line_number":157,"context_line":"This code is likely to be called at VIF plugging and unplugging. Performance"},{"line_number":158,"context_line":"is not expected to regress."},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"On accelerated ports, network performance between VMs is expected to"},{"line_number":161,"context_line":"increase."},{"line_number":162,"context_line":""},{"line_number":163,"context_line":"Other deployer impact"}],"source_content_type":"text/x-rst","patch_set":9,"id":"7ffa3b31_403b9cd0","line":160,"updated":"2017-04-14 14:25:24.000000000","message":"s/network performance/data plane performance/\n\nyou aren\u0027t changing the speed of the underlying network fabric, but rather the speed of the rx/tx processing.","commit_id":"5e6d9dd1973657ad194ea8accbb07aed4bfcc66a"},{"author":{"_account_id":25733,"name":"Jan Gutter","email":"github@jangutter.com","username":"jangutter"},"change_message_id":"f4fdd71d141b2a2517aa4d3025630f5d1a0e07d9","unresolved":false,"context_lines":[{"line_number":157,"context_line":"This code is likely to be called at VIF plugging and unplugging. Performance"},{"line_number":158,"context_line":"is not expected to regress."},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"On accelerated ports, network performance between VMs is expected to"},{"line_number":161,"context_line":"increase."},{"line_number":162,"context_line":""},{"line_number":163,"context_line":"Other deployer impact"}],"source_content_type":"text/x-rst","patch_set":9,"id":"7ffa3b31_201e500c","line":160,"in_reply_to":"7ffa3b31_403b9cd0","updated":"2017-04-14 15:59:39.000000000","message":"Correct. Will fix.","commit_id":"5e6d9dd1973657ad194ea8accbb07aed4bfcc66a"},{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"39e4020054ec6d7f439b3fed514b64cbabd5c292","unresolved":false,"context_lines":[{"line_number":47,"context_line":"    applications. (vfio-pci)"},{"line_number":48,"context_line":"  * Virtio Forwarder: Accelerated vhost-user passthrough, maximum"},{"line_number":49,"context_line":"    software compatibility with standard virtio drivers and with support for"},{"line_number":50,"context_line":"    live migration. (XVIO)"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"Proposed change"},{"line_number":53,"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":11,"id":"7ffa3b31_c6efc485","line":50,"updated":"2017-04-14 17:06:32.000000000","message":"++ all excellent descriptions and wording above for problem domain and use cases.","commit_id":"a057d83303f3efe080d1d92d703c0bd749eeb9ae"},{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"39e4020054ec6d7f439b3fed514b64cbabd5c292","unresolved":false,"context_lines":[{"line_number":75,"context_line":"    parameters to Nova as PCI vendor/product ID, further work should be done"},{"line_number":76,"context_line":"    to develop a capability or driver list that would abstract this detail"},{"line_number":77,"context_line":"    away from users. Refer to IRC chat log for more details:"},{"line_number":78,"context_line":"    http://eavesdrop.openstack.org/irclogs/%23openstack-nova/%23openstack-nova.2017-04-14.log.html#t2017-04-14T14:44:06"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"* Because Agilio OVS is a forked version of upstream OVS, an external OS-VIF"},{"line_number":81,"context_line":"  plugin is required, based on the OVS OS-VIF plugin."}],"source_content_type":"text/x-rst","patch_set":11,"id":"7ffa3b31_a6f4b85c","line":78,"updated":"2017-04-14 17:06:32.000000000","message":"Excellent, thank you!","commit_id":"a057d83303f3efe080d1d92d703c0bd749eeb9ae"},{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"39e4020054ec6d7f439b3fed514b64cbabd5c292","unresolved":false,"context_lines":[{"line_number":101,"context_line":"  * The OS-VIF plugin needs to run commands on the hypervisor to configure the"},{"line_number":102,"context_line":"    Virtual Function and handles. This is likely to be vendor specific, this"},{"line_number":103,"context_line":"    could call out to a user-replaceable script or be implemented in the"},{"line_number":104,"context_line":"    OS-VIF custom plugin."},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"  * A deployer/administrator still has to register the PCI devices on the"},{"line_number":107,"context_line":"    hypervisor with `pci_passthrough_whitelist` and `pci_alias` in"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7ffa3b31_86e9bc81","line":104,"updated":"2017-04-14 17:06:32.000000000","message":"Sure. Likely, just code in an os-vif custom plugin.","commit_id":"a057d83303f3efe080d1d92d703c0bd749eeb9ae"},{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"39e4020054ec6d7f439b3fed514b64cbabd5c292","unresolved":false,"context_lines":[{"line_number":105,"context_line":""},{"line_number":106,"context_line":"  * A deployer/administrator still has to register the PCI devices on the"},{"line_number":107,"context_line":"    hypervisor with `pci_passthrough_whitelist` and `pci_alias` in"},{"line_number":108,"context_line":"    `nova.conf`."},{"line_number":109,"context_line":""},{"line_number":110,"context_line":"  * SmartNIC enabled nodes and classic nodes can run side-by-side. Standard"},{"line_number":111,"context_line":"    scheduling filters allocate and place VMs according to port types and"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7ffa3b31_66eeb089","line":108,"updated":"2017-04-14 17:06:32.000000000","message":"Correct, per normal operations. Nothing special about the settings needed here for Netronome NICs.","commit_id":"a057d83303f3efe080d1d92d703c0bd749eeb9ae"},{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"39e4020054ec6d7f439b3fed514b64cbabd5c292","unresolved":false,"context_lines":[{"line_number":109,"context_line":""},{"line_number":110,"context_line":"  * SmartNIC enabled nodes and classic nodes can run side-by-side. Standard"},{"line_number":111,"context_line":"    scheduling filters allocate and place VMs according to port types and"},{"line_number":112,"context_line":"    driver capabilities."},{"line_number":113,"context_line":""},{"line_number":114,"context_line":"  * A proof-of-concept implementation has been submitted: this is tracked on"},{"line_number":115,"context_line":"    the blueprint. For convenience, the constants and new additions have been"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7ffa3b31_4603b443","line":112,"updated":"2017-04-14 17:06:32.000000000","message":"++","commit_id":"a057d83303f3efe080d1d92d703c0bd749eeb9ae"},{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"39e4020054ec6d7f439b3fed514b64cbabd5c292","unresolved":false,"context_lines":[{"line_number":131,"context_line":""},{"line_number":132,"context_line":"  * This would force a VM to have one type of acceleration. Code"},{"line_number":133,"context_line":"    would possibly move out to more VIF types and Virtual Function reservation"},{"line_number":134,"context_line":"    would still need to be updated."},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"Data model impact"},{"line_number":137,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7ffa3b31_2600a834","line":134,"updated":"2017-04-14 17:06:32.000000000","message":"We might still desire an image metadata property to indicate some driver requirements of an image, but those would serve as defaults in the case of multi/different vNICs in a single guest that need to be plumbed differently (and in that case, the Neutron port binding profile information would override any default taken from the image metadata)","commit_id":"a057d83303f3efe080d1d92d703c0bd749eeb9ae"},{"author":{"_account_id":25733,"name":"Jan Gutter","email":"github@jangutter.com","username":"jangutter"},"change_message_id":"b6b1732319a1c081c8e4676fb851023e19b81d3a","unresolved":false,"context_lines":[{"line_number":131,"context_line":""},{"line_number":132,"context_line":"  * This would force a VM to have one type of acceleration. Code"},{"line_number":133,"context_line":"    would possibly move out to more VIF types and Virtual Function reservation"},{"line_number":134,"context_line":"    would still need to be updated."},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"Data model impact"},{"line_number":137,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7ffa3b31_c6bd8469","line":134,"in_reply_to":"7ffa3b31_2600a834","updated":"2017-04-14 17:12:50.000000000","message":"Agreed. Once the plumbing is in place, this is a logical next step and would stop a lot of gotchas.","commit_id":"a057d83303f3efe080d1d92d703c0bd749eeb9ae"}]}
