Browse Source

Rename charm

changes/73/738573/1
Aurelien Lourot 2 years ago
parent
commit
0cb517f035
  1. 2
      README.md
  2. 4
      src/README.md
  3. 2
      src/lib/charm/openstack/neutron_arista.py
  4. 2
      src/metadata.yaml
  5. 10
      src/tests/bundles/bionic-queens.yaml
  6. 10
      src/tests/bundles/bionic-rocky.yaml
  7. 10
      src/tests/bundles/xenial-queens.yaml
  8. 2
      src/tests/tests.yaml

2
README.md

@ -15,7 +15,7 @@ development and testing, however.
tox -e pep8
tox -e py3
tox -e build
cd build/builds/neutron-arista
cd build/builds/neutron-api-plugin-arista
export TEST_ARISTA_IMAGE=/tmp/arista-cvx-virt-test.qcow2
tox -e func
```

4
src/README.md

@ -13,9 +13,9 @@ To deploy (partial deployment only):
juju deploy neutron-api
juju deploy neutron-openvswitch
juju deploy neutron-arista
juju deploy neutron-api-plugin-arista
juju add-relation neutron-api neutron-arista
juju add-relation neutron-api neutron-api-plugin-arista
juju add-relation neutron-api mysql
juju add-relation neutron-api rabbitmq-server
juju add-relation neutron-api neutron-openvswitch

2
src/lib/charm/openstack/neutron_arista.py

@ -26,7 +26,7 @@ TEMPLATES = 'templates/'
class NeutronAristaCharm(charms_openstack.charm.OpenStackCharm):
# Internal name of charm
service_name = name = 'neutron-arista'
service_name = name = 'neutron-api-plugin-arista'
# First release supported
release = 'queens'

2
src/metadata.yaml

@ -1,4 +1,4 @@
name: neutron-arista
name: neutron-api-plugin-arista
summary: Arista ML2 plugin support for Neutron-API
maintainer: Michael Skalka <Michael.Skalka@canonical.com>
description: |

10
src/tests/bundles/bionic-queens.yaml

@ -15,7 +15,7 @@ applications:
num_units: 1
neutron-api:
# Temporary fork until we refactor neutron-arista:
# Temporary fork until we refactor neutron-api-plugin-arista:
charm: cs:~aurelien-lourot/neutron-api-arista-test-fixture
num_units: 1
options:
@ -53,8 +53,8 @@ applications:
options:
network-manager: Neutron
neutron-arista:
charm: ../../../neutron-arista
neutron-api-plugin-arista:
charm: ../../../neutron-api-plugin-arista
num_units: 0
options:
# Fake IP, will be set to arista-virt-test-fixture's IP address on test
@ -131,9 +131,9 @@ relations:
- - nova-cloud-controller:neutron-api
- neutron-api:neutron-api
- - neutron-api
- neutron-arista
- neutron-api-plugin-arista
- - neutron-api:neutron-plugin-api-subordinate
- neutron-arista:neutron-plugin-api-subordinate
- neutron-api-plugin-arista:neutron-plugin-api-subordinate
- - openstack-dashboard
- mysql
- - openstack-dashboard:identity-service

10
src/tests/bundles/bionic-rocky.yaml

@ -19,7 +19,7 @@ applications:
num_units: 1
neutron-api:
# Temporary fork until we refactor neutron-arista:
# Temporary fork until we refactor neutron-api-plugin-arista:
charm: cs:~aurelien-lourot/neutron-api-arista-test-fixture
num_units: 1
options:
@ -59,8 +59,8 @@ applications:
openstack-origin: cloud:bionic-rocky
network-manager: Neutron
neutron-arista:
charm: ../../../neutron-arista
neutron-api-plugin-arista:
charm: ../../../neutron-api-plugin-arista
num_units: 0
options:
# Fake IP, will be set to arista-virt-test-fixture's IP address on test
@ -140,9 +140,9 @@ relations:
- - nova-cloud-controller:neutron-api
- neutron-api:neutron-api
- - neutron-api
- neutron-arista
- neutron-api-plugin-arista
- - neutron-api:neutron-plugin-api-subordinate
- neutron-arista:neutron-plugin-api-subordinate
- neutron-api-plugin-arista:neutron-plugin-api-subordinate
- - openstack-dashboard
- mysql
- - openstack-dashboard:identity-service

10
src/tests/bundles/xenial-queens.yaml

@ -19,7 +19,7 @@ applications:
num_units: 1
neutron-api:
# Temporary fork until we refactor neutron-arista:
# Temporary fork until we refactor neutron-api-plugin-arista:
charm: cs:~aurelien-lourot/neutron-api-arista-test-fixture
num_units: 1
options:
@ -59,8 +59,8 @@ applications:
openstack-origin: cloud:xenial-queens
network-manager: Neutron
neutron-arista:
charm: ../../../neutron-arista
neutron-api-plugin-arista:
charm: ../../../neutron-api-plugin-arista
num_units: 0
options:
# Fake IP, will be set to arista-virt-test-fixture's IP address on test
@ -140,9 +140,9 @@ relations:
- - nova-cloud-controller:neutron-api
- neutron-api:neutron-api
- - neutron-api
- neutron-arista
- neutron-api-plugin-arista
- - neutron-api:neutron-plugin-api-subordinate
- neutron-arista:neutron-plugin-api-subordinate
- neutron-api-plugin-arista:neutron-plugin-api-subordinate
- - openstack-dashboard
- mysql
- - openstack-dashboard:identity-service

2
src/tests/tests.yaml

@ -1,4 +1,4 @@
charm_name: neutron-arista
charm_name: neutron-api-plugin-arista
smoke_bundles:
- bionic-queens
gate_bundles:

Loading…
Cancel
Save