'Construct the class.
:param self: An InterfaceManagedByNetworkManagerError object
:param interface_name: Name of interface
:type self: InterfaceManagedByNetworkManagerError
:type interface_name: str
:return: None
:rtype: None'

def __init__(self, interface_name):

    message = 'Interface    "{0}"    is    controlled    by    NetworkManager.You    need    to    manually    set    the    devices    that    should    be    ignored    by    NetworkManager    using    the    keyfile    plugin    (unmanaged-directive).    For    example,    \'[keyfile]    unmanaged-devices=interface-name:"{0}"\'    needs    to    be    added    in    your    NetworkManager    configuration    file.'.format(interface_name)
    Exception.__init__(self, message)
