18.4R1–21.1R1: generator debug output in junos-nfx-rpc-clear (clear-service-nat-statistics-information)

Abierto
#38 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
68/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
yaml
Área
backend

Línea de trabajo

Inspect the listed junos-nfx/rpc and junos-nfx/rpc-with-extensions files across releases 18.4R1 through 21.1R1, focusing on clear-service-nat-statistics-information input. Compare the RPC with its 21.2R1 version, where input starts with leaf service-set, and remove the two generator debug lines from affected releases. Run the reported pyang command on an affected module; done when it parses successfully.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

In 13 releases, 18.4R1 through 21.1R1, the junos-nfx-rpc-clear module has two lines of generator debug output in the input of clear-service-nat-statistics-information, which makes the module unparseable:

yang
rpc clear-service-nat-statistics-information {
description "Clear NAT statistics";
input {
DEBUG: we should not reach here;
DEBUG: we should not reach here;
leaf service-set {

$ pyang -p 18.4/18.4R1/common 18.4/18.4R1/junos-nfx/rpc/[email protected]
18.4/18.4R1/junos-nfx/rpc/[email protected]:29045: error: syntax error: expected separator, got: ": we s..."

(pyang 2.7.1)

It appears in both junos-nfx/rpc and junos-nfx/rpc-with-extensions in 18.4R1, 18.4R2, 18.4R3, 19.1R1, 19.2R1, 19.3R1, 19.4R1, 20.1R1, 20.2R1, 20.3R1, 20.4R1 and 21.1R1. Since 21.2R1 the RPC has no such lines; its input starts directly with leaf service-set. Removing the two lines from the affected releases would fix them.

Lenguaje dominante
Sin datos de lenguaje
Estrellas
116
Forks
39
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Juniper/yang

Todos los issues de Juniper/yang

Issues similares

Más issues de Backend & API Design

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.