huawei-ripng-deviations-ATN-980B

RIPng management.

  • Version: 2019-04-04

    huawei-ripng-deviations-ATN-980B@2019-04-04


    
      module huawei-ripng-deviations-ATN-980B {
    
        yang-version 1;
    
        namespace
          "urn:huawei:yang:huawei-ripng-deviations-ATN-980B";
    
        prefix ripng-devs-ATN-980B;
    
        import huawei-ripng {
          prefix ripng;
        }
        import huawei-ifm {
          prefix ifm;
        }
        import huawei-if-ip {
          prefix if-ip;
        }
        import huawei-ip {
          prefix ip;
        }
        import huawei-network-instance {
          prefix ni;
        }
    
        organization
          "Huawei Technologies Co., Ltd.";
    
        contact
          "Huawei Industrial Base
         Bantian, Longgang
         Shenzhen 518129
         People's Republic of China
         Website: http://www.huawei.com
         Email: support@huawei.com";
    
        description "RIPng management.";
    
        revision "2019-04-04" {
          description "Initial revision.";
          reference
            "Huawei private.";
    
        }
    
    
        typedef import-protocol-type-deviations {
          type enumeration {
            enum "direct" {
              value 1;
              description
                "Import direct routes.";
            }
            enum "isis" {
              value 3;
              description "Import ISIS routes.";
            }
            enum "static" {
              value 4;
              description
                "Import static routes.";
            }
            enum "bgp" {
              value 6;
              description "Import BGP routes.";
            }
            enum "ospfv3" {
              value 7;
              description
                "Import OSPFv3 routes.";
            }
            enum "ripng" {
              value 8;
              description "Import RIPng routes.";
            }
          }
          description
            "RIPng import protocol type.";
        }
        deviation /ni:network-instance/ni:instances/ni:instance/ripng:ripng/ripng:processs/ripng:process/ripng:import-routes/ripng:import-route/ripng:protocol {
          deviate replace {
            type import-protocol-type-deviations;
          }
        }
        deviation /ni:network-instance/ni:instances/ni:instance/ripng:ripng/ripng:processs/ripng:process/ripng:interfaces/ripng:interface/ripng:name {
          deviate add {
            must
              '../../../../../../ni:name=/ifm:ifm/ifm:interfaces/ifm:interface[ifm:name=current()]/ifm:vrf-name and (/ifm:ifm/ifm:interfaces/ifm:interface[ifm:name=current()]/ip:ipv6 or /ni:network-instance/ni:instances/ni:instance/if-ip:ipv6-ifs/if-ip:ipv6-if[if-ip:name=current()])';
          }
          deviate delete {
            must
              '../../../../../../ni:name=/ifm:ifm/ifm:interfaces/ifm:interface[ifm:name=current()]/ifm:vrf-name and /ifm:ifm/ifm:interfaces/ifm:interface[ifm:name=current()]/ip:ipv6';
          }
        }
      }  // module huawei-ripng-deviations-ATN-980B
    

© 2023 YumaWorks, Inc. All rights reserved.