diff options
| author | Sona Sarmadi <sona.sarmadi@enea.com> | 2019-01-31 09:38:50 +0100 |
|---|---|---|
| committer | Sona Sarmadi <sona.sarmadi@enea.com> | 2019-02-04 14:28:45 +0100 |
| commit | 224eb56e1261d886b441f2caa3bcc71cd64f0ab2 (patch) | |
| tree | 3285ee1a95c6124a1359094e7f063a2021a62169 | |
| parent | bdf148216e9b58440c9bbb3ee9b7fbebccc71557 (diff) | |
| download | nfv-access-documentation-224eb56e1261d886b441f2caa3bcc71cd64f0ab2.tar.gz | |
GettingStarted: add call home to ZTP section
Change-Id: I8f098636170fc52536eae83917e332627830dc26
Signed-off-by: Sona Sarmadi <sona.sarmadi@enea.com>
| -rw-r--r-- | doc/book-enea-nfv-access-getting-started/doc/device_configuration_and_provisioning.xml | 174 | ||||
| -rwxr-xr-x | doc/book-enea-nfv-access-getting-started/doc/images/add_a_device.png | bin | 0 -> 28716 bytes | |||
| -rwxr-xr-x | doc/book-enea-nfv-access-getting-started/doc/images/customized_parameters.png | bin | 0 -> 13013 bytes | |||
| -rwxr-xr-x | doc/book-enea-nfv-access-getting-started/doc/images/offline_config.png | bin | 0 -> 15066 bytes |
4 files changed, 161 insertions, 13 deletions
diff --git a/doc/book-enea-nfv-access-getting-started/doc/device_configuration_and_provisioning.xml b/doc/book-enea-nfv-access-getting-started/doc/device_configuration_and_provisioning.xml index 4062dd3..a954df5 100644 --- a/doc/book-enea-nfv-access-getting-started/doc/device_configuration_and_provisioning.xml +++ b/doc/book-enea-nfv-access-getting-started/doc/device_configuration_and_provisioning.xml | |||
| @@ -266,16 +266,19 @@ | |||
| 266 | <section id="zero_touch_prov"> | 266 | <section id="zero_touch_prov"> |
| 267 | <title>Zero Touch Provisioning</title> | 267 | <title>Zero Touch Provisioning</title> |
| 268 | 268 | ||
| 269 | <para>Zero-Touch Provisioning is an alternative to Manual configuration. | 269 | <para>Zero-Touch Provisioning (ZTP) is an alternative to Manual |
| 270 | ZTP is a feature that allows the device to be provisioned and configured | 270 | configuration. ZTP refers to the process by which, when a device starts up |
| 271 | automatically, with minimal manual work involved when adding devices to a | 271 | for the first time, its initial configuration is pushed down by an |
| 272 | network. Demonstrated when a device boots for the first time, its initial | 272 | external management system, so that it is setup for proper operation |
| 273 | configuration is pushed down by an external management system, so that it | 273 | without additional manual intervention by an operator.</para> |
| 274 | is setup for proper operation without additional manual intervention by an | 274 | |
| 275 | operator.</para> | 275 | <para>A variety of operations can occur as part of ZTP such as initial |
| 276 | device setup, configuration of managed objects, etc. The goal is to set | ||
| 277 | up a device to the maximum possible extent without forcing an operator | ||
| 278 | to be physically present (initially) to manage the device.</para> | ||
| 276 | 279 | ||
| 277 | <para>In order to create a static configuration supporting ZTP, the uCPE | 280 | <para>In order to create a static configuration supporting ZTP, the uCPE |
| 278 | Manager user needs to identify the device ID of the machine running NFV | 281 | Manager user needs to identify the <literal>Device ID</literal> of the machine running NFV |
| 279 | Access.</para> | 282 | Access.</para> |
| 280 | 283 | ||
| 281 | <para>During the automatic installation process when the | 284 | <para>During the automatic installation process when the |
| @@ -283,8 +286,9 @@ | |||
| 283 | menu <literal>Customize kernel parameters</literal> and set the | 286 | menu <literal>Customize kernel parameters</literal> and set the |
| 284 | <literal>uCPE Manager IP</literal> address. Please check <xref | 287 | <literal>uCPE Manager IP</literal> address. Please check <xref |
| 285 | linkend="install_ena_stick" />, step 7 for how to set the uCPE Manager IP | 288 | linkend="install_ena_stick" />, step 7 for how to set the uCPE Manager IP |
| 286 | address at boot time.</para> | 289 | address at boot time. The Device ID will be listed in the installer under |
| 287 | 290 | the <literal>Customize kernel parameters</literal> menu.</para> | |
| 291 | |||
| 288 | <para>With the address parameter set, run | 292 | <para>With the address parameter set, run |
| 289 | <literal>list_deviceID.sh</literal> after NFV Access is installed and | 293 | <literal>list_deviceID.sh</literal> after NFV Access is installed and |
| 290 | booted, to get the device ID of the target.</para> | 294 | booted, to get the device ID of the target.</para> |
| @@ -302,8 +306,152 @@ | |||
| 302 | <para>An offline configuration can be prepared in advance for the uCPE | 306 | <para>An offline configuration can be prepared in advance for the uCPE |
| 303 | Manager to setup the infrastructure on the device.</para> | 307 | Manager to setup the infrastructure on the device.</para> |
| 304 | 308 | ||
| 305 | <para>For more details about ZTP, please see the <literal>Zero Touch | 309 | <section id="adding_a_device"> |
| 306 | Provisioning Guide </literal>from the <literal>DeveloperDocs</literal> | 310 | <title>Adding a Device</title> |
| 307 | archive provided with your release.</para> | 311 | |
| 312 | <para>The uCPE Manager must be configured to bring the target device under | ||
| 313 | management. This is done by using the <literal>Devices -> Manage | ||
| 314 | -> Add</literal> menu:</para> | ||
| 315 | |||
| 316 | <figure> | ||
| 317 | <title>Adding a Device</title> | ||
| 318 | |||
| 319 | <mediaobject> | ||
| 320 | <imageobject> | ||
| 321 | <imagedata align="center" fileref="images/add_a_device.png" | ||
| 322 | scale="50" /> | ||
| 323 | </imageobject> | ||
| 324 | </mediaobject> | ||
| 325 | </figure> | ||
| 326 | |||
| 327 | <para>The relevant parameters on this screen are described below:</para> | ||
| 328 | |||
| 329 | <itemizedlist> | ||
| 330 | <listitem> | ||
| 331 | <para>Type. The type of device to be added, i.e <literal>Enea universal uCPE | ||
| 332 | </literal>.</para> | ||
| 333 | </listitem> | ||
| 334 | </itemizedlist> | ||
| 335 | |||
| 336 | <itemizedlist> | ||
| 337 | <listitem> | ||
| 338 | <para>Name. The name by which the device is referred to in the uCPE Manager.</para> | ||
| 339 | </listitem> | ||
| 340 | </itemizedlist> | ||
| 341 | |||
| 342 | <itemizedlist> | ||
| 343 | <listitem> | ||
| 344 | <para>IP Address. IP address of the device. If a device is installed under a | ||
| 345 | local/private network and not directly visible to the uCPE Manager machine, the | ||
| 346 | Gateway IP of the private network must be used.</para> | ||
| 347 | </listitem> | ||
| 348 | </itemizedlist> | ||
| 349 | |||
| 350 | <itemizedlist> | ||
| 351 | <listitem> | ||
| 352 | <para>SSH Port. The NETCONF Port used for communications. This is a relevant | ||
| 353 | parameter if the standard NETCONF SSH (i.e. not Call-Home) is being used. Default | ||
| 354 | is set to 22.</para> | ||
| 355 | </listitem> | ||
| 356 | </itemizedlist> | ||
| 357 | |||
| 358 | <itemizedlist> | ||
| 359 | <listitem> | ||
| 360 | <para>SSH User Name. The user name for SSH connectivity. Default user is | ||
| 361 | <literal>root</literal>.</para> | ||
| 362 | </listitem> | ||
| 363 | </itemizedlist> | ||
| 364 | |||
| 365 | <itemizedlist> | ||
| 366 | <listitem> | ||
| 367 | <para>SSH Password/Private Key/Passphrase. The Authentication Credentials, use | ||
| 368 | one of the aforementioned as appropriate. Default password is empty.</para> | ||
| 369 | </listitem> | ||
| 370 | </itemizedlist> | ||
| 371 | |||
| 372 | <itemizedlist> | ||
| 373 | <listitem> | ||
| 374 | <para>Device Calls Home. This checkbox indicates the direction of device | ||
| 375 | communications. When cleared, the uCPE Manager will initiate a connection to | ||
| 376 | the device. When checked, the device will initiate a connection by opening a | ||
| 377 | socket to the uCPE Manager for NETCONF traffic (over SSH), while the uCPE | ||
| 378 | Manager waits for device connection.</para> | ||
| 379 | </listitem> | ||
| 380 | </itemizedlist> | ||
| 381 | |||
| 382 | <itemizedlist> | ||
| 383 | <listitem> | ||
| 384 | <para>Device ID. The unique instance ID of the device. This is what links a | ||
| 385 | device to its day-0 configuration (stored in the offline configuration system). | ||
| 386 | It is a required field if you want to perform Zero-Touch Provisioning.</para> | ||
| 387 | </listitem> | ||
| 388 | </itemizedlist> | ||
| 389 | </section> | ||
| 390 | |||
| 391 | <section id="offline_configuration"> | ||
| 392 | <title>Offline Configuration</title> | ||
| 393 | |||
| 394 | <para>The Offline Configuration subsystem (which is designed as a uCPE | ||
| 395 | Manager Application Module) is used to pre-populate a configuration for | ||
| 396 | a device that will be brought under management at a future point in | ||
| 397 | time. When creating an offline configuration store, an optional<literal> | ||
| 398 | Device ID</literal> can be specified - this ID uniquely identifies the | ||
| 399 | device to be initialized.</para> | ||
| 400 | |||
| 401 | <para>Use the GUI (shown below) launched by the <literal>Applications | ||
| 402 | -> Offline Config -> Add</literal> menu:</para> | ||
| 403 | |||
| 404 | <figure> | ||
| 405 | <title>Onboard New VNF</title> | ||
| 406 | |||
| 407 | <mediaobject> | ||
| 408 | <imageobject> | ||
| 409 | <imagedata align="center" fileref="images/offline_config.png" | ||
| 410 | scale="80" /> | ||
| 411 | </imageobject> | ||
| 412 | </mediaobject> | ||
| 413 | </figure> | ||
| 414 | |||
| 415 | <para>Specify the exact value of the <literal>Device ID</literal> in the | ||
| 416 | required field. This will tag the device needed for the initial configuration | ||
| 417 | provided by the offline configuration store. Choose <literal>Merge</literal> as | ||
| 418 | the Default Upload Method if you do not want any boot configuration set on the | ||
| 419 | device, to be wiped out. Selecting <literal>Replace</literal> will set the | ||
| 420 | entire device configuration to match values in the offline configuration.</para> | ||
| 421 | |||
| 422 | <para>After creating the Offline Config Store, access the device through <literal> | ||
| 423 | Applications -> offline config -> Config App</literal> and provision it with the | ||
| 424 | required initial configuration. This operation mirrors what happens during regular | ||
| 425 | offline configuration.</para> | ||
| 426 | |||
| 427 | <para>Now that the store has been provisioned successfully, it is ready to send | ||
| 428 | this configuration to the device when it first comes online.</para> | ||
| 429 | </section> | ||
| 430 | |||
| 431 | <section id="initial_communications"> | ||
| 432 | <title>Initial Communications</title> | ||
| 433 | |||
| 434 | <para>There are two possible paths to this process, depending upon | ||
| 435 | whether or not NETCONF Call-Home functionality is used:</para> | ||
| 436 | |||
| 437 | <orderedlist> | ||
| 438 | <listitem> | ||
| 439 | <para>If Call-Home is not enabled/supported, the uCPE Manager creates a SSH | ||
| 440 | session to the device over the port configured through the <literal>Add Device | ||
| 441 | </literal> process (default 830). It then initiates NETCONF communications over | ||
| 442 | this session.</para> | ||
| 443 | </listitem> | ||
| 444 | |||
| 445 | <listitem> | ||
| 446 | <para>If the device uses Call-Home, it creates a socket connection to port 4334 | ||
| 447 | on the management system which runs the uCPE Manager. The uCPE Manager then | ||
| 448 | creates a SSH session over this socket and initiates NETCONF communications as | ||
| 449 | a client.</para> | ||
| 450 | </listitem> | ||
| 451 | </orderedlist> | ||
| 452 | |||
| 453 | <para>Once communications with the device have been established, the | ||
| 454 | Device Manager will try and connect to it.</para> | ||
| 455 | </section> | ||
| 308 | </section> | 456 | </section> |
| 309 | </chapter> | 457 | </chapter> |
diff --git a/doc/book-enea-nfv-access-getting-started/doc/images/add_a_device.png b/doc/book-enea-nfv-access-getting-started/doc/images/add_a_device.png new file mode 100755 index 0000000..cb240b6 --- /dev/null +++ b/doc/book-enea-nfv-access-getting-started/doc/images/add_a_device.png | |||
| Binary files differ | |||
diff --git a/doc/book-enea-nfv-access-getting-started/doc/images/customized_parameters.png b/doc/book-enea-nfv-access-getting-started/doc/images/customized_parameters.png new file mode 100755 index 0000000..cf36244 --- /dev/null +++ b/doc/book-enea-nfv-access-getting-started/doc/images/customized_parameters.png | |||
| Binary files differ | |||
diff --git a/doc/book-enea-nfv-access-getting-started/doc/images/offline_config.png b/doc/book-enea-nfv-access-getting-started/doc/images/offline_config.png new file mode 100755 index 0000000..280d004 --- /dev/null +++ b/doc/book-enea-nfv-access-getting-started/doc/images/offline_config.png | |||
| Binary files differ | |||
