multipath.conf file content

MultipathConfTree - file /etc/multipath.conf

MultipathConfTreeInitramfs - command lsinitrd -f /etc/multipath.conf

class insights.parsers.multipath_conf.MultipathConfTree(context)[source]

Bases: ConfigParser

Exposes multipath configuration through the parsr query interface.

See the insights.core.ConfigComponent class for example usage.

class insights.parsers.multipath_conf.MultipathConfTreeInitramfs(context)[source]

Bases: ConfigParser, CommandParser

Exposes the multipath configuration from initramfs image through the parsr query interface.

See the insights.core.ConfigComponent class for example usage.

insights.parsers.multipath_conf.get_tree(root=None)[source]

This is a helper function to get a multipath configuration component for your local machine or an archive. It’s for use in interactive sessions.

insights.parsers.multipath_conf.get_tree_from_initramfs(root=None)[source]

This is a helper function to get a multipath configuration(from initramfs image) component for your local machine or an archive. It’s for use in interactive sessions.