Revision fd3e6a69 lib/constants.py

b/lib/constants.py
1095 1095

  
1096 1096
NIC_VALID_MODES = frozenset([NIC_MODE_BRIDGED, NIC_MODE_ROUTED])
1097 1097

  
1098
NETWORK_TYPE_PRIVATE = "private"
1099 1098
NETWORK_TYPE_PUBLIC = "public"
1100

  
1101
NETWORK_VALID_TYPES = frozenset([NETWORK_TYPE_PRIVATE, NETWORK_TYPE_PUBLIC])
1099
NETWORK_TYPE_PUBLIC_ROUTED = "public-routed"
1100
NETWORK_TYPE_PRIVATE = "private"
1101
NETWORK_TYPE_PRIVATE_FILTERED = "private-filtered"
1102
NETWORK_TYPE_PRIVATE_VLAN = "private-vlan"
1103

  
1104
NETWORK_VALID_TYPES = frozenset([NETWORK_TYPE_PUBLIC,
1105
                                 NETWORK_TYPE_PUBLIC_ROUTED,
1106
                                 NETWORK_TYPE_PRIVATE,
1107
                                 NETWORK_TYPE_PRIVATE_VLAN,
1108
                                 NETWORK_TYPE_PRIVATE_FILTERED])
1102 1109

  
1103 1110
NICS_PARAMETER_TYPES = {
1104 1111
  NIC_MODE: VTYPE_STRING,

Also available in: Unified diff