Skip to content

Commit

Permalink
Change to optional for network-data bond_link field
Browse files Browse the repository at this point in the history
The bond_link field is required, but allows it to be optionally available for sequential bond interface use.
https://github.com/canonical/cloud-init/blob/main/cloudinit/sources/helpers/openstack.py#L655-L683
  • Loading branch information
shibaPuppy committed Sep 19, 2022
1 parent b656f5c commit b2e2511
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions api/v1beta1/metal3datatemplate_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ type NetworkDataLinkBond struct {
MACAddress *NetworkLinkEthernetMac `json:"macAddress"`

// BondLinks is the list of links that are part of the bond.
// +optional
BondLinks []string `json:"bondLinks"`
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1189,7 +1189,6 @@ spec:
maximum: 9000
type: integer
required:
- bondLinks
- bondMode
- id
- macAddress
Expand Down

0 comments on commit b2e2511

Please sign in to comment.