Refactor Huawei Driver
After a few new features being added into drivers, we found it hard to maintain the code. For further working, we need to refactor our code. The work contains the following:
1. Define a new class, named HuaweiConf, to parse xml config file. We used an external xml file to store SAN info. But we do config parsing anywhere in our code, even two different functions do the same parsing.
2. Adjust some function structures.
3. Rename some functions & variables.
Blueprint information
- Status:
- Complete
- Approver:
- Sean McGinnis
- Priority:
- Undefined
- Drafter:
- Liucheng Jiang
- Direction:
- Approved
- Assignee:
- Liucheng Jiang
- Definition:
- Approved
- Series goal:
- Accepted for mitaka
- Implementation:
- Implemented
- Milestone target:
- mitaka-2
- Started by
- Liucheng Jiang
- Completed by
- Liucheng Jiang
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Huawei: Refactor driver for the second time
Addressed by: https:/
Huawei: Refactor driver for the second time
Addressed by: https:/
Huawei: Refactor driver for the second time
Addressed by: https:/
Huawei: Refactor driver for the second time