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

    YANG Description: Associate a port-profile-domain with an interface.

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

    YANG Description: Associate a port-profile-domain with an interface.
    """
    if hasattr(v, "_utype"):
      v = v._utype(v)
    try:
      t = YANGDynClass(v,base=port_to_port_profile_domain_association.port_to_port_profile_domain_association, is_container='container', presence=False, yang_name="port-to-port-profile-domain-association", rest_name="domain", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'Associate a port-profile-domain with an interface.', u'alt-name': u'domain', u'sort-priority': u'114', u'callpoint': u'po-to-port-profile-domain-association-callpoint'}}, namespace='urn:brocade.com:mgmt:brocade-port-profile', defining_module='brocade-port-profile', yang_type='container', is_config=True)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """port_to_port_profile_domain_association must be of a type compatible with container""",
          'defined-type': "container",
          'generated-type': """YANGDynClass(base=port_to_port_profile_domain_association.port_to_port_profile_domain_association, is_container='container', presence=False, yang_name="port-to-port-profile-domain-association", rest_name="domain", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'Associate a port-profile-domain with an interface.', u'alt-name': u'domain', u'sort-priority': u'114', u'callpoint': u'po-to-port-profile-domain-association-callpoint'}}, namespace='urn:brocade.com:mgmt:brocade-port-profile', defining_module='brocade-port-profile', yang_type='container', is_config=True)""",
        })

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