OMF helpers¶
The following classes help with the integration with the OMF framework.
-
class
vesna.omf.
ALH
(cluster_uid=None, socket_path=None)¶ ALH protocol implementation for access through the OMF framework.
This class is typically used to access the coordinator when accessing the tesbed through the OMF framework. No parameters are usually needed for the constructor. The appropriate values are discovered automatically through OMF.
-
get
(*args, **kwargs)¶ Issue a GET request to the service.
Raises an ALHException in case of an error.
Parameters: - resource – resource to issue request to
- args – arbitrary string arguments for the request
Returns: vesna.alh.ALHResponse
object
-
post
(*args, **kwargs)¶ Issue a POST request to the service
Raises an ALHException in case of an error.
Parameters: - resource – resource to issue request to
- data – POST data to attach to the request
- args – arbitrary string arguments for the request
Returns: vesna.alh.ALHResponse
object
-