cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
387
Views
0
Helpful
2
Replies

What is the default cisco-iosxr-transaction-id-method?

mmalysz
Cisco Employee
Cisco Employee

In tailf-ned-cisco-ios-xr.yang we can see:

The config option cisco-iosxr-transaction-id-method is available under:
         /ncs:devices/global-settings/ned-settings/
         /ncs:devices/ncs:profiles/profile:cisco-iosxr/ned-settings/
         /ncs:/device/devices/device:<dev name>/ned-settings/
        Two values are supported:
         config-hash (default) : Use a snapshot of the running config for
                                 calculation.
         commit-list :           Use the configuration commit list time of
                                 the latest commit for calculation.

While in tailf-ned-cisco-ios-xr-meta.yang

    leaf cisco-iosxr-transaction-id-method {
      tailf:info "Method of the cisco-iosxr NED to use for calculating "
        +"a transaction id. Typically used for check-sync operations";
      type enumeration {
        enum config-hash {
          tailf:info "Use a snapshot of the running config for calculation.";
        }
        enum commit-list {
          tailf:info "Use the configuration commit list time of the latest "+
            "commit for calculation. (default)";
        }
      }
    }

1 Accepted Solution

Accepted Solutions

rogaglia
Cisco Employee
Cisco Employee

Hi,

Are you sure you are checking the latest XR NED?

"commit-list", is the default and I can see the README is correct.

Regards,

Roque

View solution in original post

2 Replies 2

rogaglia
Cisco Employee
Cisco Employee

Hi,

Are you sure you are checking the latest XR NED?

"commit-list", is the default and I can see the README is correct.

Regards,

Roque

Thanks - I was looking into the NED 5.0.10...

Looking further into the CHAGNES I can see that as of

cisco-iosxr v4.2 [June 10, 2016]

================================

  - Default to cisco-iosxr-transaction-id-method commit-list. Change to

    config-hash for previous default method (note: much slower).

However in NED 5.0.10 in tailf-ned-cisco-ios-xr.yang it was still mentioned that config-hash is (default) - which was reason for the confusion. In latest NED I can see that it was removed from tailf-ned-cisco-ios-xr.yang.