com.redhat.ifcfgrh1

com.redhat.ifcfgrh1

Methods

GetIfcfgDetails (IN  s ifcfg,
                 OUT s uuid,
                 OUT o path);

Description

Utility methods for handling NM integration with standard Red Hat ifcfg files.

Method Details

The GetIfcfgDetails() method

GetIfcfgDetails (IN  s ifcfg,
                 OUT s uuid,
                 OUT o path);

Given an ifcfg file, return various internal information about it.

IN s ifcfg:

The full path to an ifcfg file.

OUT s uuid:

The UUID of the NM connection backed by this ifcfg file. If the ifcfg file does not contain a UUID tag, this UUID is generated by NM, otherwise the UUID from the ifcfg file is used.

OUT o path:

The object path of the NM connected backed by this ifcfg file.