跳转到内容
Ask AI

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* identityref
PathAccess
/hashRead-Write
/hash/globalRead-Write
/hash/global/lagRead-Write
/hash/global/lag/algorithmRead-Write
/hash/global/lag/seedRead-Write
/hash/global/lag/hash-fieldsRead-Write
/hash/global/ecmpRead-Write
/hash/global/ecmp/algorithmRead-Write
/hash/global/ecmp/seedRead-Write
/hash/global/ecmp/hash-fieldsRead-Write
/hash/capabilitiesRead-Only
/hash/capabilities/ecmpRead-Only
/hash/capabilities/ecmp/hash-algorithmsRead-Only
/hash/capabilities/ecmp/hash-fieldsRead-Only
/hash/capabilities/lagRead-Only
/hash/capabilities/lag/hash-algorithmsRead-Only
/hash/capabilities/lag/hash-fieldsRead-Only

Path

/hash

Node Type

container

Description

Hash configuration

Access

Read-Write

Path

/hash/global

Node Type

container

Description

Global hash configuration

Access

Read-Write

Path

/hash/global/lag

Node Type

container

Description

LAG hash configuration

Access

Read-Write

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

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’

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

Path

/hash/global/ecmp

Node Type

container

Description

ECMP hash configuration

Access

Read-Write

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

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’

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

Path

/hash/capabilities

Node Type

container

Description

Hash capabilities

Access

Read-Only

Path

/hash/capabilities/ecmp

Node Type

container

Description

ECMP capabilities

Access

Read-Only

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

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

Path

/hash/capabilities/lag

Node Type

container

Description

LAG capabilities

Access

Read-Only

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

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