summaryrefslogtreecommitdiff
path: root/docs/_include
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-11-10 20:39:39 +0100
committerChristian Poessinger <christian@poessinger.com>2020-11-10 20:39:39 +0100
commita3b5c8083e6ab28378ba187ec9aa0f3ce3d101df (patch)
tree100ddfabf52ce625d2cb2f8b5c67edc2ec70ee1f /docs/_include
parentbe6c3c1624174c5762a1349e31111d34db642767 (diff)
downloadvyos-documentation-a3b5c8083e6ab28378ba187ec9aa0f3ce3d101df.tar.gz
vyos-documentation-a3b5c8083e6ab28378ba187ec9aa0f3ce3d101df.zip
interfaces: introduce new common-with|without-dhcp include
Now we have one single include dealing with all the common interface stuff which is present on every interface.
Diffstat (limited to 'docs/_include')
-rw-r--r--docs/_include/interface-common-with-dhcp.txt7
-rw-r--r--docs/_include/interface-common-without-dhcp.txt7
-rw-r--r--docs/_include/interface-common.txt11
3 files changed, 25 insertions, 0 deletions
diff --git a/docs/_include/interface-common-with-dhcp.txt b/docs/_include/interface-common-with-dhcp.txt
new file mode 100644
index 00000000..34eef941
--- /dev/null
+++ b/docs/_include/interface-common-with-dhcp.txt
@@ -0,0 +1,7 @@
+.. cmdinclude:: ../_include/interface-address-with-dhcp.txt
+ :var0: {{ var0 }}
+ :var1: {{ var1 }}
+
+.. cmdinclude:: ../_include/interface-common.txt
+ :var0: {{ var0 }}
+ :var1: {{ var1 }}
diff --git a/docs/_include/interface-common-without-dhcp.txt b/docs/_include/interface-common-without-dhcp.txt
new file mode 100644
index 00000000..8e995ee1
--- /dev/null
+++ b/docs/_include/interface-common-without-dhcp.txt
@@ -0,0 +1,7 @@
+.. cmdinclude:: ../_include/interface-address.txt
+ :var0: {{ var0 }}
+ :var1: {{ var1 }}
+
+.. cmdinclude:: ../_include/interface-common.txt
+ :var0: {{ var0 }}
+ :var1: {{ var1 }}
diff --git a/docs/_include/interface-common.txt b/docs/_include/interface-common.txt
new file mode 100644
index 00000000..56d4a22e
--- /dev/null
+++ b/docs/_include/interface-common.txt
@@ -0,0 +1,11 @@
+.. cmdinclude:: ../_include/interface-description.txt
+ :var0: {{ var0 }}
+ :var1: {{ var1 }}
+
+.. cmdinclude:: ../_include/interface-ipv6-addr-autoconf.txt
+ :var0: {{ var0 }}
+ :var1: {{ var1 }}
+
+.. cmdinclude:: ../_include/interface-ipv6-addr-eui64.txt
+ :var0: {{ var0 }}
+ :var1: {{ var1 }}