Closed darkounet closed 1 year ago
if we can't have the UUID we can't update an existing Alias
with message :
Error: {'result': 'failed'}
Base: 100.00% // Head: 100.00% // No change to project coverage :thumbsup:
Coverage data is based on head (
938c991
) compared to base (f00172c
). Patch coverage: 100.00% of modified lines in pull request are covered.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Thank you for fixing that bug 👍
If Alias name is uppercase, method getAliasUUID isn't working.
Example with Alias GLOBAL_BL_API
the endpoint_params in lowercase : KO - firewall/alias/getaliasuuid/global_bl_api
opn-cli firewall alias show GLOBAL_BL_API
the same with the real Alias name : OK - firewall/alias/getaliasuuid/GLOBAL_BL_API
opn-cli firewall alias show GLOBAL_BL_API
+--------------------------------------+---------------+------+-------+----------+------------------------+------------+-------------------------------------------------------------------+---------+ | uuid | name | type | proto | counters | description | updatefreq | content | enabled | +--------------------------------------+---------------+------+-------+----------+------------------------+------------+-------------------------------------------------------------------+---------+ | a6987428-1142-493d-9b15-80detgrt0f8433 | GLOBAL_BL_API | host | | | Blacklist | | BL_1,BL_2 | 1 | +--------------------------------------+---------------+------+-------+----------+------------------------+------------+-------------------------------------------------------------------+---------+