Bases: nepi.resources.omf.omf_resource.OMFResource
Parameters: |
|
---|
Check, through the mail box in the parser, if the confirmation of the creation has been received
Parameters: | cid – the id of the original message |
---|
Check, through the mail box in the parser, if the confirmation of the release has been received
Parameters: | cid – the id of the original message |
---|
Check, through the mail box in the parser, if the confirmation of the start has been received
Parameters: | uid – the id of the original message |
---|
Deploy the RM. It means nothing special for an application for now (later it will be upload sources, ...) It becomes DEPLOYED after the topic for the application has been created
Start the RM. It means : Send Xmpp Message Using OMF protocol to execute the application.
Stop the RM. It means : Send Xmpp Message Using OMF protocol to kill the application. State is set to STOPPED after the message is sent.
Bases: nepi.resources.omf.omf_resource.OMFResource
Parameters: |
---|
Bases: nepi.resources.omf.omf_resource.OMFResource
Parameters: |
|
---|
Check, through the mail box in the parser, if the confirmation of the creation has been received
Parameters: | cid – the id of the original message |
---|
Check, through the mail box in the parser, if the confirmation of the release has been received
Parameters: | cid – the id of the original message |
---|
Configure the ip of the interface
CELL ID shraing problem. By putting th ip at the end of the configuration, each node use the same channel and can then share the same CELL ID. In the second case, the channel is defined at the end and the node don’t share a common CELL ID and can not communicate.
Parameters: |
|
---|
Note
This class is used only for OMF 5.4 Protocol and is going to become unused
Build an Execute Message
Parameters: |
---|
Parameters: |
|
---|
Note
This class is used only for OMF 5.4 Protocol and is going to become unused
Build a configure message
Parameters: |
---|
Build a create message
Parameters: |
---|
Build a release message
Parameters: |
---|
Bases: nepi.resources.omf.omf_resource.OMFResource
Parameters: |
---|
Deploy the RM. It means : Send Xmpp Message Using OMF protocol to enroll the node into the experiment.
Bases: nepi.util.logger.Logger
Parameters: |
---|
Note
This class is the implementation of an OMF 5.4 API. Since the version 5.4.1, the Topic Architecture start with OMF_5.4 instead of OMF used for OMF5.3
Delete the topic corresponding to the hostname for this session
Parameters: | hostname (str) – Full hrn of the node |
---|
Parameters: | hostname (str) – Full hrn of the node |
---|
Bases: nepi.util.logger.Logger
Parameters: |
---|
Note
This class is the implementation of an OMF 5.4 API. Since the version 5.4.1, the Topic Architecture start with OMF_5.4 instead of OMF used for OMF5.3
Parameters: | hostname (str) – Full hrn of the node |
---|
Create and Subscribe to the session topic and the resources corresponding to the hostname
Bases: nepi.util.logger.Logger
Parameters: |
---|
Note
This class is an XMPP Client with customized method
Bases: object
Note
It allows the different RM to use the same xmpp client if they use the same credentials. For the moment, it is focused on XMPP.
Create an OMF API if this one doesn’t exist yet with this credentials
Parameters: |
---|
Get an OMF Api
Parameters: |
---|
Bases: sleekxmpp.clientxmpp.ClientXMPP
Bases: nepi.resources.omf.omf_client.BaseOMFClient, nepi.util.logger.Logger
Parameters: |
---|
Note
This class is an XMPP Client with customized method
Create the topic corresponding to the node
Parameters: | node (str) – Name of the topic, corresponding to the node (ex : omf.plexus.wlab17) |
---|
Delete the topic corresponding to the node
Parameters: | node (str) – Name of the topic, corresponding to the node (ex : omf.plexus.wlab17) |
---|
Handle published/received message
Parameters: | iq (Iq Stanza) – Stanzas that is currently published/received |
---|
Register to the Xmppp Server. This function is called directly by the sleekXmpp library
Retract the item
Parameters: | data (str) – data from which the item will be retracted |
---|
Bases: nepi.execution.resource.ResourceManager
Generic resource gathering XMPP credential information and common methods for OMF nodes, channels, applications, etc.
Dictionary used to set OMF gateway depending on Testbed information.
Bases: nepi.resources.omf.node.OMFNode
Based on the attributes defined by the user, discover the suitable node for provision.
Add node to user’s slice and verifing that the node is functioning correctly. Check ssh, omf rc running, hostname, file system.
Notice that this invocation will block until the execution finishes. If this is not the desired behavior, use ‘run’ instead.