openstack-charmers / charm-arista-virt-test-fixture

1 stars 0 forks source link

Arista test fixture

This Juju charm installs KVM, runs an Arista CVX virtual machine on top of it and exposes its API (named eAPI). This allows you to easily implement and validate software talking to Arista's eAPI, like this OpenStack Neutron plugin.

It can be deployed on OpenStack. In other words it can run Arista CVX on KVM on KVM.

This charm is implemented with the Operator framework.

Deploying

$ juju deploy cs:~openstack-charmers-next/arista-virt-test-fixture  \
      --constraints mem=4G                                          \
      --resource arista-image=/path/to/arista-cvx-virt-test.qcow2
$ juju status | grep ready
arista-virt-test-fixture/0*  active    idle   0        172.20.0.12            Unit is ready
$ curl --insecure --location --silent https://172.20.0.12 | grep "<title>"
   <title>Command API Explorer</title>

arista-cvx-virt-test.qcow2 is based on Arista's official image and is expected to: