[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150820063019.GA11515@unicorn.suse.cz>
Date: Thu, 20 Aug 2015 08:30:19 +0200
From: Michal Kubecek <mkubecek@...e.cz>
To: Premkumar Jonnala <pjonnala@...adcom.com>
Cc: "Wilson, Daniel G" <daniel.wilson@...el.com>,
Scott Feldman <sfeldma@...il.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: [PATCH] bridge: Enable configuration of ageing interval for
bridges and switch devices.
On Thu, Aug 20, 2015 at 05:08:51AM +0000, Premkumar Jonnala wrote:
> > From: Wilson, Daniel G [mailto:daniel.wilson@...el.com]
> > >
> > > Can you extend bridge command to allow setting/getting these bridge attrs?
> > > Looks like you construct a RTM_NEWLINK IFLA_INFO_DATA msg. No changes
> > > needed to the kernel.
> > >
> > > bridge link set dev br0 ageing_time 1000
> > >
> > > --or--
> > >
> > > ip link set dev br0 type bridge ageing_time 1000
> >
> > Being able to set these attributes via both bridge and ip would be great.
> >
> IMHO, we should choose only one command. Otherwise, we'd have to
> spend effort in trying to keep both the commands in sync.
As long as they are using the same netlink interface, I don't think it's
a serious problem. After all, there will be also other tools (wicked,
perhaps systemd-networkd) setting it directly via netlink rather than
calling either ip or bridge.
> My vote would be for the bridge command - since the options/parameters
> are related to bridges. If there is no objection, I'll move all the
> bridge options from 'ip link' command to 'bridge' command.
This would break existing scripts using ip to set the parameter. Is the
possibility to use any of the two really that bad?
Michal Kubecek
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists