Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

With jtimon external, some entries in log are incomplete #61

Open
xp600 opened this issue Oct 22, 2024 · 0 comments
Open

With jtimon external, some entries in log are incomplete #61

xp600 opened this issue Oct 22, 2024 · 0 comments

Comments

@xp600
Copy link

xp600 commented Oct 22, 2024

Using jtimon external, subscribe to AFT sensor /network-instances/network-instance/afts/. There are entries in the log file which are incomplete.

“{element” below

Update {
        path {
                elem {
                        name: state
                }
                elem {
                        name: pushed-mpls-label-stack
                }
                val {
                        leaflist_val: {element
                }
        }

string_val: "3e <<<<< Supposed to be 3e:8a:b0:3e:e6:18
Update {
        path {
                elem {
                        name: state
                }
                elem {
                        name: mac-address
                }
                val {
                    string_val: "3e <<<<< Supposed to be 3e:8a:b0:3e:e6:18
                }
        }

When this sensor is subscribed using jtimon internal this issue is not seen

json file:

more test.json
{
"host": "[2001:4860::192:168:0:6]",
"port": 10162,
"user": "csim",
"password": "Juniper123",
"gnmi": {
"mode": 0,
"encoding": 2
},
"cid": "r6_aft2",
"vendor": {
"gnmi": {
"encoding": "protobuf"
}
},
"grpc": {
"ws": 5242880
},
"internal-jtimon": {
"data-log-file": "TelemetrySensorData.log",
"gnmi-eos": true
},
"tls": {
"clientcrt": "/home/csim/B2_2024/certs/client/client.crt",
"clientkey": "/home/csim/B2_2024/certs/client/client.key",
"ca": "/home/csim/B2_2024/certs/ca/ca.crt",
"servername": "R6"
},
"paths": [
{
"path": "/network-instances/network-instance/afts/",
"freq": 300000,
"gnmi_submode": 2
}
]
}

Log file from jtimon external is attached.

TelemetrySensorData.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant