Files
fuel-plugin-contrail/doc/source/using_network_templates.rst
Alexander Adamov a87085ef13 Contrail 4.0-4.0.0-1 Plugin Guide review
Change-Id: I4f60cf1ffedfad7c804d4e45807a1a0e6db0c745
Signed-off-by: Illia Polliul <ipolliul@mirantis.com>
2016-06-22 17:31:05 +03:00

1.7 KiB

Use network templates

Starting from Fuel 7.0, you can reduce the number of logical networks using network templates.

This document provides a sample configuration with a network template to get customers up and running quickly.

The provided template utilizes three networks: Admin (PXE), Public, and Private.

To use the network template:

  1. Perform steps 5.3.1 - 5.3.7 from /install_guide

  2. Configure interfaces as shown on figure:

    image

  1. Set a gateway for the private network:

    1. Login with ssh to Fuel master node.
    2. List existing network-groups:
      fuel network-group --env 1
    3. Remove and create again network-group private to set a gateway:
      fuel network-group --delete --network 5
      fuel network-group --create --name private \
      --cidr 10.109.3.0/24 --gateway 10.109.3.1 --nodegroup 1
  2. Set the render_addr_mask parameter to internal for this network by typing: :

    fuel network-group --set --network 6 \
    --meta '{"name": "private", "notation": "cidr",\
      "render_type": null, "map_priority": 2, \
      "configurable": true, "use_gateway": true,\
      "render_addr_mask": "internal", "vlan_start": null, \
      "cidr": "10.109.3.0/24"}'
  3. Save sample network template<examples/network_template_1.yaml>

  4. Upload the network template by typing: :

    fuel --env 1 network-template --upload --dir /root/
  5. Start deployment by pressing Deploy changes button.