I'd add a 'required' option so that we can replace those '.*'. This was tested as working against current master (35946b1f225c984f11915ba8e985584160f0b129) but since settings are being rewritten this bug is being postponed until https://blueprints.launchpad.net/openstack/?searchtext=backbone-to-react is finished.
Here are the relevant regexpes in openstack.yaml:
attributes_ metadata:
descriptio n: "Username for Administrator"
source: &user_tenant_ blacklist '^(?!services$ )(?!nova$ )(?!glance$ )(?!keystone$ )(?!neutron$ )(?!cinder$ )(?!swift$ )(?!ceph$ )(?![Gg] uest$)( ?!.* +.*$).+'
error: "Invalid username"
descriptio n: "Email address for Administrator"
source: ^[a-z0- 9!#$%&' *+/=?^_ `{|}~-] +(?:\.[ a-z0-9! #$%&'*+ /=?^_`{ |}~-]+) *@(?:[a- z0-9](? :[a-z0- 9-]*[a- z0-9])? \.?)+[a- z0-9]?( ?:[a-z0- 9-]*[a- z0-9])?
error: "Invalid email"
descriptio n: "Tenant (project) name for Administrator"
source: *user_tenant_ blacklist
error: "Invalid tenant name"
descriptio n: "Password for Administrator"
source: .+
error: "Invalid password"
editable:
access:
metadata:
label: "Access"
weight: 10
user:
value: "admin"
label: "username"
weight: 10
type: "text"
regex:
email:
value: "admin@localhost"
label: "email"
weight: 40
type: "text"
regex:
tenant:
value: "admin"
label: "tenant"
weight: 30
type: "text"
regex:
password:
value: "admin"
label: "password"
weight: 20
type: "password"
regex:
I'd add a 'required' option so that we can replace those '.*'. This was tested as working against current master (35946b1f225c98 4f11915ba8e9855 84160f0b129) but since settings are being rewritten this bug is being postponed until https:/ /blueprints. launchpad. net/openstack/ ?searchtext= backbone- to-react is finished.