[SFC-138] SFC-UI broken - SFF service-function-dictionary does not show correct values Created: 14/Feb/16  Updated: 19/Oct/17  Resolved: 30/Dec/16

Status: Resolved
Project: sfc
Component/s: General
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Reinaldo Penno Assignee: Diego Granados
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: PNG File Screen Shot 2016-02-14 at 12.11.31 AM.png     PNG File bug-5347-carbon-sff-dictionary.PNG    
External issue ID: 5347
Priority: High

 Description   

Configure a SFF through REST such as below. Then go to the UI and click to edit the corresponding SFF. You will notice the service-function-dictionary is empty.

{
"service-function-forwarders": {
"service-function-forwarder": [
{
"name": "SFF2",
"rest-uri": "http://10.0.1.42:5000",
"ip-mgmt-address": "10.0.1.42",
"sff-data-plane-locator": [
{
"name": "eth0",
"data-plane-locator":

{ "port": 4789, "ip": "10.0.1.42", "transport": "service-locator:vxlan-gpe" }

}
],
"service-node": "Ubuntu2",
"service-function-dictionary": [
{
"name": "SF2",
"sff-sf-data-plane-locator":

{ "sf-dpl-name": "vxlan", "sff-dpl-name": "eth0" }

}
]
},
{
"name": "SFF3",
"rest-uri": "http://10.0.1.43:5000",
"ip-mgmt-address": "10.0.1.43",
"sff-data-plane-locator": [
{
"name": "eth0",
"data-plane-locator":

{ "port": 4789, "ip": "10.0.1.43", "transport": "service-locator:vxlan-gpe" }

}
],
"service-node": "Ubuntu3",
"service-function-dictionary": [
{
"name": "SF3",
"sff-sf-data-plane-locator":

{ "sf-dpl-name": "vxlan", "sff-dpl-name": "eth0" }

}
]
},
{
"name": "SFF1",
"rest-uri": "http://10.0.1.41:5000",
"ip-mgmt-address": "10.0.1.41",
"sff-data-plane-locator": [
{
"name": "eth0",
"data-plane-locator":

{ "port": 4789, "ip": "10.0.1.41", "transport": "service-locator:vxlan-gpe" }

}
],
"service-node": "Ubuntu1",
"service-function-dictionary": [
{
"name": "SF1",
"sff-sf-data-plane-locator":

{ "sf-dpl-name": "vxlan", "sff-dpl-name": "eth0" }

}
]
},
{
"name": "SFF4",
"rest-uri": "http://10.0.1.44:5000",
"ip-mgmt-address": "10.0.1.44",
"sff-data-plane-locator": [
{
"name": "eth0",
"data-plane-locator":

{ "port": 4789, "ip": "10.0.1.44", "transport": "service-locator:vxlan-gpe" }

}
],
"service-node": "Ubuntu4",
"service-function-dictionary": [
{
"name": "SF4",
"sff-sf-data-plane-locator":

{ "sf-dpl-name": "vxlan", "sff-dpl-name": "eth0" }

}
]
},
{
"name": "SFF5",
"rest-uri": "http://10.0.1.45:5000",
"ip-mgmt-address": "10.0.1.45",
"sff-data-plane-locator": [
{
"name": "eth0",
"data-plane-locator":

{ "port": 4789, "ip": "10.0.1.45", "transport": "service-locator:vxlan-gpe" }

}
],
"service-node": "Ubuntu5",
"service-function-dictionary": [
{
"name": "SF5",
"sff-sf-data-plane-locator":

{ "sf-dpl-name": "vxlan", "sff-dpl-name": "eth0" }

}
]
}
]
}
}



 Comments   
Comment by Reinaldo Penno [ 14/Feb/16 ]

Attachment Screen Shot 2016-02-14 at 12.11.31 AM.png has been added with description: empty service-function-dictionary

Comment by Brady Johnson [ 15/Feb/16 ]

Setting the severity to major since its still possible to configure the SFF via RESTconf. Also moving to Beryllium SR1.

Comment by Brady Johnson [ 30/Aug/16 ]

Verified this is still a problem in Boron. To be fixed in Boron-SR1.

Comment by Diego Granados [ 14/Dec/16 ]

SFF dictionary edition, displayed correctly

Comment by Diego Granados [ 14/Dec/16 ]

Attachment bug-5347-carbon-sff-dictionary.PNG has been added with description: SFC UI-SFF dictionary (Carbon)

Comment by Diego Granados [ 14/Dec/16 ]

I failed to reproduce the bug using exactly the steps described (I'm in Carbon branch, updated as of Dec 14th 2016). SFF dictionary is correctly displayed on edition (screenshot attached).

If you're ok, I'll proceed to close the bug, as it is no longer reproduceable.

Comment by Diego Granados [ 30/Dec/16 ]

Closed, as it is no longer reproduceable in Carbon branch

Generated at Wed Feb 07 20:38:44 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.