summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-02-05 23:24:12 +0100
committerChristian Poessinger <christian@poessinger.com>2021-02-05 23:24:12 +0100
commit077d0b481488513448395ebcb37814072f87cc6c (patch)
treefa305675dccfba0314d330a24bf3107e53e3819b
parenta11dc8321e2f5913f4390b98b6e5c227501946aa (diff)
downloadvyos-1x-077d0b481488513448395ebcb37814072f87cc6c.tar.gz
vyos-1x-077d0b481488513448395ebcb37814072f87cc6c.zip
T3289: sort XML interface definitions to get predictable result
-rw-r--r--Makefile2
-rw-r--r--interface-definitions/bcast-relay.xml3
2 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5f2c50a9c..d3e40fc23 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ OP_TMPL_DIR := templates-op
interface_definitions:
mkdir -p $(TMPL_DIR)
- find $(CURDIR)/interface-definitions/ -type f -name "*.xml" | xargs -I {} $(CURDIR)/scripts/build-command-templates {} $(CURDIR)/schema/interface_definition.rng $(TMPL_DIR) || exit 1
+ find $(CURDIR)/interface-definitions/ -type f -name "*.xml" | sort | xargs -I {} $(CURDIR)/scripts/build-command-templates {} $(CURDIR)/schema/interface_definition.rng $(TMPL_DIR) || exit 1
# XXX: delete top level node.def's that now live in other packages
rm -f $(TMPL_DIR)/firewall/node.def
diff --git a/interface-definitions/bcast-relay.xml b/interface-definitions/bcast-relay.xml
index 96ce16639..8163355ad 100644
--- a/interface-definitions/bcast-relay.xml
+++ b/interface-definitions/bcast-relay.xml
@@ -2,6 +2,9 @@
<!-- UDP broadcast relay configuration -->
<interfaceDefinition>
<node name="service">
+ <properties>
+ <help>Services</help>
+ </properties>
<children>
<node name="broadcast-relay" owner="${vyos_conf_scripts_dir}/bcast_relay.py">
<properties>