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 gbp-common {prefix gbp-common;}
20 import endpoint {prefix endpoint;}
23 "This module defines the group-based policy oc renderer model.";
25 revision "2014-05-28" {
35 "Configuration for the OC renderer";
40 "Selects how and whether we learn endpoints";
44 "An external orchestration system will provide
45 information about all endpoints, and no
46 direct learning will occur.";
52 grouping endpoint-location {
54 "The location for this endpoint in the overlay network";
62 "The endpoint is located on a port that is part of
63 the network. You must include the node
64 ID and port number for this endpoint.";
67 description "This endpoint is not inside the network.";
73 "The port where the endpoint is located.";
78 augment "/endpoint:endpoints/endpoint:endpoint" {
79 ext:augment-identifier "oc-context";
80 uses endpoint-location;
83 augment "/endpoint:register-endpoint/endpoint:input" {
84 ext:augment-identifier "oc-context-input";
85 uses endpoint-location;