Updated graph model to use attr_dict
This patchset makes use of a more idiomatic structure of networkx Change-Id: Iccc4e9f0cc14cccadb2959ff8d68cd68367c4da3
This commit is contained in:
@@ -402,11 +402,15 @@ class WildcardCharacterIsUsed(WatcherException):
|
||||
|
||||
# Model
|
||||
|
||||
class InstanceNotFound(WatcherException):
|
||||
class ComputeResourceNotFound(WatcherException):
|
||||
msg_fmt = _("The compute resource '%(name)s' could not be found")
|
||||
|
||||
|
||||
class InstanceNotFound(ComputeResourceNotFound):
|
||||
msg_fmt = _("The instance '%(name)s' could not be found")
|
||||
|
||||
|
||||
class ComputeNodeNotFound(WatcherException):
|
||||
class ComputeNodeNotFound(ComputeResourceNotFound):
|
||||
msg_fmt = _("The compute node %(name)s could not be found")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user