2 * Copyright (c) 2015 Juniper Networks, Inc. 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
12 namespace "urn:opendaylight:groupbasedpolicy:oc";
15 import ietf-inet-types { prefix "inet"; revision-date 2010-09-24; }
17 import yang-ext {prefix ext; revision-date "2013-07-09";}
19 import endpoint {prefix endpoint;}
22 "This module defines the group-based policy oc renderer model.";
24 revision "2014-05-28" {
34 "Configuration for the OC renderer";
39 "Selects how and whether we learn endpoints";
43 "An external orchestration system will provide
44 information about all endpoints, and no
45 direct learning will occur.";
51 grouping endpoint-location {
53 "The location for this endpoint in the overlay network";
61 "The endpoint is located on a port that is part of
62 the network. You must include the node
63 ID and port number for this endpoint.";
66 description "This endpoint is not inside the network.";
72 "The port where the endpoint is located.";
77 augment "/endpoint:endpoints/endpoint:endpoint" {
78 ext:augment-identifier "oc-context";
79 uses endpoint-location;
82 augment "/endpoint:register-endpoint/endpoint:input" {
83 ext:augment-identifier "oc-context-input";
84 uses endpoint-location;