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

feat: Allow AF-PACKET to reference target Linux interface via logical name #1616

Merged
merged 1 commit into from
Feb 7, 2020

Conversation

milanlenco
Copy link
Collaborator

Added <linux_interface> field to AF-PACKET link definition, which
allows to reference the target Linux interface via logical name
as opposed to its host name. Previously the physical reference
was chosen over the logical because it was not possible to reference
Linux interfaces not managed by the same vpp-agent, but with the
introduction of the EXISTING Linux interface type this is no longer
the case.

Signed-off-by: Milan Lenco milan.lenco@pantheon.tech

@milanlenco milanlenco self-assigned this Feb 6, 2020
@milanlenco milanlenco added this to the v3.0.0 milestone Feb 6, 2020
@codecov
Copy link

codecov bot commented Feb 6, 2020

Codecov Report

Merging #1616 into master will increase coverage by 2.27%.
The diff coverage is 75%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1616      +/-   ##
==========================================
+ Coverage   49.69%   51.96%   +2.27%     
==========================================
  Files         600      304     -296     
  Lines       63595    26372   -37223     
==========================================
- Hits        31604    13705   -17899     
+ Misses      29562    11574   -17988     
+ Partials     2429     1093    -1336
Flag Coverage Δ
#e2e ?
#unittests 51.96% <75%> (-0.02%) ⬇️

@milanlenco milanlenco requested a review from rastislavs February 6, 2020 13:31
ondrej-fabry
ondrej-fabry previously approved these changes Feb 6, 2020
@ondrej-fabry
Copy link
Member

LGTM. Just rebase on master, since vpp2001_324 has been removed.

… name

Added <linux_interface> field to AF-PACKET link definition, which
allows to reference the target Linux interface via logical name
as opposed to its host name. Previously the physical reference
was chosen over the logical because it was not possible to reference
Linux interfaces not managed by the same vpp-agent, but with the
introduction of the EXISTING Linux interface type this is no longer
the case.

Signed-off-by: Milan Lenco <milan.lenco@pantheon.tech>
@ondrej-fabry ondrej-fabry merged commit 219c750 into ligato:master Feb 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants