Merge "Add a missing comma and correct some typos"
This commit is contained in:
commit
811b6c974a
@ -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"
|
||||
}, ...
|
||||
], ...
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user