cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
340
Views
0
Helpful
1
Replies

Container Name "Syncc-Controller" present in model CISCO-IOS-XR-config-mda-cfg whereas missing in ydk page (ydk.cisco.com)

shhaneef
Cisco Employee
Cisco Employee

Hi Team,

 

We get the container and leaf objects or names from below wiki “http://ydk.cisco.com/py/docs/gen_doc_531564d964aade059e8139143a74c349e994da1a.html#ydk.models.cisco_ios_xr.Cisco_IOS_XR_config_mda_cfg.ActiveNodes.ActiveNode.ClockInterface.Clocks.Clock

Where didn’t find the container name syncc-controller under clock-interface, where as the same was present in model file "Cisco-IOS-XR-config-mda-cfg" as below.

 

 

Screen Shot 2020-06-25 at 4.39.41 PM.png

Could you please help us with updated ydk page or wiki or doc which points to what does each option value represent under sync-controller container that would help us in our automation.

 

 

Thanks

Shafeek

1 Reply 1

yangorelik
Spotlight
Spotlight

Hello

The documentation on website ydk.cisco.com is fairly old and pertained to YDK-0.8.3 and latest for that time IOS XR model, which is version 6.6.2. Actually, those "missing" nodes were introduced in release 6.6.3. The documentation for that release was not published.

If having API documentation is critical for your business, I suggest you to do the following:

git clone https://github.com/ygorelik/ydk-gen.git -b 0.8.5
cd ydk-gen
# this will generate, but not install the packages; just needed to generate documentation
./generate.py --bundle profiles/bundles/cisco-ios-xr_6_6_3.json
./generate.py --core --generate-doc

Note, that documentation generation (the last command) is going to take few hours and requires significant disk space, so plan this activity time and platform accordingly. After finished, you can display the documentation in your browser like this:

firefox gen-api/python/cisco_ios_xr-bundle/docs_expended/index.html &
Yan Gorelik
YDK Solutions
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: