09-07-2021 09:01 AM
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",
09-13-2021 09:12 AM
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
01-14-2024 11:13 PM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide