CommandTableNode#
- class CommandTableNode(root: NodeTree, tree: Tuple[str, ...], device_type: str)[source]#
Bases:
Node
CommandTable node.
This class implements the basic functionality of the command table allowing the user to load and upload their own command table.
A dedicated class called
CommandTable
exists that is the preferred way to create a valid command table. For more information about theCommandTable
refer to the corresponding example or the documentation of that class directly.- Parameters:
root (NodeTree) – Node used for the upload of the command table
tree (Tuple[str, ...]) – Tree (node path as tuple) of the current node
device_type (str) – Device type.
Methods
Check status of the command table.
Load command table from the device.
Load device command table validation schema.
upload_to_device
(ct, *[, validate, check_upload])Upload command table into the device.
Attributes