summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bgp/neighbor-local-role.xml.i
blob: 6ddb4908fe151656c13a3046b00f67ece6f1d6e3 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!-- include start from bgp/neigbhor-local-role.xml.i -->
<tagNode name="local-role">
  <properties>
    <help>Local role for BGP neighbor (RFC9234)</help>
    <completionHelp>
      <list>customer peer provider rs-client rs-server</list>
    </completionHelp>
    <valueHelp>
      <format>customer</format>
      <description>Using Transit</description>
    </valueHelp>
    <valueHelp>
      <format>peer</format>
      <description>Public/Private Peering</description>
    </valueHelp>
    <valueHelp>
      <format>provider</format>
      <description>Providing Transit</description>
    </valueHelp>
    <valueHelp>
      <format>rs-client</format>
      <description>RS Client</description>
    </valueHelp>
    <valueHelp>
      <format>rs-server</format>
      <description>Route Server</description>
    </valueHelp>
    <constraint>
      <regex>(provider|rs-server|rs-client|customer|peer)</regex>
    </constraint>
    <constraintErrorMessage>BGP local-role must be one of the following: customer, peer, provider, rs-client or rs-server</constraintErrorMessage>
  </properties>
  <children>
    <leafNode name="strict">
      <properties>
        <help>Neighbor must send this exact capability, otherwise a role missmatch notification will be sent</help>
        <valueless/>
      </properties>
    </leafNode>
  </children>
</tagNode>
<!-- include end -->