magma-nms-magmalte
- Canonical Telco
Channel | Revision | Published | Runs on |
---|---|---|---|
latest/stable | 58 | 30 May 2023 | |
latest/stable | 43 | 07 Mar 2023 | |
latest/beta | 33 | 20 Oct 2022 | |
latest/edge | 57 | 17 May 2023 | |
latest/edge | 45 | 15 Mar 2023 | |
1.8/stable | 58 | 30 May 2023 | |
1.8/candidate | 58 | 30 May 2023 | |
1.8/beta | 58 | 30 May 2023 | |
1.8/edge | 58 | 30 May 2023 | |
1.6/stable | 43 | 24 Feb 2023 | |
1.6/candidate | 43 | 24 Feb 2023 | |
1.6/beta | 43 | 24 Feb 2023 | |
1.6/edge | 50 | 25 Apr 2023 |
juju deploy magma-nms-magmalte
Deploy Kubernetes operators easily with Juju, the Universal Operator Lifecycle Manager. Need a Kubernetes cluster? Install MicroK8s to create a full CNCF-certified Kubernetes system in under 60 seconds.
Platform:
charms.magma_nms_magmalte.v0.admin_operator
-
- Last updated 02 Jun 2022
- Revision Library version 0.6
Getting started
charmcraft fetch-lib charms.magma_nms_magmalte.v0.admin_operator
Requirer Charm
class AdminOperatorRequires(Object):
on = AdminOperatorRequirerCharmEvents()
def __init__(self, charm, relationship_name: str):
self.relationship_name = relationship_name
self.charm = charm
super().__init__(charm, relationship_name)
self.framework.observe(
charm.on[relationship_name].relation_joined, self._on_relation_changed
)
self.framework.observe(
charm.on[relationship_name].relation_changed, self._on_relation_changed
)
def _on_relation_changed(self, event):
relation_data = event.relation.data
certificate = relation_data[event.unit].get("certificate")
self.on.certificate_available.emit(certificate=certificate)
Index
class CertificateRequestEvent
Methods
CertificateRequestEvent. __init__( self , handle , relation_id: int )
CertificateRequestEvent. snapshot( self )
CertificateRequestEvent. restore( self , snapshot )
class CertificateAvailableEvent
Methods
CertificateAvailableEvent. __init__( self , handle , certificate: str )
CertificateAvailableEvent. snapshot( self )
CertificateAvailableEvent. restore( self , snapshot )
class AdminOperatorProviderCharmEvents
class AdminOperatorRequirerCharmEvents
class AdminOperatorProvides
Methods
AdminOperatorProvides. __init__( self , charm , relationship_name: str )
AdminOperatorProvides. set_certificate( self , certificate: str , relation_id: int )
class AdminOperatorRequires
Methods
AdminOperatorRequires. __init__( self , charm , relationship_name: str )