API for the Qumulo file system
Project description
# Copyright (c) 2013 Qumulo, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy of
# the License at http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations under
# the License.
Qumulo API Tools
This directory contains a collection of tools and libraries that will help
the user interact with the Qumulo REST API server.
It includes the following:
- qumulo/: a directory of libraries that can be used to interact with the
REST API server
- 'qq': a comprehensive tool that implements the libraries in qumulo/
and provides for typical QFS CLI control functionality
- cust_demo: a directory containing short code samples (see cust_demo/README)
To see all commands available from the 'qq' tool:
$ cd qumulo_api
$ ./qq --help
To run commands against the REST API server, you must first login:
$ ./qq --host host_ip login --user admin
Once authenticated, you can run other commands:
# Get the network configuation of nodes in the cluster:
$ ./qq --host host_ip network_poll
# Get the list of users
$ ./qq --host host_ip auth_list_users
# See all commands available
$ ./qq --help
# Get help with a specific command
$ ./qq command --help
NOTE: These tools require at least Python 2.7, but will not run under
Python 3.
For more information, visit our Knowledge Base site:
http://qumulo.uservoice.com/knowledgebase
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy of
# the License at http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations under
# the License.
Qumulo API Tools
This directory contains a collection of tools and libraries that will help
the user interact with the Qumulo REST API server.
It includes the following:
- qumulo/: a directory of libraries that can be used to interact with the
REST API server
- 'qq': a comprehensive tool that implements the libraries in qumulo/
and provides for typical QFS CLI control functionality
- cust_demo: a directory containing short code samples (see cust_demo/README)
To see all commands available from the 'qq' tool:
$ cd qumulo_api
$ ./qq --help
To run commands against the REST API server, you must first login:
$ ./qq --host host_ip login --user admin
Once authenticated, you can run other commands:
# Get the network configuation of nodes in the cluster:
$ ./qq --host host_ip network_poll
# Get the list of users
$ ./qq --host host_ip auth_list_users
# See all commands available
$ ./qq --help
# Get help with a specific command
$ ./qq command --help
NOTE: These tools require at least Python 2.7, but will not run under
Python 3.
For more information, visit our Knowledge Base site:
http://qumulo.uservoice.com/knowledgebase