summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsrividya0208 <a.srividya@vyos.io>2022-10-20 03:36:07 -0400
committersrividya0208 <a.srividya@vyos.io>2022-10-20 03:36:07 -0400
commita918064d93145d231720327e11ae9e015a309291 (patch)
tree9817c5ab32e4f1942ea345c50675a6dd3dcfd33a
parent63092a8cc61c3bb72f96c6b8950fdfcec0968dd6 (diff)
downloadvyos-documentation-a918064d93145d231720327e11ae9e015a309291.tar.gz
vyos-documentation-a918064d93145d231720327e11ae9e015a309291.zip
tunnel-mac: mac addr option unavailable for tunnel interface
Mac address option is not present for tunnel interface so had to remove from the documentation. As the include pages are called, added two new files to reflect the changes
-rw-r--r--docs/_include/interface-common-without-dhcp1.txt7
-rw-r--r--docs/_include/interface-common-without-mac.txt31
-rw-r--r--docs/configuration/interfaces/tunnel.rst2
3 files changed, 39 insertions, 1 deletions
diff --git a/docs/_include/interface-common-without-dhcp1.txt b/docs/_include/interface-common-without-dhcp1.txt
new file mode 100644
index 00000000..60ac951d
--- /dev/null
+++ b/docs/_include/interface-common-without-dhcp1.txt
@@ -0,0 +1,7 @@
+.. cmdinclude:: /_include/interface-address.txt
+ :var0: {{ var0 }}
+ :var1: {{ var1 }}
+
+.. cmdinclude:: /_include/interface-common-without-mac.txt
+ :var0: {{ var0 }}
+ :var1: {{ var1 }}
diff --git a/docs/_include/interface-common-without-mac.txt b/docs/_include/interface-common-without-mac.txt
new file mode 100644
index 00000000..cc01db12
--- /dev/null
+++ b/docs/_include/interface-common-without-mac.txt
@@ -0,0 +1,31 @@
+.. cmdinclude:: /_include/interface-description.txt
+ :var0: {{ var0 }}
+ :var1: {{ var1 }}
+
+.. cmdinclude:: /_include/interface-disable.txt
+ :var0: {{ var0 }}
+ :var1: {{ var1 }}
+
+.. cmdinclude:: /_include/interface-disable-flow-control.txt
+ :var0: {{ var0 }}
+ :var1: {{ var1 }}
+
+.. cmdinclude:: /_include/interface-disable-link-detect.txt
+ :var0: {{ var0 }}
+ :var1: {{ var1 }}
+
+.. cmdinclude:: /_include/interface-mtu.txt
+ :var0: {{ var0 }}
+ :var1: {{ var1 }}
+
+.. cmdinclude:: /_include/interface-ip.txt
+ :var0: {{ var0 }}
+ :var1: {{ var1 }}
+
+.. cmdinclude:: /_include/interface-ipv6.txt
+ :var0: {{ var0 }}
+ :var1: {{ var1 }}
+
+.. cmdinclude:: /_include/interface-vrf.txt
+ :var0: {{ var0 }}
+ :var1: {{ var1 }}
diff --git a/docs/configuration/interfaces/tunnel.rst b/docs/configuration/interfaces/tunnel.rst
index 6a5fb171..eac74d91 100644
--- a/docs/configuration/interfaces/tunnel.rst
+++ b/docs/configuration/interfaces/tunnel.rst
@@ -18,7 +18,7 @@ a closer look at the protocols and options currently supported by VyOS.
Common interface configuration
------------------------------
-.. cmdinclude:: /_include/interface-common-without-dhcp.txt
+.. cmdinclude:: /_include/interface-common-without-dhcp1.txt
:var0: tunnel
:var1: tun0