blob: 7ccce89b43754ab3a8e8c834d37cc4cc83c24d8f (
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
26
|
<?xml version="1.0"?>
<!-- host-name configuration -->
<interfaceDefinition>
<node name="system">
<children>
<leafNode name="host-name" owner="${vyos_sbindir}/vyos_config_host_name.py">
<properties>
<help>System host name (default: vyos)</help>
<constraint>
<regex>[A-Za-z0-9][-.A-Za-z0-9]*[A-Za-z0-9]</regex>
</constraint>
</properties>
</leafNode>
<leafNode name="domain-name" owner="${vyos_sbindir}/vyos_config_host_name.py">
<properties>
<help>System domain name</help>
<constraint>
<regex>[A-Za-z0-9][-.A-Za-z0-9]*</regex>
</constraint>
</properties>
</leafNode>
</children>
</node>
</interfaceDefinition>
|