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

オープン
#38 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
68/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
yaml
領域
backend

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
言語のデータがありません
スター
116
フォーク
39
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Juniper/yang のほかの issue

Juniper/yang の issue をすべて見る

似ている issue

Backend & API Design の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。