summaryrefslogtreecommitdiff
path: root/interface-definitions/include/monitoring/url.xml.i
blob: 32c81122d1d9769efc8ecbe46589fedcfce4481f (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 [REQUIRED]</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 -->