File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ """
2+ This example:
3+
4+ 1. Connects to the current model
5+ 2. Deploy a bundle and waits until it reports itself active
6+ 3. Destroys the units and applications
7+
8+ """
9+ from juju import jasyncio
10+ from juju .model import Model
11+
12+
13+ async def main ():
14+ model = Model ()
15+ print ('Connecting to model' )
16+ # Connect to current model with current user, per Juju CLI
17+ await model .connect ()
18+
19+ try :
20+ print ('Deploying bundle' )
21+ await model .deploy (
22+ './examples/k8s-local-bundle/big-k8s-bundle.yaml' ,
23+ channel = 'edge' ,
24+ trust = True ,
25+ )
26+ finally :
27+ print ('Disconnecting from model' )
28+ await model .disconnect ()
29+ print ("Success" )
30+
31+
32+ if __name__ == '__main__' :
33+ jasyncio .run (main ())
Original file line number Diff line number Diff line change 1+ bundle : kubernetes
2+ name : magma-orc8r
3+ description : |
4+ Orchestrator is a Magma service that provides a simple and consistent way to
5+ configure and monitor the wireless network securely. The metrics acquired through the platform
6+ allows you to see the analytics and traffic flows of the wireless users through the Magma web UI.
7+ applications :
8+ nms-magmalte :
9+ charm : magma-nms-magmalte
10+ channel : edge
11+ scale : 1
12+ trust : true
You can’t perform that action at this time.
0 commit comments