Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mgmtd backend yang model (depends on #17796) #17799

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from

lib: northbound/mgmtd: add backend model support

1853170
Select commit
Loading
Failed to load commit list.
Draft

mgmtd backend yang model (depends on #17796) #17799

lib: northbound/mgmtd: add backend model support
1853170
Select commit
Loading
Failed to load commit list.
frrbot / frrbot completed Jan 11, 2025 in 13s

Style and/or linter errors found

Style and/or linter errors found

Details

Thanks for your contribution to FRR!

Click for style suggestions

diff --git a/ripd/rip_main.c b/ripd/rip_main.c
index cfe4a7e43..e53539ad5 100644
--- a/ripd/rip_main.c
+++ b/ripd/rip_main.c
@@ -127,14 +127,8 @@ static struct frr_signal_t ripd_signals[] = {
 };
 
 static const struct frr_yang_module_info *const ripd_yang_modules[] = {
-	&frr_backend_info,
-	&frr_filter_info,
-	&frr_interface_info,
-	&frr_ripd_info,
-	&frr_route_map_info,
-	&frr_vrf_info,
-	&ietf_key_chain_info,
-	&ietf_key_chain_deviation_info,
+	&frr_backend_info,   &frr_filter_info, &frr_interface_info,  &frr_ripd_info,
+	&frr_route_map_info, &frr_vrf_info,    &ietf_key_chain_info, &ietf_key_chain_deviation_info,
 };
 
 /* clang-format off */
diff --git a/ripngd/ripng_main.c b/ripngd/ripng_main.c
index b3584b9c3..6df74f710 100644
--- a/ripngd/ripng_main.c
+++ b/ripngd/ripng_main.c
@@ -120,12 +120,8 @@ struct frr_signal_t ripng_signals[] = {
 };
 
 static const struct frr_yang_module_info *const ripngd_yang_modules[] = {
-	&frr_backend_info,
-	&frr_filter_info,
-	&frr_interface_info,
-	&frr_ripngd_info,
-	&frr_route_map_info,
-	&frr_vrf_info,
+	&frr_backend_info, &frr_filter_info,	&frr_interface_info,
+	&frr_ripngd_info,  &frr_route_map_info, &frr_vrf_info,
 };
 
 /* clang-format off */
diff --git a/staticd/static_main.c b/staticd/static_main.c
index 5e74326e3..2e90c8774 100644
--- a/staticd/static_main.c
+++ b/staticd/static_main.c
@@ -107,11 +107,7 @@ struct frr_signal_t static_signals[] = {
 };
 
 static const struct frr_yang_module_info *const staticd_yang_modules[] = {
-	&frr_backend_info,
-	&frr_interface_info,
-	&frr_vrf_info,
-	&frr_routing_info,
-	&frr_staticd_info,
+	&frr_backend_info, &frr_interface_info, &frr_vrf_info, &frr_routing_info, &frr_staticd_info,
 };
 
 /*

To apply the style suggestions:

curl https://gist.githubusercontent.com/polychaeta/c658541cdd3f3da031cdaa5ec3cabcff/raw/ef3517cc09d7a0ae4d2185649b726d07aba90767/style.diff | git apply -

If you are a new contributor to FRR, please see our contributing guidelines.

After making changes, you do not need to create a new PR. You should perform an amend or interactive rebase followed by a force push.