ONOS
arduino_handler module
arduinoserial module
conf module
globalVar module
hw_node module
mail_agent module
node_query_handler module
pcduino module
router_handler module
time_zone module
web_object module
webserver module
ONOS
Docs
»
web_object module
View page source
web_object module
¶
class
web_object.
WebObject
(
name, obj_type='b', start_status=0, styleDictionary={}, htmlDictionary={}, cmdDictionary={}, note=' ', hardware_pin=[9999], HwNodeSerialNumber=0, spareDict={}
)
[source]
¶
InitFunction
(
)
[source]
¶
addToGroup
(
username
)
[source]
¶
attachScenario
(
scenario
)
[source]
¶
changeCommand
(
status
,
cmd
)
[source]
¶
changeCommand0
(
f0
)
[source]
¶
changeCommand1
(
f1
)
[source]
¶
checkPermissions
(
user
,
action
,
priority
)
[source]
¶
checkRequiredPriority
(
agent_priority
)
[source]
¶
getAttachedPinList
(
)
[source]
¶
getCommand0
(
)
[source]
¶
getCommand1
(
)
[source]
¶
getGroup
(
)
[source]
¶
getHtml
(
)
[source]
¶
getHtml0
(
)
[source]
¶
getHtml1
(
)
[source]
¶
getHwNodeSerialNumber
(
)
[source]
¶
getInitCommand
(
)
[source]
¶
getListAttachedScenarios
(
)
[source]
¶
getMailReport
(
)
[source]
¶
getName
(
)
[source]
¶
getNotes
(
)
[source]
¶
getObjActivity
(
)
[source]
¶
getObjectDictionary
(
)
[source]
¶
getOtherHtml
(
)
[source]
¶
getOtherStyle
(
)
[source]
¶
getOwner
(
)
[source]
¶
getPermissions
(
)
[source]
¶
getPreviousStatus
(
)
[source]
¶
getPreviousStatusForScenario
(
)
[source]
¶
getRequiredPriority
(
)
[source]
¶
getStartStatus
(
)
[source]
¶
getStatus
(
)
[source]
¶
getStatusForScenario
(
)
[source]
¶
getStyle
(
)
[source]
¶
getStyle0
(
)
[source]
¶
getStyle1
(
)
[source]
¶
getType
(
)
[source]
¶
removeAttachedScenario
(
scenario
)
[source]
¶
removeFromGroup
(
username
)
[source]
¶
replaceAttachedScenario
(
previous_scenario_name
,
new_scenario_name
)
[source]
¶
setAttachedPin
(
pin
)
[source]
¶
setCommand0
(
command0
)
[source]
¶
setCommand1
(
command1
)
[source]
¶
setHtml0
(
html0
)
[source]
¶
setHtml1
(
html1
)
[source]
¶
setHtmlWait
(
html_w
)
[source]
¶
setHwNodeSerialNumber
(
HwNodeSerialNumber
)
[source]
¶
setInitCommand
(
init_command
)
[source]
¶
setMailReport
(
mail_to_add_to_list
)
[source]
¶
setNotes
(
note
)
[source]
¶
setObjActivity
(
value
)
[source]
¶
setOwner
(
owner
)
[source]
¶
setPermissions
(
perm
)
[source]
¶
setRequiredPriority
(
priority
)
[source]
¶
setStatus
(
status
)
[source]
¶
setStyle0
(
style
)
[source]
¶
setStyle1
(
style1
)
[source]
¶
setType
(
current_type
)
[source]
¶
validateStatusToSetObj
(
status
)
[source]
¶