Commit a4aa6d08 authored by Dimitris Aragiorgis's avatar Dimitris Aragiorgis Committed by Helga Velroyen

Fix INicParams to include inicNetwork

All instance related opcodes that use the --net option
were broken because luxid was not passing the network parameter
to the corresponding LU.

Fix this.
Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
Reviewed-by: default avatarHelga Velroyen <helgav@google.com>
parent 306a3845
......@@ -344,6 +344,7 @@ $(buildObject "INicParams" "inic"
, optionalField $ simpleField C.inicName [t| NonEmptyString |]
, optionalField $ simpleField C.inicVlan [t| String |]
, optionalField $ simpleField C.inicBridge [t| NonEmptyString |]
, optionalField $ simpleField C.inicNetwork [t| NonEmptyString |]
])
-- | Disk modification definition.
......
......@@ -89,7 +89,7 @@ instance Arbitrary INicParams where
arbitrary = INicParams <$> genMaybe genNameNE <*> genMaybe genName <*>
genMaybe genNameNE <*> genMaybe genNameNE <*>
genMaybe genNameNE <*> genMaybe genName <*>
genMaybe genNameNE
genMaybe genNameNE <*> genMaybe genNameNE
instance Arbitrary IDiskParams where
arbitrary = IDiskParams <$> arbitrary <*> arbitrary <*>
......
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