Skip to content

Commit 6ba1879

Browse files
committed
6.0
2 parents b39163f + e8d7af2 commit 6ba1879

File tree

230 files changed

+26578
-15195
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

230 files changed

+26578
-15195
lines changed

.github/workflows/python.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# NOTE: This file is auto generated by OpenAPI Generator.
2+
# URL: https://openapi-generator.tech
3+
#
4+
# ref: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
5+
6+
name: cyperf Python package
7+
8+
on: [push, pull_request]
9+
10+
jobs:
11+
build:
12+
13+
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
17+
18+
steps:
19+
- uses: actions/checkout@v3
20+
- name: Set up Python ${{ matrix.python-version }}
21+
uses: actions/setup-python@v4
22+
with:
23+
python-version: ${{ matrix.python-version }}
24+
- name: Install dependencies
25+
run: |
26+
python -m pip install --upgrade pip
27+
pip install flake8 pytest
28+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
29+
if [ -f test-requirements.txt ]; then pip install -r test-requirements.txt; fi
30+
- name: Lint with flake8
31+
run: |
32+
# stop the build if there are Python syntax errors or undefined names
33+
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
34+
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
35+
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
36+
- name: Test with pytest
37+
run: |
38+
pytest

API-endpoints-changelog.txt

Lines changed: 817 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 311 additions & 299 deletions
Large diffs are not rendered by default.

cyperf/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2025 Keysight
3+
Copyright (c) 2025 Keysight Technologies
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

cyperf/__init__.py

Lines changed: 39 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
from cyperf.models.action import Action
5858
from cyperf.models.action_base import ActionBase
5959
from cyperf.models.action_input import ActionInput
60+
from cyperf.models.action_input_find_param import ActionInputFindParam
6061
from cyperf.models.action_metadata import ActionMetadata
6162
from cyperf.models.activation_code_info import ActivationCodeInfo
6263
from cyperf.models.activation_code_list_request import ActivationCodeListRequest
@@ -76,7 +77,9 @@
7677
from cyperf.models.agents_group import AgentsGroup
7778
from cyperf.models.app_exchange import AppExchange
7879
from cyperf.models.app_flow import AppFlow
80+
from cyperf.models.app_flow_desc import AppFlowDesc
7981
from cyperf.models.app_flow_input import AppFlowInput
82+
from cyperf.models.app_flow_input_find_param import AppFlowInputFindParam
8083
from cyperf.models.app_id import AppId
8184
from cyperf.models.app_mode import AppMode
8285
from cyperf.models.application import Application
@@ -104,6 +107,7 @@
104107
from cyperf.models.automatic_ip_type import AutomaticIpType
105108
from cyperf.models.broker import Broker
106109
from cyperf.models.capture_input import CaptureInput
110+
from cyperf.models.capture_input_find_param import CaptureInputFindParam
107111
from cyperf.models.capture_settings import CaptureSettings
108112
from cyperf.models.category import Category
109113
from cyperf.models.category_filter import CategoryFilter
@@ -151,6 +155,7 @@
151155
from cyperf.models.diagnostic_options import DiagnosticOptions
152156
from cyperf.models.disk_usage import DiskUsage
153157
from cyperf.models.esp_over_udp_settings import ESPOverUDPSettings
158+
from cyperf.models.edit_action_input import EditActionInput
154159
from cyperf.models.edit_app_operation import EditAppOperation
155160
from cyperf.models.effective_ports import EffectivePorts
156161
from cyperf.models.emulated_router import EmulatedRouter
@@ -189,65 +194,68 @@
189194
from cyperf.models.file_value import FileValue
190195
from cyperf.models.filter import Filter
191196
from cyperf.models.filtered_stat import FilteredStat
197+
from cyperf.models.find_param_matches_operation import FindParamMatchesOperation
192198
from cyperf.models.fortinet_encapsulation import FortinetEncapsulation
193199
from cyperf.models.fortinet_settings import FortinetSettings
194200
from cyperf.models.fulfillment_request import FulfillmentRequest
195201
from cyperf.models.generate_all_operation import GenerateAllOperation
196202
from cyperf.models.generate_csv_reports_operation import GenerateCSVReportsOperation
197203
from cyperf.models.generate_pdf_report_operation import GeneratePDFReportOperation
198204
from cyperf.models.generic_file import GenericFile
199-
from cyperf.models.get_agent_tags200_response import GetAgentTags200Response
200-
from cyperf.models.get_agent_tags200_response_one_of import GetAgentTags200ResponseOneOf
201205
from cyperf.models.get_agents200_response import GetAgents200Response
202206
from cyperf.models.get_agents200_response_one_of import GetAgents200ResponseOneOf
203-
from cyperf.models.get_application_types200_response import GetApplicationTypes200Response
204-
from cyperf.models.get_application_types200_response_one_of import GetApplicationTypes200ResponseOneOf
205-
from cyperf.models.get_apps200_response import GetApps200Response
206-
from cyperf.models.get_apps200_response_one_of import GetApps200ResponseOneOf
207+
from cyperf.models.get_agents_tags200_response import GetAgentsTags200Response
208+
from cyperf.models.get_agents_tags200_response_one_of import GetAgentsTags200ResponseOneOf
207209
from cyperf.models.get_async_operation_result200_response import GetAsyncOperationResult200Response
208-
from cyperf.models.get_attacks200_response import GetAttacks200Response
209-
from cyperf.models.get_attacks200_response_one_of import GetAttacks200ResponseOneOf
210210
from cyperf.models.get_attacks_operation import GetAttacksOperation
211-
from cyperf.models.get_auth_profiles200_response import GetAuthProfiles200Response
212-
from cyperf.models.get_auth_profiles200_response_one_of import GetAuthProfiles200ResponseOneOf
213211
from cyperf.models.get_brokers200_response import GetBrokers200Response
214212
from cyperf.models.get_brokers200_response_one_of import GetBrokers200ResponseOneOf
215213
from cyperf.models.get_categories_operation import GetCategoriesOperation
216-
from cyperf.models.get_certificates200_response import GetCertificates200Response
217-
from cyperf.models.get_certificates200_response_one_of import GetCertificates200ResponseOneOf
218214
from cyperf.models.get_config_categories200_response import GetConfigCategories200Response
219215
from cyperf.models.get_config_categories200_response_one_of import GetConfigCategories200ResponseOneOf
220216
from cyperf.models.get_configs200_response import GetConfigs200Response
221217
from cyperf.models.get_configs200_response_one_of import GetConfigs200ResponseOneOf
222-
from cyperf.models.get_consumers200_response import GetConsumers200Response
223-
from cyperf.models.get_consumers200_response_one_of import GetConsumers200ResponseOneOf
224218
from cyperf.models.get_controllers200_response import GetControllers200Response
225219
from cyperf.models.get_controllers200_response_one_of import GetControllers200ResponseOneOf
226-
from cyperf.models.get_custom_import_operations200_response import GetCustomImportOperations200Response
227-
from cyperf.models.get_custom_import_operations200_response_one_of import GetCustomImportOperations200ResponseOneOf
228-
from cyperf.models.get_files200_response import GetFiles200Response
229-
from cyperf.models.get_files200_response_one_of import GetFiles200ResponseOneOf
230-
from cyperf.models.get_http_profiles200_response import GetHttpProfiles200Response
231-
from cyperf.models.get_http_profiles200_response_one_of import GetHttpProfiles200ResponseOneOf
220+
from cyperf.models.get_disk_usage_consumers200_response import GetDiskUsageConsumers200Response
221+
from cyperf.models.get_disk_usage_consumers200_response_one_of import GetDiskUsageConsumers200ResponseOneOf
232222
from cyperf.models.get_license_async_operation_result200_response import GetLicenseAsyncOperationResult200Response
233223
from cyperf.models.get_license_servers200_response import GetLicenseServers200Response
234224
from cyperf.models.get_license_servers200_response_one_of import GetLicenseServers200ResponseOneOf
235-
from cyperf.models.get_meta200_response import GetMeta200Response
236-
from cyperf.models.get_meta200_response_one_of import GetMeta200ResponseOneOf
237225
from cyperf.models.get_notifications200_response import GetNotifications200Response
238226
from cyperf.models.get_notifications200_response_one_of import GetNotifications200ResponseOneOf
239-
from cyperf.models.get_plugins200_response import GetPlugins200Response
240-
from cyperf.models.get_plugins200_response_one_of import GetPlugins200ResponseOneOf
241-
from cyperf.models.get_result_tags200_response import GetResultTags200Response
242-
from cyperf.models.get_result_tags200_response_one_of import GetResultTags200ResponseOneOf
227+
from cyperf.models.get_resources_application_types200_response import GetResourcesApplicationTypes200Response
228+
from cyperf.models.get_resources_application_types200_response_one_of import GetResourcesApplicationTypes200ResponseOneOf
229+
from cyperf.models.get_resources_apps200_response import GetResourcesApps200Response
230+
from cyperf.models.get_resources_apps200_response_one_of import GetResourcesApps200ResponseOneOf
231+
from cyperf.models.get_resources_attacks200_response import GetResourcesAttacks200Response
232+
from cyperf.models.get_resources_attacks200_response_one_of import GetResourcesAttacks200ResponseOneOf
233+
from cyperf.models.get_resources_auth_profiles200_response import GetResourcesAuthProfiles200Response
234+
from cyperf.models.get_resources_auth_profiles200_response_one_of import GetResourcesAuthProfiles200ResponseOneOf
235+
from cyperf.models.get_resources_certificates200_response import GetResourcesCertificates200Response
236+
from cyperf.models.get_resources_certificates200_response_one_of import GetResourcesCertificates200ResponseOneOf
237+
from cyperf.models.get_resources_custom_import_operations200_response import GetResourcesCustomImportOperations200Response
238+
from cyperf.models.get_resources_custom_import_operations200_response_one_of import GetResourcesCustomImportOperations200ResponseOneOf
239+
from cyperf.models.get_resources_http_profiles200_response import GetResourcesHttpProfiles200Response
240+
from cyperf.models.get_resources_http_profiles200_response_one_of import GetResourcesHttpProfiles200ResponseOneOf
241+
from cyperf.models.get_result_files200_response import GetResultFiles200Response
242+
from cyperf.models.get_result_files200_response_one_of import GetResultFiles200ResponseOneOf
243+
from cyperf.models.get_result_stats200_response import GetResultStats200Response
244+
from cyperf.models.get_result_stats200_response_one_of import GetResultStats200ResponseOneOf
243245
from cyperf.models.get_results200_response import GetResults200Response
244246
from cyperf.models.get_results200_response_one_of import GetResults200ResponseOneOf
247+
from cyperf.models.get_results_tags200_response import GetResultsTags200Response
248+
from cyperf.models.get_results_tags200_response_one_of import GetResultsTags200ResponseOneOf
249+
from cyperf.models.get_session_meta200_response import GetSessionMeta200Response
250+
from cyperf.models.get_session_meta200_response_one_of import GetSessionMeta200ResponseOneOf
245251
from cyperf.models.get_sessions200_response import GetSessions200Response
246252
from cyperf.models.get_sessions200_response_one_of import GetSessions200ResponseOneOf
247-
from cyperf.models.get_stats200_response import GetStats200Response
248-
from cyperf.models.get_stats200_response_one_of import GetStats200ResponseOneOf
253+
from cyperf.models.get_stats_plugins200_response import GetStatsPlugins200Response
254+
from cyperf.models.get_stats_plugins200_response_one_of import GetStatsPlugins200ResponseOneOf
249255
from cyperf.models.get_strikes_operation import GetStrikesOperation
250256
from cyperf.models.http_profile import HTTPProfile
257+
from cyperf.models.http_req_meta import HTTPReqMeta
258+
from cyperf.models.http_res_meta import HTTPResMeta
251259
from cyperf.models.http_version import HTTPVersion
252260
from cyperf.models.hash_p1_algorithm import HashP1Algorithm
253261
from cyperf.models.hash_p2_algorithm import HashP2Algorithm
@@ -313,6 +321,7 @@
313321
from cyperf.models.param_source_type import ParamSourceType
314322
from cyperf.models.param_type import ParamType
315323
from cyperf.models.parameter import Parameter
324+
from cyperf.models.parameter_match import ParameterMatch
316325
from cyperf.models.parameter_metadata import ParameterMetadata
317326
from cyperf.models.params import Params
318327
from cyperf.models.params_enum import ParamsEnum
@@ -336,6 +345,7 @@
336345
from cyperf.models.reboot_operation_input import RebootOperationInput
337346
from cyperf.models.reboot_ports_operation import RebootPortsOperation
338347
from cyperf.models.reference import Reference
348+
from cyperf.models.regex_match import RegexMatch
339349
from cyperf.models.release_operation_input import ReleaseOperationInput
340350
from cyperf.models.remote_access import RemoteAccess
341351
from cyperf.models.remote_subnet_config import RemoteSubnetConfig
@@ -365,7 +375,7 @@
365375
from cyperf.models.snapshot import Snapshot
366376
from cyperf.models.sort_body_field import SortBodyField
367377
from cyperf.models.specific_objective import SpecificObjective
368-
from cyperf.models.start_batch_delete_request_inner import StartBatchDeleteRequestInner
378+
from cyperf.models.start_agents_batch_delete_request_inner import StartAgentsBatchDeleteRequestInner
369379
from cyperf.models.stateless_stream import StatelessStream
370380
from cyperf.models.static_arp_entry import StaticARPEntry
371381
from cyperf.models.stats_result import StatsResult

0 commit comments

Comments
 (0)