Skip to content

Commit

Permalink
Policy route protocol and port (#129)
Browse files Browse the repository at this point in the history
* Policy route protocol and port

* port rename to dst_port

* dst_port and proto type changed to string (previously uint32)

* src_port added

* Port range parser

Signed-off-by: Lionel Jouin <lionel.jouin@est.tech>

* Disable funlen linter on helpers tests

Signed-off-by: Lionel Jouin <lionel.jouin@est.tech>
  • Loading branch information
LionelJouin committed Mar 14, 2022
1 parent 21eda25 commit fe3ca75
Show file tree
Hide file tree
Showing 5 changed files with 262 additions and 105 deletions.
4 changes: 4 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,3 +177,7 @@ issues:
linters:
- interfacer
text: "can be `github.com/golang/protobuf/proto.Message"
- path: pkg/api/networkservice/connectioncontext_helpers_test.go
linters:
- funlen
text: "Function 'TestParsePortRange' is too long"
Loading

0 comments on commit fe3ca75

Please sign in to comment.