andreas-stuerz / opn-cli

CLI for OPNsense Firewall using API Requests
BSD 2-Clause "Simplified" License
45 stars 8 forks source link

Add Ipsec tunnel management (list and show) #22

Closed andreas-stuerz closed 1 year ago

andreas-stuerz commented 1 year ago

Ipsec tunnel management contains still legacy code for editing. So only list and show is implemented.

codecov[bot] commented 1 year ago

Codecov Report

Base: 100.00% // Head: 100.00% // No change to project coverage :thumbsup:

Coverage data is based on head (e0c3bb0) compared to base (6f0eeef). Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #22 +/- ## ========================================== Coverage 100.00% 100.00% ========================================== Files 93 98 +5 Lines 3855 3969 +114 ========================================== + Hits 3855 3969 +114 ``` | [Impacted Files](https://codecov.io/gh/andeman/opn-cli/pull/22?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Andreas+St%C3%BCrz) | Coverage Δ | | |---|---|---| | [opnsense\_cli/api/core/ipsec.py](https://codecov.io/gh/andeman/opn-cli/pull/22/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Andreas+St%C3%BCrz#diff-b3Buc2Vuc2VfY2xpL2FwaS9jb3JlL2lwc2VjLnB5) | `100.00% <100.00%> (ø)` | | | [opnsense\_cli/cli.py](https://codecov.io/gh/andeman/opn-cli/pull/22/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Andreas+St%C3%BCrz#diff-b3Buc2Vuc2VfY2xpL2NsaS5weQ==) | `100.00% <100.00%> (ø)` | | | [opnsense\_cli/commands/core/ipsec/\_\_init\_\_.py](https://codecov.io/gh/andeman/opn-cli/pull/22/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Andreas+St%C3%BCrz#diff-b3Buc2Vuc2VfY2xpL2NvbW1hbmRzL2NvcmUvaXBzZWMvX19pbml0X18ucHk=) | `100.00% <100.00%> (ø)` | | | [opnsense\_cli/commands/core/ipsec/tunnel\_phase1.py](https://codecov.io/gh/andeman/opn-cli/pull/22/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Andreas+St%C3%BCrz#diff-b3Buc2Vuc2VfY2xpL2NvbW1hbmRzL2NvcmUvaXBzZWMvdHVubmVsX3BoYXNlMS5weQ==) | `100.00% <100.00%> (ø)` | | | [opnsense\_cli/commands/core/ipsec/tunnel\_phase2.py](https://codecov.io/gh/andeman/opn-cli/pull/22/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Andreas+St%C3%BCrz#diff-b3Buc2Vuc2VfY2xpL2NvbW1hbmRzL2NvcmUvaXBzZWMvdHVubmVsX3BoYXNlMi5weQ==) | `100.00% <100.00%> (ø)` | | | [opnsense\_cli/facades/commands/core/ipsec/tunnel.py](https://codecov.io/gh/andeman/opn-cli/pull/22/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Andreas+St%C3%BCrz#diff-b3Buc2Vuc2VfY2xpL2ZhY2FkZXMvY29tbWFuZHMvY29yZS9pcHNlYy90dW5uZWwucHk=) | `100.00% <100.00%> (ø)` | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Andreas+St%C3%BCrz). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Andreas+St%C3%BCrz)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.