netconfcentral logo

bbf-ghs-handshake-profile-body@2019-06-11



  submodule bbf-ghs-handshake-profile-body {

    yang-version 1.1;

    belongs-to bbf-ghs {
        prefix bbf-ghs;
    }

    organization
      "Broadband Forum <https://www.broadband-forum.org>
     Common YANG Work Area";

    contact
      "Comments or questions about this Broadband Forum YANG module
     should be directed to <mailto:help@broadband-forum.org>.

     Editor:      Ken Kerpez, ASSIA, Inc.

     Editor:      Joey Boyd, ADTRAN

     PS Leader:   Ken Kerpez, ASSIA, Inc.

     PS Leader:   Joey Boyd, ADTRAN

     WA Director: Sven Ooghe, Nokia

     WA Director: Joey Boyd, ADTRAN";

    description
      "This submodule contains a collection of YANG definitions for
     managing handshake profiles.

     Copyright (c) 2016-2019 Broadband Forum

     Redistribution and use in source and binary forms, with or
     without modification, are permitted provided that the following
     conditions are met:

     1. Redistributions of source code must retain the above copyright
        notice, this list of conditions and the following disclaimer.

     2. Redistributions in binary form must reproduce the above
        copyright notice, this list of conditions and the following
        disclaimer in the documentation and/or other materials
        provided with the distribution.

     3. Neither the name of the copyright holder nor the names of its
        contributors may be used to endorse or promote products
        derived from this software without specific prior written
        permission.

     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
     CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES,
     INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
     MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
     DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
     CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
     SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
     NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
     LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
     CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
     STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
     ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

     The above license is used as a license under copyright only.
     Please reference the Forum IPR Policy for patent licensing terms
     <https://www.broadband-forum.org/ipr-policy>.

     Any moral rights which are necessary to exercise under the above
     license grant are also deemed granted under this license.

     This version of this YANG module is part of TR-355a2; see
     the TR itself for full legal notices.";

    revision "2019-06-11" {
      description
        "Amendment 2.
       * Approval Date:    2019-06-11
       * Publication Date: 2019-06-11.";
      reference
        "TR-355a2: YANG Modules for FTTdp Management
        	  <https://www.broadband-forum.org/technical/download/
        		 TR-355_Amendment-2.pdf>";

    }

    revision "2018-10-01" {
      description
        "Amendment 1.
       * Approval Date:    2018-10-01
       * Publication Date: 2018-10-01.";
      reference
        "TR-355a1: YANG Modules for FTTdp Management
        	  <https://www.broadband-forum.org/technical/download/
        		 TR-355_Amendment-1.pdf>";

    }

    revision "2017-11-27" {
      description
        "Corrigendum 2 (fixes to the previous revision).
       * Approval Date:    see revision date above.
       * Publication Date: 2018-01-19.";
      reference
        "TR-355c2: YANG Modules for FTTdp Management
        	  <https://www.broadband-forum.org/technical/download/
        		 TR-355_Corrigendum-2.pdf>";

    }

    revision "2016-07-18" {
      description
        "Initial revision.
       * Approval Date:    see revision date above.
       * Publication Date: 2016-08-05.";
      reference
        "TR-355: YANG Modules for FTTdp Management
        	<https://www.broadband-forum.org/technical/download/
        		 TR-355.pdf>";

    }


    grouping handshake-profile {
      description
        "Defines the parameters contained in a handshake profile.";
      container downstream {
        description
          "Parameters associated with the downstream direction.";
        container sub-carrier-maximum-psd-level {
          description
            "Defines the maximum transmit Power Spectral Density (PSD)
           level for each individual G.handshake (G.hs) carrier
           frequency index N in the downstream direction. The PSD
           level (in dBm/Hz) is calculated as the tone power averaged
           over a 4.3125 kHz bandwidth.

           The range supported is from -98.5 to -40 dBm/Hz, with 0.5
           dB steps. If the value is set to -99 (118), then the
           carrier shall not be transmitted.";
          reference
            "ITU-T G.994.1 clause 13";

          list maxpsd {
            key "sub-carrier-index";
            description
              "List of maximum Power Spectral Density (PSD) levels per
             carrier with frequency index, N.";
            leaf sub-carrier-index {
              type uint16 {
                range
                  "12|14|40|56|64|72|88|96|257|293|337|383|511|4368|4440|4488";
              }
              description
                "Sub carrier index. For each valid sub-carrier index
               not included in this list, the maximum Power Spectral
               Density (PSD) level permitted by G.994.1 is allowed.";
            }

            leaf psd-level {
              type uint8 {
                range "0..117 | 118";
              }
              units "-0.5 dBm/Hz";
              must
                '(../sub-carrier-index != 4368 and
 ../sub-carrier-index != 4440 and
 ../sub-carrier-index != 4488) or (. >= 50)' {
                description
                  "If the sub-carrier-index is 4368, 4440 or 4488, the
                 Power Spectral Density (PSD) level must be less than
                 or equal to -65 dBm/Hz corresponding to a 'psd-level'
                 range of 50 to 117.";
              }
              default "0";
              description
                "Maximum Power Spectral Density (PSD) level";
            }
          }  // list maxpsd
        }  // container sub-carrier-maximum-psd-level
      }  // container downstream
    }  // grouping handshake-profile
  }  // submodule bbf-ghs-handshake-profile-body