Route-map "as-path prepend" not modelled in REST-API DME?
It seems that the following CLI syntax is not modelled in the NXOS REST API DME?
route-map BGP:LOCAL-OUT permit 10
set as-path prepend 100 100 100
When I add this using the CLI and then do a 'GET' for the route-map entry there is no child of 'rtmapEntry' which corresponds to this action. If I use the NX-API Developer Sandbox on my switch it tells me the command is not modelled:
Error in 1 of 2 commands:
cmd: " set as-path prepend 100 100 100"
msg: Invalid params
% The command is not modeled
I am using a physical 93180YC-EX switch on 7.0(3)I7(4). Can anyone advise if there is a way to apply this configuration using the REST API? It's a show-stopper for me and it will cause a big headache if I now need to use the CLI rather than REST API to configure the system.
If it is not available can anyone advise if it is scheduled to be added to the model in an upcoming release?
Re: Route-map "as-path prepend" not modelled in REST-API DME?
I have reproduced this same issue in 7.0(3)I7(4) in the lab, as well as with 7.0(3)I7(5) and 9.2(1). The set as-path prepend <asn> command is not currently modeled through the NX-API REST message format. I have opened up an enhancement (CSCvm84208) to track the addition of this functionality in a future release - subscribe to that defect for additional updates.
Thank you! Feel free to let me know if you have any additional questions.
Task NameCIDR CalculatorDescriptionGets the CIDR number from a subnet mask, pretty usefull to avoid to input both when some tasksneeds the subnet mask and other the CIDR.PrerequisitesTested on 5.1CategoryWorkflowComponentsUser InputsSubnet MaskInstruction...
This blog was generated from CDN blog Created by: Jeffrey Silberman on 25-10-2012 05:55:40 PMIntroductionRacktables version 0.20.1 has new feature support for Cisco UCS environments. Racktables is a structured and robust open-source solution ...
This blog was generated from CDN blog Created by: Eric Williams on 20-07-2012 12:19:56 AMI just added a new section to the UCS PowerTool section on the UCS CDN site that will provide a central repository of PoSh scripts, examples, and videos that detail ...
This blog was generated from CDN blog Created by: Eric Williams on 08-03-2012 04:25:30 PMI would like to announce the general availability of goUCS version 2.0 on Cisco Developer Network. A lot of time and effort has been put into the newest goUCS releas...
This blog was generated from CDN blog Created by: John McDonough on 10-11-2011 01:21:02 PMLest anyone thinks I have forgotten about my blogging on the UCS API, I have not, but I have written a blog recently for the Data Center blog and it is applicable t...