Mimir the Netplanner is the ground of all network wisdöm
Project description
netplanner
Description
Netplanner implements the top-down datacenter approach for IP and Network Interface Management.
It plans the network on the host by using systemd-networkd
as the underlying network configuration provider.
It refuses to implement L2 capabilities such as DHCP.
It also implements interfaces which are needed for L3 capabilities such as Veth
and Dummy
interface types.
It is open to be extended with other providers which have a different text-based input.
Architecture
Licenses
Running Code Licenses
- Python 3.x - today | PSF LICENSE AGREEMENT FOR PYTHON
- dacite | MIT License
- PyYaml | MIT License
- fqdn | MPL-2 License
- Jinja2 | BSD-3 License
Building Tool for Dynamic Linked CLI Binary
- PyOxidizer | MPL-2 License
We relicensed this project to GPLv3 recently to cater for derivative work from netplan and to ease integration.
How to use it
# This is a developer command --local ensures that ./ is set on the output.
$ netplanner --local --config examples/worker-config-old.yaml --output /run/systemd/network --only-networkd configure
$ netplanner --help
usage: netplanner [-h] [--version] [--config CONFIG] [--debug] [--local] [--only-sriov] [--reload] [--only-networkd] [--output OUTPUT] {configure,apply,generate,rebind} ...
options:
-h, --help show this help message and exit
--version show program's version number and exit
--config CONFIG Defines the path to the configuration file or directory.
--debug Enables debug logging.
--local This templates the configuration into a local directory
--only-sriov This only runs sriov configuration on supported interfaces.
--reload This reloads networkd and networkctl via systemd.
--only-networkd This templates only networkd configuration files.
--output OUTPUT The output directory to which the files will be written.
subcommands:
valid subcommands
{configure,apply,generate,rebind}
sub-command help
configure Configure Network Adapters flawlessly with the knowledge of the netplanner.
apply Configure Network Adapters flawlessly with the knowledge of the netplanner.
generate Configure Network Adapters flawlessly with the knowledge of the netplanner.
rebind Rebind SR-IOV interfaces
Examples Directory
Inside the examples directory you can have a overview of different types of configurations.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file netplanner-0.14.10.tar.gz
.
File metadata
- Download URL: netplanner-0.14.10.tar.gz
- Upload date:
- Size: 37.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c768ff3b894ddd9f99cc2b5ada1ba6e147f699cff44c78446c33ad76aeaeee65 |
|
MD5 | 2d2bedd5a91762ed9d154a9db261d6f4 |
|
BLAKE2b-256 | 212dd1306baf5dc3f74d35e30fa15a07c6ea82909e778260b24352715a4a1754 |
File details
Details for the file netplanner-0.14.10-py3-none-any.whl
.
File metadata
- Download URL: netplanner-0.14.10-py3-none-any.whl
- Upload date:
- Size: 62.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f712ae955d2d7843a2cbc79262318e19b07f98e77af170937145c79e4d4a1ff5 |
|
MD5 | ebcbe7bcc717c71c46459f320e5a70d1 |
|
BLAKE2b-256 | ae35a968001e5636870981f5c19e37d628ef2218758939af602711e61a219784 |