summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-05-02 21:04:30 +0200
committerChristian Breunig <christian@breunig.cc>2024-05-02 21:04:30 +0200
commitdd40ed58b9e50d40cd395e67be3e9bccfb89e1f6 (patch)
tree65912073e72ab37fabd79346a5acdbd0dfd29ac9 /interface-definitions
parentdd92f14b9d70956c6604f8fbbce0950f6d6c8a1d (diff)
downloadvyos-1x-dd40ed58b9e50d40cd395e67be3e9bccfb89e1f6.tar.gz
vyos-1x-dd40ed58b9e50d40cd395e67be3e9bccfb89e1f6.zip
netns: T6295: disable incomplete support in VyOS 1.4 sagitta
The netns support currently available on the VyOS CLI is only a proof-of-technology, we have no real support for any service behind it. In order to not confuse anyone on the LTS branch we decided to remove the netns option for interfaces until there is a proper usecase and implementation available.
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/include/interface/netns.xml.i14
-rw-r--r--interface-definitions/interfaces_dummy.xml.in1
-rw-r--r--interface-definitions/netns.xml.in23
3 files changed, 0 insertions, 38 deletions
diff --git a/interface-definitions/include/interface/netns.xml.i b/interface-definitions/include/interface/netns.xml.i
deleted file mode 100644
index fd6da8f37..000000000
--- a/interface-definitions/include/interface/netns.xml.i
+++ /dev/null
@@ -1,14 +0,0 @@
-<!-- include start from interface/netns.xml.i -->
-<leafNode name="netns">
- <properties>
- <help>Network namespace name</help>
- <valueHelp>
- <format>txt</format>
- <description>Network namespace name</description>
- </valueHelp>
- <completionHelp>
- <path>netns name</path>
- </completionHelp>
- </properties>
-</leafNode>
-<!-- include end -->
diff --git a/interface-definitions/interfaces_dummy.xml.in b/interface-definitions/interfaces_dummy.xml.in
index 36b4e41f2..4b63967ba 100644
--- a/interface-definitions/interfaces_dummy.xml.in
+++ b/interface-definitions/interfaces_dummy.xml.in
@@ -50,7 +50,6 @@
<defaultValue>1500</defaultValue>
</leafNode>
#include <include/interface/mirror.xml.i>
- #include <include/interface/netns.xml.i>
#include <include/interface/redirect.xml.i>
#include <include/interface/vrf.xml.i>
</children>
diff --git a/interface-definitions/netns.xml.in b/interface-definitions/netns.xml.in
deleted file mode 100644
index d5026bfae..000000000
--- a/interface-definitions/netns.xml.in
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0"?>
-<interfaceDefinition>
- <node name="netns" owner="${vyos_conf_scripts_dir}/netns.py">
- <properties>
- <help>Network namespace</help>
- <priority>10</priority>
- </properties>
- <children>
- <tagNode name="name">
- <properties>
- <help>Network namespace name</help>
- <constraint>
- <regex>[a-zA-Z0-9-_]{1,100}</regex>
- </constraint>
- <constraintErrorMessage>Netns name must be alphanumeric and can contain hyphens and underscores.</constraintErrorMessage>
- </properties>
- <children>
- #include <include/generic-description.xml.i>
- </children>
- </tagNode>
- </children>
- </node>
-</interfaceDefinition>