Get this repository:
git clone https://git.launchpad.net/netplan

netplan has 2 active reviews.

Branches

Name Last Modified Last Commit
slyon/set-existing-file 2021-02-26 14:24:29 UTC 2 hours ago
cli:set: add TODO comment

Author: Lukas Märdian
Author Date: 2021-02-26 14:24:29 UTC

cli:set: add TODO comment

master 2021-02-25 16:00:19 UTC 2021-02-25
Improve integration tests (#196)

Author: Lukas Märdian
Author Date: 2021-02-25 16:00:19 UTC

Improve integration tests (#196)

Encapsulate wifi tests into own test class (requiring modprobe, i.e. isolation-machine level).
Make sure the management always stays up an connected (incl. DNS), independently of netplan

* tests: refactor WiFi parts into own class
* tests: keep management network up at all times during integration tests

slyon/networkmanager-yaml-backend 2021-02-25 14:43:03 UTC 2021-02-25
NM Integration: API update & Parser/Generator split (#191)

Author: Lukas Märdian
Author Date: 2021-02-25 14:43:03 UTC

NM Integration: API update & Parser/Generator split (#191)

This is 7th in a series of pull requests to provide the API needed for implementation of a NetworkManager YAML backend. It builds upon #189

Changes contained in this PR:

* Split the code/modules into a YAML/netplan generator (netplan.o in addition to nm.o, networkd.o, openvswitch.o, ...)
* Split the code/modules into a keyfile/NM parser (parse-nm.o in addition to our YAML/netplan parser in parse.o)
* Rename others top-level device type/stanza to nm-devices to make it more explicit and print a warning when using it
* Move netplan_get_id_from_nm_filename back to utils.o, as it does not fit into the parse-nm.o module anymore (it is no parser specific functionality). Apply a small improvement to detect netplan_ids in testing scenario, where rootdir is provided.
* Unify the new netplan generator module API with the other generators: void write_netplan_conf(const NetplanNetDefinition* def, const char* rootdir)
* Unify the new keyfile parser module API with the other parser: gboolean netplan_parse_keyfile(const char* filename, GError** error)

kev1989/ttl-tunnel-option 2021-02-24 14:30:15 UTC 2021-02-24
fixes

Author: Lukas Märdian
Author Date: 2021-02-24 14:09:41 UTC

fixes

slyon/nm-parser-generator 2021-02-24 11:27:56 UTC 2021-02-24
tests: add full cycle keyfile-YAML-keyfile test for Hotspot mode

Author: Lukas Märdian
Author Date: 2021-02-24 11:27:56 UTC

tests: add full cycle keyfile-YAML-keyfile test for Hotspot mode

slyon/update-github-url 2021-02-24 09:12:03 UTC 2021-02-24
Update Github URL

Author: Lukas Märdian
Author Date: 2021-02-24 09:12:03 UTC

Update Github URL

slyon/lp1913062 2021-02-19 15:34:05 UTC 2021-02-19
Merge branch 'master' into slyon/lp1913062

Author: Łukasz Zemczak
Author Date: 2021-02-19 15:34:05 UTC

Merge branch 'master' into slyon/lp1913062

slyon/nm-fixes 2021-02-19 12:18:18 UTC 2021-02-19
parse: avoid creation of 'netdefs' hashmap in netplan_parse_yaml

Author: Lukas Märdian
Author Date: 2021-02-19 12:18:18 UTC

parse: avoid creation of 'netdefs' hashmap in netplan_parse_yaml

slyon/nm-stubs 2021-02-16 09:18:30 UTC 2021-02-16
doc: mention the device type

Author: Lukas Märdian
Author Date: 2021-02-16 09:18:30 UTC

doc: mention the device type

slyon/nm-4 2021-01-28 11:17:40 UTC 2021-01-28
serialize: cleanup formatting

Author: Lukas Märdian
Author Date: 2021-01-28 11:17:15 UTC

serialize: cleanup formatting

admin-status 2021-01-27 13:28:28 UTC 2021-01-27
Update src/networkd.c

Author: Łukasz Zemczak
Author Date: 2021-01-27 13:28:28 UTC

Update src/networkd.c

Co-authored-by: Lukas Märdian <lukas.maerdian@canonical.com>

slyon/nm-3 2021-01-19 10:10:16 UTC 2021-01-19
nm: uses alias for 'ethernet', 'wifi' and 'wifi-security'

Author: Lukas Märdian
Author Date: 2021-01-19 10:06:28 UTC

nm: uses alias for 'ethernet', 'wifi' and 'wifi-security'

NetworkManager writes the alias for 'ethernet' (802-3-ethernet), 'wifi' (802-11-wireless) and 'wifi-security' (802-11-wireless-security) settings by default since a long time, we should do so as well. Especially we should not mix and match.

see: https://bugzilla.gnome.org/show_bug.cgi?id=696940
see: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/commit/c36200a225aefb2a3919618e75682646899b82c0
see: nm_keyfile_plugin_kf_set* from nm-keyfile-utils.c (libnm-core)

slyon/nm-2 2021-01-15 14:36:56 UTC 2021-01-15
util: move netplan_delete_connection and netplan_generate from parse.c

Author: Lukas Märdian
Author Date: 2021-01-15 14:36:56 UTC

util: move netplan_delete_connection and netplan_generate from parse.c

slyon/lp1904662 2020-11-26 10:40:24 UTC 2020-11-26
cli: update comment about NamePolicy=keep rename

Author: Lukas Märdian
Author Date: 2020-11-26 10:27:28 UTC

cli: update comment about NamePolicy=keep rename

slyon/dbus-config-mgmt 2020-11-20 12:27:17 UTC 2020-11-20
dbus: tests: some minimal refactoring

Author: Lukas Märdian
Author Date: 2020-11-20 12:27:05 UTC

dbus: tests: some minimal refactoring

slyon/uc20-set 2020-09-30 09:13:51 UTC 2020-09-30
cli:set: catch invalid input exception

Author: Lukas Märdian
Author Date: 2020-09-30 09:13:51 UTC

cli:set: catch invalid input exception

openvswitch-support 2020-08-28 20:43:20 UTC 2020-08-28
cli:apply: clear netplan-ovs-cleanup.service only if available

Author: Lukas Märdian
Author Date: 2020-08-28 20:43:20 UTC

cli:apply: clear netplan-ovs-cleanup.service only if available

openvswitch-vlans 2020-06-30 16:42:13 UTC 2020-06-30
Add a quick paragraph about OVS and fake VLAN bridges.

Author: Łukasz Zemczak
Author Date: 2020-06-30 16:42:13 UTC

Add a quick paragraph about OVS and fake VLAN bridges.

openvswitch-bridges 2020-06-05 09:45:18 UTC 2020-06-05
Add tests for coverage, update docs and add OpenFlow16 support for the future.

Author: Łukasz Zemczak
Author Date: 2020-06-05 09:45:18 UTC

Add tests for coverage, update docs and add OpenFlow16 support for the future.

openvswitch-initial 2020-05-20 14:16:13 UTC 2020-05-20
100% coverage, add support for global mapping, fixes/improvements per Lukas's...

Author: Łukasz Zemczak
Author Date: 2020-05-20 14:16:13 UTC

100% coverage, add support for global mapping, fixes/improvements per Lukas's review.

th/nm-route-and-ifname-glob 2020-05-19 10:08:36 UTC 2020-05-19
nm: silently ignore default 'global' scope

Author: Lukas Märdian
Author Date: 2020-05-19 10:08:33 UTC

nm: silently ignore default 'global' scope

Error out if the scope was changed manually

fix-bond-mode-validation-regression 2020-05-12 07:10:26 UTC 2020-05-12
Fix invalid bond mode SRU regression (LP: #1877643)

Author: Lukas Märdian
Author Date: 2020-05-11 07:31:41 UTC

Fix invalid bond mode SRU regression (LP: #1877643)

netplan < 0.98 accepted invalid bond modes, we should _not_ reject such
configs, even though they are invalid, to avoid regressions in stables releases.

This affects the bionic stable release, as the original version in this
release shipped netplan < 0.98.

sriov-support 2020-04-09 19:11:24 UTC 2020-04-09
Fix bug found in hardware testing: fix having multiple VFs for a PF that has ...

Author: Łukasz Zemczak
Author Date: 2020-04-09 19:11:24 UTC

Fix bug found in hardware testing: fix having multiple VFs for a PF that has match: in it

bridge-vlans 2020-04-07 13:14:25 UTC 2020-04-07
NM:bridge:vlan: enable vlan-filtering on bridge, if vlans are set

Author: Lukas Märdian
Author Date: 2020-04-07 13:14:25 UTC

NM:bridge:vlan: enable vlan-filtering on bridge, if vlans are set

libnetplan 2020-03-24 13:49:05 UTC 2020-03-24
parse: mark internal vars as static

Author: Lukas Märdian
Author Date: 2020-03-24 13:49:05 UTC

parse: mark internal vars as static

Signed-off-by: Lukas Märdian <lukas.maerdian@canonical.com>

network-link-mtu 2019-11-27 18:07:32 UTC 2019-11-27
Merge branch 'master' into network-link-mtu

Author: Mathieu Trudel-Lapierre
Author Date: 2019-11-27 18:07:32 UTC

Merge branch 'master' into network-link-mtu

example-gateway-ipv6 2019-11-19 13:07:47 UTC 2019-11-19
Add example for a directly-connected gateway on IPv6.

Author: Łukasz Zemczak
Author Date: 2019-11-19 13:07:47 UTC

Add example for a directly-connected gateway on IPv6.

doc-features 2019-08-19 19:10:29 UTC 2019-08-19
Merge branch 'master' into doc-features

Author: Mathieu Trudel-Lapierre
Author Date: 2019-08-19 19:10:29 UTC

Merge branch 'master' into doc-features

netplan-info 2019-08-15 13:07:39 UTC 2019-08-15
Merge branch 'master' into netplan-info

Author: Mathieu Trudel-Lapierre
Author Date: 2019-08-15 13:07:39 UTC

Merge branch 'master' into netplan-info

hashed-passwords 2019-07-26 17:32:55 UTC 2019-07-26
Merge branch 'master' into hashed-passwords

Author: Mathieu Trudel-Lapierre
Author Date: 2019-07-26 17:32:55 UTC

Merge branch 'master' into hashed-passwords

renderer-parsing 2019-04-30 20:27:22 UTC 2019-04-30
parser: refactor / factor out validation and error reporting

Author: Mathieu Trudel-Lapierre
Author Date: 2019-04-30 18:57:11 UTC

parser: refactor / factor out validation and error reporting

Move validation and error reporting to their own files; also rework
the validation passes slightly to validate as much as we can of the
netplan grammar in parser passes (so we get context info for errors),
and leave the backend rules sanity checking only to after the parsing.

This way we'll get the error context, unless things are backend-specific
rules for which it's just hard to get the info (and not as helpful).

logging 2019-03-21 17:28:08 UTC 2019-03-21
Clean up lint errors and stray debug messages that aren't useful

Author: Mathieu Trudel-Lapierre
Author Date: 2019-03-21 17:28:08 UTC

Clean up lint errors and stray debug messages that aren't useful

carrier 2019-03-18 21:44:12 UTC 2019-03-18
Also configure physical interfaces without carrier

Author: Mathieu Trudel-Lapierre
Author Date: 2019-03-18 21:44:12 UTC

Also configure physical interfaces without carrier

nmconnection 2019-02-26 22:15:21 UTC 2019-02-26
NetworkManager 1.15.2 wants keyfiles in /run to have the .nmconnection extens...

Author: Mathieu Trudel-Lapierre
Author Date: 2019-02-26 21:58:08 UTC

NetworkManager 1.15.2 wants keyfiles in /run to have the .nmconnection extension (LP: #1817655)

This appeared in NM upstream as 648c256b9014198aac388097e410999c68c4b452; and
previous versions of NetworkManager do not seem to care, so land the changes in
general, without changes for previous Ubuntu releases.

Adjust tests so they still work with this change.

Signed-off-by: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>

systemd-ordering 2019-02-22 13:28:34 UTC 2019-02-22
netplan-wpa@.service shouldn't have DefaultDependencies=no, otherwise it star...

Author: Mathieu Trudel-Lapierre
Author Date: 2019-02-22 13:28:34 UTC

netplan-wpa@.service shouldn't have DefaultDependencies=no, otherwise it starts late

debian-packaging 2019-02-12 03:10:10 UTC 2019-02-12
Fix up integration tests runner to correctly report failures

Author: Mathieu Trudel-Lapierre
Author Date: 2019-02-12 00:04:49 UTC

Fix up integration tests runner to correctly report failures

merge-dot1x 2018-12-12 20:06:41 UTC 2018-12-12
doc: drop 802.1x extra unused 'psk' key now that it's merged in password

Author: Mathieu Trudel-Lapierre
Author Date: 2018-12-12 20:06:41 UTC

doc: drop 802.1x extra unused 'psk' key now that it's merged in password

doc-revision 2018-12-12 17:02:04 UTC 2018-12-12
Merge branch 'master' into doc-revision

Author: Mathieu Trudel-Lapierre
Author Date: 2018-12-12 17:02:04 UTC

Merge branch 'master' into doc-revision

use-routes 2018-12-11 19:44:24 UTC 2018-12-11
Merge branch 'master' into use-routes

Author: Mathieu Trudel-Lapierre
Author Date: 2018-12-11 19:44:24 UTC

Merge branch 'master' into use-routes

integration-ship 2018-12-11 01:26:52 UTC 2018-12-11
integration: create a test runner so our integration tests can be reused

Author: Mathieu Trudel-Lapierre
Author Date: 2018-12-11 00:20:12 UTC

integration: create a test runner so our integration tests can be reused

refactor-integration 2018-12-08 02:28:41 UTC 2018-12-08
integration/ethernets: fix imports for dnsmasq/resolved integration

Author: Mathieu Trudel-Lapierre
Author Date: 2018-12-08 02:28:41 UTC

integration/ethernets: fix imports for dnsmasq/resolved integration

tunnels 2018-12-07 17:11:41 UTC 2018-12-07
Merge branch 'master' into tunnels

Author: Mathieu Trudel-Lapierre
Author Date: 2018-12-07 17:11:41 UTC

Merge branch 'master' into tunnels

lp1804861 2018-12-07 17:01:26 UTC 2018-12-07
Merge branch 'master' into lp1804861

Author: Mathieu Trudel-Lapierre
Author Date: 2018-12-07 17:01:26 UTC

Merge branch 'master' into lp1804861

tests_reorg 2018-11-29 00:33:54 UTC 2018-11-29
generator tests: remove shebangs, clean up importing

Author: Mathieu Trudel-Lapierre
Author Date: 2018-11-29 00:33:54 UTC

generator tests: remove shebangs, clean up importing

bionic 2018-11-21 19:43:27 UTC 2018-11-21
releasing package netplan.io version 0.40.1~18.04.3

Author: Mathieu Trudel-Lapierre
Author Date: 2018-11-21 19:43:27 UTC

releasing package netplan.io version 0.40.1~18.04.3

cosmic 2018-11-21 19:29:22 UTC 2018-11-21
releasing package netplan.io version 0.40.2.2

Author: Mathieu Trudel-Lapierre
Author Date: 2018-11-21 19:29:22 UTC

releasing package netplan.io version 0.40.2.2

lp1802322 2018-11-09 20:47:02 UTC 2018-11-09
Add integration tests for rename bug LP: #1802322

Author: Mathieu Trudel-Lapierre
Author Date: 2018-11-09 20:47:02 UTC

Add integration tests for rename bug LP: #1802322

error-context 2018-10-22 19:23:46 UTC 2018-10-22
Correctly deref parser when looking up error context

Author: Mathieu Trudel-Lapierre
Author Date: 2018-10-22 19:23:46 UTC

Correctly deref parser when looking up error context

xenial 2018-07-03 16:55:20 UTC 2018-07-03
releasing package nplan version 0.32~16.04.6

Author: Mathieu Trudel-Lapierre
Author Date: 2018-06-29 17:29:49 UTC

releasing package nplan version 0.32~16.04.6

link-route 2018-05-29 15:19:07 UTC 2018-05-29
tests: add error test for missing 'to' for a link scope route

Author: Mathieu Trudel-Lapierre
Author Date: 2018-05-29 15:19:07 UTC

tests: add error test for missing 'to' for a link scope route

live-rename 2018-05-23 01:49:03 UTC 2018-05-23
WIP: detect naming changes and apply them

Author: Mathieu Trudel-Lapierre
Author Date: 2018-05-23 01:44:38 UTC

WIP: detect naming changes and apply them

If the iface is up, just do net_setup_link; otherwise run 'ip link set'.

Signed-off-by: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>

networkd-network-file 2018-05-11 13:57:56 UTC 2018-05-11
networkd: always write .network files for some parameters

Author: Mathieu Trudel-Lapierre
Author Date: 2018-05-11 13:57:56 UTC

networkd: always write .network files for some parameters

artful 2018-05-08 13:15:35 UTC 2018-05-08
yaml: add "critical" boolean field which can be set for remote-root scenarios

Author: Mathieu Trudel-Lapierre
Author Date: 2018-05-07 15:42:14 UTC

yaml: add "critical" boolean field which can be set for remote-root scenarios

'critical: true' in YAML would set "CriticalConnection=true" in
systemd-networkd config; this is useful for remote-root scenarios where
restarting networkd would otherwise risk releasing the IP from the DHCP server,
leading to a hung system.

Signed-off-by: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>

try-command 2018-04-17 18:57:32 UTC 2018-04-17
terminal: disable echo while we're waiting for timeout/user input

Author: Mathieu Trudel-Lapierre
Author Date: 2018-04-17 18:57:32 UTC

terminal: disable echo while we're waiting for timeout/user input

Signed-off-by: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>

accept-ra-fixup 2018-04-12 18:57:22 UTC 2018-04-12
accept-ra: do not enable by default, default to unset

Author: Ryan Harper
Author Date: 2018-04-10 23:30:40 UTC

accept-ra: do not enable by default, default to unset

Do not always emit an IPv6AcceptRA value into network configurations.
Systemd-networkd defaults to kernel value as long as the value stays
unset in the configuration. When IPv6AcceptRA is enabled in systemd
this makes networkd wait 10 seconds for potential RAs to arrive. This
delays boot by 10 seconds always whether or not the network has an
IPV6 Router running. Leaving things unsets keeps existing behavior
of Ubuntu systems where RAs are accepted and processed at the time
they are received and boot is not delayed by waiting for an RA to arrive.

If users want to forcibly enable or disable, they may do so by including
a value for accept-ra in their yaml configuraion.

LP: #1732002

clientidentifier 2018-03-27 17:33:36 UTC 2018-03-27
tests: add generate/error tests for dhcp-identifier: field

Author: Mathieu Trudel-Lapierre
Author Date: 2018-03-27 17:33:36 UTC

tests: add generate/error tests for dhcp-identifier: field

zesty 2017-11-16 15:43:55 UTC 2017-11-16
releasing package nplan version 0.32~17.04.1

Author: Mathieu Trudel-Lapierre
Author Date: 2017-11-16 15:43:55 UTC

releasing package nplan version 0.32~17.04.1

yakkety 2017-06-07 00:35:04 UTC 2017-06-07
releasing package nplan version 0.23~16.10.1

Author: Mathieu Trudel-Lapierre
Author Date: 2017-06-07 00:35:04 UTC

releasing package nplan version 0.23~16.10.1

158 of 58 results

Other repositories

You can't create new repositories for netplan.