fujitsu-otn-otucn-interfaces

This module contains YANG definitions for the OTU Interfaces. Copyright (c) 2015 Fujitsu Network Communications, inc. All right...

  • Version: 2015-05-12

    fujitsu-otn-otucn-interfaces@2015-05-12


    
      module fujitsu-otn-otucn-interfaces {
    
        yang-version 1;
    
        namespace
          "urn:fujitsu:params:xml:ns:yang:interface:otucn";
    
        prefix otucn;
    
        import ietf-interfaces {
          prefix if;
        }
        import fujitsu-state-timer {
          prefix st;
        }
        import fujitsu-entity-states {
          prefix entity-states;
        }
        import fujitsu-entity-maintenance-loopback {
          prefix fujitsu-loopback;
        }
        import fujitsu-if-type {
          prefix fjift;
        }
        import fujitsu-gcc {
          prefix fujitsuGcc;
        }
        import fujitsu-otn {
          prefix otn;
        }
    
        organization "Fujitsu Ltd.";
    
        contact
          "Fujitsu Ltd.
    
    Address: 2801 Telecom Parkway
    	 Richardson, Texas 75082
    
    Tel: +1-800-USE-FTAC (1-800-873-3822)
    Email: ftac@fnc.fujitsu.com
    Web: www.fujitsu.com/us/services/telecom";
    
        description
          "This module contains YANG definitions
    for the OTU Interfaces.
    
    Copyright (c) 2015 Fujitsu Network Communications, inc.
    All rights reserved. ";
    
        revision "2015-05-12" {
          description "Initial revision.";
        }
    
    
        identity otucn-rate-identity {
          description
            "A unique rate identification of the OTUCn.";
        }
    
        identity OTUC4 {
          base otucn-rate-identity;
          description "Identity for an OTUC4";
        }
    
        identity OTUC3 {
          base otucn-rate-identity;
          description "Identity for an OTUC3";
        }
    
        identity OTUC2 {
          base otucn-rate-identity;
          description "Identity for an OTUC2";
        }
    
        identity OTUC1 {
          base otucn-rate-identity;
          description "Identity for an OTUC1";
        }
    
        notification otucn-notif {
          leaf name {
            type leafref {
              path "/if:interfaces/if:interface/if:name";
            }
          }
    
          container otucn {
            leaf vstimer {
              type string {
                pattern
                  '([0-4][0-8])-([0-5][0-9])';
              }
              description
                "Valid state Timer.
    This timer is in the format <hh>-<mm> and inidcates the amount
    of time to stay in ains state wating foir a valid signal.";
            }
    
            leaf actual-vstimer {
              type string {
                pattern
                  '([0-4][0-8])-([0-5][0-9])';
              }
              description
                "The amount of time a valid state timer has been running uninterrupted.
    This timer is in the format <hh>-<mm>.";
            }
    
            leaf rate {
              type identityref {
                base otucn-rate-identity;
              }
              description
                "rate identity of the OTUCn. 'identityref' is used
    to allow to extend for future higher rates";
            }
    
            leaf oper-status {
              type oper-status;
              description
                "The current operational state of the interface.
    
    This leaf has the same semantics as ifOperStatus.";
            }
    
            leaf admin-status {
              type admin-status;
              default "down";
              description
                "The desired state of the interface.
    
    This leaf has the same read semantics as ifAdminStatus.";
            }
    
            choice standard {
              default "itu";
              description
                "choice between ANSI Trail Trace Identifier and
    ITU-T Trail Trace Identifer (SAPI, DAPI, OperatorSpecific)";
              container tti-itu {
                description
                  "ITU-T Trail Trace Identifer (SAPI, DAPI, OperatorSpecific)";
                container tx-tti {
                  description
                    "Transmitted Trail Trace Identifier";
                  leaf sapi {
                    type itu-otn-tti-sapi;
                    description
                      "Source Access Point Identifier";
                  }
    
                  leaf dapi {
                    type itu-otn-tti-dapi;
                    description
                      "Destination Access Point Identifier";
                  }
    
                  leaf op-spec {
                    type itu-otn-tti-op-spec;
                    description
                      "TTI Operator Spec";
                  }
                }  // container tx-tti
    
                container rx-tti {
                  config false;
                  description
                    "Received Trail Trace Identifier";
                  leaf sapi {
                    type itu-otn-oper-tti-sapi;
                    description
                      "Source Access Point Identifier";
                  }
    
                  leaf dapi {
                    type itu-otn-oper-tti-dapi;
                    description
                      "Destination Access Point Identifier";
                  }
    
                  leaf op-spec {
                    type itu-otn-oper-tti-op-spec;
                    description
                      "TTI Operator Spec";
                  }
                }  // container rx-tti
    
                container exp-tti {
                  description
                    "Expected Trail Trace Identifier";
                  leaf sapi {
                    type itu-otn-tti-sapi;
                    description
                      "Source Access Point Identifier";
                  }
    
                  leaf dapi {
                    type itu-otn-tti-dapi;
                    description
                      "Destination Access Point Identifier";
                  }
    
                  leaf op-spec {
                    type itu-otn-tti-op-spec;
                    description
                      "TTI Operator Spec";
                  }
                }  // container exp-tti
    
                leaf tim-det-mode {
                  type itu-tim-det-mode;
                  description
                    "TIM detection mode";
                }
    
                leaf tim-act-enabled {
                  type boolean;
                  description
                    "Enables TTI Mismatch consequent actions.";
                }
              }  // container tti-itu
              container tti-ansi {
                description
                  "ANSI Trail Trace Identifer";
                container tx-tti {
                  description
                    "Transmitted Trail Trace Identifier";
                  leaf tti {
                    type ansi-otn-tti;
                    description
                      "Trail Trace Identifier";
                  }
                }  // container tx-tti
    
                container rx-tti {
                  config false;
                  description
                    "Received Trail Trace Identifier";
                  leaf tti {
                    type ansi-otn-tti;
                    description
                      "Trail Trace Identifier";
                  }
                }  // container rx-tti
    
                container exp-tti {
                  description
                    "Expected Trail Trace Identifier";
                  leaf tti {
                    type ansi-otn-tti;
                    description
                      "Trail Trace Identifier";
                  }
                }  // container exp-tti
    
                leaf tim-act-enabled {
                  type boolean;
                  description
                    "Enables TTI Mismatch consequent actions.";
                }
              }  // container tti-ansi
            }  // choice standard
    
            leaf degthr {
              type int16 {
                range "-9..2";
              }
              default "0";
              description
                "DEGTHR:Degraded defect one-second Errored Block Count threshold
    DEGTHR specifies the exponent part X of 10^X [%].";
            }
    
            leaf degm {
              type int8 {
                range "2..10";
              }
              default "10";
              description
                "DEGM:Degraded defect consecutive one-second monitoring intervals";
            }
    
            leaf circuit-id {
              type string {
                length "0..45";
              }
              description
                "circuit identifier/user label";
            }
    
            leaf direction {
              type enumeration {
                enum "uni-rx" {
                  value 0;
                  description
                    "unidirectional receive only";
                }
                enum "uni-tx" {
                  value 1;
                  description
                    "unidirectional transmit only";
                }
                enum "bi" {
                  value 2;
                  description "bidirectional";
                }
              }
            }
    
            leaf auto-rx {
              type boolean;
              description
                "enable/disable generation of transient condition when
    the value of the TTI changes.";
            }
    
            leaf auto-tx {
              type boolean;
              description
                "enable/disable automatic population of outgoing TTI";
            }
          }  // container otucn
        }  // notification otucn-notif
      }  // module fujitsu-otn-otucn-interfaces
    

© 2023 YumaWorks, Inc. All rights reserved.