-
Notifications
You must be signed in to change notification settings - Fork 17
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
Usage of aii-core dhcp and aii-dhcp #166
Comments
I think we have integrated the DHCP bits into AII and pushed that upstream, but the old stand-alone script was left in place to help the transition. That was a long time ago, and I don't know if others switched to the AII module or not. |
@gombasg I digged a bit into it, and in the aii-shellfe script I see it is possible to use the AII module as pluging when /system/aii/discovery/.. is used ( aii/aii-core/src/main/perl/aii-shellfe Line 772 in 0a44ed8
This is also mentioned in the oldest issue #1 . (Don't know if this is still valid, but it seems so) So we should move in that direction imho.. Now I looked through the quattor repos to find the schema that declares the /system/aii/discovery path, but I don't seem to find it.. Can you point me to where to find this? If I understand correctly, you are succesfully using the module plugin? In that case I suggest we deprecate /system/aii/dhcp in favor of /system/aii/discovery/dhcp ? |
afaik, this is the situation:
proposal: get rid of unused plugin/hook under aii-dhcp |
Discussed at March 2017 workshop, agreed to remove the script and review the differences between the module and plugin. |
We appear to be using the plugin at RAL and MS definitely are (they contributed it). |
Hi,
when trying to solve #150 , I stumbled over something looking strange: I found the logic to configure dhcp in two different places:
https://github.com/quattor/aii/blob/master/aii-dhcp/src/main/perl/dhcp.pm
https://github.com/quattor/aii/blob/master/aii-core/src/main/perl/aii-dhcp
At first sight, they seem to have the same functionality, functions and identical implementations. Only the way of calling these differs: aii-dhcp in aii-core is to be called as command line script, where the aii-dhcp module has the known Configure/Unconfigure subs.
I see in aii-shellfe the aii-dhcp of aii-core is used by calling the program with CAF. I don't find the other aii-dhcp module used somewhere.
My questions:
The text was updated successfully, but these errors were encountered: