Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions SPECS/LICENSES-AND-NOTICES/data/licenses.json
Original file line number Diff line number Diff line change
Expand Up @@ -2183,6 +2183,7 @@
"shim-unsigned-x64",
"skopeo",
"span-lite",
"sriov-network-device-plugin",
"swupdate",
"SymCrypt",
"SymCrypt-OpenSSL",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"Signatures": {
"sriov-network-device-plugin-3.4.0.tar.gz": "670a94299dc144d239f16af342d6d92aaa84e0dd730fe5b8d889255cae7a4063"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
Summary: Plugin for discovering and advertising networking resources
Name: sriov-network-device-plugin
Version: 3.4.0
Release: 1%{?dist}
License: MIT
Vendor: Microsoft Corporation
Distribution: Mariner
URL: https://github.com/k8snetworkplumbingwg/sriov-network-device-plugin
Source0: https://github.com/k8snetworkplumbingwg/%{name}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: golang

%description
sriov-network-device-plugin is Kubernetes device plugin for discovering and advertising networking
resources in the form of SR-IOV virtual functions and PCI physical functions

%prep
%autosetup -p1

%build
go build -mod vendor -o ./build/sriovdp ./cmd/sriovdp/

%install
install -D -m0755 build/sriovdp %{buildroot}%{_bindir}/sriovdp
install -D -m0755 images/entrypoint.sh %{buildroot}%{_bindir}/%{name}-entrypoint.sh
install -D -m0755 images/ddptool-1.0.1.12.tar.gz %{buildroot}/usr/share/%{name}/ddptool-1.0.1.12.tar.gz

%files
Comment thread
Adub17030MS marked this conversation as resolved.
%license LICENSE
%doc README.md
%{_bindir}/sriovdp
%{_bindir}/%{name}-entrypoint.sh
/usr/share/%{name}/ddptool-1.0.1.12.tar.gz
Comment thread
Adub17030MS marked this conversation as resolved.

%changelog
* Fri Sep 23 2022 Aditya Dubey <adityadubey@microsoft.com> - 3.4.0-1
- Original version for CBL-Mariner
- License Verified
10 changes: 10 additions & 0 deletions cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -25602,6 +25602,16 @@
}
}
},
{
"component": {
"type": "other",
"other": {
"name": "sriov-network-device-plugin",
"version": "3.4.0",
"downloadUrl": "https://github.com/k8snetworkplumbingwg/sriov-network-device-plugin/archive/refs/tags/v3.4.0.tar.gz"
}
}
},
{
"component": {
"type": "other",
Expand Down