def set_portfast_type(self, name, value='normal'):
        """Configures the portfast value for the specified interface

        Args:
            name (string): The interface identifier to configure.  The name
                must be the full interface name (eg Ethernet1, not Et1).

            value (string): The value to configure the portfast setting to.
                Valid values include "edge", "network", "normal".  The
                default value is "normal"

        Returns:
            True if the command succeeds, otherwise False

        Raises:
            ValueError: Raised if an invalid interface name or value is
                specified

        """
        if value not in ['network', 'edge', 'normal', None]:
            raise ValueError('invalid portfast type value specified')

        cmds = ['spanning-tree portfast %s' % value]
        if value == 'edge':
            cmds.append('spanning-tree portfast auto')
        return self.configure_interface(name, cmds)
Configures the portfast value for the specified interface

        Args:
            name (string): The interface identifier to configure.  The name
                must be the full interface name (eg Ethernet1, not Et1).

            value (string): The value to configure the portfast setting to.
                Valid values include "edge", "network", "normal".  The
                default value is "normal"

        Returns:
            True if the command succeeds, otherwise False

        Raises:
            ValueError: Raised if an invalid interface name or value is
                specified