Oliver Smith | 6dbdf14 | 2019-12-10 13:21:11 +0100 | [diff] [blame] | 1 | #!/usr/bin/env python3 |
Katerina Barone-Adesi | e0aee7a | 2013-04-05 17:36:09 +0200 | [diff] [blame] | 2 | |
| 3 | # (C) 2013 by Katerina Barone-Adesi <kat.obsc@gmail.com> |
| 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 | |
Oliver Smith | a7ec369 | 2019-10-29 15:37:19 +0100 | [diff] [blame] | 17 | import os |
| 18 | |
Katerina Barone-Adesi | e0aee7a | 2013-04-05 17:36:09 +0200 | [diff] [blame] | 19 | app_configs = { |
Oliver Smith | a7ec369 | 2019-10-29 15:37:19 +0100 | [diff] [blame] | 20 | "msc": ["doc/examples/osmo-msc/osmo-msc.cfg"], |
Katerina Barone-Adesi | e0aee7a | 2013-04-05 17:36:09 +0200 | [diff] [blame] | 21 | } |
| 22 | |
Oliver Smith | a7ec369 | 2019-10-29 15:37:19 +0100 | [diff] [blame] | 23 | if os.environ["IU"] == "1": |
| 24 | app_configs["msc"] += ["doc/examples/osmo-msc/osmo-msc_custom-sccp.cfg", |
| 25 | "doc/examples/osmo-msc/osmo-msc_multi-cs7.cfg"] |
| 26 | |
Neels Hofmeyr | bac2276 | 2017-07-06 18:39:28 +0200 | [diff] [blame] | 27 | apps = [(4254, "src/osmo-msc/osmo-msc", "OsmoMSC", "msc"), |
Katerina Barone-Adesi | e0aee7a | 2013-04-05 17:36:09 +0200 | [diff] [blame] | 28 | ] |
| 29 | |
Neels Hofmeyr | 84da6b1 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 30 | vty_command = ["./src/osmo-msc/osmo-msc", "-c", |
| 31 | "doc/examples/osmo-msc/osmo-msc.cfg"] |
Katerina Barone-Adesi | e0aee7a | 2013-04-05 17:36:09 +0200 | [diff] [blame] | 32 | |
Neels Hofmeyr | bac2276 | 2017-07-06 18:39:28 +0200 | [diff] [blame] | 33 | vty_app = apps[0] # reference apps[] entry for osmo-msc |