[Openstack-operators] Provider Networks Help

Matthew John JohnMP at cardiff.ac.uk
Thu Aug 9 17:01:50 UTC 2018


Hi,


I have setup an OpenStack cloud using OpenStack-Ansible but having issues setting up networking. I need to have two external networks e.g. 10.1.0.0/24 & 10.2.0.0/24 that are accessible to instances. I have two bridges, br-ex and br-ex2, setup on the infra nodes that are able to access the 10.1.0.0/24 & 10.2.0.0/24 ranges respectively.


I am guessing that I need to add another two flat networks to the provider_networks?


The current provider_networks configuration is:


 provider_networks:
    - network:
        container_bridge: "br-mgmt"
        container_type: "veth"
        container_interface: "eth1"
        ip_from_q: "container"
        type: "raw"
        group_binds:
          - all_containers
          - hosts
        is_container_address: true
        is_ssh_address: true
    - network:
        container_bridge: "br-vxlan"
        container_type: "veth"
        container_interface: "eth10"
        ip_from_q: "tunnel"
        type: "vxlan"
        range: "1:1000"
        net_name: "vxlan"
        group_binds:
          - neutron_linuxbridge_agent
    - network:
        container_bridge: "br-vlan"
        container_type: "veth"
        container_interface: "eth12"
        host_bind_override: "eth12"
        type: "flat"
        net_name: "flat"
        group_binds:
          - neutron_linuxbridge_agent
    - network:
        container_bridge: "br-vlan"
        container_type: "veth"
        container_interface: "eth11"
        type: "vlan"
        range: "101:200,301:400"
        net_name: "vlan"
        group_binds:
          - neutron_linuxbridge_agent
    - network:
        container_bridge: "br-storage"
        container_type: "veth"
        container_interface: "eth2"
        ip_from_q: "storage"
        type: "raw"
        group_binds:
          - glance_api
          - cinder_api
          - cinder_volume
          - nova_compute


Cheers,

Matt

---
Dr Matt John
Engineer (Service Delivery - COMSC)
School of Computer Science & Informatics
Cardiff University, 5 The Parade, Cardiff, CF24 3AA
Tel: +44 2920 876536
JohnMP at cardiff.ac.uk
The University welcomes correspondence in Welsh or English. Corresponding in Welsh will not lead to any delay.

Dr Matt John
Peiriannydd (Cyflwyno Gwasanaeth - COMSC)
Ysgol Cyfrifiadureg a Gwybodeg
Prifysgol Caerdydd, 5 The Parade, Caerdydd, CF24 3AA
Ffôn : +44 2920 876536
JohnMP at caerdydd.ac.uk
Mae'r Brifysgol yn croesawu gohebiaeth yn Gymraeg neu'n Saesneg. Ni fydd gohebu yn Gymraeg yn creu unrhyw oedi.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20180809/bb7ddd1a/attachment.html>


More information about the OpenStack-operators mailing list