def create(self, interface, vrid, **kwargs):
        """Creates a vrrp instance from an interface

        Note:
            This method will attempt to create a vrrp in the node's
            operational config. If the vrrp already exists on the
            interface, then this method will set the properties of
            the existing vrrp to those that have been passed in, if
            possible.

        Args:
            interface (string): The interface to configure.
            vrid (integer): The vrid number for the vrrp to be created.
            kwargs (dict): A dictionary specifying the properties to
                be applied to the new vrrp instance. See library
                documentation for available keys and values.

        Returns:
            True if the vrrp could be created otherwise False (see Node)

        """

        if 'enable' not in kwargs:
            kwargs['enable'] = False

        return self._vrrp_set(interface, vrid, **kwargs)
def create ( self , interface , vrid , ** kwargs ) : if 'enable' not in kwargs : kwargs [ 'enable' ] = False return self . _vrrp_set ( interface , vrid , ** kwargs )
Creates a vrrp instance from an interface

        Note:
            This method will attempt to create a vrrp in the node's
            operational config. If the vrrp already exists on the
            interface, then this method will set the properties of
            the existing vrrp to those that have been passed in, if
            possible.

        Args:
            interface (string): The interface to configure.
            vrid (integer): The vrid number for the vrrp to be created.
            kwargs (dict): A dictionary specifying the properties to
                be applied to the new vrrp instance. See library
                documentation for available keys and values.

        Returns:
            True if the vrrp could be created otherwise False (see Node)