diff options
| author | Donald Sharp <donaldsharp72@gmail.com> | 2025-01-14 13:47:28 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-14 13:47:28 -0500 |
| commit | 5f350961230df5a249e7e1e09d2b38b149b105d9 (patch) | |
| tree | 79c7419e8cbf7fcc0d430a7ce78ddf2dd265d8a1 /lib/if.h | |
| parent | 67da971218eb065a2519411996bf799799f36ab2 (diff) | |
| parent | c88b48929c60ffe0214949fdf85afefa4038327b (diff) | |
Merge pull request #17796 from LabNConsulting/chopps/datastore-notifications
operational-state (datastore) change notifications
Diffstat (limited to 'lib/if.h')
| -rw-r--r-- | lib/if.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -297,6 +297,8 @@ struct interface { struct vrf *vrf; + struct lyd_node *state; + /* * Has the end users entered `interface XXXX` from the cli in some * fashion? @@ -633,6 +635,14 @@ extern void if_up_via_zapi(struct interface *ifp); extern void if_down_via_zapi(struct interface *ifp); extern void if_destroy_via_zapi(struct interface *ifp); +extern void if_update_state(struct interface *ifp); +extern void if_update_state_metric(struct interface *ifp, uint32_t metric); +extern void if_update_state_mtu(struct interface *ifp, uint mtu); +extern void if_update_state_mtu6(struct interface *ifp, uint mtu); +extern void if_update_state_hw_addr(struct interface *ifp, const uint8_t *hw_addr, uint len); +extern void if_update_state_speed(struct interface *ifp, uint32_t speed); + +extern bool if_notify_oper_changes; extern const struct frr_yang_module_info frr_interface_info; extern const struct frr_yang_module_info frr_interface_cli_info; |
