[Supa] question on the SUPA data model.

"Liushucheng (Will)" <liushucheng@huawei.com> Thu, 16 February 2017 08:20 UTC

Return-Path: <liushucheng@huawei.com>
X-Original-To: supa@ietfa.amsl.com
Delivered-To: supa@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A037B129490; Thu, 16 Feb 2017 00:20:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.221
X-Spam-Level:
X-Spam-Status: No, score=-4.221 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id r3Wg3UYclRK0; Thu, 16 Feb 2017 00:20:47 -0800 (PST)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C0097129568; Thu, 16 Feb 2017 00:20:46 -0800 (PST)
Received: from 172.18.7.190 (EHLO lhreml703-cah.china.huawei.com) ([172.18.7.190]) by lhrrg01-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id DGO86360; Thu, 16 Feb 2017 08:20:43 +0000 (GMT)
Received: from SZXEMA418-HUB.china.huawei.com (10.82.72.36) by lhreml703-cah.china.huawei.com (10.201.5.104) with Microsoft SMTP Server (TLS) id 14.3.301.0; Thu, 16 Feb 2017 08:20:41 +0000
Received: from SZXEMA509-MBS.china.huawei.com ([169.254.2.147]) by SZXEMA418-HUB.china.huawei.com ([10.82.72.36]) with mapi id 14.03.0235.001; Thu, 16 Feb 2017 16:20:33 +0800
From: "Liushucheng (Will)" <liushucheng@huawei.com>
To: "draft-ietf-supa-generic-policy-data-model@ietf.org" <draft-ietf-supa-generic-policy-data-model@ietf.org>, supa <supa@ietf.org>
Thread-Topic: question on the SUPA data model.
Thread-Index: AdKILVdZaFCoHpcMQQSu7QtTJX6F4w==
Date: Thu, 16 Feb 2017 08:20:32 +0000
Message-ID: <C9B5F12337F6F841B35C404CF0554ACB898C4654@SZXEMA509-MBS.china.huawei.com>
Accept-Language: en-US, zh-CN
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.66.78.84]
Content-Type: multipart/alternative; boundary="_000_C9B5F12337F6F841B35C404CF0554ACB898C4654SZXEMA509MBSchi_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020201.58A560DC.025A, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=169.254.2.147, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32
X-Mirapoint-Loop-Id: 0495ed1d0b5889989b0649c0f81dc677
Archived-At: <https://mailarchive.ietf.org/arch/msg/supa/vYF_AhzYyKNjtbV2WyeD7_1Dmc8>
Cc: youlizhao <youlizhao@huawei.com>
Subject: [Supa] question on the SUPA data model.
X-BeenThere: supa@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: "This list is to discuss SUPA \(Simplified Use of Policy Abstractions\) related issues." <supa.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/supa>, <mailto:supa-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/supa/>
List-Post: <mailto:supa@ietf.org>
List-Help: <mailto:supa-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/supa>, <mailto:supa-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Feb 2017 08:20:49 -0000

Hi all,

I received a question to SUPA data model from a developer. I'm forwarding it here so that the discussion here will help other developer to better understand how to use supa data model.

--start-
Dear SUPA YANG model authors,

Thanks for drafting the SUPA Generic Policy YANG data model (draft-ietf-supa-generic-policy-data-model-02), and it explains the concept well. However, I met some difficulties when applying the data model to real systems. In particular, I tried to define an ECA YANG model, and used the ECA YANG model to develop a real working system.

In my system, there are some concrete elements such as <source_ip, source_port>, <dest_ip, dest_port>, port_bandwidth, and ECA policies are defined on these elements. I wondered how to deal with these elements/policies in the Generic YANG model (draft-ietf-supa-generic-policy-data-model-02)? (e.g., enrich some container?)

I would greatly appreciate it if you kindly give me some advice. Many thanks!

Regards,
Leo
--end--

Regards,
Will (Shucheng LIU)