Bill,
Here are the CLI equivalents for the GUI operations you have asked for:
1. Assign network to a cluster:
add network --name ${network_name} --parent-cluster-name ${cluster_name}
2. After a network is attached to a cluster, make it required (or not
required):
update network --name ${network_name} --parent-cluster-name
${cluster_name} --expect [True|False]
Regards,
Yevgeny
On Wed, Feb 24, 2016 at 1:29 AM, Bill James <bill.james(a)j2.com> wrote:
I kind of found the answer.
Under Cluster -> Logical Networks -> Manager Networks
there is a check box for "Assign" & "Required".
Checking the Assign box makes it show up in "Setup Host Networks" dialog
box.
No idea how to check that box using the cli though.
On 02/23/2016 10:54 AM, Bill James wrote:
> I'm trying to add a network using ovirt-shell.
> It adds fine to the GUI but I can't add the network to a host because it
> isn't listed in the "Setup Host Networks" dialog.
> Adding a network interface using the GUI is added fine to the dialog
> window.
> What am I missing?
>
> [oVirt shell (connected)]# add network --data_center-name Default --name
> Vlan7 --description '10.176.7' --vlan-id 7
>
>
> Also not sure how to add "Network Label" via cli. (adding it via GUI
> doesn't make interface usable in dialog window)
>
> ovirt-engine-3.6.2.6-1.el7.centos.noarch
>
>
> Problem networks are Vlan5 & Vlan 7.
>
>
> [oVirt shell (connected)]# list networks
>
> id : 80b5bffb-afb7-4c14-b228-e505b6a93152
> name : Gluster-KS
> description: kickstart
>
> id : 00000000-0000-0000-0000-000000000009
> name : ovirtmgmt
> description: Management Network
>
> id : 7d9d55d9-1158-4a64-a2b9-07b763ae2b6d
> name : vlan1
> description: 10.176.1
>
> id : e81540f9-99f2-4826-b483-b9c08031cdaa
> name : Vlan5
> description: 10.176.5
>
> id : 6d1bf691-d438-48e2-a230-21360c609889
> name : Vlan6
> description: 10.176.6
>
> id : 2c7db3f8-151f-4c5a-a88d-c840f7f2ce57
> name : Vlan7
> description: 10.176.7
>
>
> Cloud Services for Business
www.j2.com
> j2 | eFax | eVoice | FuseMail | Campaigner | KeepItSafe | Onebox
>
>
> This email, its contents and attachments contain information from j2
> Global, Inc. and/or its affiliates which may be privileged, confidential or
> otherwise protected from disclosure. The information is intended to be for
> the addressee(s) only. If you are not an addressee, any disclosure, copy,
> distribution, or use of the contents of this message is prohibited. If you
> have received this email in error please notify the sender by reply e-mail
> and delete the original message and any copies. (c) 2015 j2 Global, Inc.
> All rights reserved. eFax, eVoice, Campaigner, FuseMail, KeepItSafe, and
> Onebox are registered trademarks of j2 Global, Inc. and its affiliates.
> _______________________________________________
> Users mailing list
> Users(a)ovirt.org
>
http://lists.ovirt.org/mailman/listinfo/users
>
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users