Context [name = Fetch SIP Error, message = Fetch SIP Failed]: Error====Context File "/home/nso542/RON-ML/state/packages-in-use/1/cisco-optical-cfp/python/cisco_optical_cfp/optical_actions.py", line 424, in cb_action sips = controller.fetch_sip(File "/home/nso542/RON-ML/state/packages-in-use/1/cisco-optical-cfp/python/cisco_optical_cfp/onc.py", line 213, in fetch_sip inv_id = self._get_inventory_key(key)File "/home/nso542/RON-ML/state/packages-in-use/1/cisco-optical-cfp/python/cisco_optical_cfp/onc.py", line 314, in _get_inventory_key (rack, shelf, slot, port) = rem.split("/")Environment==========UI + SSH: nso542/Public1234!Instance: Local Installation /home/nso542/RON-MLONC_HOST=10.56.58.69ONC_PORT=30666ONC_USER=adminONC_PWD=cisco123Service:========<ron-mlxmlns="http://cisco.com/ns/nso/cfp/cisco-ron"><name>400Gbps-Transponder-OLS</name><mode>transponder</mode><bandwidth>400</bandwidth><circuit-id>2</circuit-id><grid-type>100mhz-grid</grid-type><frequency>1951000</frequency><dac-rate>1x1</dac-rate><ols-domain><service-state>UNLOCKED</service-state></ols-domain><end-point><end-point-device>P-TOPLEFT-VXR</end-point-device><terminal-device-optical><line-port>0/0/0/0</line-port><transmit-power>-90</transmit-power></terminal-device-optical><terminal-device-packet><interface><index>0</index><ip-address><v4>20.20.10.13/30</v4></ip-address></interface></terminal-device-packet></end-point><end-point><end-point-device>P-TOPRIGHT-VXR</end-point-device><terminal-device-optical><line-port>0/0/0/0</line-port><transmit-power>-90</transmit-power></terminal-device-optical><terminal-device-packet><interface><index>0</index><ip-address><v4>20.20.10.14/30</v4></ip-address></interface></terminal-device-packet></end-point></ron-ml>
The add/drop port format - "Add/Drop port in proper format like ". In the ron->inter-layer-link list the entries are provided in an incorrect format /1/4/2/0/26,25 - instead, it should be 1/4/2/26,25.show ron inter-layer-linkinter-layer-link P-BOTTOMLEFT-VXR 0/0/0/0 { site Site6; ols-domain { network-element tcc3; optical-add-drop */1/4/2/0/26,25*; }}inter-layer-link P-BOTTOMLEFT-VXR 0/0/0/1 { site Site6; ols-domain { network-element tcc3; optical-add-drop */1/4/2/0/28,27*; }}inter-layer-link P-BOTTOMLEFT-VXR 0/0/0/2 { site Site6; ols-domain { network-element tcc3; optical-add-drop */1/4/2/0/24,23*; }}...Hi Yevgeny,Please check installation pre-requistes section, Python module Prarmiko and xmllint are particularly required by RON CFP.I did the following quick tests in your system and looks like Pramiko is missing (unless I missed your normal environment settings for local installation):(pythonEnv) nso542@iorgad-exsi-vm1:~$ netconf-console --host 10.56.58.69 --port 30666 --user admin --password cisco123 --helloYou must install the python ssh implementation paramiko in order to use ssh.(pythonEnv) nso542@iorgad-exsi-vm1:~$ pythonPython 3.8.5 (default, Jul 20 2020, 19:50:14) on linuxType "help", "copyright", "credits" or "license" for more information.>>> import paramikoTraceback (most recent call last): File "<stdin>", line 1, in <module>ModuleNotFoundError: No module named 'paramiko'>>>Problem continues, all the required components are out there I have a ask from you to prevent moving forward by tiny steps. Can you please make this payload work ? root@iorgad-exsi-vm1:~#python3.8Python 3.8.2(default, Mar 21 2020, 17:24:44)on linuxType"help", "copyright", "credits" or"license" for more information.>>> import paramiko;>>> exit();root@iorgad-exsi-vm1:~#xmllint --versionxmllint: using libxml version20903I have changed couple SIP settings in your system to get over the SIP fetch failure. Although I couldn't get the plan reached status completely but I think it will work after clearing pre-existing router config.I am not sure of your ONC topology, you probably need to verify the service-interface-point connection pairs. And, please follow Ravi advice above to configure the inter-layer-link.Before:inter-layer-link P-TOPLEFT-VXR 0/0/0/0 { ols-domain { network-element daigosim9; optical-add-drop /1/6/2/0/20,19; }}inter-layer-link P-TOPRIGHT-VXR 0/0/0/0 { ols-domain { network-element daigosim9; optical-add-drop /1/3/2/0/10,9; }}set ron inter-layer-link P-TOPLEFT-VXR 0/0/0/0After:nso542@ncs% show ron inter-layer-link P-TOPLEFT-VXR 0/0/0/0 ols-domain { network-element daigosim9; optical-add-drop 1/6/2/20,19;}nso542@ncs% show ron inter-layer-link P-TOPRIGHT-VXR 0/0/0/0ols-domain { network-element daigosim10; optical-add-drop 1/1/3/20,19;}nso542@ncs% run show ron ron-ml-plan 400Gbps-Transponder-OLS plan BACK STATUS POST ACTION TYPE NAME TRACK GOAL CODE STATE STATUS WHEN ref STATUS -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------self self false - - init reached 2021-05-25T12:11:43 - create-reached ready not-reached - - - optical-controller Optical-Controller false - RON-101 init reached 2021-05-25T16:05:48 - - cisco-ron-cfp-nano-plan-services:config-apply reached 2021-05-25T16:05:48 - - ready not-reached - - - cisco-ron-cfp-nano-plan-services:router P-TOPLEFT-VXR false - - init not-reached - - - cisco-ron-cfp-nano-plan-services:config-apply not-reached - - - ready not-reached - - - cisco-ron-cfp-nano-plan-services:router P-TOPRIGHT-VXR false - - init not-reached - - - cisco-ron-cfp-nano-plan-services:config-apply not-reached - - - ready not-reached - - -This specific problem was resolved, i will move to a new ticket on the follow up Corrected inter-layer-link issue but the setup has issue with XR routers. Yevgeny decided to close the case and moved to new setup.