VPP-69: Create fib or bridge domain with arbitrary ID 55/1055/3
authorPierre Pfister <ppfister@cisco.com>
Tue, 10 May 2016 16:11:22 +0000 (17:11 +0100)
committerDave Barach <openvpp@barachs.net>
Mon, 16 May 2016 12:07:04 +0000 (12:07 +0000)
It appeared to me that it might be usefull
to allow users to create fibs or bridge domains without
a complete knowledge of the current used IDs.

These changes define fib and bridge domain constructors
when the provided ID is ~0. In such a case, an unused ID is
used to create a new fib or bridge domain.

Change-Id: Iaba69a023296e6d17bdde45980f9db84832a3995
Signed-off-by: Pierre Pfister <ppfister@cisco.com>

No differences found