As per [RFC][Gingers390x] OSA Port Configuration for network i/o devices in ginger mailing list.
Hi,
OSA port number is a configurable attribute for network i/o devices(OSA Express cards) in s390x architecture. It signifies which port to use for the communication on given OSA network adapter.
OSA express cards can have maximum of two ports configurable.
Gingers390x provides "/plugins/gingers390x/nwdevices" api to configure network i/o devices.
Current Implementation:
Resource: Network I/O device
URI: /plugins/gingers390x/nwdevices/:name
Methods:
GET: Retrieve information of the specified network i/o device.
name: Interface name of the device
state: Specifies current state of the interface
driver: Specifies device driver for the interface
device_ids: List of sub channels(network triplets) of the interface
type: Device type and model of the interface.
card_tpe: Specifies type of the network adapter
chpid: CHPID of the interface
POST: See Network I/O device Actions
Actions (POST):
configure: Configure network device in background and return a task resource * See Resource: Task *
unconfigure: Un-configure network device in background and return a task resource * See Resource: Task *
Proposal:
Add attribute 'osa_portno' to resource json, which specify port number configured for the network adapter.
POST:
configure: Configure network device in background and return a task resource * See Resource: Task *
osa_portno: port to be assigned for the adapter. Port 0 is used by default if requested port is not available on the OSA Express Network card.
PUT:
update parameters for network i/o device.
* osa_portno: port to be assigned for the adapter
As per [RFC][Gingers390x] OSA Port Configuration for network i/o devices in ginger mailing list.
Hi,
OSA port number is a configurable attribute for network i/o devices(OSA Express cards) in s390x architecture. It signifies which port to use for the communication on given OSA network adapter.
OSA express cards can have maximum of two ports configurable.
Gingers390x provides "/plugins/gingers390x/nwdevices" api to configure network i/o devices.
Current Implementation:
Resource: Network I/O device
URI: /plugins/gingers390x/nwdevices/:name
Methods:
Actions (POST):
Proposal:
Add attribute 'osa_portno' to resource json, which specify port number configured for the network adapter.
POST:
configure: Configure network device in background and return a task resource * See Resource: Task *
PUT: