hellt / netdevops.me_gitment_comments

0 stars 0 forks source link

gNMIc - gNMI CLI client and collector #67

Open hellt opened 4 years ago

hellt commented 4 years ago

https://netdevops.me/2020/gnmic-gnmi-cli-client-and-collector/

Despite the fact that gNMI is defacto the go-to interface for a model-driven telemetry collection, we, as a community, had no gNMI tool that was easy to install, pleasure to use, documented and pre-built for common platforms. Until now.

I am excited to announce the public release of gnmic - a CLI client and a collector that talks gNMI to your devices.

ghost commented 4 years ago

Outstanding work Roman!

allan-silverstein commented 4 years ago

Finally, something simple to use for a quick test! Thank you

hellt commented 4 years ago

@allan-silverstein Finally, something simple to use for a quick test! Thank you

Thanks Allan That is indeed was our starting point - to make a friendly client. Now we are looking into ways of expansion, making gnmic more feature rich while still maintaining the same core principles of easiness to install/use

allan-silverstein commented 4 years ago

Hello Roman, I'm working more with this but seem to be having problems and have some comments:

  1. What is the best support forum for questions?
  2. All command line options are not defined through help menu
  3. If the file name argument to the --config option is miss spelled, the error message is confusing/misleading: Error: unexpected targets format, got: Instead of an error something like "file not found"....
  4. Can't seem to get this working with TLS cert. I put the cert in a yaml file and used the --config option but no luck. I didn't see an example in the documentation of a secure connection and specifying the cert.

Thanks again for creating this.

hellt commented 4 years ago

@allan-silverstein the best way to ask questions would be via projects issues - https://github.com/karimra/gnmic/issues there you can create an issue per the topic you outlined and myself and/or @karimra will help you out

For the command options which menu you are referring to? The CLI menu? It should have all the options, as inherently it uses the code to get them rendered in the CLI. If you are talking about the documentation site gnmic.kmrd.dev then indeed it might have some options non documented.

As to the missing config file error message, let us look at this a bit, I will ping you with the results

The TLS cert you can't embed in a YAML, instead you should put the path to the cert file in a YAML. Check this out and lets see if you still have troubles making it work

allan-silverstein commented 4 years ago

yes the cli menu. I'll forward you some examples.

On 13.10.2020 15:31, Roman Dodin wrote:

@allan-silverstein [1] the best way to ask questions would be via projects issues - https://github.com/karimra/gnmic/issues there you can create an issue per the topic you outlined and myself and/or @karimra [2] will help you out

For the command options which menu you are referring to? The CLI menu? It should have all the options, as inherently it uses the code to get them rendered in the CLI. If you are talking about the documentation site gnmic.kmrd.dev then indeed it might have some options non documented.

As to the missing config file error message, let us look at this a bit, I will ping you with the results

The TLS cert you can't embed in a YAML, instead you should put the path to the cert file in a YAML. Check this out and lets see if you still have troubles making it work

-- You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub [3], or unsubscribe [4].

Links:

[1] https://github.com/allan-silverstein [2] https://github.com/karimra [3] https://github.com/hellt/netdevops.me_gitment_comments/issues/67#issuecomment-707960827 [4] https://github.com/notifications/unsubscribe-auth/AEMTIKRI5EVQ3BXDFZFCVULSKSTIBANCNFSM4O4HTRZQ

karimra commented 4 years ago

@allan-silverstein for case 2. can you give an example of missing options? and what you expected to see ?

allan-silverstein commented 4 years ago

Hello Karim,

I think you are good and that error was on me. I was not following the concept of "local" flags and "global" flags and I was looking at the documentation of the local flags for the "get" command and noticed those options were not displayed when I did a "gnmic -h". However, they were displayed when I issued a "gnmic get --help".

I have another question but I'll add it as a separate "issue/question" on github.

Thank you.

Al Silverstein

On 14.10.2020 09:27, Karim Radhouani wrote:

@allan-silverstein [1] for case 2. can you give an example of missing options? and what you expected to see ?

-- You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub [2], or unsubscribe [3].

Links:

[1] https://github.com/allan-silverstein [2] https://github.com/hellt/netdevops.me_gitment_comments/issues/67#issuecomment-708400903 [3] https://github.com/notifications/unsubscribe-auth/AEMTIKT76XLVBF4NAMMGG7DSKWRK3ANCNFSM4O4HTRZQ