p4-applications icon indicating copy to clipboard operation
p4-applications copied to clipboard

Revise metadata semantics yang module for INT v2

Open mickeyspiegel opened this issue 3 years ago • 1 comments

  • Rename p4-dtel-metadata-semantics.yang to p4-int-metadata-semantics.yang
    • Align with strategy to call all aspects and variants part of INT
  • Replace per metadata field groupings with generic grouping that can be used for metadata semantics details of all fields
    • Add identity statements for each baseline metadata field
    • Add identity statements for three common domain specific fields
      • flow_id
      • sequence_number
      • mac_address
    • Move leafs that apply to specific metadata fields to the generic grouping, conditioning the leafs using "when" statements
    • Move node-id to generic grouping, conditioning this leaf when the metadata field is node_id
    • Remove grouping for identifiers since this is moved to generic per metadata field groupings
    • Add grouping for domain specific metadata details including
      • size in 4-byte words
      • INT-MX properties as defined in INT 2.1
  • Add nested groupings for domain specific ids, along with bit position and identity reference for each domain specific metadata field associated with each domain

mickeyspiegel avatar Apr 03 '21 02:04 mickeyspiegel

Hi @mickeyspiegel, this is the ONF bot 🤖 I'm glad you want to contribute to our projects! However, before accepting your contribution, we need to ask you to sign a Contributor License Agreement (CLA). You can do it online, it will take only a few minutes:

✒️ 👉 https://cla.opennetworking.org

After signing, make sure to add your Github user ID mickeyspiegel to the agreement.

For more information or help:" https://wiki.opennetworking.org/x/BgCUI

onf-cla-manager[bot] avatar Apr 03 '21 02:04 onf-cla-manager[bot]