diff options
Diffstat (limited to 'interface-definitions')
| -rw-r--r-- | interface-definitions/dns-forwarding.xml.in | 64 | ||||
| -rw-r--r-- | interface-definitions/include/bgp/protocol-common-config.xml.i | 6 | ||||
| -rw-r--r-- | interface-definitions/include/constraint/login-username.xml.i | 3 | ||||
| -rw-r--r-- | interface-definitions/include/static/static-route-bfd.xml.i | 37 | ||||
| -rw-r--r-- | interface-definitions/include/static/static-route.xml.i | 1 | ||||
| -rw-r--r-- | interface-definitions/include/static/static-route6.xml.i | 1 | ||||
| -rw-r--r-- | interface-definitions/include/syslog-facility.xml.i | 156 | ||||
| -rw-r--r-- | interface-definitions/lldp.xml.in | 2 | ||||
| -rw-r--r-- | interface-definitions/load-balancing-wan.xml.in | 11 | ||||
| -rw-r--r-- | interface-definitions/policy.xml.in | 59 | ||||
| -rw-r--r-- | interface-definitions/protocols-bgp.xml.in | 14 | ||||
| -rw-r--r-- | interface-definitions/protocols-failover.xml.in | 20 | ||||
| -rw-r--r-- | interface-definitions/system-login.xml.in | 2 | ||||
| -rw-r--r-- | interface-definitions/system-syslog.xml.in | 818 | ||||
| -rw-r--r-- | interface-definitions/vrf.xml.in | 15 | 
15 files changed, 376 insertions, 833 deletions
| diff --git a/interface-definitions/dns-forwarding.xml.in b/interface-definitions/dns-forwarding.xml.in index 6b7344b1d..de6991e06 100644 --- a/interface-definitions/dns-forwarding.xml.in +++ b/interface-definitions/dns-forwarding.xml.in @@ -126,7 +126,7 @@                      <children>                        <tagNode name="a">                          <properties> -                          <help>"A" record</help> +                          <help>A record</help>                            <valueHelp>                              <format>txt</format>                              <description>A DNS name relative to the root record</description> @@ -163,7 +163,7 @@                        </tagNode>                        <tagNode name="aaaa">                          <properties> -                          <help>"AAAA" record</help> +                          <help>AAAA record</help>                            <valueHelp>                              <format>txt</format>                              <description>A DNS name relative to the root record</description> @@ -200,7 +200,7 @@                        </tagNode>                        <tagNode name="cname">                          <properties> -                          <help>"CNAME" record</help> +                          <help>CNAME record</help>                            <valueHelp>                              <format>txt</format>                              <description>A DNS name relative to the root record</description> @@ -219,7 +219,7 @@                                <help>Target DNS name</help>                                <valueHelp>                                  <format>name.example.com</format> -                                <description>An absolute DNS name</description> +                                <description>Absolute DNS name</description>                                </valueHelp>                                <constraint>                                  <regex>[-_a-zA-Z0-9.]{1,63}(?<!\.)</regex> @@ -232,7 +232,7 @@                        </tagNode>                        <tagNode name="mx">                          <properties> -                          <help>"MX" record</help> +                          <help>MX record</help>                            <valueHelp>                              <format>txt</format>                              <description>A DNS name relative to the root record</description> @@ -251,7 +251,7 @@                                <help>Mail server</help>                                <valueHelp>                                  <format>name.example.com</format> -                                <description>An absolute DNS name</description> +                                <description>Absolute DNS name</description>                                </valueHelp>                                <constraint>                                  <regex>[-_a-zA-Z0-9.]{1,63}(?<!\.)</regex> @@ -277,9 +277,37 @@                            #include <include/generic-disable-node.xml.i>                          </children>                        </tagNode> +                      <tagNode name="ns"> +                        <properties> +                          <help>NS record</help> +                          <valueHelp> +                            <format>txt</format> +                            <description>A DNS name relative to the root record</description> +                          </valueHelp> +                          <constraint> +                            <regex>([-_a-zA-Z0-9.]{1,63}|@)(?<!\.)</regex> +                          </constraint> +                        </properties> +                        <children> +                          <leafNode name="target"> +                            <properties> +                              <help>Target DNS server authoritative for subdomain</help> +                              <valueHelp> +                                <format>nsXX.example.com</format> +                                <description>Absolute DNS name</description> +                              </valueHelp> +                              <constraint> +                                <regex>[-_a-zA-Z0-9.]{1,63}(?<!\.)</regex> +                              </constraint> +                            </properties> +                          </leafNode> +                          #include <include/dns/time-to-live.xml.i> +                          #include <include/generic-disable-node.xml.i> +                        </children> +                      </tagNode>                        <tagNode name="ptr">                          <properties> -                          <help>"PTR" record</help> +                          <help>PTR record</help>                            <valueHelp>                              <format>txt</format>                              <description>A DNS name relative to the root record</description> @@ -298,7 +326,7 @@                                <help>Target DNS name</help>                                <valueHelp>                                  <format>name.example.com</format> -                                <description>An absolute DNS name</description> +                                <description>Absolute DNS name</description>                                </valueHelp>                                <constraint>                                  <regex>[-_a-zA-Z0-9.]{1,63}(?<!\.)</regex> @@ -311,7 +339,7 @@                        </tagNode>                        <tagNode name="txt">                          <properties> -                          <help>"TXT" record</help> +                          <help>TXT record</help>                            <valueHelp>                              <format>txt</format>                              <description>A DNS name relative to the root record</description> @@ -341,7 +369,7 @@                        </tagNode>                        <tagNode name="spf">                          <properties> -                          <help>"SPF" record (type=SPF)</help> +                          <help>SPF record</help>                            <valueHelp>                              <format>txt</format>                              <description>A DNS name relative to the root record</description> @@ -370,7 +398,7 @@                        </tagNode>                        <tagNode name="srv">                          <properties> -                          <help>"SRV" record</help> +                          <help>SRV record</help>                            <valueHelp>                              <format>txt</format>                              <description>A DNS name relative to the root record</description> @@ -401,7 +429,7 @@                                    <help>Server hostname</help>                                    <valueHelp>                                      <format>name.example.com</format> -                                    <description>An absolute DNS name</description> +                                    <description>Absolute DNS name</description>                                    </valueHelp>                                    <constraint>                                      <regex>[-_a-zA-Z0-9.]{1,63}(?<!\.)</regex> @@ -454,7 +482,7 @@                        </tagNode>                        <tagNode name="naptr">                          <properties> -                          <help>"NAPTR" record</help> +                          <help>NAPTR record</help>                            <valueHelp>                              <format>txt</format>                              <description>A DNS name relative to the root record</description> @@ -507,25 +535,25 @@                                </leafNode>                                <leafNode name="lookup-srv">                                  <properties> -                                  <help>"S" flag</help> +                                  <help>S flag</help>                                    <valueless/>                                  </properties>                                </leafNode>                                <leafNode name="lookup-a">                                  <properties> -                                  <help>"A" flag</help> +                                  <help>A flag</help>                                    <valueless/>                                  </properties>                                </leafNode>                                <leafNode name="resolve-uri">                                  <properties> -                                  <help>"U" flag</help> +                                  <help>U flag</help>                                    <valueless/>                                  </properties>                                </leafNode>                                <leafNode name="protocol-specific">                                  <properties> -                                  <help>"P" flag</help> +                                  <help>P flag</help>                                    <valueless/>                                  </properties>                                </leafNode> @@ -547,7 +575,7 @@                                    <help>Replacement DNS name</help>                                    <valueHelp>                                      <format>name.example.com</format> -                                    <description>An absolute DNS name</description> +                                    <description>Absolute DNS name</description>                                    </valueHelp>                                    <constraint>                                      <regex>[-_a-zA-Z0-9.]{1,63}(?<!\.)</regex> diff --git a/interface-definitions/include/bgp/protocol-common-config.xml.i b/interface-definitions/include/bgp/protocol-common-config.xml.i index bcc131f83..527eaf991 100644 --- a/interface-definitions/include/bgp/protocol-common-config.xml.i +++ b/interface-definitions/include/bgp/protocol-common-config.xml.i @@ -810,6 +810,12 @@              </node>            </children>          </node> +        <leafNode name="advertise-all-vni"> +          <properties> +            <help>Advertise All local VNIs</help> +            <valueless/> +          </properties> +        </leafNode>          #include <include/bgp/afi-l2vpn-common.xml.i>          <leafNode name="advertise-pip">            <properties> diff --git a/interface-definitions/include/constraint/login-username.xml.i b/interface-definitions/include/constraint/login-username.xml.i new file mode 100644 index 000000000..09a68b796 --- /dev/null +++ b/interface-definitions/include/constraint/login-username.xml.i @@ -0,0 +1,3 @@ +<!-- include start from constraint/login-username.xml.i --> +<regex>[-_a-zA-Z0-9.]{1,100}</regex> +<!-- include end --> diff --git a/interface-definitions/include/static/static-route-bfd.xml.i b/interface-definitions/include/static/static-route-bfd.xml.i new file mode 100644 index 000000000..a05a08d12 --- /dev/null +++ b/interface-definitions/include/static/static-route-bfd.xml.i @@ -0,0 +1,37 @@ +<!-- include start from static/static-route-bfd.xml.i --> +<node name="bfd"> +  <properties> +    <help>BFD monitoring</help> +  </properties> +  <children> +    #include <include/bfd/profile.xml.i> +    <node name="multi-hop"> +      <properties> +        <help>Use BFD multi hop session</help> +      </properties> +      <children> +       <tagNode name="source"> +         <properties> +           <help>Use source for BFD session</help> +          <valueHelp> +             <format>ipv4</format> +             <description>IPv4 source address</description> +           </valueHelp> +           <valueHelp> +             <format>ipv6</format> +             <description>IPv6 source address</description> +           </valueHelp> +           <constraint> +             <validator name="ipv4-address"/> +             <validator name="ipv6-address"/> +           </constraint> +         </properties> +         <children> +           #include <include/bfd/profile.xml.i> +         </children> +       </tagNode> +      </children> +    </node> +  </children> +</node> +<!-- include end -->
\ No newline at end of file diff --git a/interface-definitions/include/static/static-route.xml.i b/interface-definitions/include/static/static-route.xml.i index 268cfa005..29921a731 100644 --- a/interface-definitions/include/static/static-route.xml.i +++ b/interface-definitions/include/static/static-route.xml.i @@ -51,6 +51,7 @@          #include <include/static/static-route-distance.xml.i>          #include <include/static/static-route-interface.xml.i>          #include <include/static/static-route-vrf.xml.i> +        #include <include/static/static-route-bfd.xml.i>        </children>      </tagNode>    </children> diff --git a/interface-definitions/include/static/static-route6.xml.i b/interface-definitions/include/static/static-route6.xml.i index 1f8d54108..a83cc230b 100644 --- a/interface-definitions/include/static/static-route6.xml.i +++ b/interface-definitions/include/static/static-route6.xml.i @@ -50,6 +50,7 @@          #include <include/static/static-route-distance.xml.i>          #include <include/static/static-route-interface.xml.i>          #include <include/static/static-route-vrf.xml.i> +        #include <include/static/static-route-bfd.xml.i>        </children>      </tagNode>    </children> diff --git a/interface-definitions/include/syslog-facility.xml.i b/interface-definitions/include/syslog-facility.xml.i new file mode 100644 index 000000000..57067ece2 --- /dev/null +++ b/interface-definitions/include/syslog-facility.xml.i @@ -0,0 +1,156 @@ +<!-- include start from syslog-facility.xml.i --> +<tagNode name="facility"> +  <properties> +    <help>Facility for logging</help> +    <completionHelp> +      <list>auth authpriv cron daemon kern lpr mail mark news protocols security syslog user uucp local0 local1 local2 local3 local4 local5 local6 local7 all</list> +    </completionHelp> +    <constraint> +      <regex>(auth|authpriv|cron|daemon|kern|lpr|mail|mark|news|protocols|security|syslog|user|uucp|local0|local1|local2|local3|local4|local5|local6|local7|all)</regex> +    </constraint> +    <constraintErrorMessage>Invalid facility type</constraintErrorMessage> +    <valueHelp> +      <format>all</format> +      <description>All facilities excluding "mark"</description> +    </valueHelp> +    <valueHelp> +      <format>auth</format> +      <description>Authentication and authorization</description> +    </valueHelp> +    <valueHelp> +      <format>authpriv</format> +      <description>Non-system authorization</description> +    </valueHelp> +    <valueHelp> +      <format>cron</format> +      <description>Cron daemon</description> +    </valueHelp> +    <valueHelp> +      <format>daemon</format> +      <description>System daemons</description> +    </valueHelp> +    <valueHelp> +      <format>kern</format> +      <description>Kernel</description> +    </valueHelp> +    <valueHelp> +      <format>lpr</format> +      <description>Line printer spooler</description> +    </valueHelp> +    <valueHelp> +      <format>mail</format> +      <description>Mail subsystem</description> +    </valueHelp> +    <valueHelp> +      <format>mark</format> +      <description>Timestamp</description> +    </valueHelp> +    <valueHelp> +      <format>news</format> +      <description>USENET subsystem</description> +    </valueHelp> +    <valueHelp> +      <format>protocols</format> +      <description>depricated will be set to local7</description> +    </valueHelp> +    <valueHelp> +      <format>security</format> +      <description>depricated will be set to auth</description> +    </valueHelp> +    <valueHelp> +      <format>syslog</format> +      <description>Authentication and authorization</description> +    </valueHelp> +    <valueHelp> +      <format>user</format> +      <description>Application processes</description> +    </valueHelp> +    <valueHelp> +      <format>uucp</format> +      <description>UUCP subsystem</description> +    </valueHelp> +    <valueHelp> +      <format>local0</format> +      <description>Local facility 0</description> +    </valueHelp> +    <valueHelp> +      <format>local1</format> +      <description>Local facility 1</description> +    </valueHelp> +    <valueHelp> +      <format>local2</format> +      <description>Local facility 2</description> +    </valueHelp> +    <valueHelp> +      <format>local3</format> +      <description>Local facility 3</description> +    </valueHelp> +    <valueHelp> +      <format>local4</format> +      <description>Local facility 4</description> +    </valueHelp> +    <valueHelp> +      <format>local5</format> +      <description>Local facility 5</description> +    </valueHelp> +    <valueHelp> +      <format>local6</format> +      <description>Local facility 6</description> +    </valueHelp> +    <valueHelp> +      <format>local7</format> +      <description>Local facility 7</description> +    </valueHelp> +  </properties> +  <children> +    <leafNode name="level"> +      <properties> +        <help>Logging level</help> +        <completionHelp> +          <list>emerg alert crit err warning notice info debug all</list> +        </completionHelp> +        <constraint> +          <regex>(emerg|alert|crit|err|warning|notice|info|debug|all)</regex> +        </constraint> +        <constraintErrorMessage>Invalid loglevel</constraintErrorMessage> +        <valueHelp> +          <format>emerg</format> +          <description>Emergency messages</description> +        </valueHelp> +        <valueHelp> +          <format>alert</format> +          <description>Urgent messages</description> +        </valueHelp> +        <valueHelp> +          <format>crit</format> +          <description>Critical messages</description> +        </valueHelp> +        <valueHelp> +          <format>err</format> +          <description>Error messages</description> +        </valueHelp> +        <valueHelp> +          <format>warning</format> +          <description>Warning messages</description> +        </valueHelp> +        <valueHelp> +          <format>notice</format> +          <description>Messages for further investigation</description> +        </valueHelp> +        <valueHelp> +          <format>info</format> +          <description>Informational messages</description> +        </valueHelp> +        <valueHelp> +          <format>debug</format> +          <description>Debug messages</description> +        </valueHelp> +        <valueHelp> +          <format>all</format> +          <description>Log everything</description> +        </valueHelp> +      </properties> +    </leafNode> +  </children> +</tagNode> +<!-- include end --> diff --git a/interface-definitions/lldp.xml.in b/interface-definitions/lldp.xml.in index b9ffe234c..738bb11c1 100644 --- a/interface-definitions/lldp.xml.in +++ b/interface-definitions/lldp.xml.in @@ -20,7 +20,7 @@                  <description>Location data for a specific interface</description>                </valueHelp>                <completionHelp> -                <script>${vyatta_sbindir}/vyatta-interfaces.pl --show all</script> +                <script>${vyos_completion_dir}/list_interfaces</script>                  <list>all</list>                </completionHelp>              </properties> diff --git a/interface-definitions/load-balancing-wan.xml.in b/interface-definitions/load-balancing-wan.xml.in index c1d7e2c67..3a2c111ac 100644 --- a/interface-definitions/load-balancing-wan.xml.in +++ b/interface-definitions/load-balancing-wan.xml.in @@ -3,6 +3,7 @@    <node name="load-balancing">      <properties>        <help>Configure load-balancing</help> +      <priority>900</priority>      </properties>      <children>        <node name="wan" owner="${vyos_conf_scripts_dir}/load-balancing-wan.py"> @@ -59,6 +60,7 @@                      <validator name="numeric" argument="--range 1-10"/>                    </constraint>                  </properties> +                <defaultValue>1</defaultValue>                </leafNode>                <leafNode name="nexthop">                  <properties> @@ -91,6 +93,7 @@                      <validator name="numeric" argument="--range 1-10"/>                    </constraint>                  </properties> +                <defaultValue>1</defaultValue>                </leafNode>                <tagNode name="test">                  <properties> @@ -115,6 +118,7 @@                          <validator name="numeric" argument="--range 1-30"/>                        </constraint>                      </properties> +                    <defaultValue>5</defaultValue>                    </leafNode>                    <leafNode name="target">                      <properties> @@ -151,6 +155,7 @@                          <validator name="numeric" argument="--range 1-254"/>                        </constraint>                      </properties> +                    <defaultValue>1</defaultValue>                    </leafNode>                    <leafNode name="type">                      <properties> @@ -242,6 +247,7 @@                        </constraint>                        <constraintErrorMessage>Weight must be between 1 and 255</constraintErrorMessage>                      </properties> +                    <defaultValue>1</defaultValue>                    </leafNode>                  </children>                </tagNode> @@ -261,6 +267,7 @@                          <validator name="numeric" argument="--range 0-4294967295"/>                        </constraint>                      </properties> +                    <defaultValue>5</defaultValue>                    </leafNode>                    <leafNode name="period">                      <properties> @@ -284,6 +291,7 @@                          <regex>(hour|minute|second)</regex>                        </constraint>                      </properties> +                    <defaultValue>second</defaultValue>                    </leafNode>                    <leafNode name="rate">                      <properties> @@ -296,6 +304,7 @@                          <validator name="numeric" argument="--range 0-4294967295"/>                        </constraint>                      </properties> +                    <defaultValue>5</defaultValue>                    </leafNode>                    <leafNode name="threshold">                      <properties> @@ -315,6 +324,7 @@                          <regex>(above|below)</regex>                        </constraint>                      </properties> +                    <defaultValue>below</defaultValue>                    </leafNode>                  </children>                </node> @@ -355,6 +365,7 @@                      <validator name="ip-protocol"/>                    </constraint>                  </properties> +                <defaultValue>all</defaultValue>                </leafNode>                <node name="source">                  <properties> diff --git a/interface-definitions/policy.xml.in b/interface-definitions/policy.xml.in index 7d5fe79ef..02828c4f6 100644 --- a/interface-definitions/policy.xml.in +++ b/interface-definitions/policy.xml.in @@ -971,6 +971,65 @@                        </constraint>                      </properties>                    </leafNode> +                  <leafNode name="protocol"> +                    <properties> +                      <help>Match protocol via which the route was learnt</help> +                      <completionHelp> +                        <list>babel bgp connected isis kernel ospf ospfv3 rip ripng static table vnc</list> +                      </completionHelp> +                      <valueHelp> +                        <format>babel</format> +                        <description>Babel routing protocol (Babel)</description> +                      </valueHelp> +                      <valueHelp> +                        <format>bgp</format> +                        <description>Border Gateway Protocol (BGP)</description> +                      </valueHelp> +                      <valueHelp> +                        <format>connected</format> +                        <description>Connected routes (directly attached subnet or host)</description> +                      </valueHelp> +                      <valueHelp> +                        <format>isis</format> +                        <description>Intermediate System to Intermediate System (IS-IS)</description> +                      </valueHelp> +                      <valueHelp> +                        <format>kernel</format> +                        <description>Kernel routes</description> +                      </valueHelp> +                      <valueHelp> +                        <format>ospf</format> +                        <description>Open Shortest Path First (OSPFv2)</description> +                      </valueHelp> +                      <valueHelp> +                        <format>ospfv3</format> +                        <description>Open Shortest Path First (IPv6) (OSPFv3)</description> +                      </valueHelp> +                      <valueHelp> +                        <format>rip</format> +                        <description>Routing Information Protocol (RIP)</description> +                      </valueHelp> +                      <valueHelp> +                        <format>ripng</format> +                        <description>Routing Information Protocol next-generation (IPv6) (RIPng)</description> +                      </valueHelp> +                      <valueHelp> +                        <format>static</format> +                        <description>Statically configured routes</description> +                      </valueHelp> +                      <valueHelp> +                        <format>table</format> +                        <description>Non-main Kernel Routing Table</description> +                      </valueHelp> +                      <valueHelp> +                        <format>vnc</format> +                        <description>Virtual Network Control (VNC)</description> +                      </valueHelp> +                      <constraint> +                        <regex>(babel|bgp|connected|isis|kernel|ospf|ospfv3|rip|ripng|static|table|vnc)</regex> +                      </constraint> +                    </properties> +                  </leafNode>                    <leafNode name="rpki">                      <properties>                        <help>Match RPKI validation result</help> diff --git a/interface-definitions/protocols-bgp.xml.in b/interface-definitions/protocols-bgp.xml.in index 78b461f9d..e1a822999 100644 --- a/interface-definitions/protocols-bgp.xml.in +++ b/interface-definitions/protocols-bgp.xml.in @@ -9,20 +9,6 @@          </properties>          <children>            #include <include/bgp/protocol-common-config.xml.i> -          <node name="address-family"> -            <children> -              <node name="l2vpn-evpn"> -                <children> -                  <leafNode name="advertise-all-vni"> -                    <properties> -                      <help>Advertise all local VNIs</help> -                      <valueless/> -                    </properties> -                  </leafNode> -                </children> -              </node> -            </children> -          </node>          </children>        </node>      </children> diff --git a/interface-definitions/protocols-failover.xml.in b/interface-definitions/protocols-failover.xml.in index a8c5c717f..c0caec68e 100644 --- a/interface-definitions/protocols-failover.xml.in +++ b/interface-definitions/protocols-failover.xml.in @@ -37,6 +37,26 @@                        <help>Check target options</help>                      </properties>                      <children> +                      <leafNode name="policy"> +                        <properties> +                          <help>Policy for check targets</help> +                          <completionHelp> +                            <list>any-available all-available</list> +                          </completionHelp> +                          <valueHelp> +                            <format>all-available</format> +                            <description>All targets must be alive</description> +                          </valueHelp> +                          <valueHelp> +                            <format>any-available</format> +                            <description>Any target must be alive</description> +                          </valueHelp> +                          <constraint> +                            <regex>(all-available|any-available)</regex> +                          </constraint> +                        </properties> +                        <defaultValue>any-available</defaultValue> +                      </leafNode>                        #include <include/port-number.xml.i>                        <leafNode name="target">                          <properties> diff --git a/interface-definitions/system-login.xml.in b/interface-definitions/system-login.xml.in index 258913929..be4f53c3b 100644 --- a/interface-definitions/system-login.xml.in +++ b/interface-definitions/system-login.xml.in @@ -12,7 +12,7 @@              <properties>                <help>Local user account information</help>                <constraint> -                <regex>[-_a-zA-Z0-9.]{1,100}</regex> +                #include <include/constraint/login-username.xml.i>                </constraint>                <constraintErrorMessage>Username contains illegal characters or\nexceeds 100 character limitation.</constraintErrorMessage>              </properties> diff --git a/interface-definitions/system-syslog.xml.in b/interface-definitions/system-syslog.xml.in index 90c3de5c1..4a2adfd5f 100644 --- a/interface-definitions/system-syslog.xml.in +++ b/interface-definitions/system-syslog.xml.in @@ -11,175 +11,25 @@            <tagNode name="user">              <properties>                <help>Logging to specific terminal of given user</help> +              <completionHelp> +                <path>system login user</path> +              </completionHelp> +              <valueHelp> +                <format>txt</format> +                <description>Local user account</description> +              </valueHelp>                <constraint> -                <regex>[a-z_][a-z0-9_-]{1,31}[$]?</regex> +                #include <include/constraint/login-username.xml.i>                </constraint>                <constraintErrorMessage>illegal characters in user</constraintErrorMessage> -              <valueHelp> -                <format>username</format> -                <description>user login name</description> -              </valueHelp>              </properties>              <children> -              <tagNode name="facility"> -                <properties> -                  <help>Facility for logging</help> -                  <completionHelp> -                    <list>auth authpriv cron daemon kern lpr mail mark news protocols security syslog user uucp local0 local1 local2 local3 local4 local5 local6 local7 all</list> -                  </completionHelp> -                  <constraint> -                    <regex>(auth|authpriv|cron|daemon|kern|lpr|mail|mark|news|protocols|security|syslog|user|uucp|local0|local1|local2|local3|local4|local5|local6|local7|all)</regex> -                  </constraint> -                  <constraintErrorMessage>Invalid facility type</constraintErrorMessage> -                  <valueHelp> -                    <format>all</format> -                    <description>All facilities excluding "mark"</description> -                  </valueHelp> -                  <valueHelp> -                    <format>auth</format> -                    <description>Authentication and authorization</description> -                  </valueHelp> -                  <valueHelp> -                    <format>authpriv</format> -                    <description>Non-system authorization</description> -                  </valueHelp> -                  <valueHelp> -                    <format>cron</format> -                    <description>Cron daemon</description> -                  </valueHelp> -                  <valueHelp> -                    <format>daemon</format> -                    <description>System daemons</description> -                  </valueHelp> -                  <valueHelp> -                    <format>kern</format> -                    <description>Kernel</description> -                  </valueHelp> -                  <valueHelp> -                    <format>lpr</format> -                    <description>Line printer spooler</description> -                  </valueHelp> -                  <valueHelp> -                    <format>mail</format> -                    <description>Mail subsystem</description> -                  </valueHelp> -                  <valueHelp> -                    <format>mark</format> -                    <description>Timestamp</description> -                  </valueHelp> -                  <valueHelp> -                    <format>news</format> -                    <description>USENET subsystem</description> -                  </valueHelp> -                  <valueHelp> -                    <format>protocols</format> -                    <description>depricated will be set to local7</description> -                  </valueHelp> -                  <valueHelp> -                    <format>security</format> -                    <description>depricated will be set to auth</description> -                  </valueHelp> -                  <valueHelp> -                    <format>syslog</format> -                    <description>Authentication and authorization</description> -                  </valueHelp> -                  <valueHelp> -                    <format>user</format> -                    <description>Application processes</description> -                  </valueHelp> -                  <valueHelp> -                    <format>uucp</format> -                    <description>UUCP subsystem</description> -                  </valueHelp> -                  <valueHelp> -                    <format>local0</format> -                    <description>Local facility 0</description> -                  </valueHelp> -                  <valueHelp> -                    <format>local1</format> -                    <description>Local facility 1</description> -                  </valueHelp> -                  <valueHelp> -                    <format>local2</format> -                    <description>Local facility 2</description> -                  </valueHelp> -                  <valueHelp> -                    <format>local3</format> -                    <description>Local facility 3</description> -                  </valueHelp> -                  <valueHelp> -                    <format>local4</format> -                    <description>Local facility 4</description> -                  </valueHelp> -                  <valueHelp> -                    <format>local5</format> -                    <description>Local facility 5</description> -                  </valueHelp> -                  <valueHelp> -                    <format>local6</format> -                    <description>Local facility 6</description> -                  </valueHelp> -                  <valueHelp> -                    <format>local7</format> -                    <description>Local facility 7</description> -                  </valueHelp> -                </properties> -                <children> -                  <leafNode name="level"> -                    <properties> -                      <help>Logging level</help> -                      <completionHelp> -                        <list>emerg alert crit err warning notice info debug all</list> -                      </completionHelp> -                      <constraint> -                        <regex>(emerg|alert|crit|err|warning|notice|info|debug|all)</regex> -                      </constraint> -                      <constraintErrorMessage>Invalid loglevel</constraintErrorMessage> -                      <valueHelp> -                        <format>emerg</format> -                        <description>Emergency messages</description> -                      </valueHelp> -                      <valueHelp> -                        <format>alert</format> -                        <description>Urgent messages</description> -                      </valueHelp> -                      <valueHelp> -                        <format>crit</format> -                        <description>Critical messages</description> -                      </valueHelp> -                      <valueHelp> -                        <format>err</format> -                        <description>Error messages</description> -                      </valueHelp> -                      <valueHelp> -                        <format>warning</format> -                        <description>Warning messages</description> -                      </valueHelp> -                      <valueHelp> -                        <format>notice</format> -                        <description>Messages for further investigation</description> -                      </valueHelp> -                      <valueHelp> -                        <format>info</format> -                        <description>Informational messages</description> -                      </valueHelp> -                      <valueHelp> -                        <format>debug</format> -                        <description>Debug messages</description> -                      </valueHelp> -                      <valueHelp> -                        <format>all</format> -                        <description>Log everything</description> -                      </valueHelp> -                    </properties> -                  </leafNode> -                </children> -              </tagNode> +              #include <include/syslog-facility.xml.i>              </children>            </tagNode>            <tagNode name="host">              <properties> -              <help>Logging to a remote host</help> +              <help>Logging to remote host</help>                <constraint>                  <validator name="ip-address"/>                  <validator name="fqdn"/> @@ -190,186 +40,17 @@                  <description>Remote syslog server IPv4 address</description>                </valueHelp>                <valueHelp> +                <format>ipv6</format> +                <description>Remote syslog server IPv6 address</description> +              </valueHelp> +              <valueHelp>                  <format>hostname</format>                  <description>Remote syslog server FQDN</description>                </valueHelp>              </properties>              <children>                #include <include/port-number.xml.i> -              <tagNode name="facility"> -                <properties> -                  <help>Facility for logging</help> -                  <completionHelp> -                    <list>auth authpriv cron daemon kern lpr mail mark news protocols security syslog user uucp local0 local1 local2 local3 local4 local5 local6 local7 all</list> -                  </completionHelp> -                  <constraint> -                    <regex>(auth|authpriv|cron|daemon|kern|lpr|mail|mark|news|protocols|security|syslog|user|uucp|local0|local1|local2|local3|local4|local5|local6|local7|all)</regex> -                  </constraint> -                  <constraintErrorMessage>Invalid facility type</constraintErrorMessage> -                  <valueHelp> -                    <format>all</format> -                    <description>All facilities excluding "mark"</description> -                  </valueHelp> -                  <valueHelp> -                    <format>auth</format> -                    <description>Authentication and authorization</description> -                  </valueHelp> -                  <valueHelp> -                    <format>authpriv</format> -                    <description>Non-system authorization</description> -                  </valueHelp> -                  <valueHelp> -                    <format>cron</format> -                    <description>Cron daemon</description> -                  </valueHelp> -                  <valueHelp> -                    <format>daemon</format> -                    <description>System daemons</description> -                  </valueHelp> -                  <valueHelp> -                    <format>kern</format> -                    <description>Kernel</description> -                  </valueHelp> -                  <valueHelp> -                    <format>lpr</format> -                    <description>Line printer spooler</description> -                  </valueHelp> -                  <valueHelp> -                    <format>mail</format> -                    <description>Mail subsystem</description> -                  </valueHelp> -                  <valueHelp> -                    <format>mark</format> -                    <description>Timestamp</description> -                  </valueHelp> -                  <valueHelp> -                    <format>news</format> -                    <description>USENET subsystem</description> -                  </valueHelp> -                  <valueHelp> -                    <format>protocols</format> -                    <description>depricated will be set to local7</description> -                  </valueHelp> -                  <valueHelp> -                    <format>security</format> -                    <description>depricated will be set to auth</description> -                  </valueHelp> -                  <valueHelp> -                    <format>syslog</format> -                    <description>Authentication and authorization</description> -                  </valueHelp> -                  <valueHelp> -                    <format>user</format> -                    <description>Application processes</description> -                  </valueHelp> -                  <valueHelp> -                    <format>uucp</format> -                    <description>UUCP subsystem</description> -                  </valueHelp> -                  <valueHelp> -                    <format>local0</format> -                    <description>Local facility 0</description> -                  </valueHelp> -                  <valueHelp> -                    <format>local1</format> -                    <description>Local facility 1</description> -                  </valueHelp> -                  <valueHelp> -                    <format>local2</format> -                    <description>Local facility 2</description> -                  </valueHelp> -                  <valueHelp> -                    <format>local3</format> -                    <description>Local facility 3</description> -                  </valueHelp> -                  <valueHelp> -                    <format>local4</format> -                    <description>Local facility 4</description> -                  </valueHelp> -                  <valueHelp> -                    <format>local5</format> -                    <description>Local facility 5</description> -                  </valueHelp> -                  <valueHelp> -                    <format>local6</format> -                    <description>Local facility 6</description> -                  </valueHelp> -                  <valueHelp> -                    <format>local7</format> -                    <description>Local facility 7</description> -                  </valueHelp> -                </properties> -                <children> -                  <leafNode name="protocol"> -                    <properties> -                      <help>syslog communication protocol</help> -                      <valueHelp> -                        <format>udp</format> -                        <description>send log messages to remote syslog server over udp</description> -                      </valueHelp> -                      <valueHelp> -                        <format>tcp</format> -                        <description>send log messages to remote syslog server over tcp</description> -                      </valueHelp> -                      <completionHelp> -                        <list>udp tcp</list> -                      </completionHelp> -                      <constraint> -                        <regex>(udp|tcp)</regex> -                      </constraint> -                      <constraintErrorMessage>invalid protocol name</constraintErrorMessage> -                    </properties> -                  </leafNode> -                  <leafNode name="level"> -                    <properties> -                      <help>Logging level</help> -                      <completionHelp> -                        <list>emerg alert crit err warning notice info debug all</list> -                      </completionHelp> -                      <constraint> -                        <regex>(emerg|alert|crit|err|warning|notice|info|debug|all)</regex> -                      </constraint> -                      <constraintErrorMessage>Invalid loglevel</constraintErrorMessage> -                      <valueHelp> -                        <format>emerg</format> -                        <description>Emergency messages</description> -                      </valueHelp> -                      <valueHelp> -                        <format>alert</format> -                        <description>Urgent messages</description> -                      </valueHelp> -                      <valueHelp> -                        <format>crit</format> -                        <description>Critical messages</description> -                      </valueHelp> -                      <valueHelp> -                        <format>err</format> -                        <description>Error messages</description> -                      </valueHelp> -                      <valueHelp> -                        <format>warning</format> -                        <description>Warning messages</description> -                      </valueHelp> -                      <valueHelp> -                        <format>notice</format> -                        <description>Messages for further investigation</description> -                      </valueHelp> -                      <valueHelp> -                        <format>info</format> -                        <description>Informational messages</description> -                      </valueHelp> -                      <valueHelp> -                        <format>debug</format> -                        <description>Debug messages</description> -                      </valueHelp> -                      <valueHelp> -                        <format>all</format> -                        <description>Log everything</description> -                      </valueHelp> -                    </properties> -                  </leafNode> -                </children> -              </tagNode> +              #include <include/syslog-facility.xml.i>                <node name="format">                  <properties>                    <help>Logging format</help> @@ -390,160 +71,7 @@                <help>Logging to system standard location</help>              </properties>              <children> -              <tagNode name="facility"> -                <properties> -                  <help>Facility for logging</help> -                  <completionHelp> -                    <list>auth authpriv cron daemon kern lpr mail mark news protocols security syslog user uucp local0 local1 local2 local3 local4 local5 local6 local7 all</list> -                  </completionHelp> -                  <constraint> -                    <regex>(auth|authpriv|cron|daemon|kern|lpr|mail|mark|news|protocols|security|syslog|user|uucp|local0|local1|local2|local3|local4|local5|local6|local7|all)</regex> -                  </constraint> -                  <constraintErrorMessage>Invalid facility type</constraintErrorMessage> -                  <valueHelp> -                    <format>all</format> -                    <description>All facilities excluding "mark"</description> -                  </valueHelp> -                  <valueHelp> -                    <format>auth</format> -                    <description>Authentication and authorization</description> -                  </valueHelp> -                  <valueHelp> -                    <format>authpriv</format> -                    <description>Non-system authorization</description> -                  </valueHelp> -                  <valueHelp> -                    <format>cron</format> -                    <description>Cron daemon</description> -                  </valueHelp> -                  <valueHelp> -                    <format>daemon</format> -                    <description>System daemons</description> -                  </valueHelp> -                  <valueHelp> -                    <format>kern</format> -                    <description>Kernel</description> -                  </valueHelp> -                  <valueHelp> -                    <format>lpr</format> -                    <description>Line printer spooler</description> -                  </valueHelp> -                  <valueHelp> -                    <format>mail</format> -                    <description>Mail subsystem</description> -                  </valueHelp> -                  <valueHelp> -                    <format>mark</format> -                    <description>Timestamp</description> -                  </valueHelp> -                  <valueHelp> -                    <format>news</format> -                    <description>USENET subsystem</description> -                  </valueHelp> -                  <valueHelp> -                    <format>protocols</format> -                    <description>depricated will be set to local7</description> -                  </valueHelp> -                  <valueHelp> -                    <format>security</format> -                    <description>depricated will be set to auth</description> -                  </valueHelp> -                  <valueHelp> -                    <format>syslog</format> -                    <description>Authentication and authorization</description> -                  </valueHelp> -                  <valueHelp> -                    <format>user</format> -                    <description>Application processes</description> -                  </valueHelp> -                  <valueHelp> -                    <format>uucp</format> -                    <description>UUCP subsystem</description> -                  </valueHelp> -                  <valueHelp> -                    <format>local0</format> -                    <description>Local facility 0</description> -                  </valueHelp> -                  <valueHelp> -                    <format>local1</format> -                    <description>Local facility 1</description> -                  </valueHelp> -                  <valueHelp> -                    <format>local2</format> -                    <description>Local facility 2</description> -                  </valueHelp> -                  <valueHelp> -                    <format>local3</format> -                    <description>Local facility 3</description> -                  </valueHelp> -                  <valueHelp> -                    <format>local4</format> -                    <description>Local facility 4</description> -                  </valueHelp> -                  <valueHelp> -                    <format>local5</format> -                    <description>Local facility 5</description> -                  </valueHelp> -                  <valueHelp> -                    <format>local6</format> -                    <description>Local facility 6</description> -                  </valueHelp> -                  <valueHelp> -                    <format>local7</format> -                    <description>Local facility 7</description> -                  </valueHelp> -                </properties> -                <children> -                  <leafNode name="level"> -                    <properties> -                      <help>Logging level</help> -                      <completionHelp> -                        <list>emerg alert crit err warning notice info debug all</list> -                      </completionHelp> -                      <constraint> -                        <regex>(emerg|alert|crit|err|warning|notice|info|debug|all)</regex> -                      </constraint> -                      <constraintErrorMessage>Invalid loglevel</constraintErrorMessage> -                      <valueHelp> -                        <format>emerg</format> -                        <description>Emergency messages</description> -                      </valueHelp> -                      <valueHelp> -                        <format>alert</format> -                        <description>Urgent messages</description> -                      </valueHelp> -                      <valueHelp> -                        <format>crit</format> -                        <description>Critical messages</description> -                      </valueHelp> -                      <valueHelp> -                        <format>err</format> -                        <description>Error messages</description> -                      </valueHelp> -                      <valueHelp> -                        <format>warning</format> -                        <description>Warning messages</description> -                      </valueHelp> -                      <valueHelp> -                        <format>notice</format> -                        <description>Messages for further investigation</description> -                      </valueHelp> -                      <valueHelp> -                        <format>info</format> -                        <description>Informational messages</description> -                      </valueHelp> -                      <valueHelp> -                        <format>debug</format> -                        <description>Debug messages</description> -                      </valueHelp> -                      <valueHelp> -                        <format>all</format> -                        <description>Log everything</description> -                      </valueHelp> -                    </properties> -                  </leafNode> -                </children> -              </tagNode> +              #include <include/syslog-facility.xml.i>                <node name="marker">                  <properties>                    <help>mark messages sent to syslog</help> @@ -559,10 +87,10 @@                    </leafNode>                  </children>                </node> -              <leafNode name ="preserve-fqdn"> +              <leafNode name="preserve-fqdn">                  <properties>                    <help>uses FQDN for logging</help> -                  <valueless /> +                  <valueless/>                  </properties>                </leafNode>              </children> @@ -601,160 +129,7 @@                    </leafNode>                  </children>                </node> -              <tagNode name="facility"> -                <properties> -                  <help>Facility for logging</help> -                  <completionHelp> -                    <list>auth authpriv cron daemon kern lpr mail mark news protocols security syslog user uucp local0 local1 local2 local3 local4 local5 local6 local7 all</list> -                  </completionHelp> -                  <constraint> -                    <regex>(auth|authpriv|cron|daemon|kern|lpr|mail|mark|news|protocols|security|syslog|user|uucp|local0|local1|local2|local3|local4|local5|local6|local7|all)</regex> -                  </constraint> -                  <constraintErrorMessage>Invalid facility type</constraintErrorMessage> -                  <valueHelp> -                    <format>all</format> -                    <description>All facilities excluding "mark"</description> -                  </valueHelp> -                  <valueHelp> -                    <format>auth</format> -                    <description>Authentication and authorization</description> -                  </valueHelp> -                  <valueHelp> -                    <format>authpriv</format> -                    <description>Non-system authorization</description> -                  </valueHelp> -                  <valueHelp> -                    <format>cron</format> -                    <description>Cron daemon</description> -                  </valueHelp> -                  <valueHelp> -                    <format>daemon</format> -                    <description>System daemons</description> -                  </valueHelp> -                  <valueHelp> -                    <format>kern</format> -                    <description>Kernel</description> -                  </valueHelp> -                  <valueHelp> -                    <format>lpr</format> -                    <description>Line printer spooler</description> -                  </valueHelp> -                  <valueHelp> -                    <format>mail</format> -                    <description>Mail subsystem</description> -                  </valueHelp> -                  <valueHelp> -                    <format>mark</format> -                    <description>Timestamp</description> -                  </valueHelp> -                  <valueHelp> -                    <format>news</format> -                    <description>USENET subsystem</description> -                  </valueHelp> -                  <valueHelp> -                    <format>protocols</format> -                    <description>depricated will be set to local7</description> -                  </valueHelp> -                  <valueHelp> -                    <format>security</format> -                    <description>depricated will be set to auth</description> -                  </valueHelp> -                  <valueHelp> -                    <format>syslog</format> -                    <description>Authentication and authorization</description> -                  </valueHelp> -                  <valueHelp> -                    <format>user</format> -                    <description>Application processes</description> -                  </valueHelp> -                  <valueHelp> -                    <format>uucp</format> -                    <description>UUCP subsystem</description> -                  </valueHelp> -                  <valueHelp> -                    <format>local0</format> -                    <description>Local facility 0</description> -                  </valueHelp> -                  <valueHelp> -                    <format>local1</format> -                    <description>Local facility 1</description> -                  </valueHelp> -                  <valueHelp> -                    <format>local2</format> -                    <description>Local facility 2</description> -                  </valueHelp> -                  <valueHelp> -                    <format>local3</format> -                    <description>Local facility 3</description> -                  </valueHelp> -                  <valueHelp> -                    <format>local4</format> -                    <description>Local facility 4</description> -                  </valueHelp> -                  <valueHelp> -                    <format>local5</format> -                    <description>Local facility 5</description> -                  </valueHelp> -                  <valueHelp> -                    <format>local6</format> -                    <description>Local facility 6</description> -                  </valueHelp> -                  <valueHelp> -                    <format>local7</format> -                    <description>Local facility 7</description> -                  </valueHelp> -                </properties> -                <children> -                  <leafNode name="level"> -                    <properties> -                      <help>Logging level</help> -                      <completionHelp> -                        <list>emerg alert crit err warning notice info debug all</list> -                      </completionHelp> -                      <constraint> -                        <regex>(emerg|alert|crit|err|warning|notice|info|debug|all)</regex> -                      </constraint> -                      <constraintErrorMessage>Invalid loglevel</constraintErrorMessage> -                      <valueHelp> -                        <format>emerg</format> -                        <description>Emergency messages</description> -                      </valueHelp> -                      <valueHelp> -                        <format>alert</format> -                        <description>Urgent messages</description> -                      </valueHelp> -                      <valueHelp> -                        <format>crit</format> -                        <description>Critical messages</description> -                      </valueHelp> -                      <valueHelp> -                        <format>err</format> -                        <description>Error messages</description> -                      </valueHelp> -                      <valueHelp> -                        <format>warning</format> -                        <description>Warning messages</description> -                      </valueHelp> -                      <valueHelp> -                        <format>notice</format> -                        <description>Messages for further investigation</description> -                      </valueHelp> -                      <valueHelp> -                        <format>info</format> -                        <description>Informational messages</description> -                      </valueHelp> -                      <valueHelp> -                        <format>debug</format> -                        <description>Debug messages</description> -                      </valueHelp> -                      <valueHelp> -                        <format>all</format> -                        <description>Log everything</description> -                      </valueHelp> -                    </properties> -                  </leafNode> -                </children> -              </tagNode> +              #include <include/syslog-facility.xml.i>              </children>            </tagNode>            <node name="console"> @@ -762,160 +137,7 @@                <help>logging to serial console</help>              </properties>              <children> -              <tagNode name="facility"> -                <properties> -                  <help>Facility for logging</help> -                  <completionHelp> -                    <list>auth authpriv cron daemon kern lpr mail mark news protocols security syslog user uucp local0 local1 local2 local3 local4 local5 local6 local7 all</list> -                  </completionHelp> -                  <constraint> -                    <regex>(auth|authpriv|cron|daemon|kern|lpr|mail|mark|news|protocols|security|syslog|user|uucp|local0|local1|local2|local3|local4|local5|local6|local7|all)</regex> -                  </constraint> -                  <constraintErrorMessage>Invalid facility type</constraintErrorMessage> -                  <valueHelp> -                    <format>all</format> -                    <description>All facilities excluding "mark"</description> -                  </valueHelp> -                  <valueHelp> -                    <format>auth</format> -                    <description>Authentication and authorization</description> -                  </valueHelp> -                  <valueHelp> -                    <format>authpriv</format> -                    <description>Non-system authorization</description> -                  </valueHelp> -                  <valueHelp> -                    <format>cron</format> -                    <description>Cron daemon</description> -                  </valueHelp> -                  <valueHelp> -                    <format>daemon</format> -                    <description>System daemons</description> -                  </valueHelp> -                  <valueHelp> -                    <format>kern</format> -                    <description>Kernel</description> -                  </valueHelp> -                  <valueHelp> -                    <format>lpr</format> -                    <description>Line printer spooler</description> -                  </valueHelp> -                  <valueHelp> -                    <format>mail</format> -                    <description>Mail subsystem</description> -                  </valueHelp> -                  <valueHelp> -                    <format>mark</format> -                    <description>Timestamp</description> -                  </valueHelp> -                  <valueHelp> -                    <format>news</format> -                    <description>USENET subsystem</description> -                  </valueHelp> -                  <valueHelp> -                    <format>protocols</format> -                    <description>depricated will be set to local7</description> -                  </valueHelp> -                  <valueHelp> -                    <format>security</format> -                    <description>depricated will be set to auth</description> -                  </valueHelp> -                  <valueHelp> -                    <format>syslog</format> -                    <description>Authentication and authorization</description> -                  </valueHelp> -                  <valueHelp> -                    <format>user</format> -                    <description>Application processes</description> -                  </valueHelp> -                  <valueHelp> -                    <format>uucp</format> -                    <description>UUCP subsystem</description> -                  </valueHelp> -                  <valueHelp> -                    <format>local0</format> -                    <description>Local facility 0</description> -                  </valueHelp> -                  <valueHelp> -                    <format>local1</format> -                    <description>Local facility 1</description> -                  </valueHelp> -                  <valueHelp> -                    <format>local2</format> -                    <description>Local facility 2</description> -                  </valueHelp> -                  <valueHelp> -                    <format>local3</format> -                    <description>Local facility 3</description> -                  </valueHelp> -                  <valueHelp> -                    <format>local4</format> -                    <description>Local facility 4</description> -                  </valueHelp> -                  <valueHelp> -                    <format>local5</format> -                    <description>Local facility 5</description> -                  </valueHelp> -                  <valueHelp> -                    <format>local6</format> -                    <description>Local facility 6</description> -                  </valueHelp> -                  <valueHelp> -                    <format>local7</format> -                    <description>Local facility 7</description> -                  </valueHelp> -                </properties> -                <children> -                  <leafNode name="level"> -                    <properties> -                      <help>Logging level</help> -                      <completionHelp> -                        <list>emerg alert crit err warning notice info debug all</list> -                      </completionHelp> -                      <constraint> -                        <regex>(emerg|alert|crit|err|warning|notice|info|debug|all)</regex> -                      </constraint> -                      <constraintErrorMessage>Invalid loglevel</constraintErrorMessage> -                      <valueHelp> -                        <format>emerg</format> -                        <description>Emergency messages</description> -                      </valueHelp> -                      <valueHelp> -                        <format>alert</format> -                        <description>Urgent messages</description> -                      </valueHelp> -                      <valueHelp> -                        <format>crit</format> -                        <description>Critical messages</description> -                      </valueHelp> -                      <valueHelp> -                        <format>err</format> -                        <description>Error messages</description> -                      </valueHelp> -                      <valueHelp> -                        <format>warning</format> -                        <description>Warning messages</description> -                      </valueHelp> -                      <valueHelp> -                        <format>notice</format> -                        <description>Messages for further investigation</description> -                      </valueHelp> -                      <valueHelp> -                        <format>info</format> -                        <description>Informational messages</description> -                      </valueHelp> -                      <valueHelp> -                        <format>debug</format> -                        <description>Debug messages</description> -                      </valueHelp> -                      <valueHelp> -                        <format>all</format> -                        <description>Log everything</description> -                      </valueHelp> -                    </properties> -                  </leafNode> -                </children> -              </tagNode> +              #include <include/syslog-facility.xml.i>              </children>            </node>          </children> diff --git a/interface-definitions/vrf.xml.in b/interface-definitions/vrf.xml.in index a7efe146a..3783785ce 100644 --- a/interface-definitions/vrf.xml.in +++ b/interface-definitions/vrf.xml.in @@ -121,7 +121,20 @@                <constraintErrorMessage>VRF routing table must be in range from 100 to 65535</constraintErrorMessage>              </properties>            </leafNode> -          #include <include/vni.xml.i> +          <leafNode name="vni" owner="${vyos_conf_scripts_dir}/vrf_vni.py $VAR(../@)"> +            <properties> +              <help>Virtual Network Identifier</help> +              <!-- must be after BGP to keep correct order when removing L3VNIs in FRR --> +              <priority>822</priority> +              <valueHelp> +                <format>u32:0-16777214</format> +                <description>VXLAN virtual network identifier</description> +              </valueHelp> +              <constraint> +                <validator name="numeric" argument="--range 0-16777214"/> +              </constraint> +            </properties> +          </leafNode>          </children>        </tagNode>      </children> | 
