cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
333
Views
3
Helpful
7
Replies

Restconf on CUBE

I need help
Anyone present with experience in using restconf to modify the configuration on dial-peers in a CUBE (Cat8000V version 17.10.1a).

More specific I need to apply shutdown to a dial-peer using a restconf call.

fortvald
7 Replies 7

Marcel Zehnder
Spotlight
Spotlight

Hi, can you post the dial-peer config in IOS CLI?

As soon as I know the CLI commands, I can post the corresponding RESTCONF call.

dial-peer voice <tag>

shutdown

or 

no shutdown

 

fortvald

Marcel Zehnder
Spotlight
Spotlight

I'll configured it via CLI and tried to initially read the config. I'll get an empty data element with NETCONF and no data with RESTCONF, will look in closer tomorrow.

That mimics my experience ;-(

 

fortvald

Marcel Zehnder
Spotlight
Spotlight

I had similiar issues in the past, it seems like depending on the release certain parts of the YANG models just don't work (like it's documented but not correctly implemented). So my best advise is to try another (newer) release. 

I have been trying on 17.13.1a, with even less success.

TAC is involved, as even basic GET for config fails.

My thought is trying to use the "cli-rpc" to just send the needed commands.

Any thought (or examples) on this approach?

 

fortvald

I never used cli-rpc. If I run into such issues I switch to nornir with the netmiko-plugin - I try to avoid CLI frameworks whenever possible, but sometimes it's the only thing working.