|
1 | 1 | { |
2 | 2 | "Network": { |
3 | | - "CnsClient": null, |
4 | | - "Version": "v1.6.17", |
5 | | - "TimeStamp": "2025-01-09T16:21:18.4352991Z", |
6 | 3 | "ExternalInterfaces": { |
7 | 4 | "Ethernet": { |
8 | 5 | "Name": "Ethernet", |
9 | 6 | "Networks": { |
10 | | - "azure-vlan1-192-0-0-0_24": { |
11 | | - "Id": "azure-vlan1-192-0-0-0_24", |
12 | | - "HnsId": "174e3286-fd9a-48c0-9840-2c6a133b7b61", |
13 | | - "Mode": "tunnel", |
14 | | - "VlanId": 1, |
15 | | - "Subnets": [ |
16 | | - { |
17 | | - "Family": 2, |
18 | | - "Prefix": { |
19 | | - "IP": "192.0.0.0", |
20 | | - "Mask": "////AA==" |
21 | | - }, |
22 | | - "Gateway": "192.0.0.1", |
23 | | - "PrimaryIP": "" |
24 | | - } |
25 | | - ], |
| 7 | + "mock_network": { |
26 | 8 | "Endpoints": { |
27 | | - "1f20629e-eth0": { |
28 | | - "Id": "1f20629e-eth0", |
29 | | - "HnsId": "41d49f8c-820a-406a-ade6-6b041ff763a6", |
30 | | - "SandboxKey": "1f20629e98eb30e9958ad070354852f452247556f08cb3ff227665ee5125fea8", |
31 | | - "IfName": "eth0", |
32 | | - "HostIfName": "", |
33 | | - "MacAddress": "ABVdtctu", |
34 | | - "InfraVnetIP": { |
35 | | - "IP": "", |
36 | | - "Mask": null |
37 | | - }, |
38 | | - "LocalIP": "", |
| 9 | + "mock_endpoint_1": { |
| 10 | + "Id": "X", |
39 | 11 | "IPAddresses": [ |
40 | 12 | { |
41 | 13 | "IP": "192.0.0.5", |
42 | | - "Mask": "////AA==" |
43 | | - } |
44 | | - ], |
45 | | - "Gateways": [ |
46 | | - "192.0.0.1" |
47 | | - ], |
48 | | - "DNS": { |
49 | | - "Suffix": "retina2-namespace.svc.cluster.local", |
50 | | - "Servers": [ |
51 | | - "168.63.129.16" |
52 | | - ], |
53 | | - "Options": null |
54 | | - }, |
55 | | - "Routes": [ |
56 | | - { |
57 | | - "Dst": { |
58 | | - "IP": "0.0.0.0", |
59 | | - "Mask": "AAAAAA==" |
60 | | - }, |
61 | | - "Src": "", |
62 | | - "Gw": "192.0.0.1", |
63 | | - "Protocol": 0, |
64 | | - "DevName": "", |
65 | | - "Scope": 0, |
66 | | - "Priority": 0, |
67 | | - "Table": 0 |
| 14 | + "Mask": "X" |
68 | 15 | } |
69 | 16 | ], |
70 | | - "VlanID": 1, |
71 | | - "EnableSnatOnHost": false, |
72 | | - "EnableInfraVnet": false, |
73 | | - "EnableMultitenancy": false, |
74 | | - "AllowInboundFromHostToNC": true, |
75 | | - "AllowInboundFromNCToHost": true, |
76 | | - "NetworkContainerID": "Swift_00000000-0000-0000-0000-000000000002", |
77 | | - "ContainerID": "1f20629e98eb30e9958ad070354852f452247556f08cb3ff227665ee5125fea8", |
78 | 17 | "PODName": "retina-pod", |
79 | | - "PODNameSpace": "retina-namespace", |
80 | | - "NetNs": "3be8896f-442f-40d2-a3c8-3be9ed730aff", |
81 | | - "SecondaryInterfaces": null, |
82 | | - "NICType": "InfraNIC" |
| 18 | + "PODNameSpace": "retina-namespace" |
83 | 19 | }, |
84 | | - "ecb287b4-eth0": { |
85 | | - "Id": "ecb287b4-eth0", |
86 | | - "HnsId": "40cdffea-5a95-4f30-aa6a-a7d65355ef65", |
87 | | - "SandboxKey": "ecb287b4bedd9fcf02cc4bd00d05cb2be1a40055880d8de1a57ca727e5b5ef5b", |
88 | | - "IfName": "eth0", |
89 | | - "HostIfName": "", |
90 | | - "MacAddress": "ABVdtcrw", |
91 | | - "InfraVnetIP": { |
92 | | - "IP": "", |
93 | | - "Mask": null |
94 | | - }, |
95 | | - "LocalIP": "", |
| 20 | + "mock_endpoint_2": { |
| 21 | + "Id": "Y", |
96 | 22 | "IPAddresses": [ |
97 | 23 | { |
98 | 24 | "IP": "192.0.0.4", |
99 | | - "Mask": "////AA==" |
100 | | - } |
101 | | - ], |
102 | | - "Gateways": [ |
103 | | - "192.0.0.1" |
104 | | - ], |
105 | | - "DNS": { |
106 | | - "Suffix": "retina2-namespace.svc.cluster.local", |
107 | | - "Servers": [ |
108 | | - "168.63.129.16" |
109 | | - ], |
110 | | - "Options": null |
111 | | - }, |
112 | | - "Routes": [ |
113 | | - { |
114 | | - "Dst": { |
115 | | - "IP": "0.0.0.0", |
116 | | - "Mask": "AAAAAA==" |
117 | | - }, |
118 | | - "Src": "", |
119 | | - "Gw": "192.0.0.1", |
120 | | - "Protocol": 0, |
121 | | - "DevName": "", |
122 | | - "Scope": 0, |
123 | | - "Priority": 0, |
124 | | - "Table": 0 |
| 25 | + "Mask": "Y" |
125 | 26 | } |
126 | 27 | ], |
127 | | - "VlanID": 1, |
128 | | - "EnableSnatOnHost": false, |
129 | | - "EnableInfraVnet": false, |
130 | | - "EnableMultitenancy": false, |
131 | | - "AllowInboundFromHostToNC": true, |
132 | | - "AllowInboundFromNCToHost": true, |
133 | | - "NetworkContainerID": "Swift_00000000-0000-0000-0000-000000000001", |
134 | | - "ContainerID": "ecb287b4bedd9fcf02cc4bd00d05cb2be1a40055880d8de1a57ca727e5b5ef5b", |
135 | 28 | "PODName": "retina2-pod", |
136 | | - "PODNameSpace": "retina2-namespace", |
137 | | - "NetNs": "86cba19c-b544-4a43-ada0-463b3d56899d", |
138 | | - "SecondaryInterfaces": null, |
139 | | - "NICType": "InfraNIC" |
| 29 | + "PODNameSpace": "retina2-namespace" |
140 | 30 | } |
141 | | - }, |
142 | | - "DNS": { |
143 | | - "Suffix": "", |
144 | | - "Servers": null, |
145 | | - "Options": null |
146 | | - }, |
147 | | - "EnableSnatOnHost": false, |
148 | | - "NetNs": "82a70e8e-3e7c-4f50-a211-ff4062f08cac", |
149 | | - "SnatBridgeIP": "" |
| 31 | + } |
150 | 32 | } |
151 | | - }, |
152 | | - "Subnets": [ |
153 | | - "10.0.0.0/24" |
154 | | - ], |
155 | | - "BridgeName": "", |
156 | | - "DNSInfo": { |
157 | | - "Suffix": "", |
158 | | - "Servers": null, |
159 | | - "Options": null |
160 | | - }, |
161 | | - "MacAddress": "AA06PtyI", |
162 | | - "IPAddresses": null, |
163 | | - "Routes": null, |
164 | | - "IPv4Gateway": "0.0.0.0", |
165 | | - "IPv6Gateway": "::" |
| 33 | + } |
166 | 34 | } |
167 | 35 | } |
168 | 36 | } |
|
0 commit comments