Commit Graph

6 Commits

Author SHA1 Message Date
Liam Young 677f1a666a Reuse existing metadata secret if present
If there is an existing metadata secret stored on the filesystem
then reuse it to ensure a smooth transition from the old provider
to the new.

Closes-Bug: #1916609
Change-Id: I74f889f0fc13f0bde2677054f7acaed63a46aea6
2021-04-29 14:32:49 +00:00
Frode Nordahl bc908fb587
Implement generation of shared secret for metadata
The ``nova-compute`` charm gates enablement of the local Nova
metadata service on presence of the ``metadata-shared-secret``
key in the relation data in the subordinate relation with
``neutron-plugin`` interface.  This is implemented in the classic
``neutron-openvswitch`` charm today.

Add the bits necessary for a reactive charm to participate in this
part of the relation.

Also adds units tests to the interface.

Change-Id: I358e60c40a7f7c0cd33b31f2b7a8c58d6cb83326
2019-10-08 08:23:39 +02:00
Frode Nordahl adbfcb4ddd
Add ``host`` attribute on requires side
Commit 6dca7338b2 added the attribute
on the wrong side of the interface.

Change-Id: I6d561617805280caebfe6e408d74ceaccefa1f08
Closes-Bug: #1845303
2019-10-02 06:25:23 +02:00
Frode Nordahl 6dca7338b2
Add auto accessor for ``host`` attribute
Depends-On: I75cbc5eb97cf3603ffa5a9a49670411288d90520
Change-Id: I3b11eec3f1c4b8a673ccb6f9e6320d79dbde8f7a
Closes-Bug: #1845303
2019-10-01 08:02:17 +02:00
James Page c6469fc1dc Fixup for new reactive package naming 2015-11-04 13:39:55 +00:00
James Page be82dfb140 Initial commit of interface 2015-07-15 17:06:36 +01:00