Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/erj826/weaas

Watch Endpoints as a Service
https://github.com/erj826/weaas

hat kuryr on openshift openstack red redhat

Last synced: 8 days ago
JSON representation

Watch Endpoints as a Service

Awesome Lists containing this project

README

        

# WEaaS                                                                    

Watch Endpoints as a Service project for Red Hat. WEaaS is for use with Kuryr and OpenStack.

WEaaS (a.k.a stop polling all the things) is offered as a more efficient alternative to monitor endpoints by tapping directly into Neutron's messaging queue. Currently, the Kuryr Controller polls the Neutron using the OpenStack API to watch for networking events.
By communicating directly with RabbitMQ, OpenStack's messaging service, WEaaS is able to return endpoint information faster than polling.

Intended client: Kuryr Controller

## Supported Endpoints
* Neutron:
* port

More info [here](https://docs.openstack.org/python-openstackclient/pike/cli/command-objects/port.html).

* LBaaS v2:
* loadbalancer
* listener
* pool
* member

More info [here](https://docs.openstack.org/mitaka/networking-guide/config-lbaas.html).

## Usage

### Setting up Authentication:
[Request a token using the Keystone api.](https://docs.openstack.org/keystone/pike/api_curl_examples.html)

### Admin:
#### To start up the gunicorn app server, run:
`gunicorn -b 127.0.0.1:5000 --threads 8 watchEndpoints:app`

More info on gunicorn args [here](http://docs.gunicorn.org/en/stable/settings.html).

### Client:
USing the API with Keystone authentication (for example):

`curl http://127.0.0.1:5000/$some_endpoint -H "X-Auth-Token: $A_VALID_TOKEN"`

_Notes:_

     _Client connections and server may be terminated by a keyboard interrupt_

***

## WEaaS Developer Guide

### Project Architecture:

***