Changeset 201
- Timestamp:
- Jan 28, 2017, 6:28:21 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/klask
r200 r201 2397 2397 print "internet [label = \"internet\", color = black, fillcolor = cyan, shape = house, style = filled];\n"; 2398 2398 2399 require DateTime; 2400 my $date_now = DateTime->now; 2401 print '"'.$date_now->ymd('/').' - '.$date_now->hms()."\" [ color = white, fillcolor = black, shape = polygon, sides=14, style = filled, fontcolor = white ]\n"; 2402 2399 2403 my $b=0; 2400 2404 for my $building (keys %db_building) { … … 2477 2481 klask exportdb --format [txt|html] 2478 2482 klask removedb computer* 2479 klask cleandb [--verbose] --day number_of_day --repair-dns --verbose2483 klask cleandb [--verbose] --day number_of_day --repair-dns 2480 2484 2481 2485 klask updatesw [--verbose] … … 2550 2554 2551 2555 2552 =head2 exportdb 2556 =head2 exportdb --format [txt|html] 2553 2557 2554 2558 This command print the content of the database. There is actually only one format. … … 2588 2592 =head1 CONFIGURATION 2589 2593 2590 Because klask need many parameters, it's not possible actually to use command line parameters .2591 The configuration is done in a /etc/klask/klask.confYAML file.2594 Because klask need many parameters, it's not possible actually to use command line parameters for everything. 2595 The configuration is done in a F</etc/klask/klask.conf> YAML file. 2592 2596 This format have many advantage over XML, it's easier to read and to write ! 2593 2597 … … 2604 2608 - add: 192.168.2.0/24 2605 2609 interface: eth0 2610 vlan-id: 12 2606 2611 main-router: gw1.labnet.local 2607 2612 … … 2611 2616 - add: 192.168.7.0/24 2612 2617 interface: eth0.38 2618 vlan-id: 13 2613 2619 main-router: gw2.schoolnet.local 2614 2620
Note: See TracChangeset
for help on using the changeset viewer.