Skip to content

Conversation

@benoit-nexthop
Copy link
Contributor

Pre-submission checklist

  • I've ran the linters locally and fixed lint errors related to the files I modified in this PR. You can install the linters by running pip install -r requirements-dev.txt && pre-commit install
  • pre-commit run

Summary

This will maintain a binary-level separation between the existing code
and the new config command related code.

Test Plan

Unit tests.

@meta-cla meta-cla bot added the CLA Signed label Dec 18, 2025
@benoit-nexthop benoit-nexthop marked this pull request as ready for review December 18, 2025 00:38
This command just calls `reloadConfig()` on the wedge_agent.
Sample output:
```
Config Applied Information:
===========================
Last Applied Time: 2025-10-11 09:29:36.589
Last Coldboot Applied Time: 2025-10-11 06:44:36.741
```
This can handle only one session per user, the current live config is
copied into `~/.fboss2/agent.conf` and when committing an atomic symlink
update is performed on /etc/coop/agent.conf, which is the only config
file supported by this basic prototype.
Add some helper code to process interface-list arguments.
This will maintain a binary-level separation between the existing code
and the new config command related code.
@benoit-nexthop
Copy link
Contributor Author

This change was folded into #753

@benoit-nexthop benoit-nexthop deleted the fboss2-cli-prototype_part10 branch December 23, 2025 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants