|
| 1 | +.. Document meta |
| 2 | +
|
| 3 | +:orphan: |
| 4 | + |
| 5 | +.. Anchors |
| 6 | +
|
| 7 | +.. _ansible_collections.codeaffen.phpipam.vrf_module: |
| 8 | + |
| 9 | +.. Anchors: short name for ansible.builtin |
| 10 | +
|
| 11 | +.. Anchors: aliases |
| 12 | +
|
| 13 | +
|
| 14 | +
|
| 15 | +.. Title |
| 16 | +
|
| 17 | +codeaffen.phpipam.vrf -- Manage virtual routers and forwarders |
| 18 | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| 19 | + |
| 20 | +.. Collection note |
| 21 | +
|
| 22 | +.. note:: |
| 23 | + This plugin is part of the `codeaffen.phpipam collection <https://galaxy.ansible.com/codeaffen/phpipam>`_. |
| 24 | + |
| 25 | + To install it use: :code:`ansible-galaxy collection install codeaffen.phpipam`. |
| 26 | + |
| 27 | + To use it in a playbook, specify: :code:`codeaffen.phpipam.vrf`. |
| 28 | + |
| 29 | +.. version_added |
| 30 | +
|
| 31 | +.. versionadded:: 0.4.0 of codeaffen.phpipam |
| 32 | + |
| 33 | +.. contents:: |
| 34 | + :local: |
| 35 | + :depth: 1 |
| 36 | + |
| 37 | +.. Deprecated |
| 38 | +
|
| 39 | +
|
| 40 | +Synopsis |
| 41 | +-------- |
| 42 | + |
| 43 | +.. Description |
| 44 | +
|
| 45 | +- create, update and delete L2 routing vrfs |
| 46 | + |
| 47 | +.. Aliases |
| 48 | +
|
| 49 | +
|
| 50 | +.. Requirements |
| 51 | +
|
| 52 | +Requirements |
| 53 | +------------ |
| 54 | +The below requirements are needed on the host that executes this module. |
| 55 | + |
| 56 | +- inflection |
| 57 | +- ipaddress |
| 58 | +- phpypam |
| 59 | + |
| 60 | + |
| 61 | +.. Options |
| 62 | +
|
| 63 | +Parameters |
| 64 | +---------- |
| 65 | + |
| 66 | +.. raw:: html |
| 67 | + |
| 68 | + <table border=0 cellpadding=0 class="documentation-table"> |
| 69 | + <tr> |
| 70 | + <th colspan="1">Parameter</th> |
| 71 | + <th>Choices/<font color="blue">Defaults</font></th> |
| 72 | + <th width="100%">Comments</th> |
| 73 | + </tr> |
| 74 | + <tr> |
| 75 | + <td colspan="1"> |
| 76 | + <div class="ansibleOptionAnchor" id="parameter-app_id"></div> |
| 77 | + <b>app_id</b> |
| 78 | + <a class="ansibleOptionLink" href="#parameter-app_id" title="Permalink to this option"></a> |
| 79 | + <div style="font-size: small"> |
| 80 | + <span style="color: purple">string</span> |
| 81 | + </div> |
| 82 | + </td> |
| 83 | + <td> |
| 84 | + <b>Default:</b><br/><div style="color: blue">"ansible"</div> |
| 85 | + </td> |
| 86 | + <td> |
| 87 | + <div>API app name</div> |
| 88 | + </td> |
| 89 | + </tr> |
| 90 | + <tr> |
| 91 | + <td colspan="1"> |
| 92 | + <div class="ansibleOptionAnchor" id="parameter-description"></div> |
| 93 | + <b>description</b> |
| 94 | + <a class="ansibleOptionLink" href="#parameter-description" title="Permalink to this option"></a> |
| 95 | + <div style="font-size: small"> |
| 96 | + <span style="color: purple">string</span> |
| 97 | + </div> |
| 98 | + </td> |
| 99 | + <td> |
| 100 | + </td> |
| 101 | + <td> |
| 102 | + <div>A descriptive text for that entity</div> |
| 103 | + </td> |
| 104 | + </tr> |
| 105 | + <tr> |
| 106 | + <td colspan="1"> |
| 107 | + <div class="ansibleOptionAnchor" id="parameter-distinguisher"></div> |
| 108 | + <b>distinguisher</b> |
| 109 | + <a class="ansibleOptionLink" href="#parameter-distinguisher" title="Permalink to this option"></a> |
| 110 | + <div style="font-size: small"> |
| 111 | + <span style="color: purple">string</span> |
| 112 | + </div> |
| 113 | + </td> |
| 114 | + <td> |
| 115 | + </td> |
| 116 | + <td> |
| 117 | + <div>VRF route distinguisher</div> |
| 118 | + </td> |
| 119 | + </tr> |
| 120 | + <tr> |
| 121 | + <td colspan="1"> |
| 122 | + <div class="ansibleOptionAnchor" id="parameter-name"></div> |
| 123 | + <b>name</b> |
| 124 | + <a class="ansibleOptionLink" href="#parameter-name" title="Permalink to this option"></a> |
| 125 | + <div style="font-size: small"> |
| 126 | + <span style="color: purple">string</span> |
| 127 | + / <span style="color: red">required</span> </div> |
| 128 | + </td> |
| 129 | + <td> |
| 130 | + </td> |
| 131 | + <td> |
| 132 | + <div>Name of the given vrf</div> |
| 133 | + </td> |
| 134 | + </tr> |
| 135 | + <tr> |
| 136 | + <td colspan="1"> |
| 137 | + <div class="ansibleOptionAnchor" id="parameter-password"></div> |
| 138 | + <b>password</b> |
| 139 | + <a class="ansibleOptionLink" href="#parameter-password" title="Permalink to this option"></a> |
| 140 | + <div style="font-size: small"> |
| 141 | + <span style="color: purple">string</span> |
| 142 | + / <span style="color: red">required</span> </div> |
| 143 | + </td> |
| 144 | + <td> |
| 145 | + </td> |
| 146 | + <td> |
| 147 | + <div>Password of the user to access phpIPAM server</div> |
| 148 | + </td> |
| 149 | + </tr> |
| 150 | + <tr> |
| 151 | + <td colspan="1"> |
| 152 | + <div class="ansibleOptionAnchor" id="parameter-sections"></div> |
| 153 | + <b>sections</b> |
| 154 | + <a class="ansibleOptionLink" href="#parameter-sections" title="Permalink to this option"></a> |
| 155 | + <div style="font-size: small"> |
| 156 | + <span style="color: purple">list</span> |
| 157 | + / <span style="color: purple">elements=string</span> </div> |
| 158 | + </td> |
| 159 | + <td> |
| 160 | + </td> |
| 161 | + <td> |
| 162 | + <div>List of sections where the nameserver appears</div> |
| 163 | + </td> |
| 164 | + </tr> |
| 165 | + <tr> |
| 166 | + <td colspan="1"> |
| 167 | + <div class="ansibleOptionAnchor" id="parameter-server_url"></div> |
| 168 | + <b>server_url</b> |
| 169 | + <a class="ansibleOptionLink" href="#parameter-server_url" title="Permalink to this option"></a> |
| 170 | + <div style="font-size: small"> |
| 171 | + <span style="color: purple">string</span> |
| 172 | + / <span style="color: red">required</span> </div> |
| 173 | + </td> |
| 174 | + <td> |
| 175 | + </td> |
| 176 | + <td> |
| 177 | + <div>URL of the phpIPAM server</div> |
| 178 | + </td> |
| 179 | + </tr> |
| 180 | + <tr> |
| 181 | + <td colspan="1"> |
| 182 | + <div class="ansibleOptionAnchor" id="parameter-state"></div> |
| 183 | + <b>state</b> |
| 184 | + <a class="ansibleOptionLink" href="#parameter-state" title="Permalink to this option"></a> |
| 185 | + <div style="font-size: small"> |
| 186 | + <span style="color: purple">string</span> |
| 187 | + </div> |
| 188 | + </td> |
| 189 | + <td> |
| 190 | + <ul style="margin: 0; padding: 0"><b>Choices:</b> |
| 191 | + <li><div style="color: blue"><b>present</b> ←</div></li> |
| 192 | + <li>absent</li> |
| 193 | + </ul> |
| 194 | + </td> |
| 195 | + <td> |
| 196 | + <div>State of the entity</div> |
| 197 | + </td> |
| 198 | + </tr> |
| 199 | + <tr> |
| 200 | + <td colspan="1"> |
| 201 | + <div class="ansibleOptionAnchor" id="parameter-username"></div> |
| 202 | + <b>username</b> |
| 203 | + <a class="ansibleOptionLink" href="#parameter-username" title="Permalink to this option"></a> |
| 204 | + <div style="font-size: small"> |
| 205 | + <span style="color: purple">string</span> |
| 206 | + / <span style="color: red">required</span> </div> |
| 207 | + </td> |
| 208 | + <td> |
| 209 | + </td> |
| 210 | + <td> |
| 211 | + <div>Username to access phpIPAM server</div> |
| 212 | + </td> |
| 213 | + </tr> |
| 214 | + </table> |
| 215 | + <br/> |
| 216 | + |
| 217 | +.. Notes |
| 218 | +
|
| 219 | +
|
| 220 | +.. Seealso |
| 221 | +
|
| 222 | +
|
| 223 | +.. Examples |
| 224 | +
|
| 225 | +Examples |
| 226 | +-------- |
| 227 | + |
| 228 | +.. code-block:: yaml+jinja |
| 229 | + |
| 230 | + |
| 231 | + - name: "Create vrf" |
| 232 | + codeaffen.phpipam.vrf: |
| 233 | + username: "admin" |
| 234 | + password: "s3cr3t" |
| 235 | + server_url: "https://ipam.example.com" |
| 236 | + name: "my vrf" |
| 237 | + sections: |
| 238 | + - Example Inc. |
| 239 | + - DEVOPS department |
| 240 | + state: present |
| 241 | + |
| 242 | + - name: "Remove vrf" |
| 243 | + codeaffen.phpipam.vrf: |
| 244 | + username: "admin" |
| 245 | + password: "s3cr3t" |
| 246 | + server_url: "https://ipam.example.com" |
| 247 | + name: "my vrf" |
| 248 | + state: absent |
| 249 | + |
| 250 | + |
| 251 | + |
| 252 | + |
| 253 | +.. Facts |
| 254 | +
|
| 255 | +
|
| 256 | +.. Return values |
| 257 | +
|
| 258 | +
|
| 259 | +.. Status (Presently only deprecated) |
| 260 | +
|
| 261 | +
|
| 262 | +.. Authors |
| 263 | +
|
| 264 | +Authors |
| 265 | +~~~~~~~ |
| 266 | + |
| 267 | +- Christian Meißner (@cmeissner) |
| 268 | + |
| 269 | + |
| 270 | + |
| 271 | +.. Parsing errors |
| 272 | +
|
0 commit comments