チャンネル


yasu1976 --- 2024-02-25 13:40:04 UTC

format 変更して、bgpd まで一応ざっと見ましたので、これで push しちゃいます。

yasu1976 --- 2024-02-25 13:40:41 UTC

まだコンパイル通らない可能性あります。その時は対応しますので教えてください。

yasu1976 --- 2024-02-25 13:41:19 UTC

rfapi ってなんですかね。bgpd と同じくらい大きそうな感じでしたが。。。

yasu1976 --- 2024-02-25 13:55:35 UTC

https://github.com/yasuhironet/zebra-re

yasu1976 --- 2024-02-25 13:56:56 UTC

zebra-re の方です。

yasu1976 --- 2024-02-25 13:57:35 UTC

コンパイル通すのは、帰国してから私も参加しますが、好きにやっててもらっても構いません > @U06D6CW4QMU

m-asama --- 2024-02-25 13:58:13 UTC

お、環境構築できまして、とりあえず 528527e の時点で Ubuntu 22.04 でパッケージできるところまで確認しました!

yasu1976 --- 2024-02-25 13:59:12 UTC

おお、素晴らしい。早い!w

m-asama --- 2024-02-25 13:59:56 UTC

いま git pull して 61a1ef6 でビルドしてみています。。

yasu1976 --- 2024-02-25 14:00:08 UTC

frr-9.0.2 のタグ打ってあるので、diff すればおかしくなってるところも戻せると思います

yasu1976 --- 2024-02-25 14:01:15 UTC

コンパイルまで通したら、 develop を切りましょうかね。今 main に直接です。

yasu1976 --- 2024-02-25 14:02:01 UTC

bgpd の要らない部分を全部切って、根本的に変更してマルチスレッドにしたい。。。

yasu1976 --- 2024-02-25 14:05:50 UTC

前回(commit log引き継いでない時)に GNU style にしてコンパイル通すところまでやったので、

yasu1976 --- 2024-02-25 14:05:59 UTC

コンパイル通らなかったら気軽に聞いてください

m-asama --- 2024-02-25 14:11:32 UTC

ビルド通りました!

yasu1976 --- 2024-02-24 13:40:17 UTC

このrevertですが、ちょっと難しそうなので、最新から機能を元に戻すような変更にした方が良さそうです。

↓たくさんConflictが出ました。

yasu@yasuhironets-MBP zebra % git status
On branch main
Your branch is up to date with 'origin/main'.
You are currently reverting commit 518f0eb18.
(fix conflicts and run "git revert --continue")
(use "git revert --skip" to skip this patch)
(use "git revert --abort" to cancel the revert operation)
Unmerged paths:
(use "git restore --staged <file>..." to unstage)
(use "git add/rm <file>..." as appropriate to mark resolution)
both modified: bgpd/bgp_clist.c
both modified: bgpd/bgp_filter.c
both modified: bgpd/bgp_filter.h
both modified: bgpd/bgp_main.c
both modified: bgpd/bgp_routemap.c
both modified: bgpd/bgp_vty.c
both modified: bgpd/bgp_zebra.c
both modified: bgpd/bgp_zebra.h
both modified: bgpd/bgpd.c
both modified: bgpd/bgpd.h
both modified: lib/filter.c
deleted by us: lib/memtypes.c
both modified: lib/plist.c
both modified: lib/routemap.c
both modified: lib/routemap.h
deleted by us: zebra/Makefile.am
both modified: zebra/zebra_rib.c
both modified: zebra/zebra_routemap.c
both modified: zebra/zebra_vty.c
both modified: zebra/zserv.h
no changes added to commit (use "git add" and/or "git commit -a")

スレッド


kunihiroishiguro --- 2024-02-08 05:15:18 UTC

@U06D6CW4QMU 強制Route Refreshするようにしたんですね。これはいかん気が。。。。@U06CYG1HGKZ この修正はrevertしたほうがいいと思いますね。

...
yasu1976 --- 2024-02-24 13:40:17 UTC

このrevertですが、ちょっと難しそうなので、最新から機能を元に戻すような変更にした方が良さそうです。

↓たくさんConflictが出ました。

yasu@yasuhironets-MBP zebra % git status
On branch main
Your branch is up to date with 'origin/main'.
You are currently reverting commit 518f0eb18.
(fix conflicts and run "git revert --continue")
(use "git revert --skip" to skip this patch)
(use "git revert --abort" to cancel the revert operation)
Unmerged paths:
(use "git restore --staged <file>..." to unstage)
(use "git add/rm <file>..." as appropriate to mark resolution)
both modified: bgpd/bgp_clist.c
both modified: bgpd/bgp_filter.c
both modified: bgpd/bgp_filter.h
both modified: bgpd/bgp_main.c
both modified: bgpd/bgp_routemap.c
both modified: bgpd/bgp_vty.c
both modified: bgpd/bgp_zebra.c
both modified: bgpd/bgp_zebra.h
both modified: bgpd/bgpd.c
both modified: bgpd/bgpd.h
both modified: lib/filter.c
deleted by us: lib/memtypes.c
both modified: lib/plist.c
both modified: lib/routemap.c
both modified: lib/routemap.h
deleted by us: zebra/Makefile.am
both modified: zebra/zebra_rib.c
both modified: zebra/zebra_routemap.c
both modified: zebra/zebra_vty.c
both modified: zebra/zserv.h
no changes added to commit (use "git add" and/or "git commit -a")
m-asama --- 2024-02-25 01:05:17 UTC

これ、、私やってみてもいいでしょうか。。言い出しっぺですし。。

yasu1976 --- 2024-02-25 01:34:14 UTC

もちろんです。

yasu1976 --- 2024-02-25 01:39:25 UTC

しかし、route-mapだけでも、commit/rollbackを入れる、というのも手かな、とも思っています。戻すというのはちょっと後ろ向きで、私としても、route-map変更の時間によって結果が変わるのは何か正しくない気もしています。commit/rollbackを実装するのが理想であれば、そっちに向かいたい気もします。 @U06DRMESJ9X さんも意見ください。

yasu1976 --- 2024-02-25 01:43:03 UTC

(そこだけcommit/rollback入れる、というのがどれだけ大変かあまり考えずに言っちゃってますけど。)

m-asama --- 2024-02-25 14:02:50 UTC

Legacy IOS(?) のアーキテクチャで commit/rollback 入れるのはしんどそうな気が、、します。。(自分はいい方法を思いつかない。。)
commit/rollback モデルは新しい石黒さんの方に任せてしまった方が良いような気が。。

yasu1976 --- 2024-02-25 14:03:27 UTC

そうですね、そうしますか。

yasu1976 --- 2024-02-25 14:04:09 UTC

好きに変えてもらって構いませんので!:man-bowing:

m-asama --- 2024-02-25 14:07:58 UTC

とりあえず現時点でどういう挙動するのか観察してみようかな、、と思ってます。。