diff options
| author | Sarita Patra <saritap@vmware.com> | 2020-10-23 07:29:44 -0700 | 
|---|---|---|
| committer | Sarita Patra <saritap@vmware.com> | 2020-11-06 03:42:00 -0800 | 
| commit | cf740d2e72604404d0b9353a17b9d56de5e32c05 (patch) | |
| tree | 5425a3d59b31698cc6530ee7aef7566b04c1f33b /lib/yang.h | |
| parent | f206085e19950fefb3cf76e1c7057aa06e827e13 (diff) | |
pimd: Northbound implementation for msdp mesh group, msdp peer commands
ip_msdp_peer
no_ip_msdp_peer
ip_msdp_mesh_group_member
no_ip_msdp_mesh_group_member
ip_msdp_mesh_group_source
no_ip_msdp_mesh_group_source
no_ip_msdp_mesh_group
Yang Model:
  augment /frr-routing:routing/frr-routing:control-plane-protocols/frr-routing:control-plane-protocol:
    +--rw pim
       +--rw address-family* [address-family]
          +--rw address-family          identityref
          +--rw msdp-mesh-group!
          |  +--rw mesh-group-name?   string
          |  +--rw member-ip*         ietf-inet-types:ip-address
          |  +--rw source-ip?         ietf-inet-types:ip-address
          +--rw msdp-peer* [peer-ip]
          |  +--rw peer-ip      ietf-inet-types:ip-address
          |  +--rw source-ip?   ietf-inet-types:ip-address
Signed-off-by: Sarita Patra <saritap@vmware.com>
Diffstat (limited to 'lib/yang.h')
| -rw-r--r-- | lib/yang.h | 5 | 
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/yang.h b/lib/yang.h index 867ade9676..6e593883b9 100644 --- a/lib/yang.h +++ b/lib/yang.h @@ -605,6 +605,11 @@ extern uint32_t yang_get_list_elements_count(const struct lyd_node *node);  /* To get the immediate child of a dnode */  const struct lyd_node *yang_dnode_get_child(const struct lyd_node *dnode); +/* API to check if the given node is last node in the list */ +bool yang_is_last_list_dnode(const struct lyd_node *dnode); + +/* API to check if the given node is last node in the data tree level */ +bool yang_is_last_level_dnode(const struct lyd_node *dnode);  #ifdef __cplusplus  }  | 
