Jian Li | 3fbc950 | 2017-04-11 10:41:25 +0900 | [diff] [blame^] | 1 | [ |
| 2 | { |
| 3 | "type": "LIST_ADDRESS", |
| 4 | "listAddress": { |
| 5 | "ipv4": { |
| 6 | "type": "IPV4", |
| 7 | "ipv4": "1.2.3.4/32" |
| 8 | }, |
| 9 | "ipv6": { |
| 10 | "type": "IPV6", |
| 11 | "ipv6": "1111:2222:3333:4444:5555:6666:7777:8886/128" |
| 12 | } |
| 13 | } |
| 14 | }, |
| 15 | { |
| 16 | "type": "SEGMENT_ADDRESS", |
| 17 | "segmentAddress": { |
| 18 | "instanceId": 1, |
| 19 | "address": { |
| 20 | "type": "IPV4", |
| 21 | "ipv4": "1.2.3.4/32" |
| 22 | } |
| 23 | } |
| 24 | }, |
| 25 | { |
| 26 | "type": "AS_ADDRESS", |
| 27 | "asAddress": { |
| 28 | "asNumber": 1, |
| 29 | "address": { |
| 30 | "type": "IPV4", |
| 31 | "ipv4": "1.2.3.4/32" |
| 32 | } |
| 33 | } |
| 34 | }, |
| 35 | { |
| 36 | "type": "APPLICATION_DATA_ADDRESS", |
| 37 | "applicationDataAddress": { |
| 38 | "protocol": 1, |
| 39 | "ipTos": 1, |
| 40 | "localPortLow": 1, |
| 41 | "localPortHigh": 1, |
| 42 | "remotePortLow": 1, |
| 43 | "remotePortHigh": 1, |
| 44 | "address": { |
| 45 | "type": "IPV4", |
| 46 | "ipv4": "1.2.3.4/32" |
| 47 | } |
| 48 | } |
| 49 | }, |
| 50 | { |
| 51 | "type": "GEO_COORDINATE_ADDRESS", |
| 52 | "geoCoordinateAddress": { |
| 53 | "north": true, |
| 54 | "latitudeDegree": 1, |
| 55 | "latitudeMinute": 1, |
| 56 | "latitudeSecond": 1, |
| 57 | "east": true, |
| 58 | "longitudeDegree": 1, |
| 59 | "longitudeMinute": 1, |
| 60 | "longitudeSecond": 1, |
| 61 | "altitude": 1, |
| 62 | "address": { |
| 63 | "type": "IPV4", |
| 64 | "ipv4": "1.2.3.4/32" |
| 65 | } |
| 66 | } |
| 67 | }, |
| 68 | { |
| 69 | "type": "NAT_ADDRESS", |
| 70 | "natAddress": { |
| 71 | "msUdpPortNumber": 1, |
| 72 | "etrUdpPortNumber": 1, |
| 73 | "globalEtrRlocAddress": { |
| 74 | "type": "IPV4", |
| 75 | "ipv4": "1.2.3.4/32" |
| 76 | }, |
| 77 | "msRlocAddress": { |
| 78 | "type": "IPV4", |
| 79 | "ipv4": "1.2.3.4/32" |
| 80 | }, |
| 81 | "privateEtrRlocAddress": { |
| 82 | "type": "IPV4", |
| 83 | "ipv4": "1.2.3.4/32" |
| 84 | }, |
| 85 | "rtrRlocAddresses": [ |
| 86 | { |
| 87 | "type": "IPV4", |
| 88 | "ipv4": "1.2.3.4/32" |
| 89 | }, |
| 90 | { |
| 91 | "type": "IPV6", |
| 92 | "ipv6": "1111:2222:3333:4444:5555:6666:7777:8886/128" |
| 93 | } |
| 94 | ] |
| 95 | } |
| 96 | }, |
| 97 | { |
| 98 | "type": "NONCE_ADDRESS", |
| 99 | "nonceAddress": { |
| 100 | "nonce": 1, |
| 101 | "address": { |
| 102 | "type": "IPV4", |
| 103 | "ipv4": "1.2.3.4/32" |
| 104 | } |
| 105 | } |
| 106 | }, |
| 107 | { |
| 108 | "type": "MULTICAST_ADDRESS", |
| 109 | "multicastAddress": { |
| 110 | "instanceId": 1, |
| 111 | "srcMaskLength": 1, |
| 112 | "grpMaskLength": 1, |
| 113 | "srcAddress": { |
| 114 | "type": "IPV4", |
| 115 | "ipv4": "1.2.3.4/32" |
| 116 | }, |
| 117 | "grpAddress": { |
| 118 | "type": "IPV4", |
| 119 | "ipv4": "1.2.3.4/32" |
| 120 | } |
| 121 | } |
| 122 | }, |
| 123 | { |
| 124 | "type": "TRAFFIC_ENGINEERING_ADDRESS", |
| 125 | "trafficEngineeringAddress": { |
| 126 | "records": [ |
| 127 | { |
| 128 | "lookup": true, |
| 129 | "rlocProbe": true, |
| 130 | "strict": true, |
| 131 | "address": { |
| 132 | "type": "IPV4", |
| 133 | "ipv4": "1.2.3.4/32" |
| 134 | } |
| 135 | } |
| 136 | ] |
| 137 | } |
| 138 | }, |
| 139 | { |
| 140 | "type": "SOURCE_DEST_ADDRESS", |
| 141 | "sourceDestAddress": { |
| 142 | "srcMaskLength": 1, |
| 143 | "dstMaskLength": 1, |
| 144 | "srcPrefix": { |
| 145 | "type": "IPV4", |
| 146 | "ipv4": "1.2.3.4/32" |
| 147 | }, |
| 148 | "dstPrefix": { |
| 149 | "type": "IPV4", |
| 150 | "ipv4": "1.2.3.4/32" |
| 151 | } |
| 152 | } |
| 153 | } |
| 154 | ] |