-
Notifications
You must be signed in to change notification settings - Fork 84
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
Implement ODS runbook invocation resource #1020
base: master
Are you sure you want to change the base?
Conversation
6210c98
to
fab5059
Compare
/test-all |
fab5059
to
38a032c
Compare
/test-all |
1 similar comment
/test-all |
4c403fb
to
c471bc0
Compare
dc73bfb
to
a73f745
Compare
Schema: map[string]*schema.Schema{ | ||
"nsx_id": getNsxIDSchema(), | ||
"path": getPathSchema(), | ||
// Due to a bug, invocations with a display_name specification fail, and when there's none set, NSX assigns |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So the user can't specify display_name?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For now, he can't. The runbook won't execute, it's a bug which they intend to fix obviously.
}, | ||
}, | ||
}, | ||
"runbook_path": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
getPolicyPathSchema
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this and below be defined as ForceNew
?
return nil | ||
} | ||
|
||
func resourceNsxtPolicyODSRunbookInvocationUpdate(d *schema.ResourceData, m interface{}) error { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the user changes description, this will result in constant non-empty diff. Do tags/description have any value for this resource, perhaps we can remove them?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense, if anyone ever needs them we can reevaluate how to handle these.
a73f745
to
31e0a22
Compare
/test-all |
31e0a22
to
9714003
Compare
1f7f731
to
f79fcee
Compare
/test-all |
3c78198
to
2e834f5
Compare
2e834f5
to
abb69c0
Compare
/test-all |
1 similar comment
/test-all |
abb69c0
to
24c6551
Compare
24c6551
to
d11f365
Compare
/test-all |
d11f365
to
5ccfd16
Compare
5ccfd16
to
2efb4ac
Compare
/test-all |
2efb4ac
to
2546fb7
Compare
Implement nsxt_policy_ods_pre_defined_runbook for ODS runbook framework. Signed-off-by: Kobi Samoray <[email protected]>
Signed-off-by: Kobi Samoray <[email protected]>
2546fb7
to
af8205f
Compare
No description provided.