Skip to content

[action] [PR:56] Add list of trusted VNIs#58

Open
mssonicbld wants to merge 1 commit intosonic-net:202511from
mssonicbld:cherry/202511/56
Open

[action] [PR:56] Add list of trusted VNIs#58
mssonicbld wants to merge 1 commit intosonic-net:202511from
mssonicbld:cherry/202511/56

Conversation

@mssonicbld
Copy link

The current proto definition only allows a single value or range for trusted VNIs. If we want to trust two different VNIs, then we must use a range that includes all VNIs between them, which presents a security risk. This will require changes across multiple repos in the following order:

  1. Update the protobuf definition to allow for multiple ranges and values for trusted VNIs (this PR)
  2. Update orchagent code to parse the new protobuf definition and create multiple trusted VNI entries
  3. Update sonic-mgmt tests to use the new definition
  4. Update the protobuf definition to remove/deprecate the old trusted_vni field to avoid confusion.

The current proto definition only allows a single value or range for trusted VNIs. If we want to trust two different VNIs, then we must use a range that includes all VNIs between them, which presents a security risk. This will require changes across multiple repos in the following order:

1. Update the protobuf definition to allow for multiple ranges and values for trusted VNIs (this PR)
2. Update orchagent code to parse the new protobuf definition and create multiple trusted VNI entries
3. Update sonic-mgmt tests to use the new definition
4. Update the protobuf definition to remove/deprecate the old `trusted_vni` field to avoid confusion.
@mssonicbld
Copy link
Author

Original PR: #56

@mssonicbld
Copy link
Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

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.

1 participant

Comments