huawei-rbs-deviations-NE8000M8M14

Remote backup service, providing service backup between the master and backup devices, such as ARP entry backup.

  • Version: 2019-04-23

    huawei-rbs-deviations-NE8000M8M14@2019-04-23


    
      module huawei-rbs-deviations-NE8000M8M14 {
    
        yang-version 1;
    
        namespace
          "urn:huawei:yang:huawei-rbs-deviations-NE8000M8M14";
    
        prefix rbs-devs-NE8000M8M14;
    
        import huawei-rbs {
          prefix rbs;
        }
    
        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
          "Remote backup service, providing service backup between the master and backup devices, such as ARP entry backup.";
    
        revision "2019-04-23" {
          description "Initial revision.";
          reference
            "Huawei private.";
    
        }
    
    
        typedef service-type-deviations {
          type enumeration {
            enum "bras" {
              value 1;
              description
                "BRAS services that can be backed up.";
            }
            enum "igmp-snooping" {
              value 2;
              description
                "IGMP snooping services that can be backed up.";
            }
            enum "arp" {
              value 5;
              description
                "ARP services that can be backed up.";
            }
            enum "multicast" {
              value 9;
              description
                "MULTICAST services that can be backed up.";
            }
            enum "l2tp" {
              value 10;
              description
                "L2TP services that can be backed up.";
            }
            enum "igmp" {
              value 21;
              description
                "IGMP services that can be backed up.";
            }
            enum "no-host-multicast" {
              value 25;
              description
                "No host multicast services that can be backed up.";
            }
            enum "dhcp-server" {
              value 26;
              description
                "DHCP-SERVER services that can be backed up.";
            }
            enum "ipsec" {
              value 30;
              description
                "Ipsec service that can backed up.";
            }
            enum "nd" {
              value 32;
              description
                "Nd service that can backed up.";
            }
            enum "dhcpv6-relay" {
              value 34;
              description
                "DHCPV6 relay services that can backed up.";
            }
          }
          description "RBP service type.";
        }
        deviation /rbs:rbs/rbs:profiles/rbs:profile/rbs:service-types/rbs:service-type/rbs:type {
          deviate replace {
            type service-type-deviations;
          }
        }
        deviation /rbs:rbs/rbs:profiles/rbs:profile/rbs:name {
          deviate add {
            must
              "((../rbs:mode='warm' and not (../rbs:service-types/rbs:service-type[rbs:type='nd']) and not (../rbs:service-types/rbs:service-type[rbs:type='arp']) and not (../rbs:service-types/rbs:service-type[rbs:type='ipsec']) and not (../rbs:service-types/rbs:service-type[rbs:type='igmp-snooping'])) or (../rbs:mode='hot')) and ((../rbs:service-types/rbs:service-type[rbs:type='igmp-snooping'] and not (../rbs:vrrps/rbs:vrrp/rbs:id)) or not (../rbs:service-types/rbs:service-type[rbs:type='igmp-snooping']))";
          }
        }
        deviation /rbs:rbs/rbs:profiles/rbs:profile/rbs:track-type/rbs:vrrp/rbs:vrrps {
          deviate add {
            must
              "((rbs:vrrp[rbs:mac-type='even'] or rbs:vrrp[rbs:mac-type='odd']) and not(../rbs:service-types/rbs:service-type[rbs:type='arp'] or ../rbs:service-types/rbs:service-type[rbs:type='nd'] or ../rbs:service-types/rbs:service-type[rbs:type='ipsec'])) or rbs:vrrp[rbs:mac-type='none']";
          }
        }
      }  // module huawei-rbs-deviations-NE8000M8M14
    

© 2023 YumaWorks, Inc. All rights reserved.