VMgr_UserCreate-Delete

VMgr_UserCreate-Delete

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:

  • Prompts the user for the VManager IP address

  • Queries the manager and prints out the current users listed in the users configuration parameters

  • 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 users configuration and reloads into Active area, and prints the user list again

It connects to:

  • The SmartMesh IP VManager

Running

You can run the VMgr_UserCreate-Delete.py application:

  • By double-clicking on its source files at /vmanager_apps/VMgr_UserCreate-Delete.py (may require additional steps on non-windows OSes)



VMgr_UserCreate-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