Changes between Version 2 and Version 3 of Usage/UserDocumentation
- Timestamp:
- 05/29/12 16:21:27 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Usage/UserDocumentation
v2 v3 16 16 == About the CMT data(structure) == 17 17 18 18 ... 19 19 20 20 = Web-interface = 21 21 22 The web-interface can be opened in any regular web-browser. Ask your administrator for its address. Once you open the web-interface, a login 22 The web-interface can be opened in any regular web-browser. Ask your administrator for its address. Once you open the web-interface, a login-page should appear where you have to issue your credentials. 23 23 24 From there you'll be able to add objects to the database, lookup or change objects in the database, or delete objects from the database. It should be pretty intuitive to use. The most important entities you can act on are:24 From there you'll be able to add objects to the database, explore objects in the database, change objects in the database, or delete objects from the database. It's meant as a intuitive easy-to-use interface, with advanced Create-Read-Update-Delete (CRUD) functionalities. It makes you able to quickly explore the data stored in CMT, or act on the data. The most important entities you can act on are: 25 25 Clusters:: 26 26 A cluster could be described as a collection of hardware, connected to each other through one or more networks. … … 37 37 38 38 = Command Line Interface = 39 40 To use the Command Line Interface has to be installed on your system. If you issue the command `cmt` you'll get the usage info: 41 {{{ 42 Usage: cmt [options] 43 44 This is the commandline interface of the SARA package SARA CMT. 45 46 Options: 47 -h, --help show this help message and exit 48 -n, --dry-run This flag has to be given before -[aclmr] 49 --script 50 -a ENTITY, --add=ENTITY 51 Add an object of given ENTITY. arguments: 52 set <ASSIGNMENTS> The object will get 53 values according to the given assignments. 54 Assignments could be formed like 55 [<FK>__]<attr>=<value> 56 -c ENTITY, --change=ENTITY 57 Change value(s) of object(s) of given ENTITY. 58 arguments: get <QUERY> set <ASSIGNMENTS> 59 The query, which consists out of one or more terms, is 60 used to make a selection of objects to 61 change. These objects will be changed 62 according to the given assignments. 63 -g TEMPLATE, --generate=TEMPLATE 64 Render the given template 65 -l ENTITY [ATTRIBUTE=VALUE], --list=ENTITY [ATTRIBUTE=VALUE] 66 List object(s) of the given ENTITY. 67 arguments: get <QUERY> The query, which 68 consists out of one or more terms, is used to make 69 a selection of objects to list. 70 -r ENTITY [ATTRIBUTE=VALUE], --remove=ENTITY [ATTRIBUTE=VALUE] 71 Remove objects which reflect the given query 72 -v, --verbose 73 }}} 74 75 39 76 == Add object(s): `-a, --add` == 40 77 === Syntax ===