summaryrefslogtreecommitdiff
path: root/interface-definitions/system-proxy.xml.in
blob: f7ab31d7e389a73bcddf67958dfe4cfb27d64eeb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?xml version="1.0"?>
<interfaceDefinition>
  <node name="system">
    <children>
      <node name="proxy" owner="${vyos_conf_scripts_dir}/system-proxy.py">
        <properties>
          <help>Sets a proxy for system wide use</help>
        </properties>
        <children>
          <leafNode name="url">
            <properties>
              <help>Proxy URL</help>
              <constraint>
                <regex>http(s)?:\/\/[a-z0-9-\.]+</regex>
              </constraint>
            </properties>
          </leafNode>
          #include <include/port-number.xml.i>
          #include <include/generic-username.xml.i>
          #include <include/generic-password.xml.i>
        </children>
      </node>
    </children>
  </node>
</interfaceDefinition>