summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-08-05 01:30:08 +0200
committerDaniil Baturin <daniil@baturin.org>2018-08-05 01:30:08 +0200
commit5a09a105b5832e0a804ab403fc287e19ad782bb5 (patch)
tree9418516fefdf4df3d91482e72e62041a29df32f6 /interface-definitions
parentc79650f61782eb5f7a35f8d5fe9b5065cf37bf8d (diff)
downloadvyos-1x-5a09a105b5832e0a804ab403fc287e19ad782bb5.tar.gz
vyos-1x-5a09a105b5832e0a804ab403fc287e19ad782bb5.zip
T71: initial implementation of global IPsec settings.
Only disable-route-autoinstall (install_routes = yes/no) for now.
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/ipsec-settings.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/interface-definitions/ipsec-settings.xml b/interface-definitions/ipsec-settings.xml
new file mode 100644
index 000000000..8fb23940a
--- /dev/null
+++ b/interface-definitions/ipsec-settings.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+<interfaceDefinition>
+ <node name="vpn">
+ <children>
+ <node name="ipsec">
+ <children>
+ <node name="settings" owner="${vyos_conf_scripts_dir}/ipsec-settings.py">
+ <properties>
+ <help>Global IPsec settings</help>
+ </properties>
+ <children>
+ <leafNode name="disable-route-autoinstall">
+ <properties>
+ <valueless/>
+ <help>Do not automatically install routes to remote networks</help>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ </children>
+ </node>
+ </children>
+ </node>
+</interfaceDefinition>