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

netplan has 2 active reviews. See all merge proposals.

Import details

Import Status: Reviewed

This repository is an import of the Git repository at https://github.com/canonical/netplan.git.

The next import is scheduled to run .

Last successful import was .

Import started on juju-98ee42-prod-launchpad-codeimport-1 and finished taking 20 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-1 and finished taking 15 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-1 and finished taking 15 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-5 and finished taking 20 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-4 and finished taking 25 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-3 and finished taking 25 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-2 and finished taking 20 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-1 and finished taking 20 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-0 and finished taking 20 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-5 and finished taking 20 seconds — see the log

Branches

Name Last Modified Last Commit
main 2024-03-14 13:32:28 UTC
doc: fix en_GB spelling

Author: Lukas Märdian
Author Date: 2024-03-14 13:32:28 UTC

doc: fix en_GB spelling

stable/0.107 2023-12-12 16:56:47 UTC
apply: don't assume the NM loopback connection is called "lo"

Author: Danilo Egea Gondolfo
Author Date: 2023-09-07 13:10:54 UTC

apply: don't assume the NM loopback connection is called "lo"

It might have any name, so we need to get the connection name
dynamically.

stable/0.106 2023-05-17 17:11:16 UTC
meson: build version to 0.106.1

Author: Danilo Egea Gondolfo
Author Date: 2023-05-17 17:11:16 UTC

meson: build version to 0.106.1

renovate/configure 2022-10-04 05:05:57 UTC
chore(deps): add renovate.json

Author: renovate[bot]
Author Date: 2022-10-04 05:05:57 UTC

chore(deps): add renovate.json

docs 2022-07-05 13:36:31 UTC
Created repository for quick docs building

Author: Daniele Procida
Author Date: 2022-07-05 13:36:31 UTC

Created repository for quick docs building

slyon/routing-types 2022-01-11 08:34:32 UTC
Update TODO with some ABI incompatible changes

Author: Lukas Märdian
Author Date: 2022-01-11 08:34:19 UTC

Update TODO with some ABI incompatible changes

slyon/lp1952967-nmtui-tunnels 2022-01-06 13:09:39 UTC
tests:parser:base: improve coverage comment

Author: Lukas Märdian
Author Date: 2022-01-06 13:09:39 UTC

tests:parser:base: improve coverage comment

Co-authored-by: Simon Chopin <simon.chopin@canonical.com>

slyon/lp1949884-empty-file-set-null 2021-11-29 12:00:09 UTC
cli:set: fix another case of writing an empty origin-hint file (containing wh...

Author: Lukas Märdian
Author Date: 2021-11-29 12:00:09 UTC

cli:set: fix another case of writing an empty origin-hint file (containing whitespace)

slyon/lp1949893-dbus-try-wait 2021-11-26 16:37:37 UTC
dbus: move ephemeral netplan config states to /run/netplan

Author: Lukas Märdian
Author Date: 2021-11-26 15:41:10 UTC

dbus: move ephemeral netplan config states to /run/netplan

to avoid potential expolits of tmpfiles, like https://lwn.net/Articles/250468/

slyon/glib2.70-fixes 2021-11-04 15:57:15 UTC
dbus:generate:util: keep glib < 2.70 backwards compatibility (for now)

Author: Lukas Märdian
Author Date: 2021-11-04 12:33:37 UTC

dbus:generate:util: keep glib < 2.70 backwards compatibility (for now)

slyon/netplan-try-state-regression 2021-11-04 08:42:00 UTC
tests:regressions: Integration tests for 'netplan try' accept/reject cases

Author: Lukas Märdian
Author Date: 2021-11-04 08:42:00 UTC

tests:regressions: Integration tests for 'netplan try' accept/reject cases

slyon/keyfile-0103-compat 2021-10-11 10:24:32 UTC
nm: Do not set missing gateway as unspecified address

Author: Lukas Märdian
Author Date: 2021-10-11 10:24:29 UTC

nm: Do not set missing gateway as unspecified address

Also avoid the deprecated trailing comma notation at the same time.

slyon/clear-virtual-interfaces-lp1943120 2021-09-27 14:31:46 UTC
cli:apply:clear_virtual_links: make devices a named parameter

Author: Lukas Märdian
Author Date: 2021-09-27 14:31:46 UTC

cli:apply:clear_virtual_links: make devices a named parameter

slyon/keyfile-parser 2021-07-06 16:08:51 UTC
test:parser: improve base class naming

Author: Lukas Märdian
Author Date: 2021-07-06 16:08:07 UTC

test:parser: improve base class naming

slyon/tests-wait-per-interface 2021-07-05 09:44:15 UTC
tests:wifi:scenarios: fixes for Hotspot and Bridge

Author: Lukas Märdian
Author Date: 2021-04-08 14:16:23 UTC

tests:wifi:scenarios: fixes for Hotspot and Bridge

slyon/yaml-generator 2021-06-18 15:47:12 UTC
netplan: clear whitespace

Author: Lukas Märdian
Author Date: 2021-06-18 15:24:46 UTC

netplan: clear whitespace

Delete duplicated empty line in the netplan YAML generator.

Co-authored-by: Łukasz Zemczak <sil2100@vexillium.org>

slyon/fix-integration-tests 2021-06-14 14:50:46 UTC
Merge branch 'master' into slyon/fix-integration-tests

Author: Lukas Märdian
Author Date: 2021-06-14 14:50:46 UTC

Merge branch 'master' into slyon/fix-integration-tests

slyon/fix-sbin 2021-06-14 14:39:01 UTC
Merge branch 'master' into slyon/fix-sbin

Author: Lukas Märdian
Author Date: 2021-06-14 14:39:01 UTC

Merge branch 'master' into slyon/fix-sbin

admin-status 2021-05-26 13:51:35 UTC
Merge branch 'master' into admin-status

Author: Łukasz Zemczak
Author Date: 2021-05-26 13:51:35 UTC

Merge branch 'master' into admin-status

slyon/regression-lp1922898 2021-05-10 09:07:25 UTC
doc: update tunnel_ttl documentation

Author: Lukas Märdian
Author Date: 2021-05-10 09:07:25 UTC

doc: update tunnel_ttl documentation

slyon/vendorized-generate-nm 2021-05-05 15:35:52 UTC
generate: disable generation of non-NM config

Author: Lukas Märdian
Author Date: 2021-05-05 15:07:57 UTC

generate: disable generation of non-NM config

slyon/generate-dbus2 2021-05-05 10:16:48 UTC
cli: SNAP special handling: improve test coverage and error handling

Author: Lukas Märdian
Author Date: 2021-05-05 10:15:43 UTC

cli: SNAP special handling: improve test coverage and error handling

slyon/generate-dbus 2021-05-03 12:36:41 UTC
doc: mention Netplan.Generate() DBus method

Author: Lukas Märdian
Author Date: 2021-05-03 12:36:41 UTC

doc: mention Netplan.Generate() DBus method

slyon/fix-snapd-netplan-set 2021-04-27 09:30:31 UTC
cli:set: use shutil.copy2()

Author: Lukas Märdian
Author Date: 2021-04-27 09:30:31 UTC

cli:set: use shutil.copy2()

slyon/set-existing-file 2021-03-15 11:15:28 UTC
cli:set: check GLOBAL_KEYS dynamically

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

cli:set: check GLOBAL_KEYS dynamically

slyon/networkmanager-yaml-backend 2021-03-08 16:02:07 UTC
Merge branch 'master' into slyon/networkmanager-yaml-backend

Author: Łukasz Zemczak
Author Date: 2021-03-08 16:02:07 UTC

Merge branch 'master' into slyon/networkmanager-yaml-backend

kev1989/ttl-tunnel-option 2021-02-24 14:30:15 UTC
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
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
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
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
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
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
serialize: cleanup formatting

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

serialize: cleanup formatting

slyon/nm-3 2021-01-19 10:10:16 UTC
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
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/nm-1 2021-01-13 13:49:37 UTC
util: move netplan_get_id_from_nm_filename from parse.c

Author: Lukas Märdian
Author Date: 2021-01-13 13:49:37 UTC

util: move netplan_get_id_from_nm_filename from parse.c

slyon/lp1904662 2020-11-26 10:40:24 UTC
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
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
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
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
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
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
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
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
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.

bridge-vlans 2020-04-07 13:14:25 UTC
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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

180 of 80 results
You can't create new repositories for netplan.