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

On network tasks #542

Merged
merged 14 commits into from
Nov 15, 2017
Merged

On network tasks #542

merged 14 commits into from
Nov 15, 2017

Conversation

mtannous
Copy link
Contributor

@mtannous mtannous commented Nov 2, 2017

No description provided.

mtannous and others added 8 commits November 2, 2017 13:57
…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>
self.context.outputs ={};
}

self.context.outputs[self.taskName] = {"restData":""}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing semicolon.

@keedya keedya added the run-test label Nov 3, 2017
@keedya keedya closed this Nov 3, 2017
@keedya keedya reopened this Nov 3, 2017
@keedya keedya added run-test and removed run-test labels Nov 3, 2017
Signed-off-by: Bala Balakumaran <bala.balakumaran@dell.com>
Discovery issue with pollers

Signed-off-by: Bala Balakumaran <bala.balakumaran@dell.com>
@@ -0,0 +1,26 @@
// Copyright 2016, EMC, Inc.
Copy link
Member

@anhou anhou Nov 14, 2017

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.
Copy link
Member

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.
Copy link
Member

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',
Copy link
Member

@anhou anhou Nov 14, 2017

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',
Copy link
Member

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',
Copy link
Member

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.
Copy link
Member

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',
Copy link
Member

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>
@anhou anhou merged commit 7dbe26a into RackHD:master Nov 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants