Giter Site home page Giter Site logo

poweraruba / powerarubacp Goto Github PK

View Code? Open in Web Editor NEW
16.0 16.0 7.0 850 KB

PowerShell module to manage Aruba ClearPass (CPPM)

License: Apache License 2.0

PowerShell 100.00%
api-rest aruba aruba-clearpass clearpass clearpass-api cmdlets cppm hpe networking powershell powershell-module

powerarubacp's People

Contributors

alagoutte avatar cedricmoreau avatar staley1975 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

powerarubacp's Issues

-limit Parameter required on Invoke-ArubaCPRestMethod

I have many more than 25 NAD objects in my CPPM NAD list and by default Invoke-ArubaCPRestMethod only pulls the first 25 objects which means that the NetworkDevices functions cannot find any objects by name that are not within the first 25 that an 'Invoke-ArubaCPRestMethod' -uri "api/network-device" -method 'GET' command would list...

So, we need to find a way to pass the appropriate 'limit' and 'filter' options into Invoke-ArubaCPRestMethod and amend Get-ArubaCPNetworkDevice accordingly.

As an example, I have the same number of network objects in FRPAR and UKLON (3 each). The FRPAR objects are in the first 25, the UKLON devices are not and as a result I get the following results when trying to search for them:

PS C:\> Get-ArubaCPNetworkDevice -Name FRPAR
id             : 3006
name           : EU-FRPAR-VC1
description    : Aruba Virtual Controller - Paris
ip_address     : 192.168.32.100
radius_secret  :
tacacs_secret  :
vendor_name    : Aruba
coa_capable    : True
coa_port       : 3799
radsec_enabled : False
snmp_read      : @{snmp_version=V2C; community_string=; force_read=False; read_arp_info=True}
snmp_write     : @{snmp_version=V2C; community_string=}
attributes     :
_links         : @{self=}

id             : 3019
name           : FRPAR-Switches
description    : FRPAR-Switches
ip_address     : 192.168.32.1/29
radius_secret  :
tacacs_secret  :
vendor_name    : Aruba
coa_capable    : True
coa_port       : 3799
radsec_enabled : False
snmp_read      : @{snmp_version=V2C; community_string=; force_read=True; read_arp_info=True; zone_name=default}
attributes     :
_links         : @{self=}

id             : 3026
name           : FRPAR-Core
description    : FRPAR-Switches
ip_address     : 192.168.216.254
radius_secret  :
tacacs_secret  :
vendor_name    : Aruba
coa_capable    : True
coa_port       : 3799
radsec_enabled : False
snmp_read      : @{snmp_version=V2C; community_string=; force_read=True; read_arp_info=True; zone_name=default}
attributes     :
_links         : @{self=}

PS C:\> Get-ArubaCPNetworkDevice -Name UKLON
PS C:\>

Add Patch method to invoke function

Can you add the Patch option in your validate set of the invoke function ? I need it to create a function that permit to update guest account info

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.