hash
AsterNOS YANG Model for HASH.
YANG Tree Diagram
module: asternos-hash
+--rw hash
+--rw global
| +--rw lag
| | +--rw algorithm? identityref
| | +--rw seed? uint32
| | +--rw hash-fields* identityref
| +--rw ecmp
| +--rw algorithm? identityref
| +--rw seed? uint32
| +--rw hash-fields* identityref
+--ro capabilities
+--ro ecmp
| +--ro hash-algorithms* identityref
| +--ro hash-fields* identityref
+--ro lag
+--ro hash-algorithms* identityref
+--ro hash-fields* identityrefResources
Resource List
Path | Access |
|---|---|
/hash | Read-Write |
/hash/global | Read-Write |
/hash/global/lag | Read-Write |
/hash/global/lag/algorithm | Read-Write |
/hash/global/lag/seed | Read-Write |
/hash/global/lag/hash-fields | Read-Write |
/hash/global/ecmp | Read-Write |
/hash/global/ecmp/algorithm | Read-Write |
/hash/global/ecmp/seed | Read-Write |
/hash/global/ecmp/hash-fields | Read-Write |
/hash/capabilities | Read-Only |
/hash/capabilities/ecmp | Read-Only |
/hash/capabilities/ecmp/hash-algorithms | Read-Only |
/hash/capabilities/ecmp/hash-fields | Read-Only |
/hash/capabilities/lag | Read-Only |
/hash/capabilities/lag/hash-algorithms | Read-Only |
/hash/capabilities/lag/hash-fields | Read-Only |
Detailed Nodes
/hash
Path
/hash
Node Type
container
Description
Hash configuration
Access
Read-Write
/hash/global
Path
/hash/global
Node Type
container
Description
Global hash configuration
Access
Read-Write
/hash/global/lag
Path
/hash/global/lag
Node Type
container
Description
LAG hash configuration
Access
Read-Write
/hash/global/lag/algorithm
Path
/hash/global/lag/algorithm
Node Type
leaf
Description
Hash algorithm for LAG
Access
Read-Write
Data Type
<YANG type identityref>
Constraints
IdentityRef with options:
- XOR
- CRC_32LO
- CRC
- CRC_32HI
/hash/global/lag/seed
Path
/hash/global/lag/seed
Node Type
leaf
Description
Seed for LAG hash
Access
Read-Write
Data Type
<YANG type uint32>
Constraints
Multiple constraints:
- Valid range:
- When condition: ../algorithm = 'CRC'
/hash/global/lag/hash-fields
Path
/hash/global/lag/hash-fields
Node Type
leaf-list
Description
Hash fields for LAG
Access
Read-Write
Data Type
<YANG type identityref>
Constraints
IdentityRef with options:
- IN_PORT
- SRC_MAC
- DST_MAC
- L4_SRC_PORT
- DST_IP
- L4_DST_PORT
- SRC_IP
- VLAN_ID
/hash/global/ecmp
Path
/hash/global/ecmp
Node Type
container
Description
ECMP hash configuration
Access
Read-Write
/hash/global/ecmp/algorithm
Path
/hash/global/ecmp/algorithm
Node Type
leaf
Description
Hash algorithm for LAG
Access
Read-Write
Data Type
<YANG type identityref>
Constraints
IdentityRef with options:
- XOR
- CRC_32LO
- CRC
- CRC_32HI
/hash/global/ecmp/seed
Path
/hash/global/ecmp/seed
Node Type
leaf
Description
Seed for LAG hash
Access
Read-Write
Data Type
<YANG type uint32>
Constraints
Multiple constraints:
- Valid range:
- When condition: ../algorithm = 'CRC'
/hash/global/ecmp/hash-fields
Path
/hash/global/ecmp/hash-fields
Node Type
leaf-list
Description
Hash fields for LAG
Access
Read-Write
Data Type
<YANG type identityref>
Constraints
IdentityRef with options:
- IN_PORT
- SRC_MAC
- DST_MAC
- L4_SRC_PORT
- DST_IP
- L4_DST_PORT
- SRC_IP
- VLAN_ID
/hash/capabilities
Path
/hash/capabilities
Node Type
container
Description
Hash capabilities
Access
Read-Only
/hash/capabilities/ecmp
Path
/hash/capabilities/ecmp
Node Type
container
Description
ECMP capabilities
Access
Read-Only
/hash/capabilities/ecmp/hash-algorithms
Path
/hash/capabilities/ecmp/hash-algorithms
Node Type
leaf-list
Description
Supported hash algorithms
Access
Read-Only
Data Type
<YANG type identityref>
Constraints
IdentityRef with options:
- XOR
- CRC_32LO
- CRC
- CRC_32HI
/hash/capabilities/ecmp/hash-fields
Path
/hash/capabilities/ecmp/hash-fields
Node Type
leaf-list
Description
Supported hash fields
Access
Read-Only
Data Type
<YANG type identityref>
Constraints
IdentityRef with options:
- IN_PORT
- SRC_MAC
- DST_MAC
- L4_SRC_PORT
- DST_IP
- L4_DST_PORT
- SRC_IP
- VLAN_ID
/hash/capabilities/lag
Path
/hash/capabilities/lag
Node Type
container
Description
LAG capabilities
Access
Read-Only
/hash/capabilities/lag/hash-algorithms
Path
/hash/capabilities/lag/hash-algorithms
Node Type
leaf-list
Description
Supported hash algorithms
Access
Read-Only
Data Type
<YANG type identityref>
Constraints
IdentityRef with options:
- XOR
- CRC_32LO
- CRC
- CRC_32HI
/hash/capabilities/lag/hash-fields
Path
/hash/capabilities/lag/hash-fields
Node Type
leaf-list
Description
Supported hash fields
Access
Read-Only
Data Type
<YANG type identityref>
Constraints
IdentityRef with options:
- IN_PORT
- SRC_MAC
- DST_MAC
- L4_SRC_PORT
- DST_IP
- L4_DST_PORT
- SRC_IP
- VLAN_ID