Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Port-channels are always created as Layer 2

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

メンテナーはふだん 1 日以内に返信

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

評価

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

調査の方向性

EnsureInterfaceを読み、Aggregate分岐をissue #654で説明されている物理インターフェースの処理と比較してください。systemDefaultLayerの読み取り方と、アドレスまたは明示的なswitchportが選択されるレイヤーにどう影響するかを確認してください。アドレスのないルーテッドport-channelのケースを再現してください。アドレスもswitchportも指定されていない場合に、システムのデフォルトが使われれば完了です。

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

説明

EnsureInterface hardcodes Layer2 for an Interface of type Aggregate and only switches to Layer3 when the interface has addresses:

  pc.Layer = Layer2
  ...
  if req.IPv4 != nil || req.IPv6 != nil {
      pc.Layer = Layer3

On a switch running no system default switchport, a port-channel without addresses therefore comes up as an access port in VLAN 1 instead of routed. It affects routed port-channels that have no address of their own, such as an unnumbered uplink.

Suggested fix: read System/ethpm-items/inst-items/systemDefaultLayer in the Aggregate branch as #654 does for physical interfaces, and keep the system default when the Interface specifies neither addresses nor a switchport.

主要言語
Go
スター
14
フォーク
11
平均マージ
1日 14時間
マージ済み PR(30日)
74

環境構築

はじめの一歩

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

ironcore-dev/network-operator のほかの issue

ironcore-dev/network-operator の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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