diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2024-11-25 22:47:21 +0100 |
|---|---|---|
| committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-11-26 13:30:13 +0000 |
| commit | eab2cf6522302d64d9377f9ca61a83dc72c3586a (patch) | |
| tree | 06b3b26f0096728677c47862e11b6a6590434582 /tests/topotests/ospf_multi_instance/test_ospf_multi_instance.py | |
| parent | c9975e1525eb8bf73406b1da2ec6069d4ca1eac9 (diff) | |
bgpd: fix version attribute is an int, not a string
The json display of the version attribute is originally an
integer. It has changed, most probably mistakenly.
> {
> "vrfId": 7,
> "vrfName": "vrf1",
> "tableVersion": 3,
> "routerId": "192.0.2.1",
> "defaultLocPrf": 100,
> "localAS": 65500,
> "routes": {
> "172.31.0.1/32": {
> "prefix": "172.31.0.1/32",
> "version": "1", <--- int or string ??
Let us fix it, by using the integer display instead.
Fixes: f9f2d188e398 ("bgpd: fix 'json detail' output structure")
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
(cherry picked from commit c5d7815cccb92c192ca6b752843b8b827a607b53)
Diffstat (limited to 'tests/topotests/ospf_multi_instance/test_ospf_multi_instance.py')
0 files changed, 0 insertions, 0 deletions
