Renamed the avi_ansible_utils to avi. Fixed the import error and clea… (#22112)

* Renamed the avi_ansible_utils to avi. Fixed the import error and cleaned up code.

* Refactored all new modules to use the new module_utils.avi

* Added module_utils.avi to python 2.4 skip list
This commit is contained in:
Gaurav Rastogi
2017-03-01 08:16:59 -08:00
committed by John R Barker
parent 7ab0f28e80
commit 61288b14fd
18 changed files with 31 additions and 110 deletions

View File

@@ -29,10 +29,10 @@
# This module initially matched the namespace of network module avi. However,
# that causes namespace import error when other modules from avi namespaces
# are imported. In order to avoid the import collisions this was renamed to
# avi_ansible_utils to allow this module to be ceterpiece of all integration
# with external avi modules.
# are imported. Added import of absolute_import to avoid import collisions for
# avi.sdk.
from __future__ import absolute_import
import os
from pkg_resources import parse_version