-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The first part is executed before the NeworkManager or systemd-networkd starts on the host. The second part is triggered after the network configuration is complete. This change is required to support hw offload use-case with systemd service. Signed-off-by: Yury Kulazhenkov <ykulazhenkov@nvidia.com>
- Loading branch information
1 parent
54b342c
commit ca39739
Showing
7 changed files
with
327 additions
and
39 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
bindata/manifests/sriov-config-service/kubernetes/sriov-config-post-network-service.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
contents: | | ||
[Unit] | ||
Description=Configures SRIOV NIC - post network configuration | ||
After=systemd-networkd-wait-online.service NetworkManager-wait-online.service | ||
Before=network-online.target | ||
[Service] | ||
Type=oneshot | ||
# TODO replace with service call | ||
ExecStart=/bin/true | ||
StandardOutput=journal+console | ||
[Install] | ||
WantedBy=network-online.target | ||
enabled: true | ||
name: sriov-config-post-network.service |
11 changes: 6 additions & 5 deletions
11
bindata/manifests/sriov-config-service/kubernetes/sriov-config-service.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.