Merge "Remove unnecessary required=False"
This commit is contained in:
commit
f50f4ddcfa
@ -82,7 +82,6 @@ class AutoScalingResourceGroup(aws_asg.AutoScalingGroup):
|
|||||||
ROLLING_UPDATES: properties.Schema(
|
ROLLING_UPDATES: properties.Schema(
|
||||||
properties.Schema.MAP,
|
properties.Schema.MAP,
|
||||||
_('Policy for rolling updates for this scaling group.'),
|
_('Policy for rolling updates for this scaling group.'),
|
||||||
required=False,
|
|
||||||
update_allowed=True,
|
update_allowed=True,
|
||||||
schema={
|
schema={
|
||||||
MIN_IN_SERVICE: properties.Schema(
|
MIN_IN_SERVICE: properties.Schema(
|
||||||
|
@ -47,7 +47,6 @@ class FloatingIP(neutron.NeutronResource):
|
|||||||
status=support.DEPRECATED,
|
status=support.DEPRECATED,
|
||||||
message=_('Use property %s.') % FLOATING_NETWORK,
|
message=_('Use property %s.') % FLOATING_NETWORK,
|
||||||
version='2014.2'),
|
version='2014.2'),
|
||||||
required=False,
|
|
||||||
constraints=[
|
constraints=[
|
||||||
constraints.CustomConstraint('neutron.network')
|
constraints.CustomConstraint('neutron.network')
|
||||||
],
|
],
|
||||||
@ -55,7 +54,6 @@ class FloatingIP(neutron.NeutronResource):
|
|||||||
FLOATING_NETWORK: properties.Schema(
|
FLOATING_NETWORK: properties.Schema(
|
||||||
properties.Schema.STRING,
|
properties.Schema.STRING,
|
||||||
_('Network to allocate floating IP from.'),
|
_('Network to allocate floating IP from.'),
|
||||||
required=False,
|
|
||||||
support_status=support.SupportStatus(version='2014.2'),
|
support_status=support.SupportStatus(version='2014.2'),
|
||||||
constraints=[
|
constraints=[
|
||||||
constraints.CustomConstraint('neutron.network')
|
constraints.CustomConstraint('neutron.network')
|
||||||
|
@ -216,7 +216,6 @@ class Pool(neutron.NeutronResource):
|
|||||||
status=support.DEPRECATED,
|
status=support.DEPRECATED,
|
||||||
message=_('Use property %s.') % SUBNET,
|
message=_('Use property %s.') % SUBNET,
|
||||||
version='2014.2'),
|
version='2014.2'),
|
||||||
required=False,
|
|
||||||
constraints=[
|
constraints=[
|
||||||
constraints.CustomConstraint('neutron.subnet')
|
constraints.CustomConstraint('neutron.subnet')
|
||||||
]
|
]
|
||||||
@ -225,7 +224,6 @@ class Pool(neutron.NeutronResource):
|
|||||||
properties.Schema.STRING,
|
properties.Schema.STRING,
|
||||||
_('The subnet for the port on which the members '
|
_('The subnet for the port on which the members '
|
||||||
'of the pool will be connected.'),
|
'of the pool will be connected.'),
|
||||||
required=False,
|
|
||||||
support_status=support.SupportStatus(version='2014.2'),
|
support_status=support.SupportStatus(version='2014.2'),
|
||||||
constraints=[
|
constraints=[
|
||||||
constraints.CustomConstraint('neutron.subnet')
|
constraints.CustomConstraint('neutron.subnet')
|
||||||
|
@ -98,7 +98,6 @@ class NetworkGateway(neutron.NeutronResource):
|
|||||||
status=support.DEPRECATED,
|
status=support.DEPRECATED,
|
||||||
message=_('Use property %s.') % NETWORK,
|
message=_('Use property %s.') % NETWORK,
|
||||||
version='2014.2'),
|
version='2014.2'),
|
||||||
required=False,
|
|
||||||
constraints=[
|
constraints=[
|
||||||
constraints.CustomConstraint('neutron.network')
|
constraints.CustomConstraint('neutron.network')
|
||||||
],
|
],
|
||||||
@ -108,7 +107,6 @@ class NetworkGateway(neutron.NeutronResource):
|
|||||||
description=_(
|
description=_(
|
||||||
'The internal network to connect on '
|
'The internal network to connect on '
|
||||||
'the network gateway.'),
|
'the network gateway.'),
|
||||||
required=False,
|
|
||||||
support_status=support.SupportStatus(version='2014.2'),
|
support_status=support.SupportStatus(version='2014.2'),
|
||||||
constraints=[
|
constraints=[
|
||||||
constraints.CustomConstraint('neutron.network')
|
constraints.CustomConstraint('neutron.network')
|
||||||
|
@ -413,7 +413,6 @@ class RouterGateway(neutron.NeutronResource):
|
|||||||
status=support.DEPRECATED,
|
status=support.DEPRECATED,
|
||||||
message=_('Use property %s.') % NETWORK,
|
message=_('Use property %s.') % NETWORK,
|
||||||
version='2014.2'),
|
version='2014.2'),
|
||||||
required=False,
|
|
||||||
constraints=[
|
constraints=[
|
||||||
constraints.CustomConstraint('neutron.network')
|
constraints.CustomConstraint('neutron.network')
|
||||||
],
|
],
|
||||||
@ -421,7 +420,6 @@ class RouterGateway(neutron.NeutronResource):
|
|||||||
NETWORK: properties.Schema(
|
NETWORK: properties.Schema(
|
||||||
properties.Schema.STRING,
|
properties.Schema.STRING,
|
||||||
_('external network for the gateway.'),
|
_('external network for the gateway.'),
|
||||||
required=False,
|
|
||||||
constraints=[
|
constraints=[
|
||||||
constraints.CustomConstraint('neutron.network')
|
constraints.CustomConstraint('neutron.network')
|
||||||
],
|
],
|
||||||
|
@ -67,7 +67,6 @@ class Subnet(neutron.NeutronResource):
|
|||||||
status=support.DEPRECATED,
|
status=support.DEPRECATED,
|
||||||
message=_('Use property %s.') % NETWORK,
|
message=_('Use property %s.') % NETWORK,
|
||||||
version='2014.2'),
|
version='2014.2'),
|
||||||
required=False,
|
|
||||||
constraints=[
|
constraints=[
|
||||||
constraints.CustomConstraint('neutron.network')
|
constraints.CustomConstraint('neutron.network')
|
||||||
],
|
],
|
||||||
@ -75,7 +74,6 @@ class Subnet(neutron.NeutronResource):
|
|||||||
NETWORK: properties.Schema(
|
NETWORK: properties.Schema(
|
||||||
properties.Schema.STRING,
|
properties.Schema.STRING,
|
||||||
_('The ID of the attached network.'),
|
_('The ID of the attached network.'),
|
||||||
required=False,
|
|
||||||
constraints=[
|
constraints=[
|
||||||
constraints.CustomConstraint('neutron.network')
|
constraints.CustomConstraint('neutron.network')
|
||||||
],
|
],
|
||||||
|
@ -63,7 +63,6 @@ class VPNService(neutron.NeutronResource):
|
|||||||
status=support.DEPRECATED,
|
status=support.DEPRECATED,
|
||||||
message=_('Use property %s.') % SUBNET,
|
message=_('Use property %s.') % SUBNET,
|
||||||
version='2014.2'),
|
version='2014.2'),
|
||||||
required=False,
|
|
||||||
constraints=[
|
constraints=[
|
||||||
constraints.CustomConstraint('neutron.subnet')
|
constraints.CustomConstraint('neutron.subnet')
|
||||||
]
|
]
|
||||||
@ -71,7 +70,6 @@ class VPNService(neutron.NeutronResource):
|
|||||||
SUBNET: properties.Schema(
|
SUBNET: properties.Schema(
|
||||||
properties.Schema.STRING,
|
properties.Schema.STRING,
|
||||||
_('Subnet in which the vpn service will be created.'),
|
_('Subnet in which the vpn service will be created.'),
|
||||||
required=False,
|
|
||||||
support_status=support.SupportStatus(version='2014.2'),
|
support_status=support.SupportStatus(version='2014.2'),
|
||||||
constraints=[
|
constraints=[
|
||||||
constraints.CustomConstraint('neutron.subnet')
|
constraints.CustomConstraint('neutron.subnet')
|
||||||
|
@ -422,7 +422,6 @@ class Server(stack_user.StackUser):
|
|||||||
ADMIN_PASS: properties.Schema(
|
ADMIN_PASS: properties.Schema(
|
||||||
properties.Schema.STRING,
|
properties.Schema.STRING,
|
||||||
_('The administrator password for the server.'),
|
_('The administrator password for the server.'),
|
||||||
required=False,
|
|
||||||
update_allowed=True
|
update_allowed=True
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user