Monday 1 August 2016

Re: Annoucing netplan -- Consolidated YAML network configuration across Ubuntu

Hello Christian,

Christian Ehrhardt [2016-08-01 8:18 +0200]:
> I read through the current yaml and recognized a lot from curtin/Maas that I
> knew. There is one point I wanted to ... well not discuss, but mention at
> least.

Please do discuss these. This is meant to be demand driven -- i. e. if
we need a feature for one of our installers, we add it.

> So in that s390x world and reading this announcement as written with a
> scope of: "unify and clean up networking configuration" I'd miss:
> - a way configure my Network card options (layer2, hwchksum, ..)

These settings are not currently exposed in NetworkManager or
networkd. You can configure a few layer 2 settings like wake-on-lan,
duplex, or MTU, but not the full range that you can set with e. g.
ethtool. However, netplan could certainly generate udev rules which
apply those settings via e. g. ethtool. udev rule generation already
happens for other purposes (mostly to blacklist a device from NM if it
is configured via networkd), so this isn't too hard in principle.

Needless to say, contributions appreciated :-) (Just keep the test
coverage at 100%).

> - a way to identify my card by subchannel

I'm afraid I don't know what that means, this might be a z series
specific concept? This isn't exposed by networkd or NM directly, but
it might be possible that the subchannel is part of the ifnames
generated name so that you can use a name glob?

> So it is a matter of our intended "target":
> - If we think of it as one place to configure all I need for my networking
> config, but just above a certain level - I think it is ok.
> - If we think of it as one place to configure all I need for my networking
> config - it is missing something.

I think the intention is the latter -- with emphasis on what we
actually need to configure in cloud-init, MaaS, subiquity, Ubiquity
etc.

> To be clear that is not a feature request in any way, I just want to
> ensure that this "separating line" between Network-Hardware and
> Network-Logical configuration is a conscious and intentional
> decision instead of happening accidentally.

It is not a conscious decision at all. I suggest filing wishlist bugs
against the nplan package or the netplan project to keep track of
these.

Thanks for your suggestions!

Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)

--
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel