Module - tripleo_composable_network

This module provides for the following ansible plugin:

  • tripleo_composable_network

Module Documentation

Create a TripleO Composable network, a network, one or more segments and one or more subnets

Options

net_data

Structure describing a TripleO composable network

idx

TripleO network index number

Authors

Harald Jensås <hjensas@redhat.com>

Example Tasks

- name: Create composable networks
  default_network:
    description:
    - Default control plane network
    type: string
    default: ctlplane
  tripleo_composable_network:
    net_data:
      name: Storage
      name_lower: storage
      dns_domain: storage.localdomain.
      mtu: 1442
      subnets:
        storage_subnet:
          ip_subnet: 172.18.0.0/24
          gateway_ip: 172.18.0.254
          allocation_pools:
          - start: 172.18.0.10
            end: 172.18.0.250
          routes:
          - destination: 172.18.1.0/24
            nexthop: 172.18.0.254
          vip: true
          vlan: 20
        storage_leaf1:
          ip_subnet: 172.18.1.0/24
          gateway_ip: 172.18.1.254
          allocation_pools:
          - start: 172.18.1.10
            end: 172.18.1.250
          routes:
          - destination: 172.18.0.0/24
            nexthop: 172.18.1.254
          vip: false
          vlan: 21
    idx: 1