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

poecli restore invalidates any saved config #10

Open
rothcar opened this issue Nov 16, 2021 · 1 comment
Open

poecli restore invalidates any saved config #10

rothcar opened this issue Nov 16, 2021 · 1 comment

Comments

@rothcar
Copy link
Contributor

rothcar commented Nov 16, 2021

To reproduce:

  1. disable a port
  2. execute poecli restore
  3. note that the port is no longer disabled.

The restore function should ideally restore port configuration from the last saved running-config.

@leonchiang
Copy link
Contributor

leonchiang commented Nov 29, 2021

The "poecli restore" command make an platform/poeChip restore, that will apply our platform settings (include all port Enable), we'll fix this up by remove relate settings in platform codes to avoid enabling ports. (same issue: #11 )
If you need an config restore, we'll add new cli command "poecli cfg" to implement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants