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

Added firewall app #2

Merged
merged 8 commits into from
Jul 6, 2021
Merged

Added firewall app #2

merged 8 commits into from
Jul 6, 2021

Conversation

Mixaster995
Copy link
Contributor

@Mixaster995 Mixaster995 commented Jul 1, 2021

Signed-off-by: Mikhail Avramenko [email protected]

Description

Made firewall nse, which filters traffic according to acl rules, provided in config file
Depends of networkservicemesh/sdk-vpp#291

Issue link

fixes networkservicemesh/sdk#952

How Has This Been Tested?

  • Added unit testing to cover
  • Tested manually
  • Tested by integration testing
  • Have not tested

Types of changes

  • Bug fix
  • New functionallity
  • Documentation
  • Refactoring
  • CI

Signed-off-by: Mikhail Avramenko <[email protected]>
Copy link
Member

@denis-tingaikin denis-tingaikin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other things look good.

This pr is blocked by networkservicemesh/sdk-vpp#291

go.mod Outdated Show resolved Hide resolved
go.mod Outdated Show resolved Hide resolved
main.go Outdated Show resolved Hide resolved
main.go Outdated Show resolved Hide resolved
main.go Outdated Show resolved Hide resolved
main.go Outdated Show resolved Hide resolved
main.go Outdated Show resolved Hide resolved
Signed-off-by: Mikhail Avramenko <[email protected]>
Signed-off-by: Mikhail Avramenko <[email protected]>
Signed-off-by: Mikhail Avramenko <[email protected]>
@Mixaster995 Mixaster995 marked this pull request as ready for review July 2, 2021 09:45
Copy link
Member

@denis-tingaikin denis-tingaikin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added few comments.

In general, looks good.

Also please subscribe this repository for updates in sdk/vpp
https://github.com/networkservicemesh/sdk-vpp/blob/main/.github/workflows/update-dependent-repositories-gomod.yaml#L18

internal/config/config.go Outdated Show resolved Hide resolved
internal/config/config.go Outdated Show resolved Hide resolved
<-vppErrCh
}

func exitOnErr(ctx context.Context, cancel context.CancelFunc, errCh <-chan error) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@edwarnicke I see this function in many places. Can we move it into sdk/tools?

This can be done in separate PRs.

Signed-off-by: Mikhail Avramenko <[email protected]>
@Mixaster995 Mixaster995 closed this Jul 5, 2021
@Mixaster995 Mixaster995 reopened this Jul 5, 2021
Copy link
Member

@denis-tingaikin denis-tingaikin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@denis-tingaikin
Copy link
Member

Signed-off-by: Mikhail Avramenko <[email protected]>
@denis-tingaikin denis-tingaikin merged commit 3f9ddb6 into networkservicemesh:main Jul 6, 2021
@Mixaster995 Mixaster995 deleted the firewall-app branch July 6, 2021 05:17
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

Successfully merging this pull request may close these issues.

NSE Composition: create firewall application
3 participants