def send_vdp_vnic_up(self, port_uuid=None, vsiid=None,<EOL>mgrid=None, typeid=None, typeid_ver=None,<EOL>vsiid_frmt=vdp_const.VDP_VSIFRMT_UUID,<EOL>filter_frmt=vdp_const.VDP_FILTER_GIDMACVID,<EOL>gid=<NUM_LIT:0>, mac="<STR_LIT>", vlan=<NUM_LIT:0>, oui=None,<EOL>new_network=False, vsw_cb_fn=None, vsw_cb_data=None):
if oui is None:<EOL><INDENT>oui = {}<EOL><DEDENT>oui_id = None<EOL>oui_data = None<EOL>if '<STR_LIT>' in oui:<EOL><INDENT>oui_id = oui['<STR_LIT>']<EOL>oui_data = oui<EOL><DEDENT>reply, fail_reason = self.send_vdp_assoc(<EOL>vsiid=vsiid, mgrid=mgrid, typeid=typeid, typeid_ver=typeid_ver,<EOL>vsiid_frmt=vsiid_frmt, filter_frmt=filter_frmt, gid=gid, mac=mac,<EOL>vlan=vlan, oui_id=oui_id, oui_data=oui_data, sw_resp=new_network)<EOL>self.store_vdp_vsi(port_uuid, mgrid, typeid, typeid_ver,<EOL>vsiid_frmt, vsiid, filter_frmt, gid, mac, vlan,<EOL>new_network, reply, oui_id, oui_data, vsw_cb_fn,<EOL>vsw_cb_data, fail_reason)<EOL>return reply, fail_reason<EOL>
Interface function to apps, called for a vNIC UP.

        This currently sends an VDP associate message.
        Please refer http://www.ieee802.org/1/pages/802.1bg.html VDP
        Section for more detailed information
        :param uuid: uuid of the vNIC
        :param vsiid: VSI value, Only UUID supported for now
        :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 filter_frmt: Filter Format. Only <GID,MAC,VID> supported for now
        :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: VLAN reply from vdptool