'config vni protocol type'

def config_merge_vni_protocol_type(self, nve_name, vni_id, protocol_type):

    if self.is_vni_protocol_change(nve_name, vni_id, protocol_type):
        cfg_xml = (CE_NC_MERGE_VNI_PROTOCOL % (nve_name, vni_id, protocol_type))
        recv_xml = set_nc_config(self.module, cfg_xml)
        self.check_response(recv_xml, 'MERGE_VNI_PEER_PROTOCOL')
        self.updates_cmd.append(('interface    %s' % nve_name))
        if (protocol_type == 'bgp'):
            self.updates_cmd.append(('vni    %s    head-end    peer-list    protocol    %s' % (vni_id, protocol_type)))
        else:
            self.updates_cmd.append(('undo    vni    %s    head-end    peer-list    protocol    bgp' % vni_id))
        self.changed = True
