From: Eric Blake <eblake@redhat.com>
To: "Dr. David Alan Gilbert (git)" <dgilbert@redhat.com>,
qemu-devel@nongnu.org, jasowang@redhat.com, armbru@redhat.com,
laine@redhat.com
Subject: Re: [Qemu-devel] [PATCH 1/2] net/announce: Allow optional list of interfaces
Date: Thu, 23 May 2019 11:33:54 -0500 [thread overview]
Message-ID: <3fe6b079-94ed-a379-78b8-396dee1665b9@redhat.com> (raw)
In-Reply-To: <20190523145840.11774-2-dgilbert@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 1584 bytes --]
On 5/23/19 9:58 AM, Dr. David Alan Gilbert (git) wrote:
> From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
>
> Allow the caller to restrict the set of interfaces that announces are
> sent on. The default is still to send on all interfaces.
>
> e.g.
>
> { "execute": "announce-self", "arguments": { "initial": 50, "max": 550, "rounds": 5, "step": 50, "ifaces": ["vn2","vn1"] } }
>
> Note: There's still only one timer for the qmp command, so that
> performing an 'announce-self' on one list of interfaces followed
> by another 'announce-self' on another list will stop the announces
> on the existing set.
>
> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
> ---
> +++ b/qapi/net.json
> @@ -706,7 +706,8 @@
> 'data': { 'initial': 'int',
> 'max': 'int',
> 'rounds': 'int',
> - 'step': 'int' } }
> + 'step': 'int',
> + '*ifaces': ['str'] } }
Missing documentation for the addition, including a '(since 4.1)' tag.
>
> ##
> # @announce-self:
> @@ -718,9 +719,10 @@
> #
> # Example:
> #
> -# -> { "execute": "announce-self"
> +# -> { "execute": "announce-self",
> # "arguments": {
> -# "initial": 50, "max": 550, "rounds": 10, "step": 50 } }
> +# "initial": 50, "max": 550, "rounds": 10, "step": 50,
> +# "ifaces": ["vn2","vn3"] } }
> # <- { "return": {} }
> #
> # Since: 4.0
>
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization: qemu.org | libvirt.org
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next prev parent reply other threads:[~2019-05-23 16:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-23 14:58 [Qemu-devel] [PATCH 0/2] network announce; interface selection Dr. David Alan Gilbert (git)
2019-05-23 14:58 ` [Qemu-devel] [PATCH 1/2] net/announce: Allow optional list of interfaces Dr. David Alan Gilbert (git)
2019-05-23 16:33 ` Eric Blake [this message]
2019-05-29 9:03 ` Dr. David Alan Gilbert
2019-05-23 16:41 ` Markus Armbruster
2019-05-29 9:09 ` Dr. David Alan Gilbert
2019-05-23 14:58 ` [Qemu-devel] [PATCH 2/2] net/announce: Add HMP optional interface list Dr. David Alan Gilbert (git)
2019-05-23 15:14 ` [Qemu-devel] [PATCH 0/2] network announce; interface selection Laine Stump
2019-05-23 15:18 ` Dr. David Alan Gilbert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3fe6b079-94ed-a379-78b8-396dee1665b9@redhat.com \
--to=eblake@redhat.com \
--cc=armbru@redhat.com \
--cc=dgilbert@redhat.com \
--cc=jasowang@redhat.com \
--cc=laine@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).