config: Use introspection more than code autogeneration for better maintainability
Bug #1440269 reported by
Hampapur Ajay
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R2.20 |
Fix Committed
|
Undecided
|
Hampapur Ajay | |||
R3.1 |
Fix Committed
|
Undecided
|
Hampapur Ajay | |||
Trunk |
Fix Committed
|
Undecided
|
Hampapur Ajay |
Bug Description
Currently code generation (generateDS/
1. schema based types to python classes (gen/resource_*.py)
2. singleton class for api-server/
Since there is significant interaction between item 2. (in contrail-generateDS repo) and item 2. derived classes (in contrail-controller repo in api-server/*) bug fixes + release has too much dependency.
By removing item 2. to an introspection based model within contrail-controller things will be streamlined (and even sets up a possibility of supporting dynamically supporting new types in future if we choose to).
To post a comment you must log in.
Review in progress for https:/ /review. opencontrail. org/11954
Submitter: Hampapur Ajay (<email address hidden>)