Tools to decorate networkx graphs in situ, i.e., as constructed rather than as read from a textual file.
Bases: pydevDAG._decorations._node_decorators.PyudevDecorator
Add the informational part of device links to the graph.
Bases: object
A particular domain for decoration.
A domain is just a particular way of going about gathering the information to use to decorate.
All decoration objects in a particular domain require the same setup and will share the same interface.
Updates attributes on a node.
Parameters: |
---|
The name of the domain.
Bases: object
A node decorator for a particular configuration.
Decorates attrdict with additional attributes.
Parameters: |
---|
Get a decorator for one particular nodetype.
Parameters: | config (dict (JSON)) – the configuration for a particular node type |
---|---|
Returns: | a sequence of objects for decorating |
Return type: | list of Domain |
Bases: pydevDAG._decorations._node_decorators.Domain
Construct functions for decorating using pyudev.
Bases: object
Defines interface of objects that use pyudev to do their decorating.
Bases: pydevDAG._decorations._node_decorators.PyudevDecorator
Find sysfs attributes for the device nodes of a network graph.
Set a value for every name requested.
Bases: pydevDAG._decorations._node_decorators.PyudevDecorator
Get the sysname for the object.
Bases: pydevDAG._decorations._node_decorators.PyudevDecorator
Find udev properties for the device nodes of a network graph.
Set a value for every name requested.