Forum Discussion

swabbies_112156's avatar
swabbies_112156
Icon for Nimbostratus rankNimbostratus
Jan 23, 2012

Time-based class

Hello.

 

 

Does anyone know of a way to implement time-based members of a class?

 

 

We are looking to implement an Irule that uses class entries that will expire after a defined time-period.

 

 

We are trying to update a class with entries that will only exist for 15 minutes and then be automatically removed from the class.

 

 

example: user-id testuser1 is abusing our system. So we want to drop his requests with an irule for 15 minutes.

 

we would then send an api command to update the class to :

 

class penatly_box {

 

"testuser1"

 

}

 

 

and then somehow after 15 minutes the entry would be deleted from the class.

 

 

Any information would be appreciated.

 

 

 

 

7 Replies