--_000_569794843020301dmcamcnetworkscom_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
On 14-01-16 12:16, Juan Hern=E1ndez wrote:
On 01/14/2016 11:24 AM, Bloemen, Jurri=EBn wrote:
Hi,
First I created a bonding interface:
# add nic --parent-host-name server01 --name bond0 --network-name
VLAN602 --bonding-slaves-host_nic host_nic.name=3Deno1
--bonding-slaves-host_nic host_nic.name=3Deno2
This works great but no IP is set on VLAN602.
Then I'm trying to add an ip address to a network with the following
command:
# update hostnic --parent-host-name server01 --network-name VLAN602
--boot_protocol static --ip-address 10.10.10.10 --ip-netmask 255.255.255.0
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
ERROR
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D
wrong number of arguments, try 'help update' for help.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Looking at this document
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualiza=
tion/3.6-Beta/html/RHEVM_Shell_Guide/nic.html
I need to use "nic" instead of "hostnic" but then I don't have
the
options to say this is a --parent-host-name. Only VM related command
options.
So I think the documentation is behind.
Can somebody help me with what the command is to add a IP to a
VLAN/Network for a host?
The command should be like this:
# update nic bond0 --parent-host-name server01 --network-name VLAN602
--boot_protocol static --ip-address 10.10.10.10 --ip-netmask 255.255.255.0
Note that the it is "nic" instead of "hostnic" and that you need to
specify the name of that NIC, in this case "bond0".
The command will work if you type it like that, but auto-completion
won't work. This is a bug in the CLI, indirectly caused by the fact that
the name of the URL segment used in the RESTAPI is "nics" (from
/hosts/{host:id}/*nics*) but the name of the XML schema complex type is
"HostNIC".
Thanks! That works!
Another question:
Now I got the message that my network is out-of-sync. How can i force withi=
n the ovirt-shell that it syncs the networks?
hmz.... pressed sent by accident
What I want to say is:
Now I got the message that my network is out-of-sync. How can i force withi=
n the ovirt-shell that it syncs the networks?
Because when I press "Sync All Networks" the IP address disappears....
But when I check the box "Sync Network" within the VLAN602 options it gets =
pushed to the host.
Is there a difference between the both? And how do I run both via ovirt-she=
ll?
This message (including any attachments) may contain information that is pr=
ivileged or confidential. If you are not the intended recipient, please not=
ify the sender and delete this email immediately from your systems and dest=
roy all copies of it. You may not, directly or indirectly, use, disclose, d=
istribute, print or copy this email or any part of it if you are not the in=
tended recipient
--_000_569794843020301dmcamcnetworkscom_
Content-Type: text/html; charset="Windows-1252"
Content-ID: <86608565C9BAB145A717DAD5FDF08AC7(a)chellomedia.com>
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html;
charset=3DWindows-1=
252">
</head>
<body text=3D"#000000" bgcolor=3D"#FFFFFF">
<blockquote cite=3D"mid:569792F2.8080605@dmc.amcnetworks.com"
type=3D"cite"=
<br>
<div class=3D"moz-cite-prefix">
<title></title>
On 14-01-16 12:16, Juan Hern=E1ndez wrote:<br>
</div>
<blockquote cite=3D"mid:5697839B.6000708@redhat.com"
type=3D"cite">
<pre wrap=3D"">On 01/14/2016 11:24 AM, Bloemen, Jurri=EBn wrote:
</pre>
<blockquote type=3D"cite">
<pre wrap=3D"">Hi,
First I created a bonding interface:
# add nic --parent-host-name server01 --name bond0 --network-name
VLAN602 --bonding-slaves-host_nic host_nic.name=3Deno1
--bonding-slaves-host_nic host_nic.name=3Deno2
This works great but no IP is set on VLAN602.
Then I'm trying to add an ip address to a network with the following
command:
# update hostnic --parent-host-name server01 --network-name VLAN602
--boot_protocol static --ip-address 10.10.10.10 --ip-netmask 255.255.255.0
=3D=3D=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3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Looking at this document
<a moz-do-not-send=3D"true" class=3D"moz-txt-link-freetext"
href=3D"https:/=
/access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.=
6-Beta/html/RHEVM_Shell_Guide/nic.html">https://access.redhat.com...
tion/en-US/Red_Hat_Enterprise_Virtualization/3.6-Beta/html/RHEVM_Shell_Guid=
e/nic.html</a>
I need to use "nic" instead of "hostnic" but then I
don=
't have the
options to say this is a --parent-host-name. Only VM related command
options.
So I think the documentation is behind.
Can somebody help me with what the command is to add a IP to a
VLAN/Network for a host?
</pre>
</blockquote>
<pre wrap=3D"">The command should be like this:
# update nic bond0 --parent-host-name server01 --network-name VLAN602
--boot_protocol static --ip-address 10.10.10.10 --ip-netmask 255.255.255.0
Note that the it is "nic" instead of "hostnic" and
that=
you need to
specify the name of that NIC, in this case "bond0".
The command will work if you type it like that, but auto-completion
won't work. This is a bug in the CLI, indirectly caused by the fact that
the name of the URL segment used in the RESTAPI is "nics" (from
/hosts/{host:id}/*nics*) but the name of the XML schema complex type is
"HostNIC".
</pre>
</blockquote>
<small>Thanks! That works!<br>
<br>
Another question:<br>
<br>
Now I got the message that my network is out-of-sync. How can i force withi=
n the ovirt-shell that it syncs the networks?<br>
</small></blockquote>
<br>
<small>hmz.... pressed sent by accident<br>
<br>
What I want to say is:<br>
<br>
</small><small>Now I got the message that my network is out-of-sync. How ca=
n i force within the ovirt-shell that it syncs the networks?<br>
Because when I press "Sync All Networks" the IP address disappear=
s....<br>
<br>
But when I check the box "Sync Network" within the VLAN602 option=
s it gets pushed to the host.<br>
<br>
Is there a difference between the both? And how do I run both via ovirt-she=
ll?<br>
<br>
<br>
<big></big
<br>
</small
<br>
This message (including any attachments) may contain
information that is pr=
ivileged or confidential. If you are not the intended recipient, please not=
ify the sender and delete this email immediately from your systems and dest=
roy all copies of it. You may not,
directly or indirectly, use, disclose, distribute, print or copy this emai=
l or any part of it if you are not the intended recipient
</body>
</html>
--_000_569794843020301dmcamcnetworkscom_--