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

    YANG Description: The list of FortyGigabitEthernet interfaces in the 
managed device. Each row represents a FortyGigabitEthernet 
interface. The list provides a way to discover all the 
40G physical interfaces in a managed device.
                
In case of logical-switch (VCS cluster), this list 
comprises of all the 40G physical interfaces across 
all the rbridges in the cluster.
    """
    if hasattr(v, "_utype"):
      v = v._utype(v)
    try:
      t = YANGDynClass(v,base=YANGListType("name",fortygigabitethernet.fortygigabitethernet, yang_name="fortygigabitethernet", rest_name="FortyGigabitEthernet", parent=self, is_container='list', user_ordered=True, path_helper=self._path_helper, yang_keys='name', extensions={u'tailf-common': {u'info': u'The list of FortyGigabitEthernet interfaces.', u'cli-no-key-completion': None, u'alt-name': u'FortyGigabitEthernet', u'sort-priority': u'RUNNCFG_LEVEL_INTERFACE_TYPE_PHYSICAL', u'cli-suppress-no': None, u'cli-suppress-show-path': None, u'cli-custom-range-actionpoint': u'NsmRangeCliActionpoint', u'cli-custom-range-enumerator': u'NsmRangeCliActionpoint', u'cli-no-match-completion': None, u'cli-full-command': None, u'callpoint': u'interface_fortygigabit', u'cli-mode-name': u'conf-if-fo-$(name)'}}), is_container='list', yang_name="fortygigabitethernet", rest_name="FortyGigabitEthernet", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'The list of FortyGigabitEthernet interfaces.', u'cli-no-key-completion': None, u'alt-name': u'FortyGigabitEthernet', u'sort-priority': u'RUNNCFG_LEVEL_INTERFACE_TYPE_PHYSICAL', u'cli-suppress-no': None, u'cli-suppress-show-path': None, u'cli-custom-range-actionpoint': u'NsmRangeCliActionpoint', u'cli-custom-range-enumerator': u'NsmRangeCliActionpoint', u'cli-no-match-completion': None, u'cli-full-command': None, u'callpoint': u'interface_fortygigabit', u'cli-mode-name': u'conf-if-fo-$(name)'}}, namespace='urn:brocade.com:mgmt:brocade-interface', defining_module='brocade-interface', yang_type='list', is_config=True)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """fortygigabitethernet must be of a type compatible with list""",
          'defined-type': "list",
          'generated-type': """YANGDynClass(base=YANGListType("name",fortygigabitethernet.fortygigabitethernet, yang_name="fortygigabitethernet", rest_name="FortyGigabitEthernet", parent=self, is_container='list', user_ordered=True, path_helper=self._path_helper, yang_keys='name', extensions={u'tailf-common': {u'info': u'The list of FortyGigabitEthernet interfaces.', u'cli-no-key-completion': None, u'alt-name': u'FortyGigabitEthernet', u'sort-priority': u'RUNNCFG_LEVEL_INTERFACE_TYPE_PHYSICAL', u'cli-suppress-no': None, u'cli-suppress-show-path': None, u'cli-custom-range-actionpoint': u'NsmRangeCliActionpoint', u'cli-custom-range-enumerator': u'NsmRangeCliActionpoint', u'cli-no-match-completion': None, u'cli-full-command': None, u'callpoint': u'interface_fortygigabit', u'cli-mode-name': u'conf-if-fo-$(name)'}}), is_container='list', yang_name="fortygigabitethernet", rest_name="FortyGigabitEthernet", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'The list of FortyGigabitEthernet interfaces.', u'cli-no-key-completion': None, u'alt-name': u'FortyGigabitEthernet', u'sort-priority': u'RUNNCFG_LEVEL_INTERFACE_TYPE_PHYSICAL', u'cli-suppress-no': None, u'cli-suppress-show-path': None, u'cli-custom-range-actionpoint': u'NsmRangeCliActionpoint', u'cli-custom-range-enumerator': u'NsmRangeCliActionpoint', u'cli-no-match-completion': None, u'cli-full-command': None, u'callpoint': u'interface_fortygigabit', u'cli-mode-name': u'conf-if-fo-$(name)'}}, namespace='urn:brocade.com:mgmt:brocade-interface', defining_module='brocade-interface', yang_type='list', is_config=True)""",
        })

    self.__fortygigabitethernet = t
    if hasattr(self, '_set'):
      self._set()
Setter method for fortygigabitethernet, mapped from YANG variable /interface/fortygigabitethernet (list)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_fortygigabitethernet is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_fortygigabitethernet() directly.

    YANG Description: The list of FortyGigabitEthernet interfaces in the 
managed device. Each row represents a FortyGigabitEthernet 
interface. The list provides a way to discover all the 
40G physical interfaces in a managed device.
                
In case of logical-switch (VCS cluster), this list 
comprises of all the 40G physical interfaces across 
all the rbridges in the cluster.