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