p4lang / p4-applications

P4 Applications WG repo
107 stars 45 forks source link

Add yang model for metadata semantics #48

Closed mickeyspiegel closed 6 years ago

mickeyspiegel commented 6 years ago

We need to decide whether there should be a separate model just for metadata semantics between nodes and monitors, or whether the yang model should cover all of data plane telemetry including normal management and configuration.

In openconfig, they strongly advocate a separation of config and operational state. If the scope remains narrow, then we won't have any config state, only operational state, so it deviates from openconfig style to some extent.