From 1782c83f31cdd5469f0cf23f160717c480513540 Mon Sep 17 00:00:00 2001 From: hinashi Date: Mon, 20 Apr 2026 09:21:20 +0900 Subject: [PATCH 1/2] Add get nat setting action --- CHANGES.md | 4 ++++ actions/get_access_list.yaml | 25 +++++++++++++++++++++++++ actions/get_nat_inside.yaml | 25 +++++++++++++++++++++++++ pack.yaml | 2 +- requirements.txt | 2 +- 5 files changed, 56 insertions(+), 2 deletions(-) create mode 100644 actions/get_access_list.yaml create mode 100644 actions/get_nat_inside.yaml diff --git a/CHANGES.md b/CHANGES.md index e583b9d..e31d3f4 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,9 @@ # Changelog +## v1.11.0 +* Added action to get nat inside. +* Added action to get accesslist. + ## v1.10.0 * Added action to get interface. * Added action to get vrrpa. diff --git a/actions/get_access_list.yaml b/actions/get_access_list.yaml new file mode 100644 index 0000000..1828db3 --- /dev/null +++ b/actions/get_access_list.yaml @@ -0,0 +1,25 @@ +--- +name: get_access_list +runner_type: python-script +description: get configuration of AccessList +enabled: true +entry_point: ax_action_runner.py +parameters: + action: + type: string + immutable: true + default: get + object_path: + type: string + immutable: true + default: access_list + one_target: + type: boolean + immutable: true + default: false + appliance: + type: string + description: The appliance information to connect, which is specified at the 'appliance' parameter in the configuration. + specified_target: + type: object + description: "Specify the target dynamically, (key: 'target', 'api_version', 'userid', 'passwd')" \ No newline at end of file diff --git a/actions/get_nat_inside.yaml b/actions/get_nat_inside.yaml new file mode 100644 index 0000000..5df29eb --- /dev/null +++ b/actions/get_nat_inside.yaml @@ -0,0 +1,25 @@ +--- +name: get_nat_inside +runner_type: python-script +description: get configuration of Nat Inside +enabled: true +entry_point: ax_action_runner.py +parameters: + action: + type: string + immutable: true + default: get + object_path: + type: string + immutable: true + default: nat.inside + one_target: + type: boolean + immutable: true + default: false + appliance: + type: string + description: The appliance information to connect, which is specified at the 'appliance' parameter in the configuration. + specified_target: + type: object + description: "Specify the target dynamically, (key: 'target', 'api_version', 'userid', 'passwd')" \ No newline at end of file diff --git a/pack.yaml b/pack.yaml index a4ec3c8..7e2786d 100644 --- a/pack.yaml +++ b/pack.yaml @@ -7,7 +7,7 @@ keywords: - load balancer - ADC - network -version: 1.10.0 +version: 1.11.0 author: Hiroyasu OHYAMA email: user.localhost2000@gmail.com python_versions: diff --git a/requirements.txt b/requirements.txt index 75a4b9a..80c726b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -acos-client>=2.6.0,<3.0.0 +acos-client>=3.0.0 From 94560f73428eb947e41830db2ac3a54cb3933810 Mon Sep 17 00:00:00 2001 From: hinashi Date: Mon, 20 Apr 2026 10:03:15 +0900 Subject: [PATCH 2/2] Fix failed ci --- .github/workflows/build_and_test.yaml | 2 +- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_and_test.yaml b/.github/workflows/build_and_test.yaml index 75693a0..500121e 100644 --- a/.github/workflows/build_and_test.yaml +++ b/.github/workflows/build_and_test.yaml @@ -14,4 +14,4 @@ jobs: with: enable-common-libs: true #apt-cache-version: v0 - #py-cache-version: v0 + py-cache-version: v1 diff --git a/requirements.txt b/requirements.txt index 80c726b..a104bd9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -acos-client>=3.0.0 +acos-client>=2.10.0,<3.0.0