Add getComputerID() method to SoftwareRelease class.

While it is not mandatory and maybe can be avoided, current implementation of slaplib use computer_id heavily.
parent e8097564
...@@ -134,6 +134,12 @@ class ISoftwareRelease(IBuildoutController): ...@@ -134,6 +134,12 @@ class ISoftwareRelease(IBuildoutController):
Returns a string representing the uri of the software release. Returns a string representing the uri of the software release.
""" """
def getComputerId():
"""
Returns a string representing the identifier of the computer where the SR
is installed.
"""
def getState(): def getState():
""" """
Returns a string representing the expected state of the software Returns a string representing the expected state of the software
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment