cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1576
Views
0
Helpful
1
Replies

Commit dry-run outformat native not showing expected output

Raja.Selvaraj
Level 4
Level 4

Hi,

 

Trying to capture dry-run using "commit dry-run outformat native" and it is giving back empty response. Same command with "outformat cli " option is working. Please see the output below. Have i missed anything or need to configure anything in NSO.

 

admin@nso-lsa01-rfs05a(config)# commit dry-run outformat cli
cli {
local-node {
data network {
infrastructure {
devices s3cw-e-702 {
- physical-interfaces TenGigE 0/0/0/16 {
- remote-interface-id 0/2;
- bundle-id 5145;
- interface-description "xxxxx99 0/2 : [x xxxx xxxx x103] CSR";
- node-name rcbhy99;
- trac-id "[x xxxx xxx xxx]";
- device-type CSR;
- enable-lldp-transmit False;
- admin-state up;
- state commissioned;
- }
}
- physical-interfaces s3cw-e-702 TenGigE 0/0/0/16 {
- remote-interface-id 0/2;
- bundle-id 5145;
- interface-description "xxxx99 0/2 : [x xxxx xxxx x103] CSR";
- node-name rcbhy99;
- trac-id "[x xxxx xxxx x103]";
- device-type CSR;
- enable-lldp-transmit False;
- admin-state up;
- }
}
}
}
}
admin@nso-lsa01-rfs05a(config)# commit dry-run outformat native
native {
}
admin@nso-lsa01-rfs05a(config)#

 

 

Regards,

Raja

1 Accepted Solution

Accepted Solutions

vleijon
Cisco Employee
Cisco Employee
Hi.

Are you certain there is “native” output to show? Native output is only a relevant term when configuration is being sent to a device, in this case it doesn’t look like a change is being made in a device config only in a local model.

Best,
Viktor

View solution in original post

1 Reply 1

vleijon
Cisco Employee
Cisco Employee
Hi.

Are you certain there is “native” output to show? Native output is only a relevant term when configuration is being sent to a device, in this case it doesn’t look like a change is being made in a device config only in a local model.

Best,
Viktor