def METHOD_NAME(self):
    """ Attach a single UE + add a secondary pdn with
    IPv6 address + drop the RA received + restransmit RS 2 times
    + detach """
    num_ue = 1
    self._s1ap_wrapper.configUEDevice(num_ue)
    req = self._s1ap_wrapper.ue_req
    ue_id = req.ue_id
    # APN of the secondary PDN
    ims_apn = {
        "apn_name": "ims",  # APN-name
        "qci": 5,  # qci
        "priority": 15,  # priority
        "pre_cap": 0,  # preemption-capability
        "pre_vul": 0,  # preemption-vulnerability
        "mbr_ul": 200000000,  # MBR UL
        "mbr_dl": 100000000,  # MBR DL
        "pdn_type": 2,  # PDN Type 0-IPv4,1-IPv6,2-IPv4v6
    }
    apn_list = [ims_apn]
    self._s1ap_wrapper.configAPN(
        "IMSI" + "".join([str(i) for i in req.imsi]), apn_list,
    )
    print(
        "*********************** Running End to End attach for UE id ",
        ue_id,
    )
    print("***** Sleeping for 5 seconds")
    time.sleep(5)
    # Attach
    attach = self._s1ap_wrapper.s1_util.attach(
        ue_id,
        s1ap_types.tfwCmd.UE_END_TO_END_ATTACH_REQUEST,
        s1ap_types.tfwCmd.UE_ATTACH_ACCEPT_IND,
        s1ap_types.ueAttachAccept_t,
    )
    addr = attach.esmInfo.pAddr.addrInfo
    default_ip = ipaddress.ip_address(bytes(addr[:4]))
    # Wait on EMM Information from MME
    self._s1ap_wrapper._s1_util.receive_emm_info()
    print("***** Sleeping for 5 seconds")
    time.sleep(5)
    apn = "ims"
    # PDN Type 2 = IPv6, 3 = IPv4v6
    pdn_type = 2
    # Send an indication to s1ap tester to drop the RA message
    print("*** Sending indication to drop Router Advertisement ***")
    drop_ra = s1ap_types.UeDropRA()
    drop_ra.ue_Id = req.ue_id
    drop_ra.flag = 1
    self._s1ap_wrapper._s1_util.issue_cmd(
        s1ap_types.tfwCmd.UE_SET_DROP_ROUTER_ADV, drop_ra,
    )
    print("***** Sleeping for 5 seconds")
    time.sleep(5)
    # Send PDN Connectivity Request for ims apn
    self._s1ap_wrapper.sendPdnConnectivityReq(
        ue_id, apn, pdn_type=pdn_type,
    )
    # Receive PDN CONN RSP/Activate default EPS bearer context request
    response = self._s1ap_wrapper.s1_util.get_response()
    assert response.msg_type == s1ap_types.tfwCmd.UE_PDN_CONN_RSP_IND.value
    act_def_bearer_req = response.cast(s1ap_types.uePdnConRsp_t)
    print(
        "********************** Sending Activate default EPS bearer "
        "context accept for APN-%s, UE id-%d" % (apn, ue_id),
    )
    print(
        "********************** Added default bearer for apn-%s,"
        " bearer id-%d, pdn type-%d"
        % (apn, act_def_bearer_req.m.pdnInfo.epsBearerId, pdn_type),
    )
    # Receive UE_DEACTIVATE_BER_REQ
    response = self._s1ap_wrapper.s1_util.get_response()
    assert response.msg_type == s1ap_types.tfwCmd.UE_DEACTIVATE_BER_REQ.value
    print(
        "******************* Received deactivate eps bearer context"
        " request",
    )
    # Send DeactDedicatedBearerAccept
    deactv_bearer_req = response.cast(s1ap_types.UeDeActvBearCtxtReq_t)
    self._s1ap_wrapper.sendDeactDedicatedBearerAccept(
        req.ue_id, deactv_bearer_req.bearerId,
    )
    print("***** Sleeping for 5 seconds")
    time.sleep(5)
    # 1 UL flow is created per bearer
    num_ul_flows = 1
    dl_flow_rules = {
        default_ip: [],
    }
    # Verify if flow rules are created
    self._s1ap_wrapper.s1_util.verify_flow_rules(
        num_ul_flows, dl_flow_rules,
    )
    print("***** Sleeping for 5 seconds")
    time.sleep(5)
    print(
        "******************* Running UE detach (switch-off) for ",
        "UE id ",
        ue_id,
    )
    # Now detach the UE
    self._s1ap_wrapper.s1_util.detach(
        ue_id, s1ap_types.ueDetachType_t.UE_SWITCHOFF_DETACH.value, False,
    )