Switch over to the new plugin style as documented here: http://docs.openstack.org/developer/devstack/plugins.html Makes it very easy to setup a CI job. Added a new directory for functional job and the tests are run from the post_test_hook.sh. There's even a "magnum bay-list" in the shell script to show that we are actually making calls to the magnum API endpoint and things are working fine. Note that this is just the minimal plumbing needed and there's a lot more effort needed to come up with proper test cases for testing magnum functionality. Closes-Bug: #1439621 Change-Id: I88d45015338ef55713b32de196f9071c8fc2031b
|6 years ago|
|contrib/devstack||6 years ago|
|devstack||6 years ago|
|doc/source||6 years ago|
|etc/magnum||6 years ago|
|magnum||6 years ago|
|specs||6 years ago|
|tools||6 years ago|
|.coveragerc||7 years ago|
|.gitignore||7 years ago|
|.gitreview||6 years ago|
|.mailmap||7 years ago|
|.testr.conf||6 years ago|
|CONTRIBUTING.rst||7 years ago|
|Dockerfile||7 years ago|
|HACKING.rst||7 years ago|
|LICENSE||7 years ago|
|MANIFEST.in||7 years ago|
|README.rst||6 years ago|
|babel.cfg||7 years ago|
|openstack-common.conf||6 years ago|
|requirements.txt||7 years ago|
|setup.cfg||7 years ago|
|setup.py||7 years ago|
|test-requirements.txt||7 years ago|
|tox.ini||7 years ago|
new Openstack project for containers.
- Free software: Apache license
- Documentation: http://docs.openstack.org/developer/magnum
- Source: http://git.openstack.org/cgit/openstack/magnum
- Bugs: http://bugs.launchpad.net/magnum
- ReST Client: http://git.openstack.org/cgit/openstack/python-magnumclient
There are seven different types of objects in the Magnum system:
- Bay: A collection of node objects where work is scheduled
- BayModel: An object stores template information about the bay which is used to create new bays consistently
- Node: A baremetal or virtual machine where work executes
- Pod: A collection of containers running on one physical or virtual machine
- Service: An abstraction which defines a logical set of pods and a policy by which to access them
- ReplicationController: An abstraction for managing a group of PODs to ensure a specified number of PODs are running
- Container: A docker container
Two binaries work together to compose the Magnum system. The first binary accessed by the python-magnumclient code is the magnum-api ReST server. The ReST server may run as one process or multiple processes. When a ReST request is sent to the client API, the request is sent via AMQP to the magnum-conductor process. The ReST server is horizontally scalable. At this time, the conductor is limited to one process, but we intend to add horizontal scalability to the conductor as well.
The magnum-conductor process runs on a controller machine and connects to a kubernetes or docker ReST API endpoint. The kubernetes and docker ReST API endpoints are managed by the bay object.
When service or pod objects are created, Kubernetes is directly contacted via the k8s ReST API. When container objects are acted upon, the docker ReST API is directly contacted.
- Abstractions for bays, containers, nodes, pods, and services
- Integration with Kubernetes and Docker for backend container technology.
- Integration with Keystone for multi-tenant security.
- Integration with Neutron for k8s multi-tenancy network security.
Installation and Usage
- Getting Started Guides: http://git.openstack.org/cgit/openstack/magnum/tree/doc/source/dev/dev-quickstart.rst