Bug 842163 - REST API: Network set Port Mirroring when network Id is missing
REST API: Network set Port Mirroring when network Id is missing
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-restapi (Show other bugs)
x86_64 Linux
high Severity high
: ---
: ---
Assigned To: Shahar Havivi
Yaniv Kaul
Depends On:
  Show dependency treegraph
Reported: 2012-07-22 12:46 EDT by Avi Tal
Modified: 2016-04-22 00:59 EDT (History)
11 users (show)

See Also:
Fixed In Version: si17
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-12-04 15:01:09 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: Network
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
engine log (75.33 KB, application/x-compressed-tar)
2012-08-20 11:27 EDT, Avi Tal
no flags Details

  None (edit)
Description Avi Tal 2012-07-22 12:46:59 EDT
Description of problem:
Port Mirroring ignore network details when activating on specific vm nic and actually take the attached network (to the nic) As default port mirroring network.

An example of the problem:

In the above example we can see that even though i haven't added specific network the command will succeed and configure sw1 automatically for port mirroring.

The thing is that having wrong network details also be ignored.

Engine log doesn't even present anything regarding the action.
Comment 1 Shahar Havivi 2012-07-23 02:47:32 EDT
(In reply to comment #0)
The network id need to be set.
Comment 2 lpeer 2012-07-23 03:29:26 EDT
In the engine the property is a boolean so this BZ is relevant only for the API.
Comment 3 Shahar Havivi 2012-07-23 07:59:01 EDT
posted at: http://gerrit.ovirt.org/#/c/6547/
Comment 4 Shahar Havivi 2012-08-06 07:29:52 EDT
merged at: 184f19a80152f291e021ac839cf66f582fee7949
Comment 5 Avi Tal 2012-08-20 11:26:17 EDT
Verify on SI14 - PASS but have related BUG

The main issue solved, adding port mirroring works only when adding the current network id.

BUT, it accept only ID. adding port mirroring should also support adding by name.


Return org.jboss.resteasy.spi.UnhandledException: java.lang.NullPointerException
Comment 6 Avi Tal 2012-08-20 11:27:22 EDT
Created attachment 605722 [details]
engine log
Comment 7 Shahar Havivi 2012-08-30 04:09:13 EDT
support port mirroring via network name:
posted at: http://gerrit.ovirt.org/#/c/7602/
Comment 8 Shahar Havivi 2012-09-02 05:48:33 EDT
merged at: 9233ef4a337e9528f77bf0557f5af6b5b10e1fe2
Comment 10 Avi Tal 2012-09-11 10:41:23 EDT
Verify on SI17 - PASS


Note You need to log in before you can comment on or make changes to this bug.