def METHOD_NAME(self, intf_name, dvs, testlog):
    self.setup_db(dvs)
    vrf_oid = self.add_mgmt_vrf(dvs)
    self.create_inband_intf(intf_name)
    # check application database
    tbl = swsscommon.Table(self.appl_db, 'INTF_TABLE')
    intf_keys = tbl.getKeys()
    status, fvs = tbl.get(intf_name)
    assert status == True
    for fv in fvs:
        if fv[0] == 'vrf_name':
            assert fv[1] == MGMT_VRF_NAME
    if not intf_name.startswith('Loopback'):
        # check ASIC router interface database
        # one loopback router interface one port based router interface
        intf_entries = self.asic_db.wait_for_n_keys("ASIC_STATE:SAI_OBJECT_TYPE_ROUTER_INTERFACE", 2)
        for key in intf_entries:
            fvs = self.asic_db.wait_for_entry("ASIC_STATE:SAI_OBJECT_TYPE_ROUTER_INTERFACE", key)
            loopback = False
            intf_vrf_oid = None
            for k, v in fvs.items():
                if k == 'SAI_ROUTER_INTERFACE_ATTR_TYPE' and v == 'SAI_ROUTER_INTERFACE_TYPE_LOOPBACK':
                    loopback = True
                    break
                if k == 'SAI_ROUTER_INTERFACE_ATTR_VIRTUAL_ROUTER_ID':
                    intf_vrf_oid = v
            if loopback:
                continue
            assert intf_vrf_oid == vrf_oid
    self.remove_inband_intf(intf_name)
    time.sleep(1)
    # check application database
    tbl = swsscommon.Table(self.appl_db, 'INTF_TABLE')
    intf_keys = tbl.getKeys()
    assert len(intf_keys) == 0
    if not intf_name.startswith('Loopback'):
        self.asic_db.wait_for_n_keys("ASIC_STATE:SAI_OBJECT_TYPE_ROUTER_INTERFACE", 1)
    self.del_inband_mgmt_vrf()
    self.del_mgmt_vrf(dvs)