-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.txt
executable file
·37 lines (26 loc) · 1.12 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#
# This file is part of Open Layer 2 Management (OpenL2M).
#
# OpenL2M is free software: you can redistribute it and/or modify it under
# the terms of the GNU General Public License version 3 as published by
# the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
# more details. You should have received a copy of the GNU General Public
# License along with OpenL2M. If not, see <http://www.gnu.org/licenses/>.
#
#
This directory contains a very basic implemention of an example
REST API client for OpenL2M, written in Python.
Use at your own peril, and test before using against a production instance of OpenL2M!
Files are:
openl2m.py
Implements the OpenL2M Server() and Device() classes that can be used
to talk to the REST API.
client-example.py
Shows some use cases on how to use the OpenL2M class objects to talk to the REST API.
Please read the content of each file to study how to use them!
Good luck!
"the OpenL2M team".