ordered-by is inconsistent between releases (apply-groups before 18.1R1, and ~580 other statements)

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
領域
backend

調査の方向性

Compare the apply-advanced grouping in configuration.yang for releases 16.1, 16.2R1, 17.1R1, 17.2R1, 17.3R1 and the *-conf-* modules for 17.4R1 with the 18.1R1 definition. Start by locating the grouping and the other statements mentioned in the comment below. Done means the affected definitions consistently specify the order shown as accurate for Junos; check the comment thread for the remaining statement list.

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

説明

In every release up to 17.4R1, the apply-advanced grouping, which gives every container its apply-groups and apply-groups-except, defines them without ordered-by user:

// 17.4R1, e.g. 17.4/17.4R1/junos-es/conf/[email protected]
grouping apply-advanced {
  leaf-list apply-groups {
    type string;
  }
  leaf-list apply-groups-except {
    type string;
  }

From 18.1R1 on they have it:

// 18.1R1
grouping apply-advanced {
  leaf-list apply-groups {
    ordered-by user;
    type string;
  }
  leaf-list apply-groups-except {
    ordered-by user;
    type string;
  }

The order of apply-groups is significant in Junos, because groups are applied in the order listed, so 18.1R1's definition is the accurate one. Without ordered-by user, a tool following the YANG treats the order as unimportant: it may reorder the groups, or not treat a reordering as a change.

Affected in this repo: configuration.yang in 16.1, 16.2R1, 17.1R1, 17.2R1 and 17.3R1 (all families), and the *-conf-* modules of junos, junos-es, junos-ex and junos-qfx in 17.4R1. Since the grouping is included in every container, this affects roughly 90,000 leaf-lists in each full model.

Other statements whose ordered-by differs between releases are listed in the comment below.

主要言語
言語のデータがありません
スター
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 を短くまとめたダイジェスト。