X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fsal%2Fyang-prototype%2Fcode-generator%2Fbinding-generator-impl%2Fsrc%2Ftest%2Fresources%2Fcontroller-models%2Fcontroller-openflow.yang;fp=opendaylight%2Fsal%2Fyang-prototype%2Fcode-generator%2Fbinding-generator-impl%2Fsrc%2Ftest%2Fresources%2Fcontroller-models%2Fcontroller-openflow.yang;h=0000000000000000000000000000000000000000;hb=29766fa9b1eb9b23162a4dcb485a5d921b9471bc;hp=62e937e92ba1049d013c025200d34335aa95bf83;hpb=97d2f10bea5bdd773453bc7202b9dd04f4b70c3b;p=controller.git diff --git a/opendaylight/sal/yang-prototype/code-generator/binding-generator-impl/src/test/resources/controller-models/controller-openflow.yang b/opendaylight/sal/yang-prototype/code-generator/binding-generator-impl/src/test/resources/controller-models/controller-openflow.yang deleted file mode 100644 index 62e937e92b..0000000000 --- a/opendaylight/sal/yang-prototype/code-generator/binding-generator-impl/src/test/resources/controller-models/controller-openflow.yang +++ /dev/null @@ -1,79 +0,0 @@ -module controller-openflow { - - namespace "urn:opendaylight:controller:openflow"; - prefix "of"; - import controller-network {prefix cn;} - - - revision 2013-05-20 { - description "Initial demo"; - } - - - - - - typedef datapath-id { - type string { - length 16; - } - } - - - augment "/cn:network/cn:topologies/cn:topology/cn:types" { - leaf openflow {type string;} - } - - augment "/cn:network/cn:topologies/cn:topology/cn:links/cn:link/cn:source" { - when "../../../cn:types/of:openflow"; - - leaf logical-port { - type int32; - } - } - - augment "/cn:network/cn:topologies/cn:topology/cn:links/cn:link/cn:destination" { - when "../../../cn:types/of:openflow"; - - leaf logical-port { - type int32; - } - } - - augment "/cn:network/cn:topologies/cn:topology/cn:nodes/cn:node/" { - when "../../../cn:types/of:openflow"; - leaf datapath-id { - type datapath-id; - } - } - - augment "/cn:network/cn:network-elements/cn:network-element" { - leaf datapath-id { - type datapath-id; - } - - container ports { - list port { - key "logical-port-id"; - - leaf logical-port-id { - type int32; - } - - // Should be replaced with ref to interface - leaf physical-name { - type string; - } - } - } - container flow-tables { - list flow-table { - key "flow-table-id"; - leaf flow-table-id { - type string; - } - - } - } - } -} \ No newline at end of file