diff options
author | Jamie Austin <jamiea@opusv.com.au> | 2023-04-20 17:07:53 +1000 |
---|---|---|
committer | Jamie Austin <jamiea@opusv.com.au> | 2023-04-20 17:10:27 +1000 |
commit | 93de3abe1368cab5ab8cd292689466d7af8e86bc (patch) | |
tree | 026f9fadcbea105db2d0ba90d4d4db40c2b35d32 /interface-definitions | |
parent | 80d83f6392ceac3907a9c23c6525c984e5808b4d (diff) | |
download | vyos-1x-93de3abe1368cab5ab8cd292689466d7af8e86bc.tar.gz vyos-1x-93de3abe1368cab5ab8cd292689466d7af8e86bc.zip |
ocserv: T3896: refactor: change ocserv config-per-x node name
Changes the node name from config-per-x to identity-based-config, as a result the j2 templates and vpn_openeconnect.py has been refactored to update the node name when accessing it's child nodes.
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/include/openconnect-identity-based-config.xml.i (renamed from interface-definitions/include/openconnect-config-per-x.xml.i) | 4 | ||||
-rw-r--r-- | interface-definitions/vpn-openconnect.xml.in | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/interface-definitions/include/openconnect-config-per-x.xml.i b/interface-definitions/include/openconnect-identity-based-config.xml.i index c9b200249..dfc51936d 100644 --- a/interface-definitions/include/openconnect-config-per-x.xml.i +++ b/interface-definitions/include/openconnect-identity-based-config.xml.i @@ -1,5 +1,5 @@ -<!-- include start from openconnect-config-per-x.xml.i --> -<node name="config-per-x"> +<!-- include start from openconnect-identity-based-config.xml.i --> +<node name="identity-based-config"> <properties> <help>Configures OpenConnect to search the configured directory for a config file matching the Group name or Username</help> </properties> diff --git a/interface-definitions/vpn-openconnect.xml.in b/interface-definitions/vpn-openconnect.xml.in index 24d24568f..db575d227 100644 --- a/interface-definitions/vpn-openconnect.xml.in +++ b/interface-definitions/vpn-openconnect.xml.in @@ -50,7 +50,7 @@ </leafNode> </children> </node> - #include <include/openconnect-config-per-x.xml.i> + #include <include/openconnect-identity-based-config.xml.i> <leafNode name="group"> <properties> <help>Group that a client is allowed to select (from a list). Maps to RADIUS Class attribute.</help> |