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 = "<div class='infoProse'>Steps to set up your slice:"
+ m += "<ol><li>Use the <b>Nodes</b> tab to select the nodes "
+ m += "on which your slice will run."
+ m += "<li>Use the <b>Slivers</b> tab to configure sliver attributes."
+ m += "(Note that typical users have insufficient permission to "
+ m += "set most attributes.)"
+ m += "<li>Under the <b>Submit</b> tab, click the <i>Apply</i> button "
+ m += "to submit your changes, or the <i>Reset</i> button to discard "
+ m += "them.</ol></p></div>"
+ self.add(HTML(m))
class VINIHelpPanel(HelpPanel):
def __init__(self):
HelpPanel.__init__(self)
- self.add(HTML("This is the VINI help panel"))
+ m = "<div class='infoProse'>Steps to set up your slice:"
+ m += "<ol><li>Use the <b>Nodes</b> tab to select the nodes "
+ m += "on which your slice will run."
+ m += "<li>Use the <b>Links</b> 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 += "<li>Use the <b>Slivers</b> tab to configure sliver attributes."
+ m += "(Note that typical users have insufficient permission to "
+ m += "set most attributes.)"
+ m += "<li>Under the <b>Submit</b> tab, click the <i>Apply</i> button "
+ m += "to submit your changes, or the <i>Reset</i> button to discard "
+ m += "them.</ol></p></div>"
+ self.add(HTML(m))
+
+class OCHelpPanel(HelpPanel):
+ def __init__(self):
+ HelpPanel.__init__(self)
+ m = "<div class='infoProse'>Steps to set up your slice:"
+ m += "<ol><li>Use the <b>Request</b> tab to request that some "
+ m += "VM instances be allocated to your slice."
+ m += "<li>Use the <b>Instances</b> tab to get information on "
+ m += "running VM instances."
+ m += "<li>Under the <b>Submit</b> tab, click the <i>Apply</i> button "
+ m += "to submit your changes, or the <i>Reset</i> button to discard "
+ m += "them.</ol></p></div>"
+ self.add(HTML(m))