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
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