ixnetwork.api package

Submodules

ixnetwork.api.ixn_python module

author:yoram@ignissoft.com
class ixnetwork.api.ixn_python.IxnPythonWrapper(logger, ixn_install_dir)[source]

Bases: object

add(parent, obj_type, **attributes)[source]

IXN API add command

@param parent: object parent - object will be created under this parent. @param object_type: object type. @param attributes: additional attributes. @return: STC object reference.

commit()[source]
connect(ip, port)[source]
execute(command, *arguments)[source]
getAttribute(objRef, attribute)[source]
getList(objRef, childList)[source]
getListAttribute(objRef, attribute)[source]
getRoot()[source]
getVersion()[source]
help(objRef)[source]
loadConfig(configFileName)[source]
newConfig()[source]
remapIds(objRef)[source]
saveConfig(configFileName)[source]
setAttributes(objRef, **attributes)[source]

ixnetwork.api.ixn_tcl module

@author yoram@ignissoft.com

class ixnetwork.api.ixn_tcl.IxnTclWrapper(logger, ixn_install_dir, tcl_interp=None)[source]

Bases: trafficgenerator.tgn_tcl.TgnTclWrapper

add(parent, obj_type, **attributes)[source]

IXN API add command

@param parent: object parent - object will be created under this parent. @param object_type: object type. @param attributes: additional attributes. @return: STC object reference.

commit()[source]
connect(ip, port)[source]
execute(command, *arguments)[source]
getAttribute(objRef, attribute)[source]

Get current value of the requested attribute.

getList(objRef, childList)[source]
getListAttribute(objRef, attribute)[source]
getRoot()[source]
getVersion()[source]
help(objRef)[source]
ixnCommand(command, *arguments)[source]
loadConfig(configFileName)[source]
newConfig()[source]
remapIds(objRef)[source]
remove(objRef)[source]

IXN API remove command

@param objRef: object reference to remove.

saveConfig(configFileName)[source]
setAttributes(objRef, **attributes)[source]

Module contents