Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Commit

Permalink
add support for tenant level API calls for mtt aaa
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilkp93 committed Oct 31, 2024
1 parent 2aef5d9 commit 9dfe58d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions catalystwan/api/mtt_aaa_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ def get_radius(self) -> TenantRadiusServer:
data = self.session.get_data(self.url_path)
return create_dataclass(TenantRadiusServer, data)


class TenantLevelRadiusAPI:
"""
Class to configure tenant remote AAA RADIUS servers as tenant level users.
Expand Down Expand Up @@ -216,7 +217,7 @@ def get_radius(self) -> TenantRadiusServer:
logger.debug("Retrieving RADIUS server configuration.")
data = self.session.get_data(self.url_path)
return create_dataclass(TenantRadiusServer, data)


class TenantTacacsAPI:
"""
Expand Down Expand Up @@ -341,4 +342,4 @@ def get_tacacs(self) -> TenantTacacsServer:
"""
logger.debug("Retrieving TACACS server configuration.")
data = self.session.get_data(self.url_path)
return create_dataclass(TenantTacacsServer, data)
return create_dataclass(TenantTacacsServer, data)

0 comments on commit 9dfe58d

Please sign in to comment.