X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=model%2Fmodel-flow-service%2Fsrc%2Fmain%2Fyang%2Fpacket-processing.yang;h=785f2cfc9c75136304c21f46adbc87aeaf6929f2;hb=ff96b402131838b73befc5d3611f8251cfd4c724;hp=50368e46a6a3f100725ac2fa80f3bca4eb9dcec2;hpb=20c6d51283ad86f229b9f77977acfeb86902f902;p=openflowplugin.git diff --git a/model/model-flow-service/src/main/yang/packet-processing.yang b/model/model-flow-service/src/main/yang/packet-processing.yang index 50368e46a6..785f2cfc9c 100644 --- a/model/model-flow-service/src/main/yang/packet-processing.yang +++ b/model/model-flow-service/src/main/yang/packet-processing.yang @@ -11,16 +11,19 @@ module packet-processing { import opendaylight-action-types {prefix action-type;revision-date "2013-11-12";} import opendaylight-flow-types {prefix flow-type;revision-date "2013-10-26";} + description "Packet processing - sending and receiving."; revision "2013-07-09" { - description ""; + description "Initial."; } typedef connection-cookie { + description "Openflow connection identifier. Outgoing packets should use the same connection they came in."; type uint32; } grouping raw-packet { + description "Basic packet structure."; leaf ingress { type inv:node-connector-ref; } @@ -30,6 +33,7 @@ module packet-processing { } grouping ethernet-packet { + description "Ethernet packet headers structure."; leaf source { type yang:mac-address; } @@ -40,7 +44,7 @@ module packet-processing { } identity packet-in-reason { - description "Base identity for all the available packet in reason"; + description "Base identity for all the available packet in reasons."; } identity no-match { @@ -59,8 +63,9 @@ module packet-processing { } notification packet-received { + description "Delivery of incoming packet wrapped in openflow structure."; leaf connection-cookie { - type connection-cookie; + type connection-cookie; } leaf flow-cookie { @@ -85,6 +90,7 @@ module packet-processing { } rpc transmit-packet { + description "Sending packet out through openflow device."; input { uses inv:node-context-ref;