Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not an issue, just added DataGroup #118

Open
OLaudren opened this issue Apr 27, 2017 · 14 comments
Open

Not an issue, just added DataGroup #118

OLaudren opened this issue Apr 27, 2017 · 14 comments

Comments

@OLaudren
Copy link

Hello,
Here attached a few files I wrote to enable the DataGroup management.
Do you think you could integrate them soon?

Thank you,
DataGroup.zip

@joel74
Copy link
Owner

joel74 commented Apr 27, 2017

Hi, OLaudren,

Thanks for creating these. I'll check them out shortly. Just fyi, the normal procedure would be to have your own fork of the project, add your changes to the fork and then make a pull request. Then we all could review the changes and merge them into the main branch. For next time. :)

Cheers,
Joel

@OLaudren
Copy link
Author

OLaudren commented Apr 27, 2017 via email

@joel74
Copy link
Owner

joel74 commented Apr 27, 2017

Hi, OLaudren,

In testing, I found that the example given for New-DataGroup didn't work. It's passing in http as the type, but the only accepted values for type are ip and string. Let's follow the UI conventions and accept 'Address' (instead of IP), 'Integer', 'String' and 'ExternalFile' as valid types. Sound good?

Thanks
Joel

@OLaudren
Copy link
Author

OLaudren commented Apr 27, 2017 via email

@joel74
Copy link
Owner

joel74 commented Apr 27, 2017

From the looks of it, accepting an external file for a data group might not be an easy addition. My recommendation would be to fork the project, make your changes so that New-DataGroup accepts 'Address','String', and 'Integer', put in a note that 'ExternalFile' will be supported in the future, update the example and create a pull request for that.

@OLaudren
Copy link
Author

OLaudren commented Apr 27, 2017 via email

@joel74
Copy link
Owner

joel74 commented May 9, 2017

Hi, Olivier,
I'm just checking in to see how this is going.
Cheers,
Joel

@mtengmo
Copy link

mtengmo commented Oct 3, 2017

It would be great if you could add support for datagroups.

@joel74
Copy link
Owner

joel74 commented Oct 6, 2017

Ok. I'll take a look again at what Olivier submitted, and tweak it a bit. I don't think I'll be adding the External File support at this time, though.

@mtengmo
Copy link

mtengmo commented Oct 6, 2017

Thanks, I looked on the code, and it looks like it only exists three functions; Get-Datagroup, New-Datagroup, and Test-Datagroup.
I was more interested in adding/modify/delete data to/from datagroups. Both String and Address types.

@joel74
Copy link
Owner

joel74 commented Oct 13, 2017

@mtengmo , I haven't really used datagroups myself. So what you're interested in is different, I take it, from a Set-DataGroup function, because you're more interested in modifying the actual data, not the properties of the datagroup, is that accurate?

@mtengmo
Copy link

mtengmo commented Oct 18, 2017

Datagroup is similar to a table in sql. You can have three datatypes, (integer, ip or string). IP is just a single column with IPs. String is two columns (string, value). Really powerful to use in irule´s.
I´m interested to add/modify/delete data from already created datagroups.

@colombeen
Copy link

Will DataGroup support be added anytime soon? Without it we can't use this module in our environment.

@joel74
Copy link
Owner

joel74 commented Oct 17, 2020

I will try to find some time to look at this soon so maybe in the next few weeks it will be added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants