Create a Namespaced Node Network

  1. POST /apis/network.harvesterhci.io/v1beta1/nodenetworks

Create a NodeNetwork object.

Request

Path Parameters

namespace stringrequired

Possible values: Value must match regular expression [a-z0-9][a-z0-9\-]*

Object name and auth scope, such as for teams and projects

  • application/json
  • application/yaml

Body

required

apiVersion stringrequired

kind stringrequired

metadata object

name stringrequired

namespace string

spec object

description string

nic string

nodeName stringrequired

type string

status object

conditions object[]

  • Array [

lastTransitionTime string

lastUpdateTime string

message string

reason string

status stringrequired

type stringrequired

  • ]

networkIDs int32[]

networkLinkStatus object

property name* network.harvesterhci.io.v1beta1.LinkStatus

index int32

mac string

masterIndex int32

name stringrequired

promiscuous boolean

state string

type string

nics object[]

  • Array [

index int32required

Default value: 0

masterIndex int32

name stringrequired

state stringrequired

type stringrequired

usedByManagementNetwork boolean

usedByVlanNetwork boolean

  • ]

Body

required

apiVersion stringrequired

kind stringrequired

metadata object

name stringrequired

namespace string

spec object

description string

nic string

nodeName stringrequired

type string

status object

conditions object[]

  • Array [

lastTransitionTime string

lastUpdateTime string

message string

reason string

status stringrequired

type stringrequired

  • ]

networkIDs int32[]

networkLinkStatus object

property name* network.harvesterhci.io.v1beta1.LinkStatus

index int32

mac string

masterIndex int32

name stringrequired

promiscuous boolean

state string

type string

nics object[]

  • Array [

index int32required

Default value: 0

masterIndex int32

name stringrequired

state stringrequired

type stringrequired

usedByManagementNetwork boolean

usedByVlanNetwork boolean

  • ]

Responses

  • 200
  • 201
  • 202
  • 401

OK

  • application/json
  • application/yaml

  • Schema

  • Example (from schema)

Schema

apiVersion stringrequired

kind stringrequired

metadata object

name stringrequired

namespace string

spec object

description string

nic string

nodeName stringrequired

type string

status object

conditions object[]

  • Array [

lastTransitionTime string

lastUpdateTime string

message string

reason string

status stringrequired

type stringrequired

  • ]

networkIDs int32[]

networkLinkStatus object

property name* network.harvesterhci.io.v1beta1.LinkStatus

index int32

mac string

masterIndex int32

name stringrequired

promiscuous boolean

state string

type string

nics object[]

  • Array [

index int32required

Default value: 0

masterIndex int32

name stringrequired

state stringrequired

type stringrequired

usedByManagementNetwork boolean

usedByVlanNetwork boolean

  • ]
  1. {
  2. "apiVersion": "string",
  3. "kind": "string",
  4. "metadata": {
  5. "name": "string",
  6. "namespace": "string"
  7. },
  8. "spec": {
  9. "description": "string",
  10. "nic": "string",
  11. "nodeName": "string",
  12. "type": "string"
  13. },
  14. "status": {
  15. "conditions": [
  16. {
  17. "lastTransitionTime": "string",
  18. "lastUpdateTime": "string",
  19. "message": "string",
  20. "reason": "string",
  21. "status": "string",
  22. "type": "string"
  23. }
  24. ],
  25. "networkIDs": [
  26. 0
  27. ],
  28. "networkLinkStatus": {},
  29. "nics": [
  30. {
  31. "index": 0,
  32. "masterIndex": 0,
  33. "name": "string",
  34. "state": "string",
  35. "type": "string",
  36. "usedByManagementNetwork": true,
  37. "usedByVlanNetwork": true
  38. }
  39. ]
  40. }
  41. }
  • Schema
  • Example (from schema)

Schema

apiVersion stringrequired

kind stringrequired

metadata object

name stringrequired

namespace string

spec object

description string

nic string

nodeName stringrequired

type string

status object

conditions object[]

  • Array [

lastTransitionTime string

lastUpdateTime string

message string

reason string

status stringrequired

type stringrequired

  • ]

networkIDs int32[]

networkLinkStatus object

property name* network.harvesterhci.io.v1beta1.LinkStatus

index int32

mac string

masterIndex int32

name stringrequired

promiscuous boolean

state string

type string

nics object[]

  • Array [

index int32required

Default value: 0

masterIndex int32

name stringrequired

state stringrequired

type stringrequired

usedByManagementNetwork boolean

usedByVlanNetwork boolean

  • ]
  1. {
  2. "apiVersion": "string",
  3. "kind": "string",
  4. "metadata": {
  5. "name": "string",
  6. "namespace": "string"
  7. },
  8. "spec": {
  9. "description": "string",
  10. "nic": "string",
  11. "nodeName": "string",
  12. "type": "string"
  13. },
  14. "status": {
  15. "conditions": [
  16. {
  17. "lastTransitionTime": "string",
  18. "lastUpdateTime": "string",
  19. "message": "string",
  20. "reason": "string",
  21. "status": "string",
  22. "type": "string"
  23. }
  24. ],
  25. "networkIDs": [
  26. 0
  27. ],
  28. "networkLinkStatus": {},
  29. "nics": [
  30. {
  31. "index": 0,
  32. "masterIndex": 0,
  33. "name": "string",
  34. "state": "string",
  35. "type": "string",
  36. "usedByManagementNetwork": true,
  37. "usedByVlanNetwork": true
  38. }
  39. ]
  40. }
  41. }

Created

  • application/json
  • application/yaml

  • Schema

  • Example (from schema)

Schema

apiVersion stringrequired

kind stringrequired

metadata object

name stringrequired

namespace string

spec object

description string

nic string

nodeName stringrequired

type string

status object

conditions object[]

  • Array [

lastTransitionTime string

lastUpdateTime string

message string

reason string

status stringrequired

type stringrequired

  • ]

networkIDs int32[]

networkLinkStatus object

property name* network.harvesterhci.io.v1beta1.LinkStatus

index int32

mac string

masterIndex int32

name stringrequired

promiscuous boolean

state string

type string

nics object[]

  • Array [

index int32required

Default value: 0

masterIndex int32

name stringrequired

state stringrequired

type stringrequired

usedByManagementNetwork boolean

usedByVlanNetwork boolean

  • ]
  1. {
  2. "apiVersion": "string",
  3. "kind": "string",
  4. "metadata": {
  5. "name": "string",
  6. "namespace": "string"
  7. },
  8. "spec": {
  9. "description": "string",
  10. "nic": "string",
  11. "nodeName": "string",
  12. "type": "string"
  13. },
  14. "status": {
  15. "conditions": [
  16. {
  17. "lastTransitionTime": "string",
  18. "lastUpdateTime": "string",
  19. "message": "string",
  20. "reason": "string",
  21. "status": "string",
  22. "type": "string"
  23. }
  24. ],
  25. "networkIDs": [
  26. 0
  27. ],
  28. "networkLinkStatus": {},
  29. "nics": [
  30. {
  31. "index": 0,
  32. "masterIndex": 0,
  33. "name": "string",
  34. "state": "string",
  35. "type": "string",
  36. "usedByManagementNetwork": true,
  37. "usedByVlanNetwork": true
  38. }
  39. ]
  40. }
  41. }
  • Schema
  • Example (from schema)

Schema

apiVersion stringrequired

kind stringrequired

metadata object

name stringrequired

namespace string

spec object

description string

nic string

nodeName stringrequired

type string

status object

conditions object[]

  • Array [

lastTransitionTime string

lastUpdateTime string

message string

reason string

status stringrequired

type stringrequired

  • ]

networkIDs int32[]

networkLinkStatus object

property name* network.harvesterhci.io.v1beta1.LinkStatus

index int32

mac string

masterIndex int32

name stringrequired

promiscuous boolean

state string

type string

nics object[]

  • Array [

index int32required

Default value: 0

masterIndex int32

name stringrequired

state stringrequired

type stringrequired

usedByManagementNetwork boolean

usedByVlanNetwork boolean

  • ]
  1. {
  2. "apiVersion": "string",
  3. "kind": "string",
  4. "metadata": {
  5. "name": "string",
  6. "namespace": "string"
  7. },
  8. "spec": {
  9. "description": "string",
  10. "nic": "string",
  11. "nodeName": "string",
  12. "type": "string"
  13. },
  14. "status": {
  15. "conditions": [
  16. {
  17. "lastTransitionTime": "string",
  18. "lastUpdateTime": "string",
  19. "message": "string",
  20. "reason": "string",
  21. "status": "string",
  22. "type": "string"
  23. }
  24. ],
  25. "networkIDs": [
  26. 0
  27. ],
  28. "networkLinkStatus": {},
  29. "nics": [
  30. {
  31. "index": 0,
  32. "masterIndex": 0,
  33. "name": "string",
  34. "state": "string",
  35. "type": "string",
  36. "usedByManagementNetwork": true,
  37. "usedByVlanNetwork": true
  38. }
  39. ]
  40. }
  41. }

Accepted

  • application/json
  • application/yaml

  • Schema

  • Example (from schema)

Schema

apiVersion stringrequired

kind stringrequired

metadata object

name stringrequired

namespace string

spec object

description string

nic string

nodeName stringrequired

type string

status object

conditions object[]

  • Array [

lastTransitionTime string

lastUpdateTime string

message string

reason string

status stringrequired

type stringrequired

  • ]

networkIDs int32[]

networkLinkStatus object

property name* network.harvesterhci.io.v1beta1.LinkStatus

index int32

mac string

masterIndex int32

name stringrequired

promiscuous boolean

state string

type string

nics object[]

  • Array [

index int32required

Default value: 0

masterIndex int32

name stringrequired

state stringrequired

type stringrequired

usedByManagementNetwork boolean

usedByVlanNetwork boolean

  • ]
  1. {
  2. "apiVersion": "string",
  3. "kind": "string",
  4. "metadata": {
  5. "name": "string",
  6. "namespace": "string"
  7. },
  8. "spec": {
  9. "description": "string",
  10. "nic": "string",
  11. "nodeName": "string",
  12. "type": "string"
  13. },
  14. "status": {
  15. "conditions": [
  16. {
  17. "lastTransitionTime": "string",
  18. "lastUpdateTime": "string",
  19. "message": "string",
  20. "reason": "string",
  21. "status": "string",
  22. "type": "string"
  23. }
  24. ],
  25. "networkIDs": [
  26. 0
  27. ],
  28. "networkLinkStatus": {},
  29. "nics": [
  30. {
  31. "index": 0,
  32. "masterIndex": 0,
  33. "name": "string",
  34. "state": "string",
  35. "type": "string",
  36. "usedByManagementNetwork": true,
  37. "usedByVlanNetwork": true
  38. }
  39. ]
  40. }
  41. }
  • Schema
  • Example (from schema)

Schema

apiVersion stringrequired

kind stringrequired

metadata object

name stringrequired

namespace string

spec object

description string

nic string

nodeName stringrequired

type string

status object

conditions object[]

  • Array [

lastTransitionTime string

lastUpdateTime string

message string

reason string

status stringrequired

type stringrequired

  • ]

networkIDs int32[]

networkLinkStatus object

property name* network.harvesterhci.io.v1beta1.LinkStatus

index int32

mac string

masterIndex int32

name stringrequired

promiscuous boolean

state string

type string

nics object[]

  • Array [

index int32required

Default value: 0

masterIndex int32

name stringrequired

state stringrequired

type stringrequired

usedByManagementNetwork boolean

usedByVlanNetwork boolean

  • ]
  1. {
  2. "apiVersion": "string",
  3. "kind": "string",
  4. "metadata": {
  5. "name": "string",
  6. "namespace": "string"
  7. },
  8. "spec": {
  9. "description": "string",
  10. "nic": "string",
  11. "nodeName": "string",
  12. "type": "string"
  13. },
  14. "status": {
  15. "conditions": [
  16. {
  17. "lastTransitionTime": "string",
  18. "lastUpdateTime": "string",
  19. "message": "string",
  20. "reason": "string",
  21. "status": "string",
  22. "type": "string"
  23. }
  24. ],
  25. "networkIDs": [
  26. 0
  27. ],
  28. "networkLinkStatus": {},
  29. "nics": [
  30. {
  31. "index": 0,
  32. "masterIndex": 0,
  33. "name": "string",
  34. "state": "string",
  35. "type": "string",
  36. "usedByManagementNetwork": true,
  37. "usedByVlanNetwork": true
  38. }
  39. ]
  40. }
  41. }

Unauthorized

  • application/json
  • application/yaml

  • Schema

Schema

string

  • Schema

Schema

string

Loading…