Back to index

salome-kernel  6.5.0
Public Member Functions | Public Attributes
kill_remote_containers.Resource Class Reference

List of all members.

Public Member Functions

def __init__
def get_rcp
def get_rsh
def get_user
def get_host
def get_name
def get_appliPath

Public Attributes

 node
 components
 resource_dir

Detailed Description

Define a SALOME resource
   - components : the list of available components of the resource

Definition at line 71 of file kill_remote_containers.py.


Constructor & Destructor Documentation

def kill_remote_containers.Resource.__init__ (   self,
  node 
)

Definition at line 75 of file kill_remote_containers.py.

00075 
00076   def __init__(self,node):
00077     self.node=node
00078     self.components=[]
00079     self.resource_dir=None


Member Function Documentation

Definition at line 105 of file kill_remote_containers.py.

00105 
00106   def get_appliPath(self):
00107     appliPath= self.node.get("appliPath")
00108     if appliPath is None:
00109       appliPath=APPLI
00110     return appliPath

Here is the caller graph for this function:

Definition at line 96 of file kill_remote_containers.py.

00096 
00097   def get_host(self):
00098     hostname= self.node.get("hostname")
00099     return hostname

Here is the caller graph for this function:

Definition at line 100 of file kill_remote_containers.py.

00100 
00101   def get_name(self):
00102     name= self.node.get("name")
00103     if name:return name
00104     return self.get_host()

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 80 of file kill_remote_containers.py.

00080 
00081   def get_rcp(self):
00082     protocol= self.node.get("protocol")
00083     if protocol and protocol[0]=='s':return "scp"
00084     else:return "rcp"

Here is the caller graph for this function:

Definition at line 85 of file kill_remote_containers.py.

00085 
00086   def get_rsh(self):
00087     protocol= self.node.get("protocol")
00088     if protocol and protocol[0]=='s':return "ssh"
00089     else:return "rsh"

Definition at line 90 of file kill_remote_containers.py.

00090 
00091   def get_user(self):
00092     userName= self.node.get("userName")
00093     if not userName:
00094       userName=os.getenv('USER')
00095     return userName

Here is the caller graph for this function:


Member Data Documentation

Definition at line 77 of file kill_remote_containers.py.

Definition at line 76 of file kill_remote_containers.py.

Definition at line 78 of file kill_remote_containers.py.


The documentation for this class was generated from the following file: