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

add hypervisor server: ilo networking #74

Closed
wants to merge 1 commit into from

Conversation

stuart-mclaren-hpe
Copy link
Contributor

Add ilo networking stanza to server resource:

          ilo_network_info = {
                  ilo_ip = "16.182.105.216"
                  gateway = "16.182.104.1"
                  subnet_mask = "255.255.248.0"
          }

Note that naming is inconsistent, so we need to map between a list of this format in the POST /add-hypervisor-server http body:

        "iloMgmtIpInfo": {
          "ipAddress": "1.2.3.4",
          "subnetMask": "255.255.255.0",
          "gateway": "1.2.3.1"
        }

and this (non-list) format in the GET /server http response body:

  "iloNetworkInfo": {
    "iloIp": "1.2.3.4",
    "subnetMask": "255.255.255.0",
    "gateway": "1.2.3.1"
  },

Add ilo networking stanza to server resource:

```
          ilo_network_info = {
                  ilo_ip = "16.182.105.216"
                  gateway = "16.182.104.1"
                  subnet_mask = "255.255.248.0"
          }
```

Note that naming is inconsistent, so we need to map between a list
of this format in the POST /add-hypervisor-server http body:

```
        "iloMgmtIpInfo": {
          "ipAddress": "1.2.3.4",
          "subnetMask": "255.255.255.0",
          "gateway": "1.2.3.1"
        }
```

and this (non-list) format in the GET /server http response body:

```
  "iloNetworkInfo": {
    "iloIp": "1.2.3.4",
    "subnetMask": "255.255.255.0",
    "gateway": "1.2.3.1"
  },
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant