def METHOD_NAME(topology_m2):
    log.info("######################### Configure SSL/TLS agreements ######################")
    log.info("######################## supplier1 <-- startTLS -> supplier2 #####################")
    log.info("##### Update the agreement of supplier1")
    m1 = topology_m2.ms["supplier1"]
    m1_m2_agmt = m1.agreement.list(suffix=DEFAULT_SUFFIX)[0].dn
    topology_m2.ms["supplier1"].modify_s(m1_m2_agmt, [(ldap.MOD_REPLACE, 'nsDS5ReplicaTransportInfo', b'TLS')])
    log.info("##### Update the agreement of supplier2")
    m2 = topology_m2.ms["supplier2"]
    m2_m1_agmt = m2.agreement.list(suffix=DEFAULT_SUFFIX)[0].dn
    topology_m2.ms["supplier2"].modify_s(m2_m1_agmt, [(ldap.MOD_REPLACE, 'nsDS5ReplicaTransportInfo', b'TLS')])
    time.sleep(1)
    topology_m2.ms["supplier1"].restart(10)
    topology_m2.ms["supplier2"].restart(10)
    log.info("\n######################### Configure SSL/TLS agreements Done ######################\n")