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

    YANG Description: Vcs Virtual Fabric configuration

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

    YANG Description: Vcs Virtual Fabric configuration
    """
    if hasattr(v, "_utype"):
      v = v._utype(v)
    try:
      t = YANGDynClass(v,base=virtual_fabric.virtual_fabric, is_container='container', presence=False, yang_name="virtual-fabric", rest_name="virtual-fabric", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'Vcs Virtual Fabric configuration', u'display-when': u'((/vcsmode/vcs-mode = "true") and (/vcsmode/vcs-cluster-mode = "true"))', u'cli-incomplete-no': None, u'callpoint': u'vcs-virtual-fabric-callpoint'}}, namespace='urn:brocade.com:mgmt:brocade-vcs', defining_module='brocade-vcs', yang_type='container', is_config=True)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """virtual_fabric must be of a type compatible with container""",
          'defined-type': "container",
          'generated-type': """YANGDynClass(base=virtual_fabric.virtual_fabric, is_container='container', presence=False, yang_name="virtual-fabric", rest_name="virtual-fabric", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'Vcs Virtual Fabric configuration', u'display-when': u'((/vcsmode/vcs-mode = "true") and (/vcsmode/vcs-cluster-mode = "true"))', u'cli-incomplete-no': None, u'callpoint': u'vcs-virtual-fabric-callpoint'}}, namespace='urn:brocade.com:mgmt:brocade-vcs', defining_module='brocade-vcs', yang_type='container', is_config=True)""",
        })

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