|
Python Api
IE10.1
|
Classes | |
| class | Cloud |
| class | CloudProperties |
| class | CloudProperty |
| class | CloudPropertyType |
| class | CloudSearchType |
| class | NCTProtocol |
| class | NCTResult |
| class | NCTResultStatus |
Functions | |
| def | GetCloudContext () |
| Python Thread function def build_links(context, vpn_intfs, local_property_name, remote_property_name): PyCloudFW.SetCloudContext(context) . More... | |
| def | SetCloudContext (contextAddr) |
| This method will clone one Context Object in new thread. More... | |
| def | ReleaseCloudContext () |
| set the Cloud context to null. More... | |
| def | AddLog (content, logType=INFO) |
| Add logs to plugin exction. More... | |
| def | BuildMplsL3VpnVrt (devId, subName) |
Variables | |
| int | DEBUG = 0 |
| debug log level More... | |
| int | INFO = 1 |
| info log level More... | |
| int | WARNING = 2 |
| waring log level More... | |
| int | ERROR = 3 |
| error log level More... | |
| def netbrain.sysapi.cloudfw.AddLog | ( | content, | |
logType = INFO |
|||
| ) |
Add logs to plugin exction.
| content | (string) content of log. |
| logType | (string) log level. |
| def netbrain.sysapi.cloudfw.BuildMplsL3VpnVrt | ( | devId, | |
| subName | |||
| ) |
| def netbrain.sysapi.cloudfw.GetCloudContext | ( | ) |
Python Thread function def build_links(context, vpn_intfs, local_property_name, remote_property_name): PyCloudFW.SetCloudContext(context) .
| def netbrain.sysapi.cloudfw.ReleaseCloudContext | ( | ) |
set the Cloud context to null.
| def netbrain.sysapi.cloudfw.SetCloudContext | ( | contextAddr | ) |
This method will clone one Context Object in new thread.
Only first call will do clone, more calls will do nothing
| contextAddr | (C++ pointer)address of Cloud context,is get from C++ Api by call GetCloudContext |
| int netbrain.sysapi.cloudfw.DEBUG = 0 |
debug log level
| int netbrain.sysapi.cloudfw.ERROR = 3 |
error log level
| int netbrain.sysapi.cloudfw.INFO = 1 |
info log level
| int netbrain.sysapi.cloudfw.WARNING = 2 |
waring log level
1.8.14