summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2024-05-01 06:48:02 +0000
committerJohn Estabrook <jestabro@vyos.io>2024-05-04 13:07:06 -0500
commit57a29624bb8f544588f7d4a70b975610bb65b90c (patch)
tree98964a5dcd4206d2517a4b17146ad53e32f59b63 /interface-definitions
parentbc713d36a2d4d69226b625c3da6e2e2d6ce6b4ae (diff)
downloadvyos-1x-57a29624bb8f544588f7d4a70b975610bb65b90c.tar.gz
vyos-1x-57a29624bb8f544588f7d4a70b975610bb65b90c.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' ``` (cherry picked from commit a7c3f202ffea7859463f204cccf526f7517321f6)
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>