code: def get_vlan_from_query_reply(self, reply, vsiid, mac):
          
          hints_ret, fail_reason = self.check_hints(reply)
          if not hints_ret:
              LOG.error("Incorrect hints found %s", reply)
              return constants.INVALID_VLAN, fail_reason
          check_filter, fail_reason = self.check_filter_validity(reply, "filter")
          if not check_filter:
              return constants.INVALID_VLAN, fail_reason
          try:
              verify_flag, fail_reason = self.crosscheck_query_vsiid_mac(
                  reply, vsiid, mac)
              if not verify_flag:
                  return constants.INVALID_VLAN, fail_reason
              filter_val = reply.partition("filter")[2]
              len_fil = len(filter_val)
              vlan_val = filter_val[4:len_fil].split('-')[0]
              vlan = int(vlan_val)
          except ValueError:
              fail_reason = vdp_const.format_failure_reason % (reply)
              LOG.error("%s", fail_reason)
              return constants.INVALID_VLAN, fail_reason
          return vlan, None
docs: Parse the query reply from VDP daemon to get the VLAN value.