'set mlag interface atrribute info'

def set_mlag_interface(self):

    if self.is_mlag_interface_info_change():
        mlag_port = 'Eth-Trunk'
        mlag_port += self.eth_trunk_id
        conf_str = (CE_NC_SET_LACP_MLAG_INFO_HEAD % mlag_port)
        if self.mlag_priority_id:
            conf_str += ('<lacpMlagPriority>%s</lacpMlagPriority>' % self.mlag_priority_id)
        if self.mlag_system_id:
            conf_str += ('<lacpMlagSysId>%s</lacpMlagSysId>' % self.mlag_system_id)
        conf_str += CE_NC_SET_LACP_MLAG_INFO_TAIL
        recv_xml = set_nc_config(self.module, conf_str)
        if ('<ok/>' not in recv_xml):
            self.module.fail_json(msg='Error:    set    mlag    interface    atrribute    info    failed.')
        self.updates_cmd.append(('interface    %s' % mlag_port))
        if self.mlag_priority_id:
            self.updates_cmd.append(('lacp    m-lag    priority    %s' % self.mlag_priority_id))
        if self.mlag_system_id:
            self.updates_cmd.append(('lacp    m-lag    system-id    %s' % self.mlag_system_id))
        self.changed = True
