[node-patches] Change in ovirt-node[master]: security_page: Add strong rng
fabiand at fedoraproject.org
fabiand at fedoraproject.org
Tue Dec 11 20:09:35 UTC 2012
Fabian Deutsch has uploaded a new change for review.
Change subject: security_page: Add strong rng
......................................................................
security_page: Add strong rng
Change-Id: I055427f1f6af8c4cbe70189ac290d64103269907
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M scripts/tui/src/ovirt/node/plugins/security_page.py
1 file changed, 10 insertions(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/01/9901/1
diff --git a/scripts/tui/src/ovirt/node/plugins/security_page.py b/scripts/tui/src/ovirt/node/plugins/security_page.py
index 6320048..947aba4 100644
--- a/scripts/tui/src/ovirt/node/plugins/security_page.py
+++ b/scripts/tui/src/ovirt/node/plugins/security_page.py
@@ -45,6 +45,8 @@
if not self._model:
self._model = {
"ssh.enabled": "no",
+ "strongrng.enabled": "no",
+ "strongrng.bytes_used": "",
"passwd.admin.password": "",
"passwd.admin.password_confirmation": "",
}
@@ -52,6 +54,7 @@
def validators(self):
return {
+ "stringrng.bytes_used": ovirt.node.valid.Number(min=0) | ovirt.node.valid.Empty,
"passwd.admin.password": ovirt.node.valid.Text(),
"passwd.admin.password_confirmation": ovirt.node.valid.Text(),
}
@@ -64,6 +67,13 @@
[("yes", "Yes"), ("no", "No")])),
("ssh._divider", ovirt.node.ui.Divider()),
+ ("strongrng._label", ovirt.node.ui.Header("Strong Random Number Generator")),
+ ("strongrng.enabled", ovirt.node.ui.Options(
+ "Enable AES-NI",
+ [("yes", "Yes"), ("no", "No")])),
+ ("strongrng.num_bytes", ovirt.node.ui.Entry("Bytes Used:")),
+ ("strongrng._divider", ovirt.node.ui.Divider()),
+
("passwd._label", ovirt.node.ui.Label("Local Access")),
("passwd.admin.password", ovirt.node.ui.PasswordEntry("Password:")),
--
To view, visit http://gerrit.ovirt.org/9901
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I055427f1f6af8c4cbe70189ac290d64103269907
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>
More information about the node-patches
mailing list