)]}'
{"os_vif/objects/instance_info.py":[{"author":{"_account_id":7730,"name":"Sahid Orentino Ferdjaoui","email":"sahid.ferdjaoui@industrialdiscipline.com","username":"sahid"},"change_message_id":"231633230da2ec784ce5600feb40ceccced77e58","unresolved":false,"context_lines":[{"line_number":33,"context_line":"        # The project/tenant ID that owns the instance"},{"line_number":34,"context_line":"        \u0027project_id\u0027: fields.StringField(),"},{"line_number":35,"context_line":"        # The instance requests multiqueue virtio"},{"line_number":36,"context_line":"        \u0027multiqueue\u0027: fields.BooleanField(default\u003dFalse),"},{"line_number":37,"context_line":"    }"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"    def obj_make_compatible(self, primitive, target_version):"}],"source_content_type":"text/x-python","patch_set":3,"id":"5f7c97a3_4f3d23c2","line":36,"updated":"2018-05-31 09:43:02.000000000","message":"I think it makes sense to have this attribute living with InstanceInfo. My only request would be to prefix it with virtio \u0027virtio_multiqueue\u0027 since as you have noticed virtqueue is a virtio concept and we do support more device type.","commit_id":"9980e7beabe36e77ec324cc459b641316a423e02"},{"author":{"_account_id":7730,"name":"Sahid Orentino Ferdjaoui","email":"sahid.ferdjaoui@industrialdiscipline.com","username":"sahid"},"change_message_id":"f5c28478341ed1604e2ef87fad7ffb736e763738","unresolved":false,"context_lines":[{"line_number":33,"context_line":"        # The project/tenant ID that owns the instance"},{"line_number":34,"context_line":"        \u0027project_id\u0027: fields.StringField(),"},{"line_number":35,"context_line":"        # The instance requests multiqueue virtio"},{"line_number":36,"context_line":"        \u0027virtio_multiqueue\u0027: fields.BooleanField(default\u003dFalse),"},{"line_number":37,"context_line":"    }"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"    def obj_make_compatible(self, primitive, target_version):"}],"source_content_type":"text/x-python","patch_set":5,"id":"5f7c97a3_644841b2","line":36,"updated":"2018-05-31 14:19:26.000000000","message":"Hum... I\u0027m thinking about something, don\u0027t we want this as IntegerField so we can pass the exact number of queues?","commit_id":"f28e759c730a062bb14edd6a22d6f58377604d20"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"9556506ddb9807080e1a1b5d0262a50328aa7076","unresolved":false,"context_lines":[{"line_number":33,"context_line":"        # The project/tenant ID that owns the instance"},{"line_number":34,"context_line":"        \u0027project_id\u0027: fields.StringField(),"},{"line_number":35,"context_line":"        # The instance requests multiqueue virtio"},{"line_number":36,"context_line":"        \u0027virtio_multiqueue\u0027: fields.BooleanField(default\u003dFalse),"},{"line_number":37,"context_line":"    }"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"    def obj_make_compatible(self, primitive, target_version):"}],"source_content_type":"text/x-python","patch_set":5,"id":"5f7c97a3_67f60360","line":36,"in_reply_to":"5f7c97a3_644841b2","updated":"2018-05-31 15:12:51.000000000","message":"this should not be in instance info.\nit should be in the port profile.","commit_id":"f28e759c730a062bb14edd6a22d6f58377604d20"},{"author":{"_account_id":25733,"name":"Jan Gutter","email":"github@jangutter.com","username":"jangutter"},"change_message_id":"2ec2f6ca6e1c8d8a20c413a0c3bed132e9e4fdf6","unresolved":false,"context_lines":[{"line_number":33,"context_line":"        # The project/tenant ID that owns the instance"},{"line_number":34,"context_line":"        \u0027project_id\u0027: fields.StringField(),"},{"line_number":35,"context_line":"        # The instance requests multiqueue virtio"},{"line_number":36,"context_line":"        \u0027virtio_multiqueue\u0027: fields.BooleanField(default\u003dFalse),"},{"line_number":37,"context_line":"    }"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"    def obj_make_compatible(self, primitive, target_version):"}],"source_content_type":"text/x-python","patch_set":5,"id":"5f7c97a3_7a23fa56","line":36,"in_reply_to":"5f7c97a3_67f60360","updated":"2018-05-31 15:47:08.000000000","message":"Technically, I agree. Practically, however, it\u0027s going to take a lot of plumbing in Nova\u0027s os-vif-util to pass this through.\n\nThe multiqueue info will need to be available and populated on the Nova VIF object from:\nhttps://github.com/openstack/nova/blob/master/nova/network/model.py\n\nOne way of adding that would be via the VIF_DETAILS dict. Then, that will be available in:\n\nhttps://github.com/openstack/nova/blob/master/nova/network/os_vif_util.py\n\nThe second aspect, is that, currently in Nova, this is an instance-wide setting, for every VIF. Even though it\u0027s possible to mix single queue and multi queue devices in libvirt, it\u0027s not currently possible in Nova.\n\nI can thread it through via the VIF object in the network model, if that\u0027s more acceptable, but the code impact is much larger.","commit_id":"f28e759c730a062bb14edd6a22d6f58377604d20"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"0d7bcf7e60be1f83f884558d25073ffa5d9e3202","unresolved":false,"context_lines":[{"line_number":33,"context_line":"        # The project/tenant ID that owns the instance"},{"line_number":34,"context_line":"        \u0027project_id\u0027: fields.StringField(),"},{"line_number":35,"context_line":"        # The instance requests multiqueue virtio"},{"line_number":36,"context_line":"        \u0027virtio_multiqueue\u0027: fields.BooleanField(default\u003dFalse),"},{"line_number":37,"context_line":"    }"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"    def obj_make_compatible(self, primitive, target_version):"}],"source_content_type":"text/x-python","patch_set":5,"id":"5f7c97a3_7a969a4e","line":36,"in_reply_to":"5f7c97a3_7a23fa56","updated":"2018-05-31 15:52:12.000000000","message":"well you could leave the current  os_vif_util.py file unchanged and then here https://github.com/openstack/nova/blob/c208a102950e1f982c7ccf9aa6bf7d05d7261601/nova/virt/libvirt/vif.py#L754 update the port profile object before calling plug if multi queue is enabled. that would avoid most of the nova changes.","commit_id":"f28e759c730a062bb14edd6a22d6f58377604d20"},{"author":{"_account_id":25733,"name":"Jan Gutter","email":"github@jangutter.com","username":"jangutter"},"change_message_id":"48c858cb8673fa366d455c40d30c19218cb48f0a","unresolved":false,"context_lines":[{"line_number":33,"context_line":"        # The project/tenant ID that owns the instance"},{"line_number":34,"context_line":"        \u0027project_id\u0027: fields.StringField(),"},{"line_number":35,"context_line":"        # The instance requests multiqueue virtio"},{"line_number":36,"context_line":"        \u0027virtio_multiqueue\u0027: fields.BooleanField(default\u003dFalse),"},{"line_number":37,"context_line":"    }"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"    def obj_make_compatible(self, primitive, target_version):"}],"source_content_type":"text/x-python","patch_set":5,"id":"5f7c97a3_fd8b841b","line":36,"in_reply_to":"5f7c97a3_7a969a4e","updated":"2018-05-31 16:45:33.000000000","message":"Ah! That\u0027s a very good point! And now to the devious idea:\nshould I check for the \u0027virtio_multiqueue\u0027 field in the port_profile of the VIF, regardless of its type, and populate it if it\u0027s None?\n\nThis field could then still be overridden by the os_vif_util.py conversion functions. I think I\u0027ll leave such a mechanism for future generations to abuse.","commit_id":"f28e759c730a062bb14edd6a22d6f58377604d20"}],"os_vif/objects/vif.py":[{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"40ff779bf4fda86b38d2c95767ad8c4e912535ae","unresolved":false,"context_lines":[{"line_number":292,"context_line":""},{"line_number":293,"context_line":"    fields \u003d {"},{"line_number":294,"context_line":"        # Whether to create the device with multiqueue enabled"},{"line_number":295,"context_line":"        \u0027virtio_multiqueue\u0027: fields.BooleanField(nullable\u003dTrue, default\u003dNone),"},{"line_number":296,"context_line":"    }"}],"source_content_type":"text/x-python","patch_set":6,"id":"5f7c97a3_051a9e6d","line":295,"range":{"start_line":295,"start_character":49,"end_line":295,"end_character":62},"updated":"2018-06-01 02:34:13.000000000","message":"all ovo fields that are not nullable can still be unset so i dont think nullable true is required.\n\nnullable is only of use with db tables generated from ovo classes. e.g. its for declaring a column that in the db can have a null value vs say a int filed that is auto incremented in the db which would be unset in the object when creating a new entry in the db.","commit_id":"031c7ec79b5883ac09768176d3f0f90610b35531"},{"author":{"_account_id":25733,"name":"Jan Gutter","email":"github@jangutter.com","username":"jangutter"},"change_message_id":"35663f0d1b62d3694a4ad8719c1d954aa79a532d","unresolved":false,"context_lines":[{"line_number":292,"context_line":""},{"line_number":293,"context_line":"    fields \u003d {"},{"line_number":294,"context_line":"        # Whether to create the device with multiqueue enabled"},{"line_number":295,"context_line":"        \u0027virtio_multiqueue\u0027: fields.BooleanField(nullable\u003dTrue, default\u003dNone),"},{"line_number":296,"context_line":"    }"}],"source_content_type":"text/x-python","patch_set":6,"id":"5f7c97a3_3d21eeb4","line":295,"range":{"start_line":295,"start_character":49,"end_line":295,"end_character":62},"in_reply_to":"5f7c97a3_051a9e6d","updated":"2018-06-01 10:17:12.000000000","message":"I\u0027m happy to remove this, but check the Nova patch for the reasoning:\n\nhttps://git.openstack.org/cgit/openstack/nova/tree/nova/virt/libvirt/vif.py?h\u003drefs/changes/62/571462/2#n757\n\nthe ovo objects throw an exception if you try to set them to None and they don\u0027t have nullable\u003dTrue. The only reason I did was so there\u0027s a tri-state: None -\u003e Nova sets it before plugging. True/False -\u003e the os-vif conversion function sets it before plugging.\n\nI don\u0027t have a strong opinion on which way is better, but since it looks like nobody really is going to use this interface, it might be better to abandon this as a warning to others!","commit_id":"031c7ec79b5883ac09768176d3f0f90610b35531"}],"releasenotes/notes/add-multiqueue-to-instance-info-0b6ad4a8ddbddbf7.yaml":[{"author":{"_account_id":7730,"name":"Sahid Orentino Ferdjaoui","email":"sahid.ferdjaoui@industrialdiscipline.com","username":"sahid"},"change_message_id":"0fc99e9374b8d97f149d82f9f470a14b53db09f8","unresolved":false,"context_lines":[{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - The instance info vif object has been modified to enable requesting virtio"},{"line_number":4,"context_line":"    multiqueue support. This is primarily to enable VIFGeneric plugins to"},{"line_number":5,"context_line":"    create multiqueue enabled devices. Before the \u0027virtio_multiqueue\u0027 field was"},{"line_number":6,"context_line":"    added, the os-vif plugin would have had to use a backdoor mechanism to"},{"line_number":7,"context_line":"    coordinate this. This field has been added to the InstanceInfo object to"},{"line_number":8,"context_line":"    mirror behavior in Nova, the decision to enable multiqueue is done at"}],"source_content_type":"text/x-yaml","patch_set":4,"id":"5f7c97a3_24eec921","line":5,"range":{"start_line":5,"start_character":50,"end_line":5,"end_character":70},"updated":"2018-05-31 14:00:28.000000000","message":"I think it\u0027s important that you use ``virtio_multiqueue``","commit_id":"f897362d3e970088cb8bef22b12322206517a46c"},{"author":{"_account_id":7730,"name":"Sahid Orentino Ferdjaoui","email":"sahid.ferdjaoui@industrialdiscipline.com","username":"sahid"},"change_message_id":"4620d5c90d942f253edf267bf1bf67928b2088e8","unresolved":false,"context_lines":[{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - The instance info vif object has been modified to enable requesting virtio"},{"line_number":4,"context_line":"    multiqueue support. This is primarily to enable VIFGeneric plugins to"},{"line_number":5,"context_line":"    create multiqueue enabled devices. Before the \u0027virtio_multiqueue\u0027 field was"},{"line_number":6,"context_line":"    added, the os-vif plugin would have had to use a backdoor mechanism to"},{"line_number":7,"context_line":"    coordinate this. This field has been added to the InstanceInfo object to"},{"line_number":8,"context_line":"    mirror behavior in Nova, the decision to enable multiqueue is done at"}],"source_content_type":"text/x-yaml","patch_set":4,"id":"5f7c97a3_84c79d96","line":5,"range":{"start_line":5,"start_character":50,"end_line":5,"end_character":70},"in_reply_to":"5f7c97a3_24eec921","updated":"2018-05-31 14:01:13.000000000","message":"Done","commit_id":"f897362d3e970088cb8bef22b12322206517a46c"},{"author":{"_account_id":25733,"name":"Jan Gutter","email":"github@jangutter.com","username":"jangutter"},"change_message_id":"2ec2f6ca6e1c8d8a20c413a0c3bed132e9e4fdf6","unresolved":false,"context_lines":[{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - The instance info vif object has been modified to enable requesting virtio"},{"line_number":4,"context_line":"    multiqueue support. This is primarily to enable VIFGeneric plugins to"},{"line_number":5,"context_line":"    create multiqueue enabled devices. Before the \u0027virtio_multiqueue\u0027 field was"},{"line_number":6,"context_line":"    added, the os-vif plugin would have had to use a backdoor mechanism to"},{"line_number":7,"context_line":"    coordinate this. This field has been added to the InstanceInfo object to"},{"line_number":8,"context_line":"    mirror behavior in Nova, the decision to enable multiqueue is done at"}],"source_content_type":"text/x-yaml","patch_set":4,"id":"5f7c97a3_c425955d","line":5,"range":{"start_line":5,"start_character":50,"end_line":5,"end_character":70},"in_reply_to":"5f7c97a3_84c79d96","updated":"2018-05-31 15:47:08.000000000","message":"Thanks!","commit_id":"f897362d3e970088cb8bef22b12322206517a46c"}]}
