Bug 1227607 - [Docs] Adding nic from rhevm-shell
Summary: [Docs] Adding nic from rhevm-shell
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: Documentation
Version: 3.5.1
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ovirt-3.5.7
: 3.5.7
Assignee: Julie
QA Contact:
URL:
Whiteboard: docs
: 1115051 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-03 06:30 UTC by nijin ashok
Modified: 2019-07-11 09:21 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-25 10:59:33 UTC
oVirt Team: Docs
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 979463 0 None None None 2018-12-06 17:07:04 UTC

Description nijin ashok 2015-06-03 06:30:48 UTC
Description of problem:

In 
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.5/html-single/Technical_Guide/index.html#nic 

"Example 14.25. Creating a new network interface on a virtual machine"

The command should be 

add nic --vm-identifier MyVM1 --name eth0 --network-name MyNetwork

instead of 

add nic --vm-identifier MyVM1 --name eth0 --network MyNetwork

--network is not a supported option. This should be --network-name

"Example 14.24. Creating a new network interface on a host": from RHEV-M panel it is not possible to create a nic on a physical host. The action supported here will be attaching a logical network to an existing nic or creating a bond. Therefore the command

add nic --host-identifier MyHost1 --name eth0 --network MyNetwork

is wrong. The correct one will be

For adding a bond:

add nic --host-identifier MyHost1 --name bond1 --network-name MyNetwork  --bonding-slaves-host_nic host_nic.name=eth0 --bonding-slaves-host_nic host_nic.name=eth2

The above command will create a bond "bond1" by using eth0 and eth1 and attach the same to MyNetwork .

For attaching a interface to logical network:

action nic eth0 attach --host-identifier  --network-name MyNetwork

The above command will attach the logical network MyNetwork to  eth0 interface.

Version-Release number of selected component (if applicable):
RHEV 3.5 Technical_Guide

How reproducible:


Steps to Reproduce:
1. Please read description
2.
3.

Actual results:

The example commands of nic addition is giving a syntax error


Expected results:

The example command should work

Additional info:

Comment 2 Julie 2015-10-19 02:36:27 UTC
*** Bug 1115051 has been marked as a duplicate of this bug. ***

Comment 3 Yaniv Lavi 2015-10-20 10:25:28 UTC
What is the status of this bug?
No flags or milestone.

Comment 4 Red Hat Bugzilla Rules Engine 2015-10-20 15:18:39 UTC
Fixed bug tickets must have target milestone set prior to fixing them. Please set the correct milestone and move the bugs back to the previous status after this is corrected.

Comment 5 Andrew Dahms 2015-10-21 04:23:22 UTC
Hi Yaniv,

Thank you for your needinfo request.

I have now set the flags for this bug, and we are currently aiming at addressing this issue in RHEV 3.5.6.

Kind regards,

Andrew

Comment 7 Andrew Dahms 2015-11-25 10:59:33 UTC
This content is now live on the Customer Portal.

Closing.


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