Description: add ifenslave and vlan, needed by MAAS, required by Ante

Ante Karamatic ivoks at ubuntu.com
Fri Feb 5 15:54:01 UTC 2016


Hi Dimitri

Both vconfig and ifenslave are wrappers around iproute2 (well, vconfig
uses the same interface as iproute2). However, what we really need from
these packages are wrappers around ifupdown. That allows defining vlan
and bond in /etc/network/interfaces.

So, it's not that much about MAAS, as it is about Ubuntu. I'm all in
favour of having these wrappers in ifupdown by default. Until then, we
need to install them.

However, I do agree that we do keep on having some archaic tools like
route, ifconfig, netstat which should be not just removed, but banned
(for providing false data).

Kind regards

05.02.2016 u 16:27, Dimitri John Ledkov je napisao/la:
> Hi,
> 
> iproute2 suite of utilities, and specifically the ip command can do
> vlans and network bonding.
> 
> Can MAAS use the modern / new commands?
> Why are legacy commands being pulled onto the cloud-image?
> 
> iproute2 is in minimal, and thus guaranteed to exist even in the
> smallest environments.
> 
> An excellent guide as to what iproute2 is capable of is available here:
> http://baturin.org/docs/iproute2/
> 
> master=my-bond
> ip link add $master type bond
> 
> master=my-bond
> slave=eth0
> ip link set $slave master $master
> 
> ip link add name eth0.110 link eth0 type vlan id 110
> 
> I would like to revert below commit.
> 
> Description: add ifenslave and vlan, needed by MAAS, required by Ante
> Origin: commit, revision id: kirkland at ubuntu.com-20160127230444-hhsip4lk3j7dca79
> Author: Dustin Kirkland <kirkland at ubuntu.com>
> Last-Update: 2016-01-27
> X-Bzr-Revision-Id: kirkland at ubuntu.com-20160127230444-hhsip4lk3j7dca79
> 
> === modified file 'cloud-image'
> --- old/cloud-image 2016-01-21 14:04:12 +0000
> +++ new/cloud-image 2016-01-27 23:04:44 +0000
> @@ -24,6 +24,8 @@
>  = Network =
> 
>   * ethtool # Essential network diagnostics
> + * ifenslave # Network bonding, needed by MAAS
> + * vlan # Needed by MAAS
> 
>  = Documentation =
> 

-- 
Ante Karamatić
www.canonical.com



More information about the ubuntu-devel mailing list