Consume openstackclient.common.command in subnet/port

Follow-up patch of https://review.openstack.org/#/c/269613/
network/v2/subnet and port still use cliff classes directly.
This patch fixes it.

Change-Id: If9d90e5151ece7f4cf1e0d6fd2f32919865f2f2e
This commit is contained in:
Akihiro Motoki 2016-02-02 11:03:07 +09:00
parent 258c1102cc
commit 77ce1c17a0
2 changed files with 3 additions and 4 deletions

View File

@ -13,7 +13,7 @@
"""Port action implementations"""
from cliff import command
from openstackclient.common import command
class DeletePort(command.Command):

View File

@ -13,8 +13,7 @@
"""Subnet action implementations"""
from cliff import lister
from openstackclient.common import command
from openstackclient.common import utils
@ -31,7 +30,7 @@ _formatters = {
}
class ListSubnet(lister.Lister):
class ListSubnet(command.Lister):
"""List subnets"""
def get_parser(self, prog_name):