Use osc-lib instead of openstackclient

osc-lib is a package of common support modules for writing
OSC plugins. All common functions, classes such as exceptions,
utils, logs and so on have been moved from openstackclient to
osc-lib. So use osc-lib instead of openstackclient.

Since osc-lib 1.0.2 has released, it is stable to use.

Change-Id: Ia1569eeb7b52d3b5c0b1dd8312f397e7c7c3f869
This commit is contained in:
Tang Chen 2016-06-23 20:17:15 +08:00
parent 0a0e15141f
commit 9acb5d2cd3
6 changed files with 6 additions and 6 deletions

View File

@ -16,7 +16,7 @@
import logging
from openstackclient.common import utils
from osc_lib import utils
LOG = logging.getLogger(__name__)

View File

@ -18,8 +18,8 @@ import argparse
import itertools
import logging
from openstackclient.common import utils as oscutils
from osc_lib.command import command
from osc_lib import utils as oscutils
from ironicclient.common.i18n import _
from ironicclient.common import utils

View File

@ -15,7 +15,7 @@
#
import mock
from openstackclient.tests import utils
from osc_lib.tests import utils
from ironicclient.tests.unit.osc import fakes

View File

@ -17,7 +17,7 @@
import copy
import mock
from openstackclient.tests import utils as oscutils
from osc_lib.tests import utils as oscutils
from ironicclient import exc
from ironicclient.osc.v1 import baremetal_node

View File

@ -17,7 +17,7 @@
import copy
import mock
from openstackclient.tests import utils as oscutils
from osc_lib.tests import utils as oscutils
from ironicclient.osc.v1 import baremetal_port
from ironicclient.tests.unit.osc.v1 import fakes as baremetal_fakes

View File

@ -1,4 +1,4 @@
---
upgrade:
- osc-lib is a package of common support modules for writing OSC plugins.
So use osc-lib instead of cliff.
So use osc-lib instead of cliff and OpenStackClient.