diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2022-10-13 09:29:51 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2022-10-13 10:14:05 +0000 |
commit | b52a1255360107672b7bcec769b3bc8fbf60eb81 (patch) | |
tree | 238e996ee5f404b99d3408d7c228788d40c0809e /interface-definitions/include/monitoring/url.xml.i | |
parent | 74c39157c732605dea6fbe09fd5fc9d3b9229d7e (diff) | |
download | vyos-1x-b52a1255360107672b7bcec769b3bc8fbf60eb81.tar.gz vyos-1x-b52a1255360107672b7bcec769b3bc8fbf60eb81.zip |
monitoring: T4312: Ability to set IP address in the URL
Use common "url.xml" which allow URL as domain name or IP
entrie
Diffstat (limited to 'interface-definitions/include/monitoring/url.xml.i')
-rw-r--r-- | interface-definitions/include/monitoring/url.xml.i | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/interface-definitions/include/monitoring/url.xml.i b/interface-definitions/include/monitoring/url.xml.i deleted file mode 100644 index fd61c38ea..000000000 --- a/interface-definitions/include/monitoring/url.xml.i +++ /dev/null @@ -1,15 +0,0 @@ -<!-- include start from monitoring/url.xml.i --> -<leafNode name="url"> - <properties> - <help>Remote URL</help> - <valueHelp> - <format>url</format> - <description>Remote URL</description> - </valueHelp> - <constraint> - <regex>(http:\/\/www\.|https:\/\/www\.|http:\/\/|https:\/\/)?[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}?(\/.*)?</regex> - </constraint> - <constraintErrorMessage>Incorrect URL format</constraintErrorMessage> - </properties> -</leafNode> -<!-- include end --> |