CommandTableNode#

class CommandTableNode(parent, tk_object, snapshot_cache=None, zi_node=None)[source]#

Bases: ZINode

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 – Node used for the upload of the command table

  • tree – Tree (node path as tuple) of the current node

  • device_type – 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