diff options
author | Andrej Kozemcak <andrej.kozemcak@pantheon.tech> | 2019-02-14 13:15:22 +0100 |
---|---|---|
committer | Andrej Kozemcak <andrej.kozemcak@pantheon.tech> | 2019-03-20 16:13:15 +0100 |
commit | 52002bff61ccdd95a3e69094f8e6a99eaf2c0b32 (patch) | |
tree | fe63846d48bec1e555c36f47564506ae3e662cc3 /src/plugins/sc_plugins.c | |
parent | 7dd61fc820323344c7479dd767a2ee0f84abd810 (diff) |
Plugin - init NAT
Change-Id: I072b3bc018812d9f51cb7269bfdbb98b19db873c
Signed-off-by: Andrej Kozemcak <andrej.kozemcak@pantheon.tech>
Diffstat (limited to 'src/plugins/sc_plugins.c')
-rw-r--r-- | src/plugins/sc_plugins.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/sc_plugins.c b/src/plugins/sc_plugins.c index 093939c..87ea2d7 100644 --- a/src/plugins/sc_plugins.c +++ b/src/plugins/sc_plugins.c @@ -17,6 +17,7 @@ #include "sc_model.h" #include "ietf/ietf_interface.h" +#include "ietf/ietf_nat.h" #include "openconfig/openconfig_interfaces.h" #include "openconfig/openconfig_local_routing.h" @@ -36,6 +37,7 @@ int sr_plugin_init_cb(sr_session_ctx_t *session, void **private_ctx) /* Use the same sr_subscription_ctx for all models */ model_register(&plugin_main, ietf_interfaces_xpaths, IETF_INTERFACES_SIZE); + model_register(&plugin_main, ietf_nat_xpaths, IETF_NAT_SIZE); model_register(&plugin_main, oc_interfaces_xpaths, OC_INTERFACES_SIZE); model_register(&plugin_main, oc_local_routing_xpaths, OC_LROUTING_SIZE); |