Skip to content

Commit

Permalink
added state to ND report
Browse files Browse the repository at this point in the history
  • Loading branch information
wdesmedt committed Jun 11, 2024
1 parent 6a351f4 commit 9eaa0db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nornir_srl/connections/srlinux.py
Original file line number Diff line number Diff line change
Expand Up @@ -797,7 +797,7 @@ def get_arp(self) -> Dict[str, Any]:
def get_nd(self) -> Dict[str, Any]:
path_spec = {
"path": f"/interface[name=*]/subinterface[index=*]/ipv6/neighbor-discovery/neighbor",
"jmespath": '"interface"[*].subinterface[].{interface:"_subitf", entries:ipv6."neighbor-discovery".neighbor[].{IPv6:"ipv6-address",MAC:"link-layer-address",Type:origin,next_state:"_rel_expiry" }}',
"jmespath": '"interface"[*].subinterface[].{interface:"_subitf", entries:ipv6."neighbor-discovery".neighbor[].{IPv6:"ipv6-address",MAC:"link-layer-address",State:"current-state",Type:origin,next_state:"_rel_expiry" }}',
"datatype": "state",
}
resp = self.get(
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "nornir-srl"
version = "0.2.15"
version = "0.2.16"
description = "Nornir connection plugin for SRLinux"
authors = ["Walter De Smedt <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit 9eaa0db

Please sign in to comment.