def send_vdp_query_msg(self, mode, mgrid, typeid, typeid_ver, vsiid_frmt,<EOL>vsiid, filter_frmt, gid, mac, vlan, oui_id,<EOL>oui_data):
if not self.is_ncb:<EOL><INDENT>LOG.error("<STR_LIT>")<EOL>return<EOL><DEDENT>vdp_key_str = self.construct_vdp_dict(mode, mgrid, typeid,<EOL>typeid_ver, vsiid_frmt, vsiid,<EOL>filter_frmt, gid, mac, vlan,<EOL>None, None)<EOL>if len(vdp_key_str) == <NUM_LIT:0>:<EOL><INDENT>LOG.error("<STR_LIT>")<EOL>return<EOL><DEDENT>reply = self.run_vdptool(["<STR_LIT>", "<STR_LIT>", self.port_name, "<STR_LIT>", "<STR_LIT>", mode,<EOL>"<STR_LIT:-c>", vdp_key_str['<STR_LIT>'],<EOL>"<STR_LIT:-c>", vdp_key_str['<STR_LIT>'],<EOL>"<STR_LIT:-c>", vdp_key_str['<STR_LIT>'],<EOL>"<STR_LIT:-c>", vdp_key_str['<STR_LIT>'],<EOL>"<STR_LIT:-c>", vdp_key_str['<STR_LIT>']])<EOL>return reply<EOL>
Constructs and Sends the VDP Query Message.

        Please refer http://www.ieee802.org/1/pages/802.1bg.html VDP
        Section for more detailed information
        :param mode: Associate or De-associate
        :param mgrid: MGR ID
        :param typeid: Type ID
        :param typeid_ver: Version of the Type ID
        :param vsiid_frmt: Format of the following VSI argument
        :param vsiid: VSI value
        :param filter_frmt: Filter Format
        :param gid: Group ID the vNIC belongs to
        :param mac: MAC Address of the vNIC
        :param vlan: VLAN of the vNIC
        :param oui_id: OUI Type
        :param oui_data: OUI Data
        :param sw_resp: Flag indicating if response is required from the daemon
        :return reply: Reply from vdptool