def hwvtep_add_rbridgeid(self, **kwargs):
        """
        Add a range of rbridge-ids

        Args:
            name  (str): gateway-name
            vlan (str): rbridge-ids range
            callback (function): A function executed upon completion of the
                 method.

        Returns:
           Return value of `callback`.

        Raises:
            None
        """
        name = kwargs.pop('name')
        id = kwargs.pop('rb_range')
        ip_args = dict(name=name, rb_add=id)
        method_name = 'overlay_gateway_attach_rbridge_id_rb_add'
        method_class = self._brocade_tunnels
        gw_attr = getattr(method_class, method_name)
        config = gw_attr(**ip_args)
        output = self._callback(config)
        return output
def hwvtep_add_rbridgeid ( self , ** kwargs ) : name = kwargs . pop ( 'name' ) id = kwargs . pop ( 'rb_range' ) ip_args = dict ( name = name , rb_add = id ) method_name = 'overlay_gateway_attach_rbridge_id_rb_add' method_class = self . _brocade_tunnels gw_attr = getattr ( method_class , method_name ) config = gw_attr ( ** ip_args ) output = self . _callback ( config ) return output
Add a range of rbridge-ids

        Args:
            name  (str): gateway-name
            vlan (str): rbridge-ids range
            callback (function): A function executed upon completion of the
                 method.

        Returns:
           Return value of `callback`.

        Raises:
            None