Skip to content

failed to run gNMI_Subscribe.py  #10

@pperesbr

Description

@pperesbr

Hi.

Im trying use the python script, but i received this message:

python gNMI_Subscribe.py   --server 10.10.10.10:57400 --username username --password pass /state/port[port-id=1/1/1]/ethernet/statistics/out-utilization 
zsh: no matches found: /state/port[port-id=1/1/1]/ethernet/statistics/out-utilization

or

 python gNMI_Subscribe.py  .py  --server 10.10.10.10:57400 --username username --password pass /                                                             
20/12/17 02:15:56,445 No module named 'google'

My Timos version:

A:SR-GVS1A# show system grpc            

===============================================================================
gRPC Server
===============================================================================
Administrative State      : Enabled
Operational State         : Up

Supported services          Version      Admin State
-------------------------------------------------------------------------------
gNMI                        0.4.0        Enabled
RibApi                      1.0.0        Disabled
===============================================================================
*A:SR-GVS1A# 
*A:SR-GVS1A# 
*A:SR-GVS1A# 
*A:SR-GVS1A# This terminal has been idle for 2.5 minutes
It will be logged out if it remains idle for another 2.5 minutes
*A:SR-GVS1A# show version 
TiMOS-C-16.0.R9 cpm/hops64 Nokia 7750 SR Copyright (c) 2000-2019 Nokia.
All rights reserved. All use subject to applicable license agreements.
Built on Wed Aug 21 12:25:15 PDT 2019 by builder in /builds/c/160B/R9/panos/main
*A:SR-GVS1A# 

Tks,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions