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 the CommandTable 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()

Check status of the command table.

load_from_device()

Load command table from the device.

load_validation_schema()

Load device command table validation schema.

upload_to_device(ct, *[, validate, check_upload])

Upload command table into the device.

Attributes