def set_mtu(self, name, value=None, default=False, disable=False):
        """ Configures the interface IP MTU

        Args:
            name (string): The interface identifier to apply the interface
                config to

            value (integer): The MTU value to set the interface to.  Accepted
                values include 68 to 65535

            default (bool): Configures the mtu parameter to its default
                value using the EOS CLI default command

            disable (bool); Negate the mtu parameter value using the EOS
                CLI no command

        Returns:
            True if the operation succeeds otherwise False.

        Raises:
            ValueError: If the value for MTU is not an integer value or
                outside of the allowable range

        """
        if value is not None:
            value = int(value)
            if not 68 <= value <= 65535:
                raise ValueError('invalid mtu value')

        commands = ['interface %s' % name]
        commands.append(self.command_builder('mtu', value=value,
                                             default=default, disable=disable))
        return self.configure(commands)
def set_mtu ( self , name , value = None , default = False , disable = False ) : if value is not None : value = int ( value ) if not 68 <= value <= 65535 : raise ValueError ( 'invalid mtu value' ) commands = [ 'interface %s' % name ] commands . append ( self . command_builder ( 'mtu' , value = value , default = default , disable = disable ) ) return self . configure ( commands )
Configures the interface IP MTU

        Args:
            name (string): The interface identifier to apply the interface
                config to

            value (integer): The MTU value to set the interface to.  Accepted
                values include 68 to 65535

            default (bool): Configures the mtu parameter to its default
                value using the EOS CLI default command

            disable (bool); Negate the mtu parameter value using the EOS
                CLI no command

        Returns:
            True if the operation succeeds otherwise False.

        Raises:
            ValueError: If the value for MTU is not an integer value or
                outside of the allowable range