The PATCH API request does not unassociate the trunk vLANs from interface configuration when modifying or removing the trunk vLANs from an existing System Interface. #811
I have associated vLANs with tag 32, 106 to a system interface 2.0 on a rSeries Host device. Below are the configuration details for the interface and the API details to reproduce this.
Here since vLAN 32 is removed from this configuration, this vLAN should be unassociated from the interface 2.0. However, the interface 2.0 configuration still displays vLAN 32 under "trunk-vlans" field. Please refer below response.
The PATCH API request should unassociate the trunk vLANs from interface configuration when modifying or removing the trunk vLANs from an existing System Interface.
Actual Behavior
The PATCH API request does not unassociate the trunk vLANs from interface configuration when modifying or removing the trunk vLANs from an existing System Interface.
Environment
Summary
I have associated vLANs with tag 32, 106 to a system interface 2.0 on a rSeries Host device. Below are the configuration details for the interface and the API details to reproduce this.
GET request on the Interface API URL: https://{{rseries_appliance1_ip}}:8888/restconf/data/openconfig-interfaces:interfaces Type: GET Response:
Here, to unassociate the vLAN with tag 32 from this interface 2.0, I hit the below PATCH request: URL: https://{{rseries_appliance1_ip}}:8888/restconf/data/ Type: PATCH Request Body:
Received Response code: 204
Here since vLAN 32 is removed from this configuration, this vLAN should be unassociated from the interface 2.0. However, the interface 2.0 configuration still displays vLAN 32 under "trunk-vlans" field. Please refer below response.
GET on the interface displays below response
Steps To Reproduce
Steps to reproduce the behaviour:
URL: https://{{rseries_appliance1_ip}}:8888/restconf/data/ Request Type: PATCH
URL: https://{{rseries_appliance1_ip}}:8888/restconf/data/openconfig-interfaces:interfaces Type: GET
URL: https://{{rseries_appliance1_ip}}:8888/restconf/data/openconfig-interfaces:interfaces Type: GET
Expected Behavior
The PATCH API request should unassociate the trunk vLANs from interface configuration when modifying or removing the trunk vLANs from an existing System Interface.
Actual Behavior
The PATCH API request does not unassociate the trunk vLANs from interface configuration when modifying or removing the trunk vLANs from an existing System Interface.