X-Git-Url: http://git.onelab.eu/?p=sfa-gui.git;a=blobdiff_plain;f=HelpPanel.py;h=59e183ab62f18c61785553f5514bb566e6d22640;hp=2237aed1dbc0c543955b53cc2355f2df14cf664d;hb=refs%2Fheads%2Fmarcoy-dev;hpb=dd75c282952182b904fbfd26b2f87f5d39552630
diff --git a/HelpPanel.py b/HelpPanel.py
index 2237aed..59e183a 100644
--- a/HelpPanel.py
+++ b/HelpPanel.py
@@ -5,18 +5,55 @@ from pyjamas.ui import HasAlignment
class HelpPanel(VerticalPanel):
def __init__(self):
VerticalPanel.__init__(self)
-
def refresh(self):
pass
class PlanetLabHelpPanel(HelpPanel):
def __init__(self):
HelpPanel.__init__(self)
- self.add(HTML("This is the PlanetLab help panel"))
+ m = "
Steps to set up your slice:"
+ m += "
- Use the Nodes tab to select the nodes "
+ m += "on which your slice will run."
+ m += "
- Use the Slivers tab to configure sliver attributes."
+ m += "(Note that typical users have insufficient permission to "
+ m += "set most attributes.)"
+ m += "
- Under the Submit tab, click the Apply button "
+ m += "to submit your changes, or the Reset button to discard "
+ m += "them.
"
+ self.add(HTML(m))
class VINIHelpPanel(HelpPanel):
def __init__(self):
HelpPanel.__init__(self)
- self.add(HTML("This is the VINI help panel"))
+ m = "Steps to set up your slice:"
+ m += "
- Use the Nodes tab to select the nodes "
+ m += "on which your slice will run."
+ m += "
- Use the Links tab to create a virtual topology for "
+ m += "your slice, if desired. The virtual topology will be "
+ m += "computed automatically; virtual links can only be set up "
+ m += "between nodes that are adjacent in the network, and a virtual "
+ m += "link will be added between each pair of adjacent nodes. "
+ m += "You can remove any undesired virtual links or change "
+ m += "the bandwidth reserved to each link. "
+ m += "
- Use the Slivers tab to configure sliver attributes."
+ m += "(Note that typical users have insufficient permission to "
+ m += "set most attributes.)"
+ m += "
- Under the Submit tab, click the Apply button "
+ m += "to submit your changes, or the Reset button to discard "
+ m += "them.
"
+ self.add(HTML(m))
+
+class OCHelpPanel(HelpPanel):
+ def __init__(self):
+ HelpPanel.__init__(self)
+ m = "Steps to set up your slice:"
+ m += "
- Use the Request tab to request that some "
+ m += "VM instances be allocated to your slice."
+ m += "
- Use the Instances tab to get information on "
+ m += "running VM instances."
+ m += "
- Under the Submit tab, click the Apply button "
+ m += "to submit your changes, or the Reset button to discard "
+ m += "them.
"
+ self.add(HTML(m))