Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
firecracker: Network API update
Browse files Browse the repository at this point in the history
The Network API no longer supports the state field. Using the
state field causes the API call to fail.

Note: The firecracker binary needs to be updated to match the API
as the older versions will expect the state field.

Fixes: #1078

Signed-off-by: Manohar Castelino <manohar.r.castelino@intel.com>
  • Loading branch information
mcastelino committed Dec 27, 2018
1 parent 174e0c9 commit ec5cf18
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion virtcontainers/fc.go
Expand Up @@ -525,7 +525,6 @@ func (fc *firecracker) fcAddNetDevice(endpoint Endpoint) error {
GuestMac: endpoint.HardwareAddr(),
IfaceID: &ifaceID,
HostDevName: endpoint.NetworkPair().TapInterface.TAPIface.Name,
State: "Attached",
}
cfg.SetBody(ifaceCfg)
cfg.SetIfaceID(ifaceID)
Expand Down

0 comments on commit ec5cf18

Please sign in to comment.