File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ An SDK for managing [nebula](https://nebula-orchestrator.github.io/) via python.
33
44translates all of Nebula [ API] ( http://nebula.readthedocs.io/en/latest/api/ ) calls to something more pythonic.
55
6+ Source code is available at [ github] ( https://github.com/nebula-orchestrator/nebula-python-sdk )
7+
68# How To Use
79first get NebulaPythonSDK onto your machine
810``` bash
@@ -61,4 +63,34 @@ connection.list_device_group("device_group_name")
6163# list device group info
6264connection.list_device_group_info(" device_group_name" )
6365
66+ # ping api
67+ connection.check_api()
68+
69+ # delete app
70+ connection.delete_app(" app_name" )
71+
72+ # stop app
73+ connection.stop_app(" app_name" )
74+
75+ # start app
76+ connection.start_app(" app_name" )
77+
78+ # restart app
79+ connection.restart_app(" app_name" )
80+
81+ # update app
82+ connection.update_app(" app_name" , app_conf)
83+
84+ # prune images on all device groups
85+ connection.prune_images()
86+
87+ # delete device_group
88+ connection.delete_device_group(" device_group_name" )
89+
90+ # prune images on a selected device groups
91+ connection.prune__device_group_images(" device_group_name" )
92+
93+ # update device group
94+ connection.update_device_group(" device_group_name" , device_group_config)
95+
6496```
You can’t perform that action at this time.
0 commit comments