Automatic Network Configuration in Cloud with NetworkManager (nm-cloud-setup)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,


We (NetworkManager) are working on a tool that should help configuring
NetworkManager in cloud.

This is for example for configuring the secondary IP addresses on
AWS/EC2 ([1], [2])

[1] https://aws.amazon.com/premiumsupport/knowledge-center/ec2-centos-rhel-secondary-interface/
[2] https://aws.amazon.com/premiumsupport/knowledge-center/ec2-ubuntu-secondary-network-interface/


It's inspired by and serves a similar purpose as SuSE's cloud-netconfig 
([3], [4]) and ec2-net-utils package on Amazon Linux ([5]).

[3] https://www.suse.com/c/multi-nic-cloud-netconfig-ec2-azure/
[4] https://github.com/SUSE-Enceladus/cloud-netconfig
[5] https://github.com/aws/ec2-net-utils



The tool can be triggered via a systemd.timer and/or a NetworkManager
dispatcher scripts. Then it fetches meta data from the Instance
Metadata Service (thereby detecting whether it runs in a cloud
environment). Finally it configures the networking using
NetworkManager.

Currently it only supports EC2 and IPv4. But if the tool shows to be
useful, it could be extended to also support other cloud providers
(Azure).


There is a merge request on review ([6], [7]). There is a bit of a
hurry to get this merged, because it should make the cut for the next
NetworkManager release. So, I will merge it soon to master, albeit
still in an experimental state.

[6] https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/348
[7] https://bugzilla.redhat.com/show_bug.cgi?id=1642461


The plan is that cloud images could install and enable the tool, so you
boot a (Fedora) image and networking would just work.


Is there interrest in something like this? Any comments, questions?



best,
Thomas

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
cloud mailing list -- cloud@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to cloud-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/cloud@xxxxxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Big List of Linux Books]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux