https://github.com/midonet/ansible-midonet-gateway
Ansible role for midonet gateways
https://github.com/midonet/ansible-midonet-gateway
ansible
Last synced: 4 months ago
JSON representation
Ansible role for midonet gateways
- Host: GitHub
- URL: https://github.com/midonet/ansible-midonet-gateway
- Owner: midonet
- Created: 2016-10-20T15:06:18.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-11-30T10:00:04.000Z (over 9 years ago)
- Last Synced: 2025-03-11T01:37:05.980Z (over 1 year ago)
- Topics: ansible
- Language: Ruby
- Size: 25.4 KB
- Stars: 1
- Watchers: 10
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://travis-ci.org/midonet/ansible-midonet-gateway)
midonet-gateway
=============
Ansible role for midonet gateways.
Provides either a static or dynamic (BGP) setup for the edge networking.
Requirements
------------
Ubuntu Trusty, Ubuntu Xenial or RedHat/CentOS 7
Role Variables
--------------
* Required:
Keystone credentials.
* Not Required:
By default, the role will setup an static gateway with the default settings as
described in Midonet documentation.
To setup a BGP environment, a simple set of variables is needed, see example.
All variants create an external network, an edge router and all the virtual
topology required in a 'clean' deployment.
Dependencies
------------
Midonet repositories ( midonet.midonet-repos )
Midonet agent
Example Playbook
----------------
Static gateway:
```
- hosts: gateway
roles:
- role: midonet.midonet-gateway
```
BGP setup:
```
- hosts: gateway
roles:
- role: midonet.midonet-gateway
midonet_gateway_bgp: True
midonet_gateway_uplink_network_cidr: '10.88.88.0/24'
midonet_gateway_uplinks:
- iface: 'eth1'
ip: '10.88.88.1'
midonet_gateway_bgp_peers:
- name: 'Peer1'
ip: '10.88.88.2'
remote_as: 4001
- name: 'Peer2'
ip: '10.88.88.3'
remote_as: 4002
```
License
-------
Apache 2.0