Setter method for strip_header, mapped from YANG variable /interface/ethernet/strip_header (enumeration)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_strip_header is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_strip_header() directly.

    YANG Description: Vxlan header stripping configuration

def _set_strip_header(self, v, load=False):
    """
    Setter method for strip_header, mapped from YANG variable /interface/ethernet/strip_header (enumeration)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_strip_header is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_strip_header() directly.

    YANG Description: Vxlan header stripping configuration
    """
    if hasattr(v, "_utype"):
      v = v._utype(v)
    try:
      t = YANGDynClass(v,base=RestrictedClassType(base_type=unicode,                                     restriction_type="dict_key",                                     restriction_arg={u'strip-802-1br': {'value': 1}, u'strip-vn-tag': {'value': 2}, u'strip-vxlan': {'value': 3}},), is_leaf=True, yang_name="strip-header", rest_name="strip-header", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'VxLan header stripping configuration', u'cli-drop-node-name': None, u'display-when': u'((/local-node/swbd-number = "2000") or (/local-node/swbd-number = "4000"))'}}, namespace='urn:brocade.com:mgmt:brocade-interface', defining_module='brocade-interface', yang_type='enumeration', is_config=True)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """strip_header must be of a type compatible with enumeration""",
          'defined-type': "brocade-interface:enumeration",
          'generated-type': """YANGDynClass(base=RestrictedClassType(base_type=unicode,                                     restriction_type="dict_key",                                     restriction_arg={u'strip-802-1br': {'value': 1}, u'strip-vn-tag': {'value': 2}, u'strip-vxlan': {'value': 3}},), is_leaf=True, yang_name="strip-header", rest_name="strip-header", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'VxLan header stripping configuration', u'cli-drop-node-name': None, u'display-when': u'((/local-node/swbd-number = "2000") or (/local-node/swbd-number = "4000"))'}}, namespace='urn:brocade.com:mgmt:brocade-interface', defining_module='brocade-interface', yang_type='enumeration', is_config=True)""",
        })

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