Setter method for redirect, mapped from YANG variable /overlay/access_list/type/vxlan/standard/seq/redirect (interface:interface-type)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_redirect is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_redirect() directly.

def _set_redirect(self, v, load=False):
    """
    Setter method for redirect, mapped from YANG variable /overlay/access_list/type/vxlan/standard/seq/redirect (interface:interface-type)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_redirect is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_redirect() directly.
    """
    if hasattr(v, "_utype"):
      v = v._utype(v)
    try:
      t = YANGDynClass(v,base=RestrictedClassType(base_type=unicode, restriction_dict={'pattern': u'((([0-9]|[1][0-6]))/([1-9]|[1-9][0-9]|[1-9][0-9][0-9])(:[1-4])?)', 'length': [u'3..16']}), is_leaf=True, yang_name="redirect", rest_name="redirect", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'redirect <interface-name>', u'cli-suppress-no': None}}, namespace='urn:brocade.com:mgmt:brocade-vxlan-visibility', defining_module='brocade-vxlan-visibility', yang_type='interface:interface-type', is_config=True)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """redirect must be of a type compatible with interface:interface-type""",
          'defined-type': "interface:interface-type",
          'generated-type': """YANGDynClass(base=RestrictedClassType(base_type=unicode, restriction_dict={'pattern': u'((([0-9]|[1][0-6]))/([1-9]|[1-9][0-9]|[1-9][0-9][0-9])(:[1-4])?)', 'length': [u'3..16']}), is_leaf=True, yang_name="redirect", rest_name="redirect", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'redirect <interface-name>', u'cli-suppress-no': None}}, namespace='urn:brocade.com:mgmt:brocade-vxlan-visibility', defining_module='brocade-vxlan-visibility', yang_type='interface:interface-type', is_config=True)""",
        })

    self.__redirect = t
    if hasattr(self, '_set'):
      self._set()