Commit ffb8264
committed
testenv: rework veth creating and config
Instead of creating the veth in the root namespace and then moving and
renaming it, just create it directly in the target namespace with the right
name from the beginning. This requires a bit of rework of the settings
afterwards, but should hopefully fix any inconsistency issues such as the
MAC address issue reported in #159.
Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>1 parent 7e4abef commit ffb8264
1 file changed
Lines changed: 18 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
164 | 172 | | |
165 | 173 | | |
166 | 174 | | |
| |||
215 | 223 | | |
216 | 224 | | |
217 | 225 | | |
218 | | - | |
| 226 | + | |
| 227 | + | |
219 | 228 | | |
220 | | - | |
221 | | - | |
| 229 | + | |
222 | 230 | | |
223 | | - | |
224 | | - | |
225 | | - | |
| 231 | + | |
226 | 232 | | |
227 | 233 | | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
228 | 237 | | |
229 | | - | |
| 238 | + | |
230 | 239 | | |
231 | 240 | | |
232 | | - | |
233 | 241 | | |
234 | | - | |
| 242 | + | |
235 | 243 | | |
236 | | - | |
237 | 244 | | |
238 | | - | |
239 | 245 | | |
240 | 246 | | |
241 | 247 | | |
| |||
0 commit comments