def ui_complete_create(self, parameters, text, current_param):
    '\n        Parameter auto-completion method for user command create.\n        @param parameters: Parameters on the command line.\n        @type parameters: dict\n        @param text: Current text of parameter being typed by the user.\n        @type text: str\n        @param current_param: Name of parameter to complete.\n        @type current_param: str\n        @return: Possible completions\n        @rtype: list of str\n        '

    def list_eth_ips():
        if (not ethtool):
            return []
        devcfgs = ethtool.get_interfaces_info(ethtool.get_devices())
        addrs = set()
        for d in devcfgs:
            if d.ipv4_address:
                addrs.add(d.ipv4_address)
                addrs.add('0.0.0.0')
            for ip6 in d.get_ipv6_addresses():
                addrs.add(ip6.address)
                addrs.add('::0')
        return sorted(addrs)
    if (current_param == 'ip_address'):
        completions = [addr for addr in list_eth_ips() if addr.startswith(text)]
    else:
        completions = []
    if (len(completions) == 1):
        return [(completions[0] + ' ')]
    else:
        return completions
Parameter auto-completion method for user command create.
@param parameters: Parameters on the command line.
@type parameters: dict
@param text: Current text of parameter being typed by the user.
@type text: str
@param current_param: Name of parameter to complete.
@type current_param: str
@return: Possible completions
@rtype: list of str
def ui_complete_create(self, parameters, text, current_param):
    '\n        Parameter auto-completion method for user command create.\n        @param parameters: Parameters on the command line.\n        @type parameters: dict\n        @param text: Current text of parameter being typed by the user.\n        @type text: str\n        @param current_param: Name of parameter to complete.\n        @type current_param: str\n        @return: Possible completions\n        @rtype: list of str\n        '

    def list_eth_ips():
        if (not ethtool):
            return []
        devcfgs = ethtool.get_interfaces_info(ethtool.get_devices())
        addrs = set()
        for d in devcfgs:
            if d.ipv4_address:
                addrs.add(d.ipv4_address)
                addrs.add('0.0.0.0')
            for ip6 in d.get_ipv6_addresses():
                addrs.add(ip6.address)
                addrs.add('::0')
        return sorted(addrs)
    if (current_param == 'ip_address'):
        completions = [addr for addr in list_eth_ips() if addr.startswith(text)]
    else:
        completions = []
    if (len(completions) == 1):
        return [(completions[0] + ' ')]
    else:
        return completions