Changeset 5


Ignore:
Timestamp:
Jan 14, 2008, 4:23:21 PM (13 years ago)
Author:
g7moreau
Message:
  • Update perldoc documentation on exportsw and updatesw command
  • Update perldoc on klask.conf YAML format
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/klask

    r4 r5  
    10721072
    10731073 klask updatedb
    1074  klask exportdf
     1074 klask exportdb
     1075
     1076 klask updatesw
     1077 klask exportsw --format [txt|dot]
    10751078
    10761079 klask searchdb computer
     
    11201123
    11211124
     1125=head2 updatesw
     1126
     1127This command build a map of your manageable switch on your network. The list of the switch must be given in the file /etc/klask.conf.
     1128
     1129
     1130=head2 exportsw --format [txt|dot]
     1131
     1132This command print the content of the switch database. There is actually two format. One is just txt for terminal and the other is the dot format from the graphviz environnement.
     1133
     1134 klask exportsw --format dot > /tmp/map.dot
     1135 dot -Tpng /tmp/map.dot > /tmp/map.png
     1136
     1137
     1138
    11221139=head1 CONFIGURATION
    11231140
     
    11311148
    11321149 network:
    1133    - add: 192.168.1.0/24
    1134    - add: 192.168.2.0/24
     1150   labnet:
     1151     ip-subnet:
     1152       - add: 192.168.1.0/24
     1153       - add: 192.168.2.0/24
     1154     interface: eth0
     1155     main-router: gw1.labnet.local
     1156
     1157   schoolnet:
     1158     ip-subnet:
     1159       - add: 192.168.6.0/24
     1160       - add: 192.168.7.0/24
     1161     interface: eth0.38
     1162     main-router: gw2.schoolnet.local
    11351163
    11361164 switch:
     
    11411169
    11421170   - hostname: sw2.klask.local
     1171     location: BatK / 2 / K203
     1172     type: HP2424
    11431173     portignore:
    11441174       - 1
     
    11611191=head1 VERSION
    11621192
    1163 0.2
     11930.4
    11641194
    11651195
    11661196=head1 AUTHOR
    11671197
    1168 Written by Gabriel Moreau
     1198Written by Gabriel Moreau, Grenoble - France
    11691199
    11701200
    11711201=head1 COPYRIGHT
    11721202       
    1173 Copyright (C) 2005 Gabriel Moreau.
     1203Copyright (C) 2005-2008 Gabriel Moreau.
    11741204
    11751205
Note: See TracChangeset for help on using the changeset viewer.