Revision 4a9888944690287356fc19b0591c405b5e42ec90 authored by Thomas Graf on 12 May 2018, 13:49:06 UTC, committed by Thomas Graf on 20 May 2018, 08:34:47 UTC
Package store implements a shared store backed by a kvstore or similar with
the following properties:

* A single type is used to represent all keys
* Any number of collaborators can join the store. Typically a collaborator
  is an individual Cilium agent running on each node.
* All collaborators can own and contribute keys to the store. Each key is
  owned by exactly one collaborator. It is the responsibility of each
  collaborator to pick a key name which is guaranteed to be unique.
* All collaborate desire to see all keys within the scope of a store. The
  scope of the store is defined by a common key prefix. For this purpose,
  each collaborator maintains a local cache of all keys in the store by
  subscribing to change events.

This implementation will be used by the upcoming kvstore based node discovery

Signed-off-by: Thomas Graf <thomas@cilium.io>
1 parent ff58d9a
Raw File
filter_config.h
/*
 *  Copyright (C) 2017 Authors of Cilium
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
/*
 * This is just a dummy header with dummy values to allow for test
 * compilation without the full code generation engine backend.
 */
#define CIDR4_HMAP_ELEMS 1024
#define CIDR4_LMAP_ELEMS 1024
#define CIDR4_HMAP_NAME v4_fix
#define CIDR4_LMAP_NAME v4_dyn
#define CIDR4_FILTER
#define CIDR4_LPM_PREFILTER
#define CIDR6_HMAP_NAME v6_fix
#define CIDR6_LMAP_NAME v6_dyn
#define CIDR6_FILTER
#define CIDR6_LPM_PREFILTER
back to top