[Starlingx-discuss] system host-if-modify error

Hu, Yong yong.hu at intel.com
Mon Jul 1 15:56:00 UTC 2019


The following commit in “stx-config” removed “-d <datanetworks>” *after* 0627 build, so you cannot use either “-p” or “-d” with “system host-if-modify”.

commit 99524d919a48aaff245bb29f8d8bb60347d4253b
Author: Teresa Ho <teresa.ho at windriver.com>
Date:   Mon Jun 24 22:55:30 2019 -0400

    Remove datanetworks param from interface commands


Regards,
Yong

On 01/07/2019, 7:18 AM, "Alonso, Juan Carlos" <juan.carlos.alonso at intel.com<mailto:juan.carlos.alonso at intel.com>> wrote:

Hi,

I have been using the below command to set a SRIOV interface:
$ system host-if-modify -m <MTU> -n <new interface name> -N <number of VFs> -p <data network> -c pci-sriov <host> <interface>
$ system host-if-modify -m 1500 -n sriov1 -N 5 -p physnet0 -c pci-sriov compute-0 38922809-dec1-4e55-9f58-5db4b0859ae5

Command works correctly from ISO 20190627 and older. But now I got the following error:
system: error: unrecognized arguments: -p 47569880-3225-4a96-b897-b7bf1d114b8d

Seems that there is an error in the structure or syntax of command, but –p flag and interface UUID are separated by other parameters. I also try to use –d flag and interface name instead of uuid but got the same error.
Do you know if this SRIOV command have changed?

Regards.
Juan Carlos Alonso

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20190701/5ebd84b2/attachment.html>


More information about the Starlingx-discuss mailing list