Add a missing comma and correct some typos

Change-Id: I9c1717c386bc5587420d47f5b6e9d481e589cc2c
This commit is contained in:
Zhenguo Niu 2015-04-21 15:38:52 +08:00
parent 904fa9515c
commit 0990db2f5e
4 changed files with 4 additions and 4 deletions

View File

@ -274,7 +274,7 @@ class BaseAgentVendor(base.VendorInterface):
{
"name": "eth0",
"mac_address": "00:11:22:33:44:55",
"switch_port_descr": "port24"
"switch_port_descr": "port24",
"switch_chassis_descr": "tor1"
}, ...
], ...

View File

@ -90,7 +90,7 @@ def parse_driver_info(node):
def find_xml(doc, item, namespace, find_all=False):
"""Find the first or all elements in a ElementTree object.
"""Find the first or all elements in an ElementTree object.
:param doc: the element tree object.
:param item: the element name.

View File

@ -21,7 +21,7 @@ drivers. For instance, the MultipleVendorInterface class demonstrates how to
load more than one interface and wrap them in some logic to route incoming
vendor_passthru requests appropriately. This can be useful eg. when mixing
functionality between a power interface and a deploy interface, when both rely
on seprate vendor_passthru methods.
on separate vendor_passthru methods.
"""
from ironic.common import boot_devices

View File

@ -456,7 +456,7 @@ class VendorPassthru(base.VendorInterface):
@base.passthru(['POST'])
def set_node_vlan_id(self, task, **kwargs):
"""Sets a untagged vlan id for NIC 0 of node.
"""Sets an untagged vlan id for NIC 0 of node.
@kwargs vlan_id: id of untagged vlan for NIC 0 of node
"""