diff options
| author | Olivier Dugeon <olivier.dugeon@orange.com> | 2020-12-18 20:28:22 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-18 20:28:22 +0100 |
| commit | 065f7c7cc066b4c909daa5d79d6fee3eeed43a2e (patch) | |
| tree | 2d367f03b0b24746817f5a786510d23ca7e4b09c /lib/command.c | |
| parent | b2d8bcc52a7d31ad9aacdb578093dabf327fb563 (diff) | |
| parent | efba0985fcddee80df257147f7e398b52dad089b (diff) | |
Merge pull request #7351 from opensourcerouting/feature/pathd
Add a new SR-TE policy management daemon and an optional PCEP module
Diffstat (limited to 'lib/command.c')
| -rw-r--r-- | lib/command.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/lib/command.c b/lib/command.c index 87110157f6..f40fe6e2c5 100644 --- a/lib/command.c +++ b/lib/command.c @@ -863,6 +863,30 @@ enum node_type node_parent(enum node_type node) case BFD_PROFILE_NODE: ret = BFD_NODE; break; + case SR_TRAFFIC_ENG_NODE: + ret = SEGMENT_ROUTING_NODE; + break; + case SR_SEGMENT_LIST_NODE: + ret = SR_TRAFFIC_ENG_NODE; + break; + case SR_POLICY_NODE: + ret = SR_TRAFFIC_ENG_NODE; + break; + 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; |
