From: "Roger Pau Monné" <roger.pau@citrix.com>
To: George Dunlap <George.Dunlap@eu.citrix.com>
Cc: Ulf Kreutzberg <ulf.kreutzberg@hosteurope.de>,
"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: [PATCH 2/2] xl: allow specifying a default netdev in xl.conf
Date: Tue, 29 Jan 2013 11:01:05 +0000 [thread overview]
Message-ID: <5107ABF1.5080609@citrix.com> (raw)
In-Reply-To: <CAFLBxZZxkcwOH2VaGbcERWs1Mo4NHTXSHrW5tRPYgpOoPB=dLw@mail.gmail.com>
On 28/01/13 17:11, George Dunlap wrote:
> On Mon, Jan 28, 2013 at 11:00 AM, George Dunlap
> <George.Dunlap@eu.citrix.com <mailto:George.Dunlap@eu.citrix.com>> wrote:
>
> On Fri, Jan 25, 2013 at 3:26 PM, Roger Pau Monne
> <roger.pau@citrix.com <mailto:roger.pau@citrix.com>> wrote:
>
> This adds a new global option in the xl configuration file called
> "defaultnetdev", that is used to specify the default netdev to use
> when none is passed in the vif specification.
>
>
> I'm not a fan of the name, though; it doesn't seem very scalable.
> It looks like we already have "defaultbridge', so I can see this is
> just following precedent, but I wonder if it might be worth putting
> some more thought into it before proceeding?
>
> It seems like if we're going to have a default sub-option, it should
> at least have the name of the option in which it resides.
> "vif_netdev_default" or "default_vif_netdev" seem like better
> option. Or maybe "vif.netdev.default"? "defaults.vif.netdev"?
vif_default_netdev sounds good to me, but I don't have any opinions
against the others. We should also add vif_default_bridge (while keeping
the old option). Someone has a strong opinion about any of this names,
or should I just choose the one I prefer?
>
> Any thoughts?
>
>
> Also, it's probably worth thinking about what other options should have
> defaults. vif.backend is another one that it seems like it would be
> useful to be able to override (e.g., to make it easy to switch to and
> from driver domains).
Yes, but this should be added when driver domains are done
(vif_default_domain/block_default_domain).
next prev parent reply other threads:[~2013-01-29 11:01 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-25 15:26 [PATCH 0/2] add vif-route support to libxl/xl Roger Pau Monne
2013-01-25 15:26 ` [PATCH 1/2] xl/libxl: add netdev to vif specification Roger Pau Monne
2013-02-05 10:40 ` Ian Campbell
2013-02-05 10:56 ` Roger Pau Monné
2013-02-05 11:10 ` Ian Campbell
2013-02-05 11:39 ` Roger Pau Monné
2013-02-05 11:41 ` Ian Campbell
2013-01-25 15:26 ` [PATCH 2/2] xl: allow specifying a default netdev in xl.conf Roger Pau Monne
2013-01-28 11:00 ` George Dunlap
2013-01-28 17:11 ` George Dunlap
2013-01-29 11:01 ` Roger Pau Monné [this message]
2013-02-05 10:41 ` Ian Campbell
2013-02-05 11:00 ` Roger Pau Monné
2013-02-05 11:09 ` Ian Campbell
2013-01-25 16:16 ` [PATCH 0/2] add vif-route support to libxl/xl Roger Pau Monné
2013-02-05 11:48 ` Ian Campbell
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=5107ABF1.5080609@citrix.com \
--to=roger.pau@citrix.com \
--cc=George.Dunlap@eu.citrix.com \
--cc=ulf.kreutzberg@hosteurope.de \
--cc=xen-devel@lists.xen.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).