diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-09-22 07:59:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-22 07:59:59 +0200 |
commit | cd1875cb15211d733630b97f1dc7f73f11061927 (patch) | |
tree | 5d71bedc1924b29d96cbae5d12064e2bf69c2287 /interface-definitions/include/url.xml.i | |
parent | 7ba1f6444d1b7a8d25715623daf75f81521d9667 (diff) | |
parent | a8e73794ec421ad2bb0053214504f20a1dc3b21a (diff) | |
download | vyos-1x-cd1875cb15211d733630b97f1dc7f73f11061927.tar.gz vyos-1x-cd1875cb15211d733630b97f1dc7f73f11061927.zip |
Merge pull request #1521 from sever-sever/T3476
update-check: T3476: Allow update-check for VyOS images
Diffstat (limited to 'interface-definitions/include/url.xml.i')
-rw-r--r-- | interface-definitions/include/url.xml.i | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/interface-definitions/include/url.xml.i b/interface-definitions/include/url.xml.i new file mode 100644 index 000000000..caa6f67bd --- /dev/null +++ b/interface-definitions/include/url.xml.i @@ -0,0 +1,15 @@ +<!-- include start from url.xml.i --> +<leafNode name="url"> + <properties> + <help>Remote URL</help> + <valueHelp> + <format>url</format> + <description>Remote URL</description> + </valueHelp> + <constraint> + <regex>^https?:\/\/?[a-z0-9]+([\-\.]{1}[a-z0-9]+)*(\:[0-9]+)*(\/.*)?</regex> + </constraint> + <constraintErrorMessage>Incorrect URL format</constraintErrorMessage> + </properties> +</leafNode> +<!-- include end --> |