sslobodr | d6e07e7 | 2019-01-31 16:07:20 -0500 | [diff] [blame] | 1 | { |
| 2 | "environment":{ |
| 3 | "cmdLine":"afrouter -config arouter_test.json", |
| 4 | "protoFiles": [ |
| 5 | { |
| 6 | "importPath":"github.com/opencord/voltha-go/protos/", |
| 7 | "service":"VolthaService", |
| 8 | "package":"voltha" |
| 9 | } |
| 10 | ], |
| 11 | "imports": [ |
| 12 | "github.com/golang/protobuf/ptypes/empty", |
| 13 | "github.com/opencord/voltha-go/protos/openflow_13" |
| 14 | ], |
| 15 | "protoDesc":"voltha.pb", |
| 16 | "protoSubst": [ |
| 17 | { |
| 18 | "from":"google.protobuf.Empty", |
| 19 | "to":"empty.Empty" |
| 20 | } |
| 21 | ], |
| 22 | "clients": [ |
| 23 | { |
| 24 | "name":"client", |
| 25 | "port":"5000" |
| 26 | } |
| 27 | ], |
| 28 | "servers": [ |
| 29 | { |
| 30 | "name":"core11", |
| 31 | "port":"5011" |
| 32 | }, |
| 33 | { |
| 34 | "name":"core12", |
| 35 | "port":"5012" |
| 36 | }, |
| 37 | { |
| 38 | "name":"core21", |
| 39 | "port":"5021" |
| 40 | }, |
| 41 | { |
| 42 | "name":"core22", |
| 43 | "port":"5022" |
| 44 | }, |
| 45 | { |
| 46 | "name":"core31", |
| 47 | "port":"5031" |
| 48 | }, |
| 49 | { |
| 50 | "name":"core32", |
| 51 | "port":"5032" |
| 52 | } |
| 53 | ] |
| 54 | }, |
| 55 | "tests":[ |
| 56 | { |
| 57 | "send": { |
| 58 | "client":"client", |
| 59 | "method":"CreateDevice", |
| 60 | "param":"json struct", |
| 61 | "_meta":"" |
| 62 | }, |
| 63 | "servers": [ |
| 64 | { |
| 65 | "name":"server11", |
| 66 | "meta": [ |
| 67 | { |
| 68 | "key":"voltha_serial_number", |
| 69 | "value":"1" |
| 70 | } |
| 71 | ], |
| 72 | "param":"mirror_client" |
| 73 | }, |
| 74 | { |
| 75 | "name":"server12", |
| 76 | "meta": [ |
| 77 | { |
| 78 | "key":"voltha_serial_number", |
| 79 | "value":"1" |
| 80 | } |
| 81 | ], |
| 82 | "param":"mirror_client" |
| 83 | } |
| 84 | ] |
| 85 | } |
| 86 | ] |
| 87 | } |