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

GET ISIS configuration in python script

Hello Team,

I'd like to get isis interface configuration in my python part.

I'm trying the following code with ipython

import ncs.maapi as maapi
import ncs.maagic as maagic
m= maapi.Maapi()
m.start_user_session('admin', 'test_context')
t= m.start_write_trans()
root= maagic.get_root(t)
router = root.devices.device['ROUTER']
 router.config.cisco_ios_xr__router.isis.tag
isis = router.config.cisco_ios_xr__router.isis

the problem is that, the object "router.config.cisco_ios_xr__router.isis" has no methods or properties  to get ISIS informations.

 

Your help will be appreciate.

 

regards.

 

0 Replies 0
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 NSO Developer community: