Change external_ids to columns, in dns_add API

Align the API with the impl guarantee.

Change-Id: I56d21085bb3968543e4892b8b49a9e962390bc29
This commit is contained in:
Guoshuai Li 2018-04-03 10:29:44 +08:00
parent c3c4bfe7be
commit 2e8817d198
1 changed files with 4 additions and 5 deletions

View File

@ -694,12 +694,11 @@ class API(api.API):
"""
@abc.abstractmethod
def dns_add(self, **external_ids):
"""Create a DNS row with external_ids
def dns_add(self, **columns):
"""Create a DNS row with columns
:param external_ids: external_id field key/value mapping
:type external_ids: key: string, value: string
:returns: :class:`Command` with RowView result
:param **columns: Additional columns to directly set on the dns
:returns: :class:`Command` with RowView result
"""
@abc.abstractmethod