summaryrefslogtreecommitdiff
path: root/doc/rtd/topics
diff options
context:
space:
mode:
authorggiesen <ggiesen@users.noreply.github.com>2020-12-09 13:07:10 -0500
committerGitHub <noreply@github.com>2020-12-09 13:07:10 -0500
commit7ec314a96e764c52181e29902a27346b1021b000 (patch)
tree991670db949e1671003084ff35c1f02116c6d9d2 /doc/rtd/topics
parentb8df254738a43b690d1f511bc5c13290140c7ed0 (diff)
downloadvyos-cloud-init-7ec314a96e764c52181e29902a27346b1021b000.tar.gz
vyos-cloud-init-7ec314a96e764c52181e29902a27346b1021b000.zip
Update documentation for network-config-format-v2 (#701)
Update documentation for network-config-format-v2 to reflect the fact that routes are a per-interface property, not a global network property.
Diffstat (limited to 'doc/rtd/topics')
-rw-r--r--doc/rtd/topics/network-config-format-v2.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/rtd/topics/network-config-format-v2.rst b/doc/rtd/topics/network-config-format-v2.rst
index aa17bef5..69c7452b 100644
--- a/doc/rtd/topics/network-config-format-v2.rst
+++ b/doc/rtd/topics/network-config-format-v2.rst
@@ -478,6 +478,11 @@ This is a complex example which shows most available features: ::
nameservers:
search: [foo.local, bar.local]
addresses: [8.8.8.8]
+ # static routes
+ routes:
+ - to: 192.0.2.0/24
+ via: 11.0.0.1
+ metric: 3
lom:
match:
driver: ixgbe
@@ -506,11 +511,6 @@ This is a complex example which shows most available features: ::
id: 1
link: id0
dhcp4: yes
- # static routes
- routes:
- - to: 0.0.0.0/0
- via: 11.0.0.1
- metric: 3
-.. _netplan: https://launchpad.net/netplan
+.. _netplan: https://netplan.io
.. vi: textwidth=78