hash
此内容尚不支持你的语言。
AsterNOS YANG Model for HASH.
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
Section titled “Resources”Resource List
Section titled “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
Section titled “Detailed Nodes”Path
/hash
Node Type
container
Description
Hash configuration
Access
Read-Write
/hash/global
Section titled “/hash/global”Path
/hash/global
Node Type
container
Description
Global hash configuration
Access
Read-Write
/hash/global/lag
Section titled “/hash/global/lag”Path
/hash/global/lag
Node Type
container
Description
LAG hash configuration
Access
Read-Write
/hash/global/lag/algorithm
Section titled “/hash/global/lag/algorithm”Path
/hash/global/lag/algorithm
Node Type
leaf
Description
Hash algorithm for LAG
Access
Read-Write
Data Type
Constraints
IdentityRef with options:
- XOR
- CRC_32LO
- CRC
- CRC_32HI
/hash/global/lag/seed
Section titled “/hash/global/lag/seed”Path
/hash/global/lag/seed
Node Type
leaf
Description
Seed for LAG hash
Access
Read-Write
Data Type
Constraints
Multiple constraints:
- Valid range:
- When condition: ../algorithm = ‘CRC’
/hash/global/lag/hash-fields
Section titled “/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
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
Section titled “/hash/global/ecmp”Path
/hash/global/ecmp
Node Type
container
Description
ECMP hash configuration
Access
Read-Write
/hash/global/ecmp/algorithm
Section titled “/hash/global/ecmp/algorithm”Path
/hash/global/ecmp/algorithm
Node Type
leaf
Description
Hash algorithm for LAG
Access
Read-Write
Data Type
Constraints
IdentityRef with options:
- XOR
- CRC_32LO
- CRC
- CRC_32HI
/hash/global/ecmp/seed
Section titled “/hash/global/ecmp/seed”Path
/hash/global/ecmp/seed
Node Type
leaf
Description
Seed for LAG hash
Access
Read-Write
Data Type
Constraints
Multiple constraints:
- Valid range:
- When condition: ../algorithm = ‘CRC’
/hash/global/ecmp/hash-fields
Section titled “/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
Constraints
IdentityRef with options:
- IN_PORT
- SRC_MAC
- DST_MAC
- L4_SRC_PORT
- DST_IP
- L4_DST_PORT
- SRC_IP
- VLAN_ID
/hash/capabilities
Section titled “/hash/capabilities”Path
/hash/capabilities
Node Type
container
Description
Hash capabilities
Access
Read-Only
/hash/capabilities/ecmp
Section titled “/hash/capabilities/ecmp”Path
/hash/capabilities/ecmp
Node Type
container
Description
ECMP capabilities
Access
Read-Only
/hash/capabilities/ecmp/hash-algorithms
Section titled “/hash/capabilities/ecmp/hash-algorithms”Path
/hash/capabilities/ecmp/hash-algorithms
Node Type
leaf-list
Description
Supported hash algorithms
Access
Read-Only
Data Type
Constraints
IdentityRef with options:
- XOR
- CRC_32LO
- CRC
- CRC_32HI
/hash/capabilities/ecmp/hash-fields
Section titled “/hash/capabilities/ecmp/hash-fields”Path
/hash/capabilities/ecmp/hash-fields
Node Type
leaf-list
Description
Supported hash fields
Access
Read-Only
Data Type
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
Section titled “/hash/capabilities/lag”Path
/hash/capabilities/lag
Node Type
container
Description
LAG capabilities
Access
Read-Only
/hash/capabilities/lag/hash-algorithms
Section titled “/hash/capabilities/lag/hash-algorithms”Path
/hash/capabilities/lag/hash-algorithms
Node Type
leaf-list
Description
Supported hash algorithms
Access
Read-Only
Data Type
Constraints
IdentityRef with options:
- XOR
- CRC_32LO
- CRC
- CRC_32HI
/hash/capabilities/lag/hash-fields
Section titled “/hash/capabilities/lag/hash-fields”Path
/hash/capabilities/lag/hash-fields
Node Type
leaf-list
Description
Supported hash fields
Access
Read-Only
Data Type
Constraints
IdentityRef with options:
- IN_PORT
- SRC_MAC
- DST_MAC
- L4_SRC_PORT
- DST_IP
- L4_DST_PORT
- SRC_IP
- VLAN_ID