dell-port-group

Port-group is a mechanism of grouping two or more ports together into a a virtual and higher density port. This model contains D...

  • Version: 2019-01-23

    dell-port-group@2019-01-23


    
      module dell-port-group {
    
        yang-version 1;
    
        namespace
          "http://www.dellemc.com/networking/os10/dell-port-group";
    
        prefix dell-pg;
    
        import dell-base-common {
          prefix base-cmn;
        }
        import dell-base-interface-common {
          prefix base-if;
        }
    
        organization "Dell EMC";
    
        contact "http://www.dell.com/support";
    
        description
          "Port-group is a mechanism of grouping two or more ports together into a
    a virtual and higher density port. This model contains Dell EMC specific
    port-group definition and its associated attributes.
    
    Copyright (c) 2015-2019 by Dell EMC, All rights reserved.";
    
        revision "2019-01-23" {
          description
            "Add profile-type attribute in port-group-state list.";
          reference
            "Network Platform Abstraction";
    
        }
    
        revision "2018-08-17" {
          description
            "Fixing pyang IETF errors and adding documentiation to the model.";
          reference
            "Network Platform Abstraction";
    
        }
    
        revision "2018-04-10" {
          description
            "Adding supported-profiles to hybrid-group state object to
    publish list of profile modes supported on hybrid-group.";
          reference
            "Network Platform Abstraction";
    
        }
    
        revision "2018-03-15" {
          description
            "Added hybrid port groups to the config and state objects.
    A hybrid port-group permits individual member ports to be
    independently programmed with different breakout modes.";
          reference
            "Network Platform Abstraction";
    
        }
    
        revision "2016-11-22" {
          description "Initial version.";
          reference
            "Network Platform Abstraction";
    
        }
    
    
        container port-groups {
          description
            "Set of configurable attributes for port-groups";
          list port-group {
            key "id";
            description
              "This map contains the port group and its configurable attributes.";
            leaf id {
              type string;
              description
                "ID of the port group ";
            }
    
            leaf phy-mode {
              type base-if:phy-mode-type;
              description
                "Port PHY mode, Ethernet or FC";
            }
    
            leaf breakout-mode {
              type base-cmn:breakout-type;
              description
                "this is the new breakout mode to configure.";
            }
    
            leaf port-speed {
              type base-if:speed;
              description
                "Max line speed of the breakout port. This indicates the max line rate at which
    individual ports will operate post breakout";
            }
          }  // list port-group
    
          list hybrid-group {
            key "id";
            description
              "This is a list of hybrid port groups on the system with configurable attributes. Hybrid group consist
    group of ports that can be configured with different breakout mode using profiles";
            leaf id {
              type string;
              description
                "ID of the hybrid port group.";
            }
    
            leaf profile {
              type string;
              description
                "Name of the profile configured on the hybrid port-group";
            }
    
            list port {
              key "port-id";
              description
                "List of ports that are members of the hybrid port group.";
              leaf port-id {
                type string;
                description
                  "ID of the hybrid group member port.";
              }
    
              leaf phy-mode {
                type base-if:phy-mode-type;
                description
                  "Configured Port PHY mode, Ethernet or FC.";
              }
    
              leaf breakout-mode {
                type base-cmn:breakout-type;
                description
                  "Configured breakout mode on the port.";
              }
    
              leaf port-speed {
                type base-if:speed;
                description
                  "Configured max line speed of the breakout port. This
    indicates the max line rate at which individual ports
    will operate post breakout.";
              }
            }  // list port
          }  // list hybrid-group
        }  // container port-groups
    
        container port-groups-state {
          config false;
          description
            "Set of read-only port-groups states";
          list port-group-state {
            key "id";
            description
              "This map contains the port group , theassociated front panel ports
    and its configuration properties and capabilities.";
            leaf id {
              type string;
              description
                "ID of the port group ";
            }
    
            leaf profile-type {
              type string;
              description
                "profile type of the port group ";
            }
    
            uses base-if:breakout-capabilities;
    
            leaf default-phy-mode {
              type base-if:phy-mode-type;
              description
                "Default Port PHY mode, Ethernet or FC";
            }
    
            leaf default-breakout-mode {
              type base-cmn:breakout-type;
              description
                "Default breakout mode for the port-group";
            }
    
            leaf default-port-speed {
              type base-if:speed;
              description
                "Default breakout speed of the port-gorup";
            }
          }  // list port-group-state
    
          list hybrid-group-state {
            key "id";
            description
              "This is a list of hybrid port groups on the system with
    state information.";
            leaf id {
              type string;
              description
                "ID of the hybrid port group.";
            }
    
            leaf default-profile {
              type string;
              description
                "Name of the default profile on the hybrid port group.";
            }
    
            uses base-if:supported-profiles;
    
            list port {
              key "port-id";
              description
                "List of ports in the hybrid port group.";
              leaf port-id {
                type string;
                description
                  "ID of the hybrid group member port.";
              }
    
              list profile {
                key "name";
                description
                  "List of profiles in the hybrid port group. Includes
    port capabilities and defaults per profile.";
                leaf name {
                  type string;
                  description
                    "Name of the profile.";
                }
    
                uses base-if:breakout-capabilities;
    
                leaf default-phy-mode {
                  type base-if:phy-mode-type;
                  description
                    "Default Port PHY mode, Ethernet or FC in this profile.";
                }
    
                leaf default-breakout-mode {
                  type base-cmn:breakout-type;
                  description
                    "Default breakout mode on the port in this profile.";
                }
    
                leaf default-port-speed {
                  type base-if:speed;
                  description
                    "Default max line speed of the breakout port in this profile.";
                }
              }  // list profile
            }  // list port
          }  // list hybrid-group-state
        }  // container port-groups-state
      }  // module dell-port-group
    

© 2023 YumaWorks, Inc. All rights reserved.