Attaching platform network to data interface creation not rejected via CLI
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Teresa Ho |
Bug Description
Brief Description
-------
In GUI, there is no option to choose any platform class network to attach to data interface.
But in CLI, it allows platform network to attach to data when creating data interface.
Severity
--------
Minor
Steps to Reproduce
-------
[wrsroot@
+----+-
| id | uuid | name | type | dynamic | pool_uuid |
+----+-
| 1 | 72938abe-
| 5 | 7b2caae4-
| 3 | 99965b24-
| 2 | c0f29e2b-
| 4 | c3372f8e-
+----+-
Attach infra network to data interface
[wrsroot@
+------
| Property | Value |
+------
| ifname | data11 |
| iftype | ethernet |
| ports | [u'eno1'] |
| providernetworks | group0-data3 |
| imac | a4:bf:01:19:95:b6 |
| imtu | 1500 |
| ifclass | data |
| networks | infra |
| aemode | None |
| schedpolicy | None |
| txhashpolicy | None |
| uuid | fdb8389f-
| ihost_uuid | c206c8a5-
| vlan_id | None |
| uses | [] |
| used_by | [] |
| created_at | 2018-09-
| updated_at | 2018-09-
| sriov_numvfs | 0 |
| ipv4_mode | disabled |
| ipv6_mode | disabled |
| accelerated | [True] |
+------
Expected Behavior
------------------ -------
Data Interface create with platform class network should be rejected
Reproducibility
---------------
Reproducible
System Configuration
-------
Any
Branch/Pull Time/Commit
-------
StarlingX master as of 2018-09-19_20-18-00
summary: |
- STX: Attaching platform network to data interface creation not rejected - via CLI + Attaching platform network to data interface creation not rejected via + CLI |
Changed in starlingx: | |
assignee: | nobody → Teresa Ho (teresaho) |
importance: | Undecided → Medium |
status: | New → Triaged |
tags: |
added: stx.2019.05 removed: stx.2019.03 |
tags: |
added: stx.2.0 removed: stx.2019.05 |
Issue is related to the Generalized Interface and Network Configuration Feature: /storyboard. openstack. org/#!/ story/2003087
https:/
which was recently submitted
However, this is just a missing semantic check. The issue can be avoided by not attempting this operation. Targeting stx.2019.03