2 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 module controller-openflow {
10 namespace "urn:opendaylight:controller:openflow";
12 import controller-network {prefix cn;}
16 description "Initial demo";
30 augment "/cn:network/cn:topologies/cn:topology/cn:types" {
31 leaf openflow {type string;}
34 augment "/cn:network/cn:topologies/cn:topology/cn:links/cn:link/cn:source" {
35 when "../../../cn:types/of:openflow";
42 augment "/cn:network/cn:topologies/cn:topology/cn:links/cn:link/cn:destination" {
43 when "../../../cn:types/of:openflow";
50 augment "/cn:network/cn:topologies/cn:topology/cn:nodes/cn:node" {
51 when "../../../cn:types/of:openflow";
57 augment "/cn:network/cn:network-elements/cn:network-element" {
64 key "logical-port-id";
66 leaf logical-port-id {
70 // Should be replaced with ref to interface
76 container flow-tables {