Generates keyword arguments for the Docker client to create a network.

        :param action: Action configuration.
        :type action: ActionConfig
        :param network_name: Network name or id.
        :type network_name: unicode | str
        :param kwargs: Additional keyword arguments to complement or override the configuration-based values.
        :type kwargs: dict
        :return: Resulting keyword arguments.
        :rtype: dict

def get_network_create_kwargs(self, action, network_name, kwargs=None):
        """
        Generates keyword arguments for the Docker client to create a network.

        :param action: Action configuration.
        :type action: ActionConfig
        :param network_name: Network name or id.
        :type network_name: unicode | str
        :param kwargs: Additional keyword arguments to complement or override the configuration-based values.
        :type kwargs: dict
        :return: Resulting keyword arguments.
        :rtype: dict
        """
        config = action.config
        c_kwargs = dict(
            name=network_name,
            driver=config.driver,
            options=config.driver_options,
        )
        if config.internal:
            c_kwargs['internal'] = True
        driver_opts = init_options(config.driver_options)
        if driver_opts:
            c_kwargs['options'] = {option_name: resolve_value(option_value)
                                   for option_name, option_value in iteritems(driver_opts)}
        update_kwargs(c_kwargs, init_options(config.create_options), kwargs)
        return c_kwargs