def get_vendor_ies(self, mac_block=None, oui_type=None):
vendor_ies = []<EOL>if mac_block is not None:<EOL><INDENT>if Management.is_valid_mac_oui(mac_block):<EOL><INDENT>mac_block = mac_block.upper()<EOL>if '<STR_LIT::>' in mac_block:<EOL><INDENT>mac_block.replace('<STR_LIT::>', '<STR_LIT:->')<EOL><DEDENT><DEDENT>else:<EOL><INDENT>logging.warning("<STR_LIT>")<EOL>return None<EOL><DEDENT><DEDENT>for elem in self.tagged_params:<EOL><INDENT>tag_num = elem['<STR_LIT>']<EOL>if MNGMT_TAGS[tag_num] == '<STR_LIT>':<EOL><INDENT>if mac_block is None:<EOL><INDENT>vendor_ies.append(elem)<EOL><DEDENT>elif elem['<STR_LIT>']['<STR_LIT>'] == mac_block.encode('<STR_LIT:ascii>'):<EOL><INDENT>if oui_type is None:<EOL><INDENT>vendor_ies.append(elem)<EOL><DEDENT>elif elem['<STR_LIT>']['<STR_LIT>'] == oui_type:<EOL><INDENT>vendor_ies.append(elem)<EOL><DEDENT><DEDENT><DEDENT><DEDENT>return vendor_ies<EOL>
vendor information element querying
        :mac_block: str
            first 3 bytes of mac addresses in format of
            00-11-22 or 00:11:22 or 001122
        :oui_type: int
            vendors ie type
        :return: int
            is valid mac_block  format
            -1 is unknown
        :return: dict[]
            list of oui information elements
            -1 on error (invalid v