diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2019-02-11 16:05:39 +0100 |
|---|---|---|
| committer | Philippe Guibert <philippe.guibert@6wind.com> | 2019-06-12 08:37:58 +0200 |
| commit | ac6c2a11a659a00360700f352c0fbd47c133dfea (patch) | |
| tree | 8f5d801d5bf920158c3330a2d3a533aeb058fcb7 /lib/lib_errors.h | |
| parent | f11e98eca3c4b4e3c91c826329018e848bcb9fc6 (diff) | |
lib: create interface upon accessing interface NB API.
Upon accessing interface NB API, the interface is created, if the vrf
is available. the commit does not change the behaviour, since at this
commit, this is not yet possible to have vrf contexts, while zebra did
not connect to daemons. However, that commit adds some work, so that it
will be possible to work on a vrf context, without having the vrf_id
completely resolved. for instance, if we suppose a vrf is created by
command 'vrf TOTO' in the starting configuration of a daemon, then 'interface
TITI vrf TOTO' will permit to create interface TITI within vrf TOTO.
the macro VRF_GET_INSTANCE will return the vrf context, if available or
not.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'lib/lib_errors.h')
0 files changed, 0 insertions, 0 deletions
