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-ise-adapter-model {
11 namespace "urn:opendaylight:params:xml:ns:yang:controller:config:groupbasedpolicy:gbp-ise-adapter:model";
12 prefix "gbp-ise-adapter-model";
14 import gbp-common { prefix gbp-common; revision-date 2014-04-21; }
15 import ietf-inet-types { prefix inet; revision-date 2010-09-24; }
16 import ietf-yang-types {prefix yang; revision-date "2010-09-24";}
19 "This module contains the YANG definitions for
20 gbp-ise-adapter implementation.";
22 revision "2016-06-30" {
27 container gbp-ise-adapter {
28 description "root point for ise connection info and sgt harvest status";
30 container ise-harvest-config {
31 description "connection + credentials for ise-rest-api connection and target tennant";
35 type gbp-common:tenant-id;
38 "tenant for all extracted sgt";
41 container connection-config {
42 description "rest connection configuration part";
45 description "base uri to ise-rest-api";
50 leaf connection-timeout {
51 description "connection timeout in milliseconds";
57 description "read from rest timeout in milliseconds";
63 description "request headers in form key+value";
76 container ise-harvest-status {
77 description "result of sgt harvest from ise-rest-api and generating endpoint policy templates";
81 description "true if all operations succeeded";
86 description "failure detail";
90 leaf templates-written {
91 description "amount of endpoint templates written";
96 description "stamped upon sgts harvested and templates written";
97 type yang:date-and-time;