Skip to content

Commit

Permalink
Remove Multus version of NetworkStatus
Browse files Browse the repository at this point in the history
NetworkStatus was moved to network-attachment-definition-client in previous
merges and the Multus version of the structure was left behind, and not
being used,

Signed-off-by: Billy McFall <22157057+Billy99@users.noreply.github.com>
  • Loading branch information
Billy99 committed Nov 17, 2020
1 parent 68bbc6c commit c86a4fc
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions types/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ type NetConf struct {
// RawDelegates is private to the NetConf class; use Delegates instead
RawDelegates []map[string]interface{} `json:"delegates"`
Delegates []*DelegateNetConf `json:"-"`
NetStatus []*NetworkStatus `json:"-"`
Kubeconfig string `json:"kubeconfig"`
ClusterNetwork string `json:"clusterNetwork"`
DefaultNetworks []string `json:"defaultNetworks"`
Expand Down Expand Up @@ -83,16 +82,6 @@ type BandwidthEntry struct {
EgressBurst int `json:"egressBurst"`
}

// NetworkStatus is for network status annotation for pod
type NetworkStatus struct {
Name string `json:"name"`
Interface string `json:"interface,omitempty"`
IPs []string `json:"ips,omitempty"`
Mac string `json:"mac,omitempty"`
DNS types.DNS `json:"dns,omitempty"`
Gateway []net.IP `json:"default-route,omitempty"`
}

// DelegateNetConf for net-attach-def for pod
type DelegateNetConf struct {
Conf types.NetConf
Expand Down

0 comments on commit c86a4fc

Please sign in to comment.