Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NETCONF service not working in 0.5.2 #323

Closed
111pontes opened this issue Dec 5, 2016 · 0 comments
Closed

NETCONF service not working in 0.5.2 #323

111pontes opened this issue Dec 5, 2016 · 0 comments
Labels

Comments

@111pontes
Copy link
Collaborator

All operations for NETCONF service are failing. Meta data seems to be missing from install. Furthermore, NETCONF should be made part of the core package and not part of ydktest bundle which users shouldn't need to install:

2016-12-02 19:15:03,045 - ydk.providers.netconf_provider - INFO - NetconfServiceProvider connected to domingo:None using ssh
2016-12-02 19:15:03,046 - ydk.services.netconf_service - INFO - Executing edit-config RPC
2016-12-02 19:15:03,046 - ydk.services.executor_service - INFO - Executor operation completed
Traceback (most recent call last):
  File "./nc-edit-config-xr-ip-domain-cfg-20-ydk.py", line 104, in <module>
    netconf.edit_config(provider, Datastore.candidate, ip_domain)
  File "/home/saalvare/.virtualenvs/ydk-0.5.2/local/lib/python2.7/site-packages/ydk/services/netconf_service.py", line 291, in edit_config
    return self.executor.execute_rpc(provider, rpc)
  File "/home/saalvare/.virtualenvs/ydk-0.5.2/local/lib/python2.7/site-packages/ydk/services/executor_service.py", line 54, in execute_rpc
    rpc = MetaService.normalize_meta(provider._get_capabilities(), rpc)
  File "/home/saalvare/.virtualenvs/ydk-0.5.2/local/lib/python2.7/site-packages/ydk/services/meta_service.py", line 67, in normalize_meta
    deviation_tables = MetaService.get_active_deviation_tables(capabilities, entity)
 File "/home/saalvare/.virtualenvs/ydk-0.5.2/local/lib/python2.7/site-packages/ydk/services/meta_service.py", line 84, in get_active_deviation_tables
    active_pmodule_names = _get_active_deviation_module_names(capabilities, entity)
  File "/home/saalvare/.virtualenvs/ydk-0.5.2/local/lib/python2.7/site-packages/ydk/services/meta_service.py", line 132, in _get_active_deviation_module_names
    mname = _get_module_name_from_entity(entity)
  File "/home/saalvare/.virtualenvs/ydk-0.5.2/local/lib/python2.7/site-packages/ydk/services/meta_service.py", line 292, in _get_module_name_from_entity
    module_name = entity._meta_info().module_name
  File "/home/saalvare/.virtualenvs/ydk-0.5.2/local/lib/python2.7/site-packages/ydk/models/ydktest/ietf_netconf.py", line 863, in _meta_info
    from ydk.models.ydktest._meta import _ietf_netconf as meta
ImportError: No module named _meta
$
@111pontes 111pontes added the bug label Dec 5, 2016
@ghost ghost mentioned this issue Jan 30, 2017
@ghost ghost closed this as completed Jan 31, 2017
@ghost ghost mentioned this issue Jan 31, 2017
ghost pushed a commit that referenced this issue Jan 31, 2017
* Issue #346
 * #208
 * #272
 * #300
 * #294
 * #318
 * #303 (only for bits)
 * #323
 * #305
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant