diff options
author | Marek Gradzki <mgradzki@cisco.com> | 2017-06-16 14:36:52 +0200 |
---|---|---|
committer | Marek Gradzki <mgradzki@cisco.com> | 2017-06-16 14:55:14 +0200 |
commit | b4581d183065af6b82026003959b96fbe6850dd1 (patch) | |
tree | 6d7f8654ce4eeb13350a3d32314bd267a79c9c61 /ioam/api/src/main/yang/sfc-ioam-sb-pot.yang | |
parent | c312c69343e8336456a109ff82d9bc4c6dc9b1ea (diff) |
Rename yang files to match model revision
Also order of revisions was sorted starting from most current.
Change-Id: I21fd35cfdb1cc5601b3fb40c9f3755bd3b995b14
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'ioam/api/src/main/yang/sfc-ioam-sb-pot.yang')
-rw-r--r-- | ioam/api/src/main/yang/sfc-ioam-sb-pot.yang | 169 |
1 files changed, 0 insertions, 169 deletions
diff --git a/ioam/api/src/main/yang/sfc-ioam-sb-pot.yang b/ioam/api/src/main/yang/sfc-ioam-sb-pot.yang deleted file mode 100644 index dc4ecedf2..000000000 --- a/ioam/api/src/main/yang/sfc-ioam-sb-pot.yang +++ /dev/null @@ -1,169 +0,0 @@ -module sfc-ioam-sb-pot { - - yang-version 1; - - namespace "urn:cisco:params:xml:ns:yang:sfc-ioam-sb-pot"; - - prefix sfc-ioam-sb-pot; - - organization "Cisco Systems, Inc."; - contact - "Shwetha Bhandari <shwethab@cisco.com> - Srihari Raghavan <srihari@cisco.com>"; - - description - "This module contains a collection of YANG definitions for - managing in-band OAM based proof of transit configuration - parameters. (https://github.com/ciscodevnet/ioam). - - The model is meant for proof of transit - and is targetted for south-bound deployment nodes."; - - revision 2017-01-12 { - description - "Changes to field names and parameter ranges."; - reference - ""; - } - - typedef profile-index-range { - type int32 { - range "-1 .. 1"; - } - description - "Range used for the profile index. Currently restricted to - -1 to 1 to identify profiles."; - } - - identity path-identifier-identity { - description - "Base identity for path identifier type."; - } - - identity path-identifier-type-acl { - base "path-identifier-identity"; - description - "ACL path identifier type."; - } - - typedef path-identifier-type { - type identityref { - base path-identifier-identity; - } - description - "Path Identifier Identity type."; - } - - grouping pot-profile { - description "A grouping for proof of transit profiles."; - list pot-profile-list { - key "index"; - ordered-by user; - description "A set of pot profiles."; - - leaf index { - type profile-index-range; - mandatory true; - description - "Proof of transit profile index."; - } - - leaf prime-number { - type uint64; - mandatory true; - description - "Prime number used for module math computation"; - } - - leaf secret-share { - type uint64; - mandatory true; - description - "Share of the secret of polynomial 1 used in computation"; - } - - leaf public-polynomial { - type uint64; - mandatory true; - description - "Public polynomial"; - } - - leaf lpc { - type uint64; - mandatory true; - description - "Lagrange Polynomial Coefficient"; - } - - leaf validator { - type boolean; - default "false"; - description - "True if the node is a verifier node"; - } - - leaf validator-key { - type uint64; - description - "Secret key for validating the path, constant of poly 1"; - } - - leaf number-of-bits { - type uint8; - default 32; - description - "Number of bits as mask used in random value generation. - 32-bits of mask is default."; - } - } - } - - container pot-profiles { - description "A group of proof of transit profiles."; - - list pot-profile-set { - key "name"; - ordered-by user; - description - "Set of proof of transit profiles that group parameters - required to classify and compute proof of transit - metadata at a node"; - - leaf name { - type string; - mandatory true; - description - "Unique identifier for each proof of transit profile"; - } - - leaf path-identifier { - type string; - description - "The path identifier could be an ACL or others associated - to classify and apply this profile"; - } - - leaf path-identifier-type-value { - type path-identifier-type; - default path-identifier-type-acl; - description - "Defines how to interpret the path-identifier."; - } - - leaf active-profile-index { - type profile-index-range; - description - "Proof of transit profile index that is currently active. - Will be set in the first hop of the path or chain. - Other nodes will not use this field."; - } - - uses pot-profile; - - /*** list: end ***/ - } - /*** Container: end ***/ - } -/*** module: end ***/ -} |