module packet-processing { namespace "urn:opendaylight:packet:service"; prefix flow; import yang-ext {prefix ext;} import opendaylight-inventory {prefix inv;} import ietf-inet-types {prefix inet;} import ietf-yang-types {prefix yang;} import opendaylight-l2-types {prefix types;} revision "2013-07-09" { description ""; } typedef cookie { type uint32; } grouping raw-packet { leaf ingress { type inv:node-connector-ref; } leaf payload { type binary; } } grouping ethernet-packet { leaf source { type yang:mac-address; } leaf destination { type yang:mac-address; } } notification packet-received { leaf cookie { type cookie; } uses raw-packet; } rpc transmit-packet { input { leaf cookie { type cookie; } leaf node { ext:context-reference "inv:node-context"; type inv:node-ref; } leaf egress { type inv:node-connector-ref; } uses raw-packet; } } }