Add network ranges

Add network rangesΒΆ

Caution

The Fuel command-line interface has been updated. Although old fuel commands are still available, we recommend that you use the new fuel2 commands instead. See the Fuel CLI commands comparison matrix.

To add network ranges, edit the network configuration file: add the IP network range to ip_ranges and change notation from cidr to ip_ranges.

Step-by-step:

  1. On the Fuel Master node, download the network configuration file:

    fuel network --env <ENV-ID> -d
    

    where <ENV_ID> is the ID of the environment (a number) that you can get by issuing the fuel env command.

    For example:

    fuel network --env 1 -d
    
  2. Open the downloaded /root/network_<ENV-ID>.yaml file for editing.

  3. Add your list of IP network ranges under the ip_ranges parameter.

    Sample:

    ip_ranges:
    - - 192.168.0.1
      - 192.168.0.90
    - - 192.168.0.100
      - 192.168.0.254
    
  4. In the same network configuration file, change notation: cidr to notation: ip_ranges.

    Sample:

    meta:
      cidr: 192.168.0.0/24
      configurable: true
      map_priority: 2
      name: management
      notation: ip_ranges
      render_addr_mask: internal
    
  5. Upload the edited network configuration file:

    fuel network --env <ENV-ID> -u
    
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.

Contents