Fixed some misspellings

Change-Id: I2e5cc0551066fccee57f0dae90d9a131be0d8b44
This commit is contained in:
Lianhao Lu 2015-07-01 10:36:17 +08:00
parent d8ef73b576
commit 4818f7e649
6 changed files with 8 additions and 8 deletions

View File

@ -67,7 +67,7 @@ class Proof(object):
"""A single proof. """A single proof.
Differs semantically from Database's Differs semantically from Database's
Proof in that this verison represents a proof that spans rules, Proof in that this version represents a proof that spans rules,
instead of just a proof for a single rule. instead of just a proof for a single rule.
""" """
def __init__(self, root, children): def __init__(self, root, children):

View File

@ -454,7 +454,7 @@ class MuranoDriver(datasource_driver.DataSourceDriver,
def _get_parent_types(self, obj_type): def _get_parent_types(self, obj_type):
"""Get class types of all OBJ_TYPE's parents including itself. """Get class types of all OBJ_TYPE's parents including itself.
Look up the hierachy of OBJ_TYPE and return types of all its Look up the hierarchy of OBJ_TYPE and return types of all its
ancestor including its own type. ancestor including its own type.
:param obj_type: <string> :param obj_type: <string>
""" """

View File

@ -510,7 +510,7 @@ class PlexxiDriver(datasource_driver.DataSourceDriver):
raise Exception(requests.exceptions.ConnectionError(msg)) raise Exception(requests.exceptions.ConnectionError(msg))
def keystoneauth(self): def keystoneauth(self):
"""Aquire a keystone auth token for API calls """Acquire a keystone auth token for API calls
Called when congress is running with keystone as the authentication Called when congress is running with keystone as the authentication
method.This provides the driver a keystone token that is then placed method.This provides the driver a keystone token that is then placed
@ -556,7 +556,7 @@ class PlexxiDriver(datasource_driver.DataSourceDriver):
return False return False
return True return True
except Exception: except Exception:
LOG.exception("An error has occured when accessing the " + LOG.exception("An error has occurred when accessing the " +
"Congress API.All automated API calls have been " + "Congress API.All automated API calls have been " +
"disabled.") "disabled.")
self.unique_names = False self.unique_names = False

View File

@ -173,7 +173,7 @@ class VCenterDriver(DataSourceDriver):
def _translate_hosts(self, rawhosts): def _translate_hosts(self, rawhosts):
"""Translate the host data from vCenter """Translate the host data from vCenter
First the raw host data aquired from vCenter is parsed and organized First the raw host data acquired from vCenter is parsed and organized
into a simple format that can be read by congress translators. This into a simple format that can be read by congress translators. This
creates three lists, hosts, pnics and vnics. These lists are then creates three lists, hosts, pnics and vnics. These lists are then
parsed by congress translators to create tables. parsed by congress translators to create tables.
@ -248,7 +248,7 @@ class VCenterDriver(DataSourceDriver):
def _translate_vms(self, rawvms): def _translate_vms(self, rawvms):
"""Translate the VM data from vCenter """Translate the VM data from vCenter
First the raw VM data aquired from vCenter is parsed and organized First the raw VM data acquired from vCenter is parsed and organized
into a simple format that can be read by congress translators. This into a simple format that can be read by congress translators. This
is a single list named vms that is then parsed by a congress is a single list named vms that is then parsed by a congress
translator to create the vms table. translator to create the vms table.

View File

@ -104,7 +104,7 @@ To do a simulation from the command line, you use the following command::
* <change-sequence>: a string codifying a sequence of insertions and deletions * <change-sequence>: a string codifying a sequence of insertions and deletions
of data and rules. Insertions are denoted by '+' and deletions by '-' of data and rules. Insertions are denoted by '+' and deletions by '-'
* <action-policy-name>: the name of another policy of type 'action' describing * <action-policy-name>: the name of another policy of type 'action' describing
the effects of any actions occuring in <change-sequence>. Actions are not the effects of any actions occurring in <change-sequence>. Actions are not
necessary and are explained later. Without actions, this argument can be necessary and are explained later. Without actions, this argument can be
anything (and will in the future be optional). anything (and will in the future be optional).

View File

@ -36,7 +36,7 @@
* Dashboard * Dashboard
** IDE for policy (different levels: raw-Datalog, AD, checkbox-based) ** IDE for policy (different levels: raw-Datalog, AD, checkbox-based)
** List violations ** List violations
** Explain violations (step-by-step tracing thru policy) ** Explain violations (step-by-step tracing through policy)
** Simulate state change and action execution ** Simulate state change and action execution
** Enumerate remediations for a given violation ** Enumerate remediations for a given violation