diff options
author | 2022-07-14 22:15:18 -0400 | |
---|---|---|
committer | 2022-07-21 13:16:53 -0400 | |
commit | 5c4ea01ed2994bf573609d3a1ddf1730d0a63d38 (patch) | |
tree | 255f90b36758145edae71948cba9c08559f33ac5 /actn-interface-tools/actn-model/src/main/yang/ietf-eth-te-tunnel@2018-03-01.yang | |
parent | 1187877eb060881b49871515fc43eda01e82cb16 (diff) |
[actn-interface-tools] First commit for actn-interface-tools
Actn-interface-tools: this sdk module is aiming to promote usage of actn standard and explore the potential of IETF protocol.
Issue-ID: INT-2136
Signed-off-by: decheng zhang <decheng.zhang@huawei.com>
Change-Id: Ide2835342f0618f581b2726e7fd94ba084feeb9d
Signed-off-by: decheng zhang <decheng.zhang@huawei.com>
Diffstat (limited to 'actn-interface-tools/actn-model/src/main/yang/ietf-eth-te-tunnel@2018-03-01.yang')
-rw-r--r-- | actn-interface-tools/actn-model/src/main/yang/ietf-eth-te-tunnel@2018-03-01.yang | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/actn-interface-tools/actn-model/src/main/yang/ietf-eth-te-tunnel@2018-03-01.yang b/actn-interface-tools/actn-model/src/main/yang/ietf-eth-te-tunnel@2018-03-01.yang new file mode 100644 index 0000000..ae8d56a --- /dev/null +++ b/actn-interface-tools/actn-model/src/main/yang/ietf-eth-te-tunnel@2018-03-01.yang @@ -0,0 +1,82 @@ +module ietf-eth-te-tunnel { +// yang-version 1.1; + + namespace "urn:ietf:params:xml:ns:yang:ietf-eth-te-tunnel"; + + prefix "eth-tunnel"; + + import ietf-te { + prefix "te"; + } + + import ietf-eth-tran-types { + prefix "etht-types"; + } + + organization + "Internet Engineering Task Force (IETF) CCAMP WG"; + contact + " + WG List: <mailto:ccamp@ietf.org> + + ID-draft editor: + Haomian Zheng (zhenghaomian@huawei.com); + Italo Busi (italo.busi@huawei.com); + Aihua Guo (aihuaguo@huawei.com); + Yunbin Xu (xuyunbin@ritt.cn); + Yang Zhao (zhaoyangyjy@chinamobile.com); + Xufeng Liu (Xufeng_Liu@jabil.com); + Giuseppe Fioccola (giuseppe.fioccola@telecomitalia.it); + "; + + description + "This module defines a model for ETH transport tunnel"; + + revision 2018-03-01 { + description + "Initial revision"; + reference + "draft-zheng-ccamp-client-tunnel-yang-02"; + } + + grouping eth-tunnel-endpoint { + description "Parameters for ETH tunnel."; + + leaf vlanid { + type etht-types:vlanid; + description + "VLAN tag id."; + } + + leaf tag-type { + type etht-types:eth-tag-type; + description "VLAN tag type."; + } + } + + augment "/te:te/te:tunnels/te:tunnel" { + description + "Augment with additional parameters required for ETH + service."; + + container src-eth-tunnel-endpoint { + description + "Source ETH tunnel endpoint."; + uses eth-tunnel-endpoint; + } + + container dst-eth-tunnel-endpoint { + description + "Destination ETH tunnel endpoint."; + + uses eth-tunnel-endpoint; + } + + container bandwidth-profile { + description + "ETH tunnel bandwidth profile specification."; + + uses etht-types:etht-bandwidth-profiles; + } + } +} |