79bbcd8f6919fa44a78c252cff4bdb10af4e9e13
[transportpce.git] / tests / transportpce_tests / 1.2.1 / simulators.py
1 #!/usr/bin/env python
2 ##############################################################################
3 # Copyright (c) 2020 Orange, Inc. and others.  All rights reserved.
4 #
5 # All rights reserved. This program and the accompanying materials
6 # are made available under the terms of the Apache License, Version 2.0
7 # which accompanies this distribution, and is available at
8 # http://www.apache.org/licenses/LICENSE-2.0
9 ##############################################################################
10 import os
11
12 SIMS = {
13     'xpdra': {'port': '17830', 'configfile': 'oper-XPDRA.xml', 'logfile': 'oper-XPDRA.log'},
14     'roadma': {'port': '17831', 'configfile': 'oper-ROADMA.xml', 'logfile': 'oper-ROADMA.log'},
15     'roadmb': {'port': '17832', 'configfile': 'oper-ROADMB.xml', 'logfile': 'oper-ROADMB.log'},
16     'roadmc': {'port': '17833', 'configfile': 'oper-ROADMC.xml', 'logfile': 'oper-ROADMC.log'},
17     'xpdrc': {'port': '17834', 'configfile': 'oper-XPDRC.xml', 'logfile': 'oper-XPDRC.log'},
18     'roadma-full': {'port': '17821', 'configfile': 'oper-ROADMA-full.xml', 'logfile': 'oper-ROADMA.log'},
19     'roadmc-full': {'port': '17823', 'configfile': 'oper-ROADMC-full.xml', 'logfile': 'oper-ROADMC.log'}
20 }
21
22 HONEYNODE_EXECUTABLE = os.path.join(
23     os.path.dirname(os.path.realpath(__file__)),
24     "..", "..", "honeynode", "1.2.1", "honeynode-simulator", "honeycomb-tpce")
25 SAMPLES_DIRECTORY = os.path.join(
26     os.path.dirname(os.path.realpath(__file__)),
27     "..", "..", "sample_configs", "openroadm", "1.2.1")