Commit ba05464f authored by Guido Trotter's avatar Guido Trotter

Fix test rapi request

This was wrong even before, as it contained both a bridge and a link,
which are incompatible when passed together. Fix by passing only the
link field.
Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 72f0ef8e
...@@ -76,7 +76,7 @@ class TestParseInstanceCreateRequestVersion1(testutils.GanetiTestCase): ...@@ -76,7 +76,7 @@ class TestParseInstanceCreateRequestVersion1(testutils.GanetiTestCase):
{ "ip": "192.0.2.6", "mode": constants.NIC_MODE_ROUTED, { "ip": "192.0.2.6", "mode": constants.NIC_MODE_ROUTED,
"mac": "01:23:45:67:68:9A", "mac": "01:23:45:67:68:9A",
}, },
{ "mode": constants.NIC_MODE_BRIDGED, "link": "n0", "bridge": "br1", }, { "mode": constants.NIC_MODE_BRIDGED, "link": "br1" },
], ],
] ]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment