Unsupported content

 

This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Example of container reprovisioning - adding a NAT address pool

BMC Network Automation allows scaling of Network Address Translation (NAT) pools in a network container by adding additional pools to the container using the same name for the pools, but specifying a unique link ID, thereby creating a chain of pools. A new pool can be added to a chain using the BMC Network Automation reprovision operation and acquired using the BMC Cloud Lifecycle Management reprovision or modify operations.

The following example shows how you can add a NAT pool to a network container.

To add a NAT address pool

  1. Inject a new NAT address pool into the network container blueprint and chain it with the existing NAT pool. A new address pool blueprint can be added to the chain in a new revision of the network container blueprint. The network container can then be reprovisioned with the new revision of the network container blueprint. The example below shows a snippet from the new revision of the network container blueprint.
    Example
    
    <revisionNum>1</revisionNum>
    <addressPoolBlueprint>
        <condition>(-EXISTS- container.nicSegments[Access])</condition>
        <defaultPoolSize>254</defaultPoolSize>
        <name>Access Pool</name>
        <addressSpaceBlueprintName>Access_Space</addressSpaceBlueprintName>
        <natPoolName>External</natPoolName>
    </addressPoolBlueprint>
    <addressPoolBlueprint>
        <condition>(-EXISTS- container.nodes[VFW])</condition>
        <defaultPoolSize>254</defaultPoolSize>
        <linkId>0</linkId>
        <name>External</name>
        <addressSpaceBlueprintName>External_Space</addressSpaceBlueprintName>
    </addressPoolBlueprint>
    <addressPoolBlueprint>
        <condition>(-EXISTS- container.nodes[VFW])</condition>
        <defaultPoolSize>254</defaultPoolSize>
        <linkId>1</linkId>
        <name>External</name>
        <addressSpaceBlueprintName>New_External_Space_1</addressSpaceBlueprintName>
    </addressPoolBlueprint>
    <addressPoolBlueprint>
        <condition>(-EXISTS- container.nodes[VFW])</condition>
        <defaultPoolSize>254</defaultPoolSize>
        <linkId>2</linkId>
        <name>External</name>
        <addressSpaceBlueprintName>New_External_Space_2</addressSpaceBlueprintName>
    </addressPoolBlueprint>
    <addressSpaceBlueprint xsi:type="provisioningAddressSpaceBlueprint"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <condition>(-EXISTS- container.nodes[VFW])</condition>
        <defaultPublicFlag>true</defaultPublicFlag>
        <description>Provisioning Address Space for External and for NATing to Front End</description>
        <name>New_External_Space_1</name>
    </addressSpaceBlueprint>
    <addressSpaceBlueprint xsi:type="provisioningAddressSpaceBlueprint"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <condition>(-EXISTS- container.nodes[VFW])</condition>
        <defaultPublicFlag>true</defaultPublicFlag>
        <description>Provisioning Address Space for External and for NATing to Front End</description>
        <name>New_External_Space_2</name>
    </addressSpaceBlueprint>
    
    For more information, see Scaling NAT address pools.
  2. Re-import the blueprint into BMC Network Automation.
  3. From the BMC Cloud Lifecycle Management Administration Console, click the vertical Workspaces menu on the left side of the window and select Resources.
  4. Re-onboard the blueprint.
  5. Under Quick Links on the left, click Network Containers under the General section.
  6. Select the network container to which you want to add the new NAT pool.
  7. Click the Reprovision Network Container icon to launch the Reprovision Network Container dialog.
    The Reprovision Network Container dialog is displayed.
  8. Select the blueprint version to which you want to reprovision the network container.
  9. Click Reprovision.
  10. Once the network container is reprovisioned, you can edit the container and add the new NAT pool:
    1. On the Edit network container dialog box, locate the Add NAT Address Pools section.
    2. Enter the following information under Add NAT Address Pools:
      • Address — Enter a single IP address to identify the starting point of the address range.
      • Mask — 24- or 32-bit mask that divides the IP address into subnets and identifies the available hosts in the network.
    3. Click Add to add the new NAT Address Pool. The Address in combination with the Mask defines the address range to be allocated for the network container.

      Note

      You cannot add more NAT pools than the number of pools that are defined in the blueprint.

    4. Click Next to proceed to the Dynamic Containers dialog box.
    5. Make any adjustments to the dynamic containers, and click Save.
Was this page helpful? Yes No Submitting... Thank you

Comments