737 Commits

Author SHA1 Message Date
Stephen Balukoff
e9a1fe240c Specification of reference haproxy amphora API
Contains the specification of the initial version of
the haproxy amphora RESTful API. Note that this is likely
to be expanded upon later as amphora lifecycle concerns and
network integration strategy become more concrete.

Implements: bp/appliance-api

Change-Id: Iecc2149c5c89fbdc98a3657f32940b30c8169fdb
2015-02-17 11:23:14 -08:00
Jenkins
ade64e7bc0 Merge "Octavia Controller Worker specification" 2015-02-17 04:25:10 +00:00
Doug Wiegley
37630493f5 Tweak requirements to be compatible with global-requirements
Change-Id: Ife81d109b61d3c24a594e7f6e582e064f161140f
2015-02-16 12:34:40 -07:00
Michael Johnson
e19428eea4 Octavia Controller Worker specification
Initial draft of a spec for the Controller Worker, formerly known as
deploy-worker.

Change-Id: If17bac321275b6cc1137574f37837dfe220606d8
2015-01-29 23:05:11 +00:00
Jenkins
9ff7290078 Merge "Interface specification for housekeeping manager" 2015-01-28 05:29:13 +00:00
Al Miller
abd660cbcd Interface specification for housekeeping manager
This specification defines the housekeeping manager and related classes.
It will describe how pools of resources will be managed so that they
contain appropriate numbers of elements.

Change-Id: I7b17b92b2bca1b0aa696e39d955df49e7cda6f0d
2015-01-22 20:33:57 -08:00
Jenkins
c9d74f34bc Merge "Queue Consumer Specification" 2015-01-22 23:08:31 +00:00
Jorge Miramontes
8ed1fd389c Queue Consumer Specification
This specification defines how Oslo messages will be
consumed and delegated to deploy workers on the
controller nodes.

Fixed spelling issues in controller spec
Renamed API Manager to Queue Consumer in controller
    spec and graphviz file

Change-Id: I23292b3580cad2ee9b327de021b806d7b2449c38
2015-01-22 16:53:49 -06:00
German Eichberger
4ebc80e9d0 Patches nova client to work with HP Cloud
- nova v2 only
- network instead of interfaces

Change-Id: Ibe7059013fd67be81b5aa183457d66a69ecc0ab8
2015-01-21 09:21:44 -08:00
Jenkins
88cdb78acc Merge "Update certificate generator implementations" 2015-01-14 19:03:49 +00:00
Adam Harwell
eef90e4962 Update certificate generator implementations
Add PK+Cert generation implementations.

Change-Id: I66d8e202d7d3db55538e8fa8fd16b9e95acb8816
2015-01-14 12:35:29 -06:00
Jenkins
e21049d274 Merge "Change back the amhora driver interface" 2015-01-14 14:05:12 +00:00
Jenkins
2fa5fa4c9e Merge "Removes flows from the amphora-driver-interface" 2015-01-14 08:08:54 +00:00
Jenkins
f123d4e1cf Merge "Updates the controller spec to clarify API Manager" 2015-01-14 08:02:58 +00:00
Jenkins
2da46aafe6 Merge "Common TLS utilies" 2015-01-14 08:02:52 +00:00
Jenkins
c4dc852f10 Merge "Nova driver implementation" 2015-01-14 06:56:45 +00:00
Trevor Vardeman
0053509489 Nova driver implementation
Added nova_driver for amphora creation through nova
Added amphora types list and an entry for Virtual Machine type to constants
Added nova version list and available versions to constants
Added amphora status list and UP/DOWN statuses to constants
Added to amphora data_model for reuse in response from nova_driver
Added testing for nova_driver

Change-Id: I6c45dae5dbdd39515f9db02e8765d68871da2762
Partially-Implements: blueprint nova-compute-driver
2015-01-13 16:43:48 -06:00
Brandon Logan
e7cad32fb9 Fixed my alembic version fail
op.batch_alter_table needs alembic 0.7. Also antoher review
merged before the one that added the update_vip migration
so it needed to be relinked.

Change-Id: Ib88570e06e6d99e14482dfe2a8b1853b5da83b16
2015-01-13 22:30:19 +00:00
Michael Johnson
e1fd87ae4c Updates the controller spec to clarify API Manager
Clarifying the role the API Manager will play in the Octavia
version 0.5 controller.

Change-Id: I1facdbc8d2059fb4dac4f3e9d195a884758ad16d
2015-01-13 18:30:30 +00:00
Carlos D. Garza
6d53b86e4e Common TLS utilies
Change-Id: I25c62a9d7cf23c5f89073929d3a1f511f6281934
2015-01-13 12:20:16 -06:00
German Eichberger
d1601c535c Removes flows from the amphora-driver-interface
* Remove reference to flows
* Added new finalize_amphora_call as taled about in midcycle
* fixed spelling

Change-Id: Iadd4915740ad864408e9b7e495ca0ff99d1ebec9
2015-01-13 09:14:24 -08:00
Brandon Logan
9b989e2f8a Adding network driver interface
Definition of network driver interface.  Also removed
the floating_ip attributes of VIP because they are not
needed at this point.  Also renamed net_port_id to just
port_id and subnet_id to network_id just to be a little
bit more generically clear.

Change-Id: Ic82cb2ab25fbba7dc8caa875552f4caeafb0e4af
Implements: bp/network-driver-interface
2015-01-12 22:40:39 -06:00
Jenkins
53529188d0 Merge "Add nsCertType and ExtendedKey usage extensions to CertGenerator" 2015-01-13 04:14:20 +00:00
Jenkins
58f3770848 Merge "Creation of Octavia API Documentation" 2015-01-13 03:36:02 +00:00
minwang
d14374ae86 Change back the amhora driver interface
This new driver interface has no taskflow, it is based on German's doc.

Change-Id: I11b4d97393edb12519ac4f6616498ff40e0ef6a9
2015-01-12 15:02:51 -08:00
Jenkins
628e611a02 Merge "Renaming amphora.host_id to amphora.compute_id" 2015-01-12 22:23:42 +00:00
Brandon Logan
8721189947 Spec defining the networking driver interface
Change-Id: Iba7c99f5c824018ab78df6aca482955c32b03a40
Implements: bp/network-driver-interface
2015-01-11 00:41:40 -06:00
Brandon Logan
b6ec4e4568 Renaming amphora.host_id to amphora.compute_id
amphora.id was originally intended to be the storage of the
id returned by compute (i.e. nova).  However, octavia will
need to have its own internal id for all amphorae, so amphora.id
cannot be used.  amphora.host_id kind of makes sense for storing
the id returned by the compute service but it would be better
to name it compute_id instead for more clarity.

Change-Id: Ie71235519dc568353670befe2847c6d017291e7f
2015-01-10 23:57:43 -06:00
Trevor Vardeman
cea3d20381 Creation of Octavia API Documentation
Added operator api documentation file

Change-Id: I13a3258200b807f1d011b25574e40affbc9f29d1
2015-01-09 10:20:44 -06:00
Carlos D. Garza
19856c014e Add nsCertType and ExtendedKey usage extensions to CertGenerator
The generated certs should be recognized as client authenticating
certs as well. The x509 should also be version 3.

Change-Id: Iadceba964761548625550d4aa2c5a4ad90e76684
2015-01-09 00:37:26 -06:00
Brandon Logan
c6a3a636cc Removing byte order marker that caused issues
A byte order marker was added into the beginning of the
specs/version0.5/controller.dot file which caused graphviz
2.36 and earlier to fail, which caused sphinx to fail as well.

Change-Id: I431931d32d6db57d10a8ff143c7d9ac2d17ca428
2015-01-06 15:47:06 -06:00
Jenkins
2fc051b911 Merge "Initial amphora status daemon" 2015-01-05 20:03:15 +00:00
Jenkins
2241de18e7 Merge "updates the amphora driver interface spec" 2014-12-30 18:51:20 +00:00
Adam Harwell
5556eeb727 Update TLS Specification
Change-Id: I30c25dc9ba59f9c8a3f7316e38d84dc8dc576406
2014-12-23 01:42:53 -08:00
German Eichberger
5281a1b0a5 updates the amphora driver interface spec
with the lastest from the midcycle
* remove getHealth, getStats
* add getConfiguration
* remove some unneeded exceptions
* make several calls return task flow
  flows

Change-Id: I6a11fac73a696f23f7c4df7410f66ecdd9fcf50e
2014-12-22 10:35:09 -08:00
Michael Johnson
6ab85b6db9 Octavia Controller specification
The specification is the overarching document for the Octavia controller
components.

Change-Id: I57d0192248911d9cb87b04c1919b4002c5fb59bf
2014-12-19 19:38:22 +00:00
Alex Barclay
968904ae48 Initial amphora status daemon
Initial status daemon. What's done:
sends udp to both ipv4 and ipv6
calculates hmac
has config file in json
initial command line arg parsing
a few unit tests

Not done:
config file changes
signal support
communication from API on amphora

Serious work in progress

Change-Id: I1e7759335ac43364d27e3176cf813c4f6ef549cb
2014-12-18 22:53:10 -08:00
Adam Harwell
293f44e211 Add Cert+PK generation to Certificate Interface
Change-Id: I82aa573c7db13c7a491b18540379b234c1023eb9
2014-12-18 12:11:11 -08:00
Brandon Logan
6b511cc113 Added pymysql as default DBAPI
pymysql does not require any system dependencies so it just
requires a pip install unlike MySQL-Python.

Change-Id: I4839e2995869b6dc857052632701affbd9bfcc5e
2014-12-12 16:22:51 -06:00
Brandon Logan
9786021205 Implementing simple operator API
Setup executable to use wsgiref.simple_server
Simple setup of pecan
Defined controllers that define the API resources
Implemented all controllers to manipulate database and send to handler
Added repository methods required for creating multiple items in one transaction
Defined a few API exceptions based of wsme exceptions
Defined the wsme types that define the resource response and request bodies
Defined an abstract handler that all handlers should subclass
Defined a simple handler that is responsible for sending to controller
Added some wsme type tests

Implements: bp/operator-api

Change-Id: I0d91934db47a6e45f0c9ac22089f8689957bd239
2014-12-11 20:22:14 -06:00
Michael Johnson
9df9ff9137 Add Amphora base image creation scripts for Octavia
Implements: blueprint base-image

Change-Id: I3e72db6d2f19fe45138758eb0821e27aa1c2542a
2014-12-11 01:31:19 +00:00
Jorge Miramontes
7a3f947081 Added versioning and migration mandates
Updated HACKING.rst to include mandates
around API versioning and seamless migrations.

Change-Id: Iafb33d7a698b22a84a7b6167792e4d37aed110de
2014-12-05 17:37:38 -06:00
Jenkins
5d7e1ef9ca Merge "Oslo incubator updates" 2014-12-02 19:06:26 +00:00
Doug Wiegley
941c302757 Oslo incubator updates
Change-Id: I9559d8a6d59477f6b5ba3f82ab9ecf9b71b75f70
2014-12-02 12:00:34 -07:00
Doug Wiegley
bf3ef92106 Remove python 2.6 from tox env list
Change-Id: I694034b6d6964cb8301ac3b970c40f21e0822ed8
2014-12-01 21:37:02 -07:00
Jenkins
5ee8024316 Merge "Nova virtual machine driver spec" 2014-11-25 03:23:20 +00:00
Jenkins
57c6b393f9 Merge "Defining interface for compute drivers" 2014-11-25 03:22:52 +00:00
Trevor Vardeman
0c2de55981 Nova virtual machine driver spec
Change-Id: I70bec71d5f41974bd0475016aeb9ce1790a33038
Partially-Implements: blueprint nova-compute-driver
2014-11-19 14:55:18 -06:00
Trevor Vardeman
d3abd7de25 Defining interface for compute drivers
Change-Id: Ib987bcb906248f39a586a79dc4d57a04835a249b
Implements: bp/compute-driver-interface
2014-11-19 14:55:18 -06:00
Adam Harwell
0f7e269821 Barbican implementation for Certificates
A Barbican implementation of CertManager and a placeholder
implementation of CertGenerator (not supported yet).

Change-Id: Icdbf883a733101c84b9a7bb933782ef166b929f7
Partially-implements: blueprint tls-data-security
2014-11-19 14:26:26 -06:00