summaryrefslogtreecommitdiff
path: root/interface-definitions/include/monitoring/url.xml.i
blob: fd61c38eab61aa46d2e0083d6124defa7849dc74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!-- 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 -->