1 module controller-openflow {
3 namespace "urn:opendaylight:controller:openflow";
5 import controller-network {prefix cn;}
8 description "Initial demo";
18 augment "/cn:network/cn:topologies/cn:topology/cn:types" {
19 leaf openflow {type string;}
22 augment "/cn:network/cn:topologies/cn:topology/cn:links/cn:link/cn:source" {
23 when "../../../cn:types/of:openflow";
30 augment "/cn:network/cn:topologies/cn:topology/cn:links/cn:link/cn:destination" {
31 when "../../../cn:types/of:openflow";
38 augment "/cn:network/cn:topologies/cn:topology/cn:nodes/cn:node/" {
39 when "../../../cn:types/of:openflow";
45 augment "/cn:network/cn:network-elements/cn:network-element" {
52 key "logical-port-id";
54 leaf logical-port-id {
58 // Should be replaced with ref to interface
64 container flow-tables {