The commands related to creating and modifying interface was changed recently.   Please refer to the mailing list post with subject: “Provisioning changes to host interface commands” which I have attached to this message.

 

Regards,

Allain

 

 

Allain Legacy, Software Developer, Wind River
direct 613.270.2279  fax 613.492.7870 skype allain.legacy

350 Terry Fox Drive, Suite 200, Ottawa, Ontario, K2K 2W5


 
WIND

 

From: Alonso, Juan Carlos [mailto:juan.carlos.alonso@intel.com]
Sent: Monday, July 01, 2019 10:14 AM
To: 'starlingx-discuss@lists.starlingx.io'
Subject: [Starlingx-discuss] system host-if-modify error

 

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