---
title: crm
slug: enterprise-v6p1/ZPe_-crm
createdAt: 2025-12-17T08:18:25.065Z
---

AsterNOS YANG Model for Critical Resource Monitoring.

# <font color="#1d50a2">YANG Tree Diagram</font>

```none
module: asternos-crm
  +--rw crm
     +--rw crm-config
     |  +--rw frequency?   uint16
     |  +--rw period?      uint16
     +--ro crm-resource
        +--ro history* [resource]
        |  +--ro resource             crm-resource-type
        |  +--ro history-resources
        |     +--ro history-resource* [timestamp]
        |        +--ro timestamp          string
        |        +--ro used-count?        uint64
        |        +--ro used-rate?         string
        |        +--ro available-count?   uint64
        |        +--ro max-count?         uint64
        +--ro realtime-resources
           +--ro realtime-resource* [resource]
              +--ro resource           crm-resource-type
              +--ro used-count?        uint64
              +--ro used-rate?         string
              +--ro available-count?   uint64
              +--ro max-count?         uint64
```

# <font color="#1d50a2">Resources</font>

## <font color="#1d50a2">Resource List</font>

| **Path**                                                                     | **Access** |
| ---------------------------------------------------------------------------- | ---------- |
| /crm                                                                         | Read-Write |
| /crm/crm-config                                                              | Read-Write |
| /crm/crm-config/frequency                                                    | Read-Write |
| /crm/crm-config/period                                                       | Read-Write |
| /crm/crm-resource                                                            | Read-Only  |
| /crm/crm-resource/history                                                    | Read-Only  |
| /crm/crm-resource/history/resource                                           | Read-Only  |
| /crm/crm-resource/history/history-resources                                  | Read-Only  |
| /crm/crm-resource/history/history-resources/history-resource                 | Read-Only  |
| /crm/crm-resource/history/history-resources/history-resource/timestamp       | Read-Only  |
| /crm/crm-resource/history/history-resources/history-resource/used-count      | Read-Only  |
| /crm/crm-resource/history/history-resources/history-resource/used-rate       | Read-Only  |
| /crm/crm-resource/history/history-resources/history-resource/available-count | Read-Only  |
| /crm/crm-resource/history/history-resources/history-resource/max-count       | Read-Only  |
| /crm/crm-resource/realtime-resources                                         | Read-Only  |
| /crm/crm-resource/realtime-resources/realtime-resource                       | Read-Only  |
| /crm/crm-resource/realtime-resources/realtime-resource/resource              | Read-Only  |
| /crm/crm-resource/realtime-resources/realtime-resource/used-count            | Read-Only  |
| /crm/crm-resource/realtime-resources/realtime-resource/used-rate             | Read-Only  |
| /crm/crm-resource/realtime-resources/realtime-resource/available-count       | Read-Only  |
| /crm/crm-resource/realtime-resources/realtime-resource/max-count             | Read-Only  |

## <font color="#1d50a2">Detailed Nodes</font>

### <font color="#1d50a2">/crm</font>

**Path**

/crm

**Node Type**

container

**Access**

Read-Write

### <font color="#1d50a2">/crm/crm-config</font>

**Path**

/crm/crm-config

**Node Type**

container

**Description**

Critical Resource Monitoring for devices.

**Access**

Read-Write

### <font color="#1d50a2">/crm/crm-config/frequency</font>

**Path**

/crm/crm-config/frequency

**Node Type**

leaf

**Description**

The frequency to get crm resource.

**Access**

Read-Write

**Data Type**

\<YANG type uint16>

**Constraints**

Valid range: 1 to 65535

### <font color="#1d50a2">/crm/crm-config/period</font>

**Path**

/crm/crm-config/period

**Node Type**

leaf

**Description**

The period to save the crm resource history.

**Access**

Read-Write

**Data Type**

\<YANG type uint16>

**Constraints**

Valid range: 1 to 65535

### <font color="#1d50a2">/crm/crm-resource</font>

**Path**

/crm/crm-resource

**Node Type**

container

**Description**

Resource information for devices.

**Access**

Read-Only

### <font color="#1d50a2">/crm/crm-resource/history</font>

**Path**

/crm/crm-resource/history

**Node Type**

list

**Description**

This list show all history resource of specific resource.

**Access**

Read-Only

### <font color="#1d50a2">/crm/crm-resource/history/resource</font>

<font color="#0C121D">**Path**</font>

/crm/crm-resource/history/resource

**Node Type**

leaf

**Description**

Resource select.

**Access**

Read-Only

**Data Type**

\<YANG type crm-resource-type>

**Constraints**

Enumeration with options:

- mac
- ipv4-route
- ipv6-route
- ipv4-neighbor
- ipv6-neighbor
- route-nexthop

### <font color="#1d50a2">/crm/crm-resource/history/history-resources</font>

**Path**

/crm/crm-resource/history/history-resources

**Node Type**

container

**Access**

Read-Only

### <font color="#1d50a2">/crm/crm-resource/history/history-resources/history-resource</font>

**Path**

/crm/crm-resource/history/history-resources/history-resource

**Node Type**

list

**Description**

This list exists when requires history resource.

**Access**

Read-Only

### <font color="#1d50a2">/crm/crm-resource/history/history-resources/history-resource/timestamp</font>

**Path**

/crm/crm-resource/history/history-resources/history-resource/timestamp

**Node Type**

leaf

**Description**

Timestamp of resource statistics

**Access**

Read-Only

**Data Type**

\<YANG type string>

### <font color="#1d50a2">/crm/crm-resource/history/history-resources/history-resource/used-count</font>

**Path**

/crm/crm-resource/history/history-resources/history-resource/used-count

**Node Type**

leaf

**Description**

Resource used count.

**Access**

Read-Only

**Data Type**

\<YANG type uint64>

### <font color="#1d50a2">/crm/crm-resource/history/history-resources/history-resource/used-rate</font>

**Path**

/crm/crm-resource/history/history-resources/history-resource/used-rate

**Node Type**

leaf

**Description**

Resource used rate.

**Access**

Read-Only

**Data Type**

\<YANG type string>

### <font color="#1d50a2">/crm/crm-resource/history/history-resources/history-resource/available-count</font>

**Path**

/crm/crm-resource/history/history-resources/history-resource/available-count

**Node Type**

leaf

**Description**

Resource available count.

**Access**

Read-Only

**Data Type**

\<YANG type uint64>

### <font color="#1d50a2">/crm/crm-resource/history/history-resources/history-resource/max-count</font>

**Path**

/crm/crm-resource/history/history-resources/history-resource/max-count

**Node Type**

leaf

**Description**

Resource max count.

**Access**

Read-Only

**Data Type**

\<YANG type uint64>

### <font color="#1d50a2">/crm/crm-resource/realtime-resources</font>

**Path**

/crm/crm-resource/realtime-resources

**Node Type**

container

**Access**

Read-Only

### <font color="#1d50a2">/crm/crm-resource/realtime-resources/realtime-resource</font>

**Path**

/crm/crm-resource/realtime-resources/realtime-resource

**Node Type**

list

**Description**

This list show all realtime resource of specific resource.

**Access**

Read-Only

### <font color="#1d50a2">/crm/crm-resource/realtime-resources/realtime-resource/resource</font>

**Path**

/crm/crm-resource/realtime-resources/realtime-resource/resource

**Node Type**

leaf

**Description**

Resource select.

**Access**

Read-Only

**Data Type**

\<YANG type crm-resource-type>

**Constraints**

Enumeration with options:

- mac
- ipv4-route
- ipv6-route
- ipv4-neighbor
- ipv6-neighbor
- route-nexthop

### <font color="#1d50a2">/crm/crm-resource/realtime-resources/realtime-resource/used-count</font>

**Path**

/crm/crm-resource/realtime-resources/realtime-resource/used-count

**Node Type**

leaf

**Description**

Resource used count.

**Access**

Read-Only

**Data Type**

\<YANG type uint64>

### <font color="#1d50a2">/crm/crm-resource/realtime-resources/realtime-resource/used-rate</font>

**Path**

/crm/crm-resource/realtime-resources/realtime-resource/used-rate

**Node Type**

leaf

**Description**

Resource used rate.

**Access**

Read-Only

**Data Type**

\<YANG type string>

### <font color="#1d50a2">/crm/crm-resource/realtime-resources/realtime-resource/available-count</font>

**Path**

/crm/crm-resource/realtime-resources/realtime-resource/available-count

**Node Type**

leaf

**Description**

Resource available count.

**Access**

Read-Only

**Data Type**

\<YANG type uint64>

### <font color="#1d50a2">/crm/crm-resource/realtime-resources/realtime-resource/max-count</font>

**Path**

/crm/crm-resource/realtime-resources/realtime-resource/max-count

**Node Type**

leaf

**Description**

Resource max count.

**Access**

Read-Only

**Data Type**

\<YANG type uint64>
