Download Fusion Shell User Manual

Transcript
Examples:
•
deltc NULL NULL NULL
•
deltc VALUE WANConnection "[READONLY][GENERATED]"
7.3.30 Unittype.exporttcfile
Syntax: exporttcfile <directory> <id>
Comment: Export one single Test Cases
Arguments:
•
<directory>: A directory to where the Test Case file will be exported
•
<id>: A valid Test Case id (get from listtc command)
Examples:
•
exporttc tr069test 123
7.3.31 Unittype.exporttcdir
Syntax: exporttcdir <directory> [<method>|NULL [<parameter-filter>|NULL
[<tag-filter>|NULL]]]
Comment: Export all or a subset of Test Cases
Arguments:
•
<directory>: A directory to where the Test Case files will be exported
•
<method>|NULL: Optional. Could be set to VALUE or ATTRIBUTE. Setting it to
NULL will match all (methods)
•
<parameter-filter>|NULL: Optional if the previous argument is specified. Could
be set to a part of a parameter name. Setting it to NULL will match all
(parameters)
•
<paratagmeter-filter>|NULL: Optional if the previous argument is specified.
Could be set to a series of strings enclosed in square brackets [ ] to match tags.
Setting it to NULL will match all (tags)
Examples:
•
exporttc NULL NULL NULL
•
exporttc VALUE WANConnection "[READONLY][GENERATED]"
7.3.32 Unittype.importtcfile
Syntax: importtcfile <filename>
Comment: Import a Test Case
Arguments:
•
<filename>: A Test Case file to be imported
Examples:
•
importtcfile tr069test/2930.tc
7.3.33 Unittype.importtcdir
Syntax: importtcdir <directory>
66