Merge "Fixed typo in statefulentity.py variable"
This commit is contained in:
commit
0e52b2918d
@ -24,10 +24,10 @@ class StatefulEntityType(EntityType):
|
|||||||
'configure', 'start',
|
'configure', 'start',
|
||||||
'stop', 'delete']
|
'stop', 'delete']
|
||||||
|
|
||||||
interfaces_relationship_confiure_operations = ['post_configure_source',
|
interfaces_relationship_configure_operations = ['post_configure_source',
|
||||||
'post_configure_target',
|
'post_configure_target',
|
||||||
'add_target',
|
'add_target',
|
||||||
'remove_target']
|
'remove_target']
|
||||||
|
|
||||||
def __init__(self, entitytype, prefix, custom_def=None):
|
def __init__(self, entitytype, prefix, custom_def=None):
|
||||||
entire_entitytype = entitytype
|
entire_entitytype = entitytype
|
||||||
|
@ -251,7 +251,7 @@ class NodeTemplate(EntityTemplate):
|
|||||||
elif name in (CONFIGURE, CONFIGURE_SHORTNAME):
|
elif name in (CONFIGURE, CONFIGURE_SHORTNAME):
|
||||||
self._common_validate_field(
|
self._common_validate_field(
|
||||||
value, InterfacesDef.
|
value, InterfacesDef.
|
||||||
interfaces_relationship_confiure_operations,
|
interfaces_relationship_configure_operations,
|
||||||
'interfaces')
|
'interfaces')
|
||||||
else:
|
else:
|
||||||
ExceptionCollector.appendException(
|
ExceptionCollector.appendException(
|
||||||
|
Loading…
Reference in New Issue
Block a user