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

    YANG Description: The list of automatic port profiles. Each row
provides the name of the port profile associated 
with an interface.

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

    YANG Description: The list of automatic port profiles. Each row
provides the name of the port profile associated 
with an interface.
    """
    if hasattr(v, "_utype"):
      v = v._utype(v)
    try:
      t = YANGDynClass(v,base=YANGListType("port_to_port_profile_association",port_to_port_profile_associations.port_to_port_profile_associations, yang_name="port-to-port-profile-associations", rest_name="profile", parent=self, is_container='list', user_ordered=False, path_helper=self._path_helper, yang_keys='port-to-port-profile-association', extensions={u'tailf-common': {u'info': u'Associate a list of port-profiles with an interface.', u'cli-no-key-completion': None, u'cli-suppress-mode': None, u'sort-priority': u'114', u'cli-suppress-list-no': None, u'callpoint': u'po-to-port-profile-associations-callpoint', u'cli-full-command': None, u'hidden': u'full', u'alt-name': u'profile'}}), is_container='list', yang_name="port-to-port-profile-associations", rest_name="profile", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'Associate a list of port-profiles with an interface.', u'cli-no-key-completion': None, u'cli-suppress-mode': None, u'sort-priority': u'114', u'cli-suppress-list-no': None, u'callpoint': u'po-to-port-profile-associations-callpoint', u'cli-full-command': None, u'hidden': u'full', u'alt-name': u'profile'}}, namespace='urn:brocade.com:mgmt:brocade-port-profile', defining_module='brocade-port-profile', yang_type='list', is_config=True)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """port_to_port_profile_associations must be of a type compatible with list""",
          'defined-type': "list",
          'generated-type': """YANGDynClass(base=YANGListType("port_to_port_profile_association",port_to_port_profile_associations.port_to_port_profile_associations, yang_name="port-to-port-profile-associations", rest_name="profile", parent=self, is_container='list', user_ordered=False, path_helper=self._path_helper, yang_keys='port-to-port-profile-association', extensions={u'tailf-common': {u'info': u'Associate a list of port-profiles with an interface.', u'cli-no-key-completion': None, u'cli-suppress-mode': None, u'sort-priority': u'114', u'cli-suppress-list-no': None, u'callpoint': u'po-to-port-profile-associations-callpoint', u'cli-full-command': None, u'hidden': u'full', u'alt-name': u'profile'}}), is_container='list', yang_name="port-to-port-profile-associations", rest_name="profile", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'Associate a list of port-profiles with an interface.', u'cli-no-key-completion': None, u'cli-suppress-mode': None, u'sort-priority': u'114', u'cli-suppress-list-no': None, u'callpoint': u'po-to-port-profile-associations-callpoint', u'cli-full-command': None, u'hidden': u'full', u'alt-name': u'profile'}}, namespace='urn:brocade.com:mgmt:brocade-port-profile', defining_module='brocade-port-profile', yang_type='list', is_config=True)""",
        })

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