This application was added in REL-1.1.0.
Introduction
This basic example script connects to a Manager using the Python library and does the following;
- queries the manager and prints out the current users listed in the Config area
- creates a user named user1 (if it does not already exist)
- Loads the user list into Active area and prints out the list of Active users
- Deletes the new user just created from Config area, reloads into Active area, and prints the user list again
It connects to:
- The SmartMesh IP VManager
Running
You can run the "VMgr User Create-Delete.py" application:
- by double-clicking on its source files at
/vmanager_apps/VMgr User Create-Delete.py
VMgr User Create-Delete Example (c) Dust Networks SmartMesh SDK 1.1.0.1 Enter the IP address of the manager (e.g. 10.70.48.69 ): 10.70.48.35 The current users in Config are ... dust Creating a new user called user1 The current Active users are ... dust user1 Deleting the user we just created The current Active users are now ... dust Script ended normally