[node-patches] Change in ovirt-node[master]: Using validator "SnmpPassword" into SNMP Password Entry
hadong0720 at gmail.com
hadong0720 at gmail.com
Mon Jul 15 09:40:33 UTC 2013
hadong has uploaded a new change for review.
Change subject: Using validator "SnmpPassword" into SNMP Password Entry
......................................................................
Using validator "SnmpPassword" into SNMP Password Entry
Previously miss validations for SNMP password to check it
without spaces and at least 8 chars.
Now add validator "SnmpPassword" into SNMP Password Entry
Change-Id: I3b58ee0776eab2c2e540206ef04f357b24544acc
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=984450
Signed-off-by: hadong <hadong0720 at gmail.com>
---
M src/ovirt/node/setup/snmp/snmp_page.py
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/42/16842/1
diff --git a/src/ovirt/node/setup/snmp/snmp_page.py b/src/ovirt/node/setup/snmp/snmp_page.py
index fd8ecbd..f8df47f 100644
--- a/src/ovirt/node/setup/snmp/snmp_page.py
+++ b/src/ovirt/node/setup/snmp/snmp_page.py
@@ -73,7 +73,7 @@
return model
def validators(self):
- return {"snmp.password": valid.Text()
+ return {"snmp.password": SnmpPassword()
}
def ui_content(self):
--
To view, visit http://gerrit.ovirt.org/16842
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3b58ee0776eab2c2e540206ef04f357b24544acc
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: hadong <hadong0720 at gmail.com>
More information about the node-patches
mailing list