Skip to content
This repository has been archived by the owner on May 4, 2020. It is now read-only.

Add show and clear counters commands for wireguard interfaces #17

Merged
merged 1 commit into from Nov 8, 2017
Merged

Add show and clear counters commands for wireguard interfaces #17

merged 1 commit into from Nov 8, 2017

Conversation

tssva
Copy link
Collaborator

@tssva tssva commented Nov 3, 2017

Addresses #13 by adding show and clear counters commands for wireguard interfaces. The show commands common across vyatta interfaces use the vyatta-show-interfaces.pl to produce the standard vyatta output. In order to support this a version of Vyatta's Interface.pm modified to add mapping of wgX interfaces to the wireguard interface type is part of this pull request. Debian preinst and postrm scripts have been added to properly safeguard and restore the original Interface.pm when the package is installed and removed. All other show commands wrap "wg show".

@tssva tssva changed the title Add show and clear counters commands for wireguard interfaces #13 Add show and clear counters commands for wireguard interfaces Nov 3, 2017
@Lochnair Lochnair merged commit 5345e6a into Lochnair:master Nov 8, 2017
@Lochnair
Copy link
Owner

Lochnair commented Nov 8, 2017

LGTM, thanks!

@tssva tssva deleted the op_commands branch November 15, 2017 13:24
@tssva
Copy link
Collaborator Author

tssva commented Feb 2, 2018

I pulled the Interface.pm file from the final 1.10 firmware posted in the Edgemax beta forum and confirmed that it has not changed, so the modified version added as part of this PR is still valid for use with 1.10.

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

Successfully merging this pull request may close these issues.

None yet

2 participants