nokia / nokia.openconfig / 1.1.2 / module / gnmi_get Retrieve config/state information from networking device Authors: Hans Thienpondt (@HansThienpondt), Sven Wisotzky (@wisotzky)nokia.openconfig.gnmi_get (1.1.2) — module
Install with ansible-galaxy collection install nokia.openconfig:==1.1.2
collections: - name: nokia.openconfig version: 1.1.2
gRPC is a high performance, open-source universal RPC framework.
This module enables the user to fetch configuration and/or state information from gNMI enabled devices.
- name: Get Nodal Configuration gnmi_get:
- name: Get Nodal Configuration (Selective Branches) gnmi_get: type: CONFIG prefix: /configure path: - system/location - system/contact - service/md-auto-id - port[port-id=1/1/1]
path: default: - '' description: - Paths requested by the user elements: str type: list type: choices: - ALL - CONFIG - STATE - OPERATIONAL default: CONFIG description: - Type of data elements being requested type: str prefix: default: / description: - Path prefix that is applied to all paths in that request type: str
configure: port: - ethernet: mode: access port-id: 1/1/1 service: md-auto-id: customer-id-range: end: 10999 start: 10000 service-id-range: end: 99999 start: 10000 system: contact: nokia location: Melbourne