omadawn / njord

Java iRule Editor
2 stars 1 forks source link

Figure out if the BIGP Licence has expired #66

Open omadawn opened 12 years ago

omadawn commented 12 years ago

This might be considered an enhancement but I think it should be in 0.8.

When a bigip is unlicenced getting the list of iRules returns only the sys supplied iRules.

So what I should do is convert the list of iRules from an array to a list. Then as I go through the list I can pull each sys rule out of it. Then if my list length = zero I can do a quick call to check the licence status and if it's unlicenced throw an error into the notices box instead of trying to build the list. If it's really empty build an empty list and put something like "No editable iRules found"

Actually starting with that will be good.

Checking LTM for expiration would be a good place to start. https://devcentral.f5.com/wiki/iControl.Management__LicenseAdministration__get_module_expiry.ashx

General licence stuff https://devcentral.f5.com/wiki/iControl.Management__LicenseAdministration.ashx

omadawn commented 12 years ago

Added functionality to say that we haven't found any editiable iRules on the BIGIP. That should cause the user to log into the bigip to confirm.

Changing this to milestone 1.0 since I have enough to fix.