diff --git a/README.md b/README.md index 7be9fa1..648060d 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,17 @@ +# About the PLUMgrid Platform + +The [PLUMgrid Platform](http://www.plumgrid.com/technology/plumgrid-platform/) is a software-only solution that provides a rich set of distributed network functions such as routers, switches, NAT, IPAM, DHCP, and it also supports security policies, end-to-end encryption, and third party Layer 4-7 service insertion. + +## About Plumgrid Director + +The Director is the brain of the PLUMgrid Platform. It is responsible for coordinating and managing all the other platform components. Based on PLUMgrid's distributed system architecture, it provides built-in high availability and scaling. The Director allows you to create Virtual Domains on a per tenant or application basis. + + # Overview Once deployed this charm performs the configurations required for a PLUMgrid Director and starts the essential services on the node. + # Usage Instructions on using the charm: diff --git a/tests/files/plumgrid-director-dense.yaml b/tests/files/plumgrid-director-dense.yaml new file mode 100644 index 0000000..1c00fa3 --- /dev/null +++ b/tests/files/plumgrid-director-dense.yaml @@ -0,0 +1,133 @@ +test: + series: 'trusty' + relations: + - - mysql + - keystone + - - nova-cloud-controller + - mysql + - - nova-cloud-controller + - rabbitmq-server + - - nova-cloud-controller + - glance + - - nova-cloud-controller + - keystone + - - nova-compute + - nova-cloud-controller + - - nova-compute + - mysql + - - nova-compute + - rabbitmq-server + - - nova-compute + - glance + - - glance + - mysql + - - glance + - keystone + - - glance + - cinder + - - mysql + - cinder + - - cinder + - rabbitmq-server + - - cinder + - nova-cloud-controller + - - cinder + - keystone + - - openstack-dashboard + - keystone + - - neutron-api + - mysql + - - neutron-api + - keystone + - - neutron-api + - rabbitmq-server + - - neutron-api + - nova-cloud-controller + - - neutron-api + - neutron-api-plumgrid + - - neutron-api-plumgrid + - plumgrid-edge + - - plumgrid-director + - plumgrid-edge + - - nova-compute + - plumgrid-edge + - - plumgrid-director + - plumgrid-gateway + services: + mysql: + charm: cs:trusty/mysql + num_units: 1 + to: 'lxc:plumgrid-director=0' + rabbitmq-server: + charm: cs:trusty/rabbitmq-server + num_units: 1 + to: 'lxc:plumgrid-director=0' + keystone: + charm: cs:trusty/keystone + num_units: 1 + options: + admin-password: plumgrid + openstack-origin: cloud:trusty-kilo + to: 'lxc:plumgrid-director=0' + nova-cloud-controller: + charm: cs:trusty/nova-cloud-controller + num_units: 1 + options: + console-access-protocol: novnc + network-manager: Neutron + openstack-origin: cloud:trusty-kilo + quantum-security-groups: 'yes' + to: 'lxc:plumgrid-director=0' + glance: + charm: cs:trusty/glance + num_units: 1 + options: + openstack-origin: cloud:trusty-kilo + to: 'lxc:plumgrid-director=0' + openstack-dashboard: + charm: cs:trusty/openstack-dashboard + num_units: 1 + options: + openstack-origin: cloud:trusty-kilo + to: 'lxc:plumgrid-director=0' + cinder: + charm: cs:trusty/cinder + num_units: 1 + options: + openstack-origin: cloud:trusty-kilo + to: 'lxc:plumgrid-director=0' + neutron-api: + charm: cs:~plumgrid-team/trusty/neutron-api + num_units: 1 + options: + neutron-plugin: plumgrid + neutron-security-groups: false + openstack-origin: cloud:trusty-kilo + plumgrid-password: plumgrid + plumgrid-username: plumgrid + plumgrid-virtual-ip: 192.168.100.250 + to: 'lxc:plumgrid-director=0' + neutron-api-plumgrid: + charm: cs:~plumgrid-team/trusty/neutron-api-plumgrid + options: + enable-metadata: True + plumgrid-director: + charm: cs:~plumgrid-team/trusty/plumgrid-director + num_units: 1 + constraints: "root-disk=30G mem=8G cpu-cores=8" + options: + plumgrid-virtual-ip: 192.168.100.250 + nova-compute: + charm: cs:~plumgrid-team/trusty/nova-compute + num_units: 1 + options: + enable-live-migration: true + enable-resize: true + migration-auth-type: ssh + openstack-origin: cloud:trusty-kilo + to: '0' + plumgrid-edge: + charm: cs:~plumgrid-team/trusty/plumgrid-edge + plumgrid-gateway: + charm: cs:~plumgrid-team/trusty/plumgrid-gateway + num_units: 1 diff --git a/tests/files/plumgrid-director.yaml b/tests/files/plumgrid-director.yaml index a8e2245..a1a870f 100644 --- a/tests/files/plumgrid-director.yaml +++ b/tests/files/plumgrid-director.yaml @@ -57,18 +57,15 @@ test: mysql: charm: cs:trusty/mysql num_units: 1 - to: 'lxc:plumgrid-director=0' rabbitmq-server: charm: cs:trusty/rabbitmq-server num_units: 1 - to: 'lxc:plumgrid-director=0' keystone: charm: cs:trusty/keystone num_units: 1 options: admin-password: plumgrid openstack-origin: cloud:trusty-kilo - to: 'lxc:plumgrid-director=0' nova-cloud-controller: charm: cs:trusty/nova-cloud-controller num_units: 1 @@ -77,25 +74,21 @@ test: network-manager: Neutron openstack-origin: cloud:trusty-kilo quantum-security-groups: 'yes' - to: 'lxc:plumgrid-director=0' glance: charm: cs:trusty/glance num_units: 1 options: openstack-origin: cloud:trusty-kilo - to: 'lxc:plumgrid-director=0' openstack-dashboard: charm: cs:trusty/openstack-dashboard num_units: 1 options: openstack-origin: cloud:trusty-kilo - to: 'lxc:plumgrid-director=0' cinder: charm: cs:trusty/cinder num_units: 1 options: openstack-origin: cloud:trusty-kilo - to: 'lxc:plumgrid-director=0' neutron-api: charm: cs:~plumgrid-team/trusty/neutron-api num_units: 1 @@ -106,7 +99,6 @@ test: plumgrid-password: plumgrid plumgrid-username: plumgrid plumgrid-virtual-ip: 192.168.100.250 - to: 'lxc:plumgrid-director=0' neutron-api-plumgrid: charm: cs:~plumgrid-team/trusty/neutron-api-plumgrid options: @@ -124,7 +116,6 @@ test: enable-resize: true migration-auth-type: ssh openstack-origin: cloud:trusty-kilo - to: '0' plumgrid-edge: charm: cs:~plumgrid-team/trusty/plumgrid-edge plumgrid-gateway: diff --git a/tests/test.yaml b/tests/test.yaml new file mode 100644 index 0000000..15f8f66 --- /dev/null +++ b/tests/test.yaml @@ -0,0 +1,2 @@ +makefile: + - lint