All Projects → ansible-community → molecule-openstack

ansible-community / molecule-openstack

Licence: MIT license
Molecule OpenStack Driver

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to molecule-openstack

molecule-hetznercloud
Molecule Hetzner Cloud driver 💀
Stars: ✭ 21 (+40%)
Mutual labels:  molecule, molecule-driver
molecule-ec2
molecule-ec2
Stars: ✭ 46 (+206.67%)
Mutual labels:  molecule, molecule-driver
molecule-libvirt
Molecule LibVirt Provider
Stars: ✭ 35 (+133.33%)
Mutual labels:  molecule, molecule-driver
CGCF-ConfGen
🧪 Learning Neural Generative Dynamics for Molecular Conformation Generation (ICLR 2021)
Stars: ✭ 41 (+173.33%)
Mutual labels:  molecule
panel-chemistry
🧪📈 🐍. The purpose of the panel-chemistry project is to make it really easy for you to do DATA ANALYSIS and build powerful DATA AND VIZ APPLICATIONS within the domain of Chemistry using using Python and HoloViz Panel.
Stars: ✭ 94 (+526.67%)
Mutual labels:  molecule
xyz2graph
Convert an xyz file into a molecular graph and create a 3D visualisation of the graph.
Stars: ✭ 36 (+140%)
Mutual labels:  molecule
ansible-haproxy
Ansible HAproxy role for Unified OpenStack Installer and others.
Stars: ✭ 35 (+133.33%)
Mutual labels:  molecule
ansible-role-fail2ban
Install and configure fail2ban on your system.
Stars: ✭ 42 (+180%)
Mutual labels:  molecule
apbcss
APB CSS - Atomic Parts Base CSS -
Stars: ✭ 40 (+166.67%)
Mutual labels:  molecule
keras-neural-graph-fingerprint
Keras implementation of Neural Graph Fingerprints as proposed by Duvenaud et al., 2015
Stars: ✭ 47 (+213.33%)
Mutual labels:  molecule
ansible-role-dns
Install and configure dns on your system.
Stars: ✭ 39 (+160%)
Mutual labels:  molecule
molecule-docker
Molecule Docker Driver allows molecule users to test Ansible code using docker containers.
Stars: ✭ 71 (+373.33%)
Mutual labels:  molecule-driver
Version3
Version 3 of Chem4Word - A Chemistry Add-In for Microsoft Word
Stars: ✭ 53 (+253.33%)
Mutual labels:  molecule
MolecularGraph.jl
Graph-based molecule modeling toolkit for cheminformatics
Stars: ✭ 144 (+860%)
Mutual labels:  molecule
Molecules Dataset Collection
Collection of data sets of molecules for a validation of properties inference
Stars: ✭ 69 (+360%)
Mutual labels:  molecule
molecule-demo
Molecule for Ansible Role Testing Demonstration for AnsibleFest 2017
Stars: ✭ 18 (+20%)
Mutual labels:  molecule
ansible-tinc
Role to install tinc in a star/ring topology (w/ leaf/spine) (based on your variables)
Stars: ✭ 15 (+0%)
Mutual labels:  molecule
ansible-coredns
Ansible provisioning of CoreDNS
Stars: ✭ 25 (+66.67%)
Mutual labels:  molecule
ansible-role-dsvpn
Install and configure dsvpn on your system.
Stars: ✭ 18 (+20%)
Mutual labels:  molecule
ansible-blackbox-exporter
Blackbox prober exporter
Stars: ✭ 60 (+300%)
Mutual labels:  molecule

Molecule OpenStack Plugin

PyPI Package Python Black Code Style Ansible Code of Conduct Ansible mailing lists Repository License

Molecule OpenStack is designed to allow use of OpenStack Clouds for provisioning test resources.

Please note that this driver is currently in its early stage of development.

Installation and Usage

Install molecule-openstack and pre-requisites:

pip install molecule-openstack ansible openstacksdk

Create a new role with molecule using the openstack driver:

molecule init role <role_name> -d openstack

Configure <role_name>/molecule/default/molecule.yaml with required parameters based on your openstack cloud. A simple config is:

dependency:
   name: galaxy
driver:
   name: openstack
platforms:
- name: molecule-foo
   image: "ubuntu"
   flavor: "m1.medium"
   network: "private"
   fip_pool: "public"
   ssh_user: "ubuntu"
provisioner:
   name: ansible
verifier:
   name: ansible

Argument fip_pool in only required when network is not an external network. Instead of configuring <role_name>/molecule/default/molecule.yaml the following environment variables can be exported:

$ export MOLECULE_OPENSTACK_IMAGE=ubuntu
$ export MOLECULE_OPENSTACK_FLAVOR=m1.medium
$ export MOLECULE_OPENSTACK_NETWORK=private
$ export MOLECULE_OPENSTACK_FIP_POOL=public
$ export MOLECULE_OPENSTACK_SSH_USER=ubuntu

After this molecule can be run from the base-dir of the role:

source ~/.openrc
molecule test

Functional Tests

Functional tests can be run with tox but require access to an openstack cluster. They are not part of ci yet. To run them locally:

$ export MOLECULE_OPENSTACK_IMAGE=<image_name>
$ export MOLECULE_OPENSTACK_FLAVOR=<flavor>
$ export MOLECULE_OPENSTACK_NETWORK=<network>
$ export MOLECULE_OPENSTACK_FIP_POOL=<fip_pool_if_required>
$ export MOLECULE_OPENSTACK_SSH_USER=<ssh_user>

$ source openstack_openrc.sh

$ tox -e py38-functional   # or 39,310

Get Involved

License

The MIT License.

The logo is licensed under the Creative Commons NoDerivatives 4.0 License.

If you have some other use in mind, contact us.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].