Stefan Kobza | b189933 | 2015-12-23 17:00:10 +0100 | [diff] [blame] | 1 | # Copyright (c) 2015 Cisco and/or its affiliates. |
| 2 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 3 | # you may not use this file except in compliance with the License. |
| 4 | # You may obtain a copy of the License at: |
| 5 | # |
| 6 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 7 | # |
| 8 | # Unless required by applicable law or agreed to in writing, software |
| 9 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 10 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 11 | # See the License for the specific language governing permissions and |
| 12 | # limitations under the License. |
| 13 | |
| 14 | #Defines nodes and topology structure. |
| 15 | |
| 16 | __all__ = ["DICT__nodes"] |
| 17 | |
| 18 | |
| 19 | class NodeType(object): |
| 20 | DUT = 'DUT' |
| 21 | TG = 'TG' |
| 22 | |
| 23 | MOCK_DATA_FOR_NOW = { |
| 24 | 'nodes' : { |
| 25 | 'DUT1' : { |
| 26 | 'type' : NodeType.DUT, |
| 27 | 'host' : 'wasa-ucs-14', |
| 28 | 'port' : 22, |
| 29 | 'username' : '', |
| 30 | 'password' : '', |
| 31 | }, |
| 32 | 'DUT2' : { |
| 33 | 'type' : NodeType.DUT, |
| 34 | 'host' : 'wasa-ucs-13', |
| 35 | 'port' : 22, |
| 36 | 'username' : '', |
| 37 | 'password' : '', |
| 38 | }, |
| 39 | 'TG' : { |
| 40 | 'type' : NodeType.TG, |
| 41 | 'host' : 'wasa-ucs-12', |
| 42 | 'port' : 22, |
| 43 | 'username' : '', |
| 44 | 'password' : '', |
| 45 | }, |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | DICT__nodes = MOCK_DATA_FOR_NOW['nodes'] |
| 50 | |