2 * Copyright (c) 2016 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
9 module gbp-sxp-ise-adapter-model {
11 namespace "urn:opendaylight:params:xml:ns:yang:controller:config:groupbasedpolicy:gbp-sxp-ise-adapter:model";
12 prefix "gbp-sxp-ise-adapter-model";
14 import gbp-common { prefix gbp-common; revision-date 2014-04-21; }
15 import sxp-database { prefix sxp-database; revision-date 2016-03-08; }
16 import ietf-inet-types { prefix inet; revision-date 2013-07-15; }
17 import ietf-yang-types {prefix yang; revision-date "2013-07-15";}
20 "This module contains the YANG definitions for
21 gbp-sxp-ise-adapter implementation.";
23 revision "2016-06-30" {
28 container gbp-sxp-ise-adapter {
29 description "root point for ise connection info and sgt harvest status";
31 container ise-source-config {
32 description "connection + credentials for ise-rest-api connection and target tennant";
36 type gbp-common:tenant-id;
39 "tenant for all extracted sgt";
43 description "minimal sgt used by this tenant";
44 type sxp-database:sgt;
48 description "maximal sgt used by this tenant";
49 type sxp-database:sgt;
52 container connection-config {
53 description "rest connection configuration part";
56 description "base uri to ise-rest-api";
61 leaf connection-timeout {
62 description "connection timeout in milliseconds";
68 description "read from rest timeout in milliseconds";
74 description "request headers in form key+value";
87 container ise-harvest-status {
88 description "result of sgt harvest from ise-rest-api and generating endpoint policy templates";
92 description "true if all operations succeeded";
97 description "failure detail";
101 leaf templates-written {
102 description "amount of endpoint templates written";
107 description "stamped upon sgts harvested and templates written";
108 type yang:date-and-time;