Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
Hi Folks,
I'm trying to delete a QOS policy from an interface so that I can replace it in a separate netconf commit. It seems to be getting the better of me. I can delete the QOS policy using Yang Suite and tried to determine what the code should loo...
I'm trying to perform a 'no shutdown' on interfaces using NETCONF and YANG......
i stumbled on this post https://community.cisco.com/t5/yang-tools/interface-no-shutdown/td-p/3434869 which is obviously now outdated somewhat....
Anybody know to perform...
Heya,
i'm trying to shutdown multiple interfaces in one commit using ydk.
I can successfully shut down one interface in a commit but I cannot see where or how to add multiple interfaces as part of the commit...
my code for a single interface commit.
...
Yan,
The article regarding crud_guide certainly helped. Thanks. I've managed to get the config working. This is the code i got down to.
To delete only service-policy output:
Interface = xr_intf.InterfaceConfigurations()
interface_configuration_instan...
Here is the output of the commit events and running config thereafter
RP/0/RP0/CPU0:XRV9000-LAB#RP/0/RP0/CPU0:Feb 7 02:27:37.636 UTC: netconf[1116]: %MGBL-CONFIG-6-DB_COMMIT : Configuration committed by user 'test'. Use 'show configuration commit ch...
Thanks Yan,
Specific to the point, I really just want to remove the output policy, but I'm happy to remove both input and output policy if it makes it easier. There appears to be some issue with the code provided. I've managed to adjust it to work, w...
according to Yang Suite, this is what i should be aiming for
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="101">
<edit-config>
<target>
<candidate/>
</target>
<config>
<interface-configurations xmlns="http...
urgh, you gotta be kidding me.....somewhere between all my trying I came to the wrong conclusion that .shutdown can only accept Empty() and consequently didn't try anything else...... thanks.....the YFilter.delete works like a charm.