Oliver Smith | 7aa6302 | 2019-12-10 14:43:01 +0100 | [diff] [blame] | 1 | #!/usr/bin/env python3 |
Holger Hans Peter Freyther | 0b4b824 | 2016-09-08 15:09:16 +0200 | [diff] [blame] | 2 | |
| 3 | # (C) 2016 by Holger Hans Peter Freyther |
| 4 | # This program is free software: you can redistribute it and/or modify |
| 5 | # it under the terms of the GNU General Public License as published by |
| 6 | # the Free Software Foundation, either version 3 of the License, or |
| 7 | # (at your option) any later version. |
| 8 | |
| 9 | # This program is distributed in the hope that it will be useful, |
| 10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 | # GNU General Public License for more details. |
| 13 | |
| 14 | # You should have received a copy of the GNU General Public License |
| 15 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 16 | |
| 17 | app_configs = { |
Oliver Smith | fdd62da | 2019-12-10 15:04:22 +0100 | [diff] [blame] | 18 | "osmo-pcap-client": ["doc/examples/osmo-pcap-client/osmo-pcap-client.cfg", |
| 19 | "doc/examples/osmo-pcap-client/osmo-pcap-client-tls.cfg"], |
| 20 | "osmo-pcap-server": ["doc/examples/osmo-pcap-server/osmo-pcap-server.cfg", |
| 21 | "doc/examples/osmo-pcap-server/osmo-pcap-server-tls.cfg"] |
Holger Hans Peter Freyther | 0b4b824 | 2016-09-08 15:09:16 +0200 | [diff] [blame] | 22 | } |
| 23 | |
| 24 | apps = [ |
Oliver Smith | eedd83c | 2021-08-05 18:54:19 +0200 | [diff] [blame] | 25 | (4228, "src/osmo-pcap-server", "OsmoPCAPServer", "osmo-pcap-server"), |
| 26 | (4227, "src/osmo-pcap-client", "OsmoPCAPClient", "osmo-pcap-client"), |
Holger Hans Peter Freyther | 0b4b824 | 2016-09-08 15:09:16 +0200 | [diff] [blame] | 27 | ] |
| 28 | |
Oliver Smith | fdd62da | 2019-12-10 15:04:22 +0100 | [diff] [blame] | 29 | vty_command = ["src/osmo-pcap-server", "-c", "doc/examples/osmo-pcap-server/osmo-pcap-server.cfg"] |
Holger Hans Peter Freyther | 0b4b824 | 2016-09-08 15:09:16 +0200 | [diff] [blame] | 30 | vty_app = apps[0] |
| 31 | |
| 32 | |