Sample Scripts
You can download the sample scripts fromdeveloper.arubanetworks.com。Before downloading the scripts, you must read the following disclaimer.
的sample scripts are examples and provided for illustration purposes only. If you plan to use this script in your environment, ensure that the script meets your IT guidelines. By running this script, you acknowledge thatAruba, a Hewlett Packard Enterprise companyis in no way liable for any loss, damage, problems arising from running this script. |
的following scripts are available for download:
ArubaXMLDemo.py: This is a Python 2.7 script. This script demonstrates the basic functionality of theXMLExtensible Markup Language. XML is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable.APIApplication Programming Interface. Refers to a set of functions, procedures, protocols, and tools that enable users to build application software.。使用这个年代cript, you can sendXMLExtensible Markup Language. XML is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable.requests to add, delete, authenticate, blacklist, query, or log out a user.
xml_user_add.sh: This script adds a user using the command.
xml_user_del_or_logout.sh: The part of the script deletes an existing user from theMobility Master用户表。的 part of the script reverts an existing user to the initial role in theAAAAuthentication, Authorization, and Accounting. AAA is a security framework to authenticate users, authorize the type of access based on user credentials, and record authentication events and information about the network access and network resource consumption.profile.
xml_user_query.sh: This script fetches the status and details of a user connected in the network using the command.
的Bourne Shell scripts work on most Unix, Linux, and Mac operating systems. To run on Windows, you can install Cygwin. All scripts require cURL to be installed on theXMLExtensible Markup Language. XML is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable.APIApplication Programming Interface. Refers to a set of functions, procedures, protocols, and tools that enable users to build application software.server. cURL is an open source command line tool and library for transferring data withURLUniform Resource Locator. URL is a global address used for locating web resources on the Internet.syntax. You can download cURL fromhttp://curl.haxx.se/download.html。 |