cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
514
Views
1
Helpful
2
Replies

restconf documentation for RV340x

Avkad1op
Level 1
Level 1

Hi,

I am trying to leverage restconf in order to automate management of small fleet of rv340 routers.

I am hitting an issue, though. I am able to grab data provided via some ietf-* modules that are announced via 

restconf/data/netconf-state/capabilities

endpoint, but there seems to be a bunch of Cisco native models advertised, that have no documentation and links on Cisco's site seem to be dead.
Does anybody know where those were moved or maybe have them arichived anywhere?

It sucks that in the newest release of the router software YANG models advertised by the routers link to non-existing resources. Googling for ciscosb yang models also gives no meaningful resurces. For the reference I included links from restconf capabilities from newest rv340 code (.22) below.

I would really appreciate ant help.

"http://cisco.com/ns/ciscosb/fw-acl-rules?module=ciscosb-fw-acl-rules&revision=2016-06-06", 
"http://cisco.com/ns/ciscosb/fw-basic-settings?module=ciscosb-fw-basic-settings&revision=2016-06-01",
"http://cisco.com/ns/ciscosb/fw-dmz-host?module=ciscosb-fw-dmz-host&revision=2016-06-01",
"http://cisco.com/ns/ciscosb/fw-nat?module=ciscosb-fw-nat&revision=2016-06-01",
"http://cisco.com/ns/ciscosb/fw-policy-nat?module=ciscosb-fw-policy-nat&revision=2016-06-01",

 

2 Replies 2

Martin Aleksandrov
Cisco Employee
Cisco Employee

Hello,

 

NETCONF and (REST) API have been tested and are used to integrate only with the Cisco CBD (Cisco Business Dashboard). These protocols and the YANG model have never been officially released and supported and no public documentation is available.

 

Thanks

Cang_Household
Level 1
Level 1

I do want to point out after 3 years since the OP has posted that RESTCONF is possible via HTTPS, and the yang-models are largely following the NxOS documentation.

There are both /restconf/data/, and /restconf/operations, so this opens a myriad of possibilities. I am writing Python scripts to overcome the inability of the GUI to order the Policy NAT rules, and the clumsiness of the Access Rules ordering.