cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
153
Views
0
Helpful
0
Replies
MahdiR
Beginner

NetconfService performance

What is the usual speed for NetconfService to get information from a model?

For me NetconfSercie.get() takes about 14 second, is this normal?

Is there a faster way to do it than the way below?

 

from ydk.services.netconf_service import NetconfService
from ydk.providers.netconf_provider import NetconfServiceProvider
from ydk.models.cisco_ios_xe.Cisco_IOS_XE_interfaces_oper import Interfaces

provider = NetconfServiceProvider(address=address, username=username, password=password)

service = NetconfService()

model = Interfaces()

interfaces = service.get(provider=provider, read_filter=model)

for interface in interfaces.interface:
    print(interface.name)
0 REPLIES 0
Content for Community-Ad

This widget could not be displayed.