-
Notifications
You must be signed in to change notification settings - Fork 85
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
Expose extended attribute in realization info data source #1089
Conversation
Should we be able to retrieve multiple attributes for the same resource? |
If we choose to expose extended attributes for all objects, I would suggest to return the whole set as a Map type, so that the user would be able to use it as follows: |
Yes, using a map could be a better option. But there might be multiple entities for a specific Our current logic is: if |
2ad949d
to
0a5dac5
Compare
Because in API, those IP addresses are not exposed in tier1, only in realization info. But we could call realization info API behind the scenes for tier1 data source, which may also require a polling mechanism to wait for that logical router port to be in the REALIZED state. Glad to hear your ideas thx. |
Or require the user to add a dependency between the T1 data source and the realization resource if the IPs are needed - we can document this if we don't trust the user's intuition 😁 Either way these are just proposals - I'm good with any solution. |
0d028ac
to
b97fa11
Compare
LGTM, but lets add a test for this data source? We could piggyback on existing test for gateway interface resource and add this data source. |
@GraysonWu, you must sign every commit in this pull request acknowledging our Developer Certificate of Origin before your changes are merged. This can be done by adding
|
/test-all |
77a339d
to
a5157da
Compare
/test-all |
Signed-off-by: graysonwu <[email protected]>
Signed-off-by: graysonwu <[email protected]>
a5157da
to
aa34f79
Compare
/test-all |
Fixes #793