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

    YANG Description: DEPRECATED
NOS2.1.0 style data model for allowed vlans.
Do not use in edit-config.

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

    YANG Description: DEPRECATED
NOS2.1.0 style data model for allowed vlans.
Do not use in edit-config.
    """
    if hasattr(v, "_utype"):
      v = v._utype(v)
    try:
      t = YANGDynClass(v,base=vlanoper.vlanoper, is_container='container', presence=False, yang_name="vlanoper", rest_name="vlanoper", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'hidden': u'netconfonly'}}, namespace='urn:brocade.com:mgmt:brocade-interface', defining_module='brocade-interface', yang_type='container', is_config=True)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """vlanoper must be of a type compatible with container""",
          'defined-type': "container",
          'generated-type': """YANGDynClass(base=vlanoper.vlanoper, is_container='container', presence=False, yang_name="vlanoper", rest_name="vlanoper", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'hidden': u'netconfonly'}}, namespace='urn:brocade.com:mgmt:brocade-interface', defining_module='brocade-interface', yang_type='container', is_config=True)""",
        })

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