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.
Metadata
Release files for netplanner 0.14.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| netplanner-0.14.10.tar.gz | 37.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| netplanner-0.14.10-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 99.2 kB
Release files / netplanner-0.14.10.tar.gz
| Download URL | netplanner-0.14.10.tar.gz |
|---|---|
| Size | 37.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c768ff3b894ddd9f99cc2b5ada1ba6e147f699cff44c78446c33ad76aeaeee65
|
|
BLAKE2b-256 checksum How to use checksums |
212dd1306baf5dc3f74d35e30fa15a07c6ea82909e778260b24352715a4a1754
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Release files / netplanner-0.14.10-py3-none-any.whl
| Download URL | netplanner-0.14.10-py3-none-any.whl |
|---|---|
| Size | 62.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f712ae955d2d7843a2cbc79262318e19b07f98e77af170937145c79e4d4a1ff5
|
|
BLAKE2b-256 checksum How to use checksums |
ae35a968001e5636870981f5c19e37d628ef2218758939af602711e61a219784
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|