|
15 | 15 | "status": ["preview"],
|
16 | 16 | "supported_by": "community",
|
17 | 17 | }
|
18 |
| -DOCUMENTATION = "" |
19 |
| -EXAMPLES = "" |
| 18 | +DOCUMENTATION = r""" |
| 19 | +--- |
| 20 | +module: bgpRouter |
| 21 | +short_description: Manage BGP Router configuration on Citrix ADC (NetScaler) devices |
| 22 | +description: This module allows for the management of BGP Router configurations on Citrix ADC (NetScaler) devices. |
| 23 | +version_added: 2.10.0 |
| 24 | +author: |
| 25 | + - Shiva Shankar Vaddepally (@shivashankar-vaddepally) |
| 26 | +options: |
| 27 | + state: |
| 28 | + choices: |
| 29 | + - present |
| 30 | + - absent |
| 31 | + default: present |
| 32 | + - The state of the resource being configured by the module on the NetScaler |
| 33 | + ADC node. |
| 34 | + - When C(present), the resource will be added/updated configured according to |
| 35 | + the module's parameters. |
| 36 | + - When C(absent), the resource will be deleted from the NetScaler ADC node. |
| 37 | + type: str |
| 38 | + afParams.addressFamily: |
| 39 | + type: str |
| 40 | + choices: ["ipv4", "ipv6"] |
| 41 | + description: |
| 42 | + - Address family for this BGP AF parameter. |
| 43 | +
|
| 44 | + afParams.redistribute.protocol: |
| 45 | + type: str |
| 46 | + choices: ["kernel", "connected", "static", "rip", "ospf", "isis", "intranet"] |
| 47 | + description: |
| 48 | + - The protocol from which routes need to be redistributed. |
| 49 | +
|
| 50 | + afParams.redistribute.routeMap: |
| 51 | + type: str |
| 52 | + description: |
| 53 | + - Route map reference. |
| 54 | +
|
| 55 | + localAS: |
| 56 | + type: int |
| 57 | + description: |
| 58 | + - Local Autonomous System number. |
| 59 | +
|
| 60 | + routerId: |
| 61 | + type: str |
| 62 | + description: |
| 63 | + - Router ID in IP address format. |
| 64 | +
|
| 65 | + neighbor.ASOriginationInterval: |
| 66 | + type: int |
| 67 | + description: |
| 68 | + - Minimum interval between sending AS-origination routing updates. |
| 69 | +
|
| 70 | + neighbor.address: |
| 71 | + type: str |
| 72 | + description: |
| 73 | + - Address of the neighboring router. |
| 74 | +
|
| 75 | + neighbor.advertisementInterval: |
| 76 | + type: int |
| 77 | + description: |
| 78 | + - Minimum interval between sending BGP routing updates. |
| 79 | +
|
| 80 | + neighbor.afParams.activate: |
| 81 | + type: bool |
| 82 | + description: |
| 83 | + - Enable the Address Family for the neighbor. |
| 84 | +
|
| 85 | + neighbor.afParams.addressFamily: |
| 86 | + type: str |
| 87 | + choices: ["ipv4", "ipv6"] |
| 88 | + description: |
| 89 | + - Address family identifier |
| 90 | +
|
| 91 | + neighbor.afParams.routeMap.direction: |
| 92 | + type: str |
| 93 | + choices: ["in", "out"] |
| 94 | + description: |
| 95 | + - Apply the route-map to incoming routes or outgoing routes. |
| 96 | +
|
| 97 | + neighbor.afParams.routeMap.name: |
| 98 | + type: str |
| 99 | + description: |
| 100 | + - Name of the route map. |
| 101 | +
|
| 102 | + neighbor.connectTimer: |
| 103 | + type: int |
| 104 | + description: |
| 105 | + - Time interval (in seconds) for the ConnectRetry timer. |
| 106 | +
|
| 107 | + neighbor.holdTimerConfig: |
| 108 | + type: int |
| 109 | + description: |
| 110 | + - Hold timer value for the neighbor in seconds. |
| 111 | +
|
| 112 | + neighbor.keepaliveTimerConfig: |
| 113 | + type: int |
| 114 | + description: |
| 115 | + - Keepalive timer value for the neighbor in seconds. |
| 116 | +
|
| 117 | + neighbor.md5Password: |
| 118 | + type: str |
| 119 | + description: |
| 120 | + - MD5 password used for neighbor authentication. |
| 121 | + no_log: true |
| 122 | +
|
| 123 | + neighbor.multihopBfd: |
| 124 | + type: bool |
| 125 | + description: |
| 126 | + - Enable BFD for multihop BGP sessions. |
| 127 | +
|
| 128 | + neighbor.remoteAS: |
| 129 | + type: int |
| 130 | + description: |
| 131 | + - Remote AS number for the neighbor. |
| 132 | +
|
| 133 | + neighbor.singlehopBfd: |
| 134 | + type: bool |
| 135 | + description: |
| 136 | + - Enable BFD on this neighbor |
| 137 | +
|
| 138 | + neighbor.updateSource: |
| 139 | + type: str |
| 140 | + description: |
| 141 | + - Source of routing updates. |
| 142 | +""" |
| 143 | +EXAMPLES = r""" |
| 144 | +--- |
| 145 | +- name: BGP routing |
| 146 | + hosts: localhost |
| 147 | + gather_facts: no |
| 148 | + tasks: |
| 149 | + - name: Configure BGP routing |
| 150 | + delegate_to: localhost |
| 151 | + netscaler.adc.bgpRouter: |
| 152 | + state: present |
| 153 | + localAS: 10 |
| 154 | + afParams.addressFamily: "ipv4" |
| 155 | + afParams.redistribute.protocol: "kernel" |
| 156 | + routerId: "10.102.201.219" |
| 157 | + neighbor.ASOriginationInterval: 15 |
| 158 | + neighbor.address: "2.2.12.30" |
| 159 | + neighbor.advertisementInterval: 30 |
| 160 | + neighbor.afParams.addressFamily: "ipv4" |
| 161 | + neighbor.holdTimerConfig: 90 |
| 162 | + neighbor.keepaliveTimerConfig: 30 |
| 163 | + neighbor.multihopBfd: "False" |
| 164 | + neighbor.remoteAS: 100 |
| 165 | + neighbor.singlehopBfd: "False" |
| 166 | +""" |
20 | 167 | RETURN = r"""
|
21 | 168 | ---
|
22 | 169 | changed:
|
|
0 commit comments