Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
52f71f54
Unverified
Commit
52f71f54
authored
Jun 12, 2020
by
liuzhe-lz
Committed by
GitHub
Jun 12, 2020
Browse files
allow host name as remote ip (#2550)
Co-authored-by:
liuzhe
<
zhe.liu@microsoft.com
>
parent
54496c29
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
docs/en_US/Tutorial/ExperimentConfig.md
docs/en_US/Tutorial/ExperimentConfig.md
+2
-2
src/nni_manager/rest_server/restValidationSchemas.ts
src/nni_manager/rest_server/restValidationSchemas.ts
+1
-1
No files found.
docs/en_US/Tutorial/ExperimentConfig.md
View file @
52f71f54
...
@@ -528,9 +528,9 @@ Required in remote mode. A list of key-value pairs with the following keys.
...
@@ -528,9 +528,9 @@ Required in remote mode. A list of key-value pairs with the following keys.
#### ip
#### ip
Required. IP address that is accessible from the current machine.
Required. IP address
or host name
that is accessible from the current machine.
The IP address of remote machine.
The IP address
or host name
of remote machine.
#### port
#### port
...
...
src/nni_manager/rest_server/restValidationSchemas.ts
View file @
52f71f54
...
@@ -10,7 +10,7 @@ export namespace ValidationSchemas {
...
@@ -10,7 +10,7 @@ export namespace ValidationSchemas {
body
:
{
body
:
{
machine_list
:
joi
.
array
().
items
(
joi
.
object
({
// eslint-disable-line @typescript-eslint/camelcase
machine_list
:
joi
.
array
().
items
(
joi
.
object
({
// eslint-disable-line @typescript-eslint/camelcase
username
:
joi
.
string
().
required
(),
username
:
joi
.
string
().
required
(),
ip
:
joi
.
string
().
ip
().
required
(),
ip
:
joi
.
string
().
hostname
().
required
(),
port
:
joi
.
number
().
min
(
1
).
max
(
65535
).
required
(),
port
:
joi
.
number
().
min
(
1
).
max
(
65535
).
required
(),
passwd
:
joi
.
string
(),
passwd
:
joi
.
string
(),
sshKeyPath
:
joi
.
string
(),
sshKeyPath
:
joi
.
string
(),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment