[ODLTOOLS-19] odltools 'netvirt' command options are getting failed due to exception. Created: 03/Oct/18 Updated: 13/Nov/18 Resolved: 13/Nov/18 |
|
| Status: | Done |
| Project: | odltools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Medium |
| Reporter: | BALASARITHA R | Assignee: | Vishal Thapar |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
With the latest odltools, the following exception is seen while executing the command ‘python -m odltools netvirt show neutron all’ The RestClient is not getting initialized from method ‘get_models(self, args, models)’ in mdsal/models/models.py All netvirt command options are getting failed for the same reason.
|
| Comments |
| Comment by Vishal Thapar [ 08/Oct/18 ] |
|
As part of https://git.opendaylight.org/gerrit/76233 the rest methods were refactored. This led to a missing call to init_rest_client for all cases other than 'odltools model get' because call path to get models was changed for the model get and other use cases which only pull specific models on need basis. |