-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #743 from ylei-tsubame/issues/685-micro-anvil-netconf
Web UI: rework striker init, and host network init forms
- Loading branch information
Showing
110 changed files
with
2,949 additions
and
490 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
93 changes: 54 additions & 39 deletions
93
striker-ui-api/src/lib/request_handlers/network-interface/getNetworkInterface.ts
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,15 @@ | ||
type NetworkInterfaceOverview = { | ||
networkInterfaceUUID: string; | ||
networkInterfaceMACAddress: string; | ||
networkInterfaceName: string; | ||
networkInterfaceState: string; | ||
networkInterfaceSpeed: number; | ||
networkInterfaceOrder: number; | ||
dns: null | string; | ||
gateway: null | string; | ||
ip: null | string; | ||
mac: string; | ||
name: string; | ||
order: number; | ||
// Unit: Mbps | ||
speed: number; | ||
state: string; | ||
subnetMask: null | string; | ||
uuid: string; | ||
}; | ||
|
||
type NetworkInterfaceOverviewList = Record<string, NetworkInterfaceOverview>; |
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.