Changeset 380
- Timestamp:
- Jan 4, 2018, 3:48:55 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/klask
r379 r380 1187 1187 1188 1188 klask updatesw [--verbose|-v] 1189 klask exportsw [--format|-f txt|dot] [--modulo|-m XX] [--shift|-s YY] 1189 klask exportsw [--format|-f txt|dot] [--modulo|-m XX] [--shift|-s YY] [-way all|desc|child|parent] [--no-header|-H] 1190 1190 1191 1191 klask searchdb [--kind|-k host|mac] computer [mac-address] … … 3348 3348 3349 3349 klask updatesw [--verbose|-v] 3350 klask exportsw [--format|-f txt|dot] [--modulo|-m XX] [--shift|-s YY] 3350 klask exportsw [--format|-f txt|dot] [--modulo|-m XX] [--shift|-s YY] [-way all|desc|child|parent] [--no-header|-H] 3351 3351 3352 3352 klask searchdb [--kind|-k host|mac] computer [mac-address] … … 3522 3522 =head2 exportsw 3523 3523 3524 klask exportsw [--format|-f txt|dot] [--modulo|-m XX] [--shift|-s YY] 3524 klask exportsw [--format|-f txt|dot] [--modulo|-m XX] [--shift|-s YY] [-way all|desc|child|parent] [--no-header|-H] 3525 3525 3526 3526 This command print the content of the switch database. There is actually two format. 3527 3527 One is just TXT for terminal and the other is the DOT format from the graphviz environnement. 3528 3528 By default, format is TXT. 3529 3530 B<Options for TXT format:> 3531 3532 Tree tables are print : 3533 C<desc> gives the switches description, model and revision, 3534 C<child> return the switch to parent switch table and 3535 C<parent> return the switch parent to parent child table. 3536 With option C<--way>, you can choose which on to print. 3537 C<all> will print all and C<child,parent> will print only C<child> and C<parent> table. 3538 With option C<--no-header>, you can remove the header for each table. 3539 3540 B<Options for DOT format:> 3529 3541 3530 3542 klask exportsw --format dot > /tmp/map.dot
Note: See TracChangeset
for help on using the changeset viewer.