Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error When trying to add PPP header #364

Open
sudhanshugupta1991 opened this issue Mar 19, 2024 · 1 comment
Open

Error When trying to add PPP header #364

sudhanshugupta1991 opened this issue Mar 19, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@sudhanshugupta1991
Copy link

in Below Flow Subset added ppp Header
{
"name": "SERVICE_RTF8000_US_FLOW_IPV4_dscp0_pbit0",
"tx_rx": {
"port": {
"tx_name": "RG",
"rx_name": "BNG"
},
"choice": "port"
},
"metrics": {
"enable": true
},
"size": {
"fixed": 1400,
"choice": "fixed"
},
"rate": {
"choice": "mbps",
"mbps": 10
},
"duration": {
"choice": "continuous"
},
"packet": [
{
"ppp": {
"address": {
"choice": "value",
"value": 1
}
},
"choice": "ppp"
},
{
"ethernet": {
"src": {
"value": "00:11:11:11:11:02",
"choice": "value"
},
"dst": {
"value": "28:b9:d9:e4:15:03",
"choice": "value"
}
},
"choice": "ethernet"
},
{
"vlan": {
"priority": {
"choice": "value",
"value": 0
},
"id": {
"choice": "values",
"values": [
1290
]
}
},
"choice": "vlan"
},
{
"ipv4": {
"priority": {
"choice": "dscp",
"dscp": {
"phb": {
"choice": "value",
"value": 0
}
}
},
"src": {
"value": "192.168.2.50",
"choice": "value"
},
"dst": {
"value": "192.168.2.1",
"choice": "value"
}
},
"choice": "ipv4"
},
{
"udp": {
"src_port": {
"values": [
2024
],
"choice": "values"
},
"dst_port": {
"values": [
2025
],
"choice": "values"
}
},
"choice": "udp"
}
]
}

But on pushing this getting below Error.

oltausr@144-ROLT> sudo curl -k https://localhost:8443/config -H "Content-Type: application/json" -d @test.json
{
"code": 400,
"kind": "validation",
"errors": [
"Error occurred while setting Traffic config (Layer1 only) for user common:Error setting frame for flow SERVICE_RTF8000_US_FLOW_IPV4_dscp0_pbit0:Unsupported packet header: ppp"
]
}

@arkajyoti-cloud
Copy link
Contributor

Hi,

Saw your issue. Do you need only PPPoE data traffic header to be supported with all control packet types? At present it is not supported.

@apratimmukherjee apratimmukherjee added the enhancement New feature or request label Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants