Ockle’s GUI is a pyramid 1.2 application that communicates to the Ockle Daemon.
There are a few helper functions for the view’s page
When creating config pages with multi choice fields, you must populate the multiListChoices variable and pass it to the template, this can be done using the views.multiChoiceGenerators module:
Ockle PDU and servers manager Helper functions for creating multi-choice fields that can then be displayed by the GUI
Created on Oct 27, 2012
@author: Guy Sheffer <guy.sheffer at mail.huji.ac.il>
Generate a multilist format for a template. So it can be rendered on a template
Parameters: |
|
---|---|
Returns: | a multiListChoices dict ready to be rendred in a template |
Make a multi select option for the select type
Parameters: |
|
---|---|
Returns: | The updated multiListChoices dict |