Skip to content

Commit ea7366b

Browse files
author
Naor Livne
committed
expanding readme to include all sdk functions
1 parent 6333425 commit ea7366b

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

README.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ An SDK for managing [nebula](https://nebula-orchestrator.github.io/) via python.
33

44
translates 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
79
first get NebulaPythonSDK onto your machine
810
```bash
@@ -61,4 +63,34 @@ connection.list_device_group("device_group_name")
6163
# list device group info
6264
connection.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
```

0 commit comments

Comments
 (0)