-
Notifications
You must be signed in to change notification settings - Fork 77
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
On network tasks #542
On network tasks #542
Conversation
…objects. Signed-off-by: Bala Balakumaran <bala.balakumaran@dell.com>
Signed-off-by: Massarrah Tannous <massarrah.tannous@emc.com>
Signed-off-by: Bala Balakumaran <bala.balakumaran@dell.com>
…nto renderingFix Signed-off-by: Massarrah Tannous <massarrah.tannous@emc.com>
get switch config get switch version update switch firmware on-network login Signed-off-by: Bala Balakumaran <bala.balakumaran@dell.com>
Signed-off-by: Massarrah Tannous <massarrah.tannous@emc.com>
lib/jobs/rest-job.js
Outdated
self.context.outputs ={}; | ||
} | ||
|
||
self.context.outputs[self.taskName] = {"restData":""} |
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.
Missing semicolon.
Signed-off-by: Bala Balakumaran <bala.balakumaran@dell.com>
… into on-network-tasks
Discovery issue with pollers Signed-off-by: Bala Balakumaran <bala.balakumaran@dell.com>
@@ -0,0 +1,26 @@ | |||
// Copyright 2016, EMC, Inc. |
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.
keep consistent with other files, 'EMC' -> 'Dell EMC', and 2017
@@ -0,0 +1,26 @@ | |||
// Copyright 2017, EMC, Inc. |
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.
keep consistent with other files, 'EMC' -> 'Dell EMC'
@@ -0,0 +1,20 @@ | |||
// Copyright 2016, EMC, Inc. |
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.
keep consistent with other files, 'EMC' -> 'Dell EMC' and 2017
options: { | ||
endpoint: '{{options.endpoint}}', | ||
loginToken: '{{options.loginToken}}', | ||
url: 'http://{{ server.onNetwork.url }}/switchConfig', |
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.
it's better that server.onNetwork.url include http://, http or https is also part of URL definition, and it's also good for extension
options: { | ||
endpoint: '{{options.endpoint}}', | ||
loginToken: '{{options.loginToken}}', | ||
url: 'http://{{ server.onNetwork.url }}/switchVersion', |
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.
the same with above about url
injectableName: 'Task.Post.Login.On-network', | ||
implementsTask: 'Task.Base.Rest', | ||
options: { | ||
url: 'http://{{ server.onNetwork.url }}/login', |
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.
the same with above about url
@@ -0,0 +1,28 @@ | |||
// Copyright 2016, EMC, Inc. |
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.
2017, Dell EMC
switchModel: '{{options.switchModel}}', | ||
firmwareImages:'{{options.firmwareImages}}', | ||
loginToken: '{{options.loginToken}}', | ||
url: 'http://{{ server.onNetwork.url }}/updateSwitch', |
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.
url
Signed-off-by: Bala Balakumaran <bala.balakumaran@dell.com>
No description provided.