Lines Matching +full:has +full:- +full:legacy +full:- +full:mode
7 - Przemyslaw Czarnowski <przemyslaw.hawrylewicz.czarnowski@intel.com>
8 - Anna Platash <anna.platash@intel.com>
16 and operates in RO mode, or RW mode (keeping in mind container limitations, and
18 system. This document focuses on few redirection options, like in-browser
23 - Virtual Media is going to use Network Block Device as primary disk image
25 - NBDkit is being used, to serve images from remote storages over HTTPS/CIFS.
35 Legacy.
37 - Proxy mode - works directly from browser and uses JavaScript/HTML5 to
40 - Legacy mode - is initiated from browser using Redfish defined VirtualMedia
47 The component diagram below shows Virtual Media high-level overview
50 +------------------+ +----------------------------------+ +-----------------------+
51 |Remote Device| | |BMC| +------------+ | |HOST| |
52 +-------------/ | +---/ +--Dbus----->+VirtualMedia| | +----/ |
53 | | | v +------------+ | | |
54 | +------------+ | | +-+--------+ | | |
55 | |WebBrowser +<----HTTPS------->+BMCWeb | +---------+ | | +----------+ |
56 | +------------+ | | +-+--------+ |USBGadget+<--------->+USB Device| |
57 +------------------+ | ^ +----+----+ | | +----------+ |
59 | | +------+ v | | |
60 | +--->+UNIX | +----+----+ | | |
61 | |SOCKET+<->+NBDClient| | | |
62 +------------------+ | +--->+ | +---------+ | | |
63 |Remote Storage| | | | +------+ | | |
64 +--------------/ | | | | | |
66 | +-----------+ | | +-+-------+ | | |
67 | |ISO/IMG +<---CIFS/HTTPS+-->+NBDkit | | | |
68 | +-----------+ | | +---------+ | +-----------------------+
70 +------------------+ +----------------------------------+
94 > diskless - if you use an initrd) to borrow disk space from other computers.
96 > NFS), if someone has mounted NBD read/write, you must assure that no one else
99 > -- [https://nbd.sourceforge.io/](https://nbd.sourceforge.io/)
108 possible through USB "On-The-Go", if connect appropriately to Host. In Virtual
110 redirection is block device created by nbd-client `/dev/nbdXX`
112 ### Proxy Mode
114 Proxy Mode uses browser JavaScript and WebSockets support, to create JS NBD
172 ### Legacy Mode
174 Legacy Mode uses VirtualMedia schema, defined by DMTF, for mounting external
245 "Description": "Redfish-BMC Virtual Media Service Settings",
292 Schema will look similar for both Proxy and Legacy Mode. Some key differences as
295 | Field Name | Proxy Mode | Legacy Mode | Comment …
296 | -------------------- | ---------- | -------------------------------- | --------------------------…
306 Virtual Media schema is adapted to Legacy Mode where image is given by user
310 For [Proxy Mode](#proxy-mode) nbd data is served by client web browser. Having
318 connection after certain number of seconds of inactivity. Because nbdclient has
319 mechanism for caching image, also kernel has home buffer mechanisms for block
330 - Exposing current Virtual Media configuration to DBus user.
331 - Spawning nbdclient, and monitor its lifetime, for Proxy connections.
332 - Spawning nbdkit, and monitor its lifetime, for CIFS/HTTPS connections.
333 - Monitoring uDEV for all NBD related block device changes, and
334 configure/de-configure USB Gadget accordingly.
335 - Monitor NBD device inactivity period to support inactivity timeout.
347 "Mode": 0, # 0 - Proxy Mode, 1 - Legacy Mode
364 /xyz/openbmc_project/VirtualMedia/Legacy/0
365 /xyz/openbmc_project/VirtualMedia/Legacy/1
372 | -------- | -------- | ----- | ------- | ---------------------------------------------------------…
373 | Active | Property | - | BOOLEAN | `True`, if object is occupied by active process, `False` …
374 | ExitCode | Property | - | INT32 | If process terminates this property will contain returned…
380 | -------------------------- | -------- | ----- | ------- | ---------------------------------------…
381 | EndPointId | Property | - | STRING | As per configuration …
382 | Mode | Property | - | BYTE | As per configuration …
383 | Device | Property | - | STRING | As per configuration …
384 | Socket | Property | - | STRING | As per configuration …
385 | Timeout | Property | - | UINT16 | As per configuration …
386 | BlockSize | Property | - | UINT16 | As per configuration …
387 | RemainingInactivityTimeout | Property | - | UINT16 | Seconds to drop connection by server, f…
388 | ImageURL | Property | - | STRING | URL to mounted image …
389 | WriteProtected | Property | - | BOOLEAN | 'True', if the image is mounted as read…
395 | ------- | -------- | ----- | ------ | ---------------------------------------- |
396 | ReadIO | Property | - | UINT64 | Number of read IOs since image mounting |
397 | WriteIO | Property | - | UINT64 | Number of write IOs since image mounting |
402 Mounting can be a time consuming task, so event driven mechanism has to be
409 | ---------- | ------ | ----- | ------- | ---------------------------------------------------------…
410 | Mount | Method | - | BOOLEAN | Perform an asynchronous operation of mounting to HOST on …
411 | Unmount | Method | - | BOOLEAN | Perform an asynchronous operation of unmount from HOST on…
412 | Completion | Signal | - | INT32 | Returns 0 for success or errno on failure after backgroun…
414 For Legacy its `xyz.openbmc_project.VirtualMedia.Legacy`, defined as follow:
417 …---------- | ------ | ----------------------------------------- | ------- | ----------------------…
419 … of named pipe used for passing null-delimited secret data (username and password). When there is …
420 | Unmount | Method | - | BOOLEAN | Perform an asynchrono…
421 | Completion | Signal | - | INT32 | Returns 0 for success…