Merge "Use osc-lib instead of openstackclient"
This commit is contained in:
commit
9ded4d2b7d
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
from openstackclient.common import utils
|
from osc_lib import utils
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
LOG = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
@ -18,8 +18,8 @@ import argparse
|
|||||||
import itertools
|
import itertools
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
from openstackclient.common import utils as oscutils
|
|
||||||
from osc_lib.command import command
|
from osc_lib.command import command
|
||||||
|
from osc_lib import utils as oscutils
|
||||||
|
|
||||||
from ironicclient.common.i18n import _
|
from ironicclient.common.i18n import _
|
||||||
from ironicclient.common import utils
|
from ironicclient.common import utils
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
import mock
|
import mock
|
||||||
from openstackclient.tests import utils
|
from osc_lib.tests import utils
|
||||||
|
|
||||||
from ironicclient.tests.unit.osc import fakes
|
from ironicclient.tests.unit.osc import fakes
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
import copy
|
import copy
|
||||||
import mock
|
import mock
|
||||||
|
|
||||||
from openstackclient.tests import utils as oscutils
|
from osc_lib.tests import utils as oscutils
|
||||||
|
|
||||||
from ironicclient import exc
|
from ironicclient import exc
|
||||||
from ironicclient.osc.v1 import baremetal_node
|
from ironicclient.osc.v1 import baremetal_node
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
import copy
|
import copy
|
||||||
|
|
||||||
import mock
|
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.osc.v1 import baremetal_port
|
||||||
from ironicclient.tests.unit.osc.v1 import fakes as baremetal_fakes
|
from ironicclient.tests.unit.osc.v1 import fakes as baremetal_fakes
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
---
|
---
|
||||||
upgrade:
|
upgrade:
|
||||||
- osc-lib is a package of common support modules for writing OSC plugins.
|
- 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.
|
||||||
|
Loading…
Reference in New Issue
Block a user