2 * Copyright (c) 2015 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 statistics-store {
12 namespace "urn:opendaylight:groupbasedpolicy:statistics:store";
13 prefix "gbp-statistics-store";
17 revision-date 2014-04-21;
21 revision-date 2014-04-21;
23 import ietf-inet-types {
25 revision-date 2010-09-24;
28 "This module defines gbp statistics store.";
30 revision "2015-12-15" {
38 grouping source-ep-fields {
39 container src-endpoint {
42 type gbp-common:endpoint-group-id;
45 type gbp-common:tenant-id;
50 grouping dst-ep-fields {
51 container dst-endpoint {
54 type gbp-common:endpoint-group-id;
57 type gbp-common:tenant-id;
62 grouping statisitc-fields {
64 type gbp-common:contract-id;
67 type gbp-common:rule-name;
70 type gbp-common:subject-name;
72 leaf-list classifier {
73 type gbp-common:classifier-name;
76 type gbp-common:action-name;
86 container statistics-store {
87 list statistic-record {
95 "Date and time of record creation in milliseconds
96 counting from 1.1.1970 00:00:00 UTC (= 0)";
98 uses source-ep-fields;
101 key "contract subject rule";
102 uses statisitc-fields;