1AirInvServer(1My) AirInvServer(1My)
2
3
4
6 AirInvServer - ZeroMQ-based server binary exposing the AirInv library
7 as a service
8
10 AirInvServer [--prefix] [-v|--version] [-h|--help] [-b|--builtin]
11 [-f|--for_schedule] [-i|--inventory <path-to-inventory-input-file>]
12 [-s|--schedule <path-to-schedule-input-file>] [-o|--ond <path-to-ond-
13 input-file>] [-y|--yield <path-to-yield-input-file>] [-t|--protocol
14 <server network protocol>] [-a|--address <server host address>]
15 [-p|--port <server host port>] [-l|--log <path-to-output-log-file>]
16
18 AirInvServer is a small program wrapping the AirInv library, so as to
19 expose it as a ZeroMQ-based server. That server listens to and answers
20 with JSON-formatted messages. Typically, a Django-based Web application
21 will use those AirInv services, so as to expose to the end user a clean
22 and light user interface.
23
24 AirInvServer accepts the following options:
25
26 --prefix
27 Show the AirInv installation prefix.
28
29 -v, --version
30 Print the currently installed version of AirInv on the standard
31 output.
32
33 -h, --help
34 Produce that message and show usage.
35
36 -b, --builtin
37 The sample BOM tree can be either built-in or parsed from an input
38 file. That latter must then be given with either the -i/--inventory
39 option or the set of -s/--schedule, -o/--ond options.
40
41 -f, --for_schedule
42 The BOM tree should be built from a schedule file (instead of from an
43 inventory dump).
44
45 -i, --inventory <path-to-input-file>
46 Path (absolute or relative) of the (CSV) input file specifying the
47 inventory (flight-date) details.
48
49 -s, --schedule <path-to-input-file>
50 Path (absolute or relative) of the (CSV) input file specifying the
51 network/schedule (flight-period) details.
52
53 -o, --ond <path-to-input-file>
54 Path (absolute or relative) of the (CSV) input file specifying the O&D
55 (origin/destination) details.
56
57 -y, --yield <path-to-input-file>
58 Path (absolute or relative) of the (CSV) input file specifying the
59 yield rule details.
60
61 -t, --protocol <server network protocol>
62 Server protocol
63
64 -a, --address <server host address>
65 Server address
66
67 -p, --port <server host port>
68 Server port
69
70 -l, --log <path-to-output-log-file>
71 Path (absolute or relative) of the output log file.
72
73 See the output of the `AirInv --help' command for default options.
74
76 airinv(1), AirInvClient(1), airinv-config(1), airinv-library(3)
77
79 Please report any bugs to
80 https://sourceforge.net/apps/trac/airinv/report
81
83 Copyright © 2009-2011 Denis Arnaud
84
85 See the COPYING file for more information on the (LGPLv2+) license, or
86 directly on Internet:
87 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html
88
89
90
91 Project" AirInvServer(1My)