summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2024-05-01 06:48:02 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2024-05-01 07:04:35 +0000
commita7c3f202ffea7859463f204cccf526f7517321f6 (patch)
treedf7b544de30a73eb1403ec07b4925c9074a48413 /interface-definitions
parent3580bbb054a522133b150e63b9a8d125a3b4dfb5 (diff)
downloadvyos-1x-a7c3f202ffea7859463f204cccf526f7517321f6.tar.gz
vyos-1x-a7c3f202ffea7859463f204cccf526f7517321f6.zip
T6287: Config-sync add the ability to configure API port
Add the ability to configure the API port if the API on the secondary server works on a non-default port. The primary node will connect to configured port for config-sync ``` set service config-sync secondary address '192.0.2.11' set service config-sync secondary port '8443' ```
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/service_config-sync.xml.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/interface-definitions/service_config-sync.xml.in b/interface-definitions/service_config-sync.xml.in
index e9ea9aa4b..648c14aee 100644
--- a/interface-definitions/service_config-sync.xml.in
+++ b/interface-definitions/service_config-sync.xml.in
@@ -34,6 +34,10 @@
</constraint>
</properties>
</leafNode>
+ #include <include/port-number.xml.i>
+ <leafNode name="port">
+ <defaultValue>443</defaultValue>
+ </leafNode>
<leafNode name="timeout">
<properties>
<help>Connection API timeout</help>