Revision fdbe29ee lib/opcodes.py

b/lib/opcodes.py
1418 1418
    ("mode", ht.NoDefault, ht.TElemOf(constants.VALID_IALLOCATOR_MODES), None),
1419 1419
    ("name", ht.NoDefault, ht.TNonEmptyString, None),
1420 1420
    ("nics", ht.NoDefault, ht.TOr(ht.TNone, ht.TListOf(
1421
     ht.TDictOf(ht.TElemOf(["mac", "ip", "bridge"]),
1421
     ht.TDictOf(ht.TElemOf([constants.INIC_MAC, constants.INIC_IP, "bridge"]),
1422 1422
                ht.TOr(ht.TNone, ht.TNonEmptyString)))), None),
1423 1423
    ("disks", ht.NoDefault, ht.TOr(ht.TNone, ht.TList), None),
1424 1424
    ("hypervisor", None, ht.TMaybeString, None),

Also available in: Unified diff