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

def _set_unicast(self, v, load=False):
    """
    Setter method for unicast, mapped from YANG variable /rbridge_id/vrf/address_family/ipv6/unicast (container)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_unicast is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_unicast() directly.
    """
    if hasattr(v, "_utype"):
      v = v._utype(v)
    try:
      t = YANGDynClass(v,base=unicast.unicast, is_container='container', presence=True, yang_name="unicast", rest_name="unicast", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'IPv6 unicast address Family', u'cli-full-no': None, u'cli-add-mode': None, u'cli-full-command': None, u'callpoint': u'vrfAfIpv6Ucast', u'cli-mode-name': u'vrf-$(vrf-name)-ipv6-unicast'}}, namespace='urn:brocade.com:mgmt:brocade-vrf', defining_module='brocade-vrf', yang_type='container', is_config=True)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """unicast must be of a type compatible with container""",
          'defined-type': "container",
          'generated-type': """YANGDynClass(base=unicast.unicast, is_container='container', presence=True, yang_name="unicast", rest_name="unicast", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'IPv6 unicast address Family', u'cli-full-no': None, u'cli-add-mode': None, u'cli-full-command': None, u'callpoint': u'vrfAfIpv6Ucast', u'cli-mode-name': u'vrf-$(vrf-name)-ipv6-unicast'}}, namespace='urn:brocade.com:mgmt:brocade-vrf', defining_module='brocade-vrf', yang_type='container', is_config=True)""",
        })

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