1 module controller-openflow {
3 namespace "urn:opendaylight:controller:openflow";
5 import controller-network {prefix cn;}
9 description "Initial demo";
23 augment "/cn:network/cn:topologies/cn:topology/cn:types" {
24 leaf openflow {type string;}
27 augment "/cn:network/cn:topologies/cn:topology/cn:links/cn:link/cn:source" {
28 when "../../../cn:types/of:openflow";
35 augment "/cn:network/cn:topologies/cn:topology/cn:links/cn:link/cn:destination" {
36 when "../../../cn:types/of:openflow";
43 augment "/cn:network/cn:topologies/cn:topology/cn:nodes/cn:node/" {
44 when "../../../cn:types/of:openflow";
50 augment "/cn:network/cn:network-elements/cn:network-element" {
57 key "logical-port-id";
59 leaf logical-port-id {
63 // Should be replaced with ref to interface
69 container flow-tables {