diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/command.c | 12 | ||||
| -rw-r--r-- | lib/command.h | 4 | ||||
| -rw-r--r-- | lib/northbound.h | 3 |
3 files changed, 19 insertions, 0 deletions
diff --git a/lib/command.c b/lib/command.c index eeb14b734d..f40fe6e2c5 100644 --- a/lib/command.c +++ b/lib/command.c @@ -875,6 +875,18 @@ enum node_type node_parent(enum node_type node) case SR_CANDIDATE_DYN_NODE: ret = SR_POLICY_NODE; break; + case PCEP_NODE: + ret = SR_TRAFFIC_ENG_NODE; + break; + case PCEP_PCE_CONFIG_NODE: + ret = PCEP_NODE; + break; + case PCEP_PCE_NODE: + ret = PCEP_NODE; + break; + case PCEP_PCC_NODE: + ret = PCEP_NODE; + break; default: ret = CONFIG_NODE; break; diff --git a/lib/command.h b/lib/command.h index 2eae9a1b35..bfe64a7235 100644 --- a/lib/command.h +++ b/lib/command.h @@ -150,6 +150,10 @@ enum node_type { SR_SEGMENT_LIST_NODE, /* SR segment list config node */ SR_POLICY_NODE, /* SR policy config node */ SR_CANDIDATE_DYN_NODE, /* SR dynamic candidate path config node */ + PCEP_NODE, /* PCEP node */ + PCEP_PCE_CONFIG_NODE, /* PCE shared configuration node */ + PCEP_PCE_NODE, /* PCE configuration node */ + PCEP_PCC_NODE, /* PCC configuration node */ VTY_NODE, /* Vty node. */ FPM_NODE, /* Dataplane FPM node. */ LINK_PARAMS_NODE, /* Link-parameters node */ diff --git a/lib/northbound.h b/lib/northbound.h index 3f6e4dc46e..c37d66d580 100644 --- a/lib/northbound.h +++ b/lib/northbound.h @@ -600,6 +600,7 @@ enum nb_client { NB_CLIENT_CONFD, NB_CLIENT_SYSREPO, NB_CLIENT_GRPC, + NB_CLIENT_PCEP, }; /* Northbound context. */ @@ -621,6 +622,8 @@ struct nb_context { } sysrepo; struct { } grpc; + struct { + } pcep; } client_data; #endif }; |
