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

Deprecate temporary P4DeviceConfig message #462

Merged
merged 1 commit into from
Apr 11, 2019

Conversation

antoninbas
Copy link
Member

The assumption was always that this was a temporary message. It was
required when using bmv2 simple_switch, but is no longer needed with
simple_switch_grpc.

As a result of this change, the
ForwardingPipelineConfig::p4_device_config binary string is passed on
directly to PI. For backward compatibility, the DeviceMgr still tests
whether this field is a serialized P4DeviceConfig message (and behaves
as before).

@stolsma
Copy link
Member

stolsma commented Apr 11, 2019

Yeah, in favour of this change... Took us a whole day to find out that this P4DeviceConfig construct was needed when prototyping p4runtime solutions😢

The assumption was always that this was a temporary message. It was
required when using bmv2 simple_switch, but is no longer needed with
simple_switch_grpc.

As a result of this change, the
ForwardingPipelineConfig::p4_device_config binary string is passed on
directly to PI. For backward compatibility, the DeviceMgr still tests
whether this field is a serialized P4DeviceConfig message (and behaves
as before).
@antoninbas antoninbas force-pushed the antonin/deprecate-P4DeviceConfig branch from 4bfabed to 8572928 Compare April 11, 2019 19:57
@antoninbas antoninbas merged commit 9f6c1f2 into master Apr 11, 2019
@antoninbas antoninbas deleted the antonin/deprecate-P4DeviceConfig branch April 11, 2019 20:23
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.

None yet

2 participants