[5.0 VRO]policy rules not getting applied to attahed VNs
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
Trunk |
Fix Committed
|
Critical
|
Daniel Jasiński |
Bug Description
Scenario:Create policy p1 and attach p1 to two vns
Rules: pass protocol any network any ports any <> network any ports any
ping between vms on these networks
workflows
Create Network Policy
Add rule to Network policy
Add network policy to virtual network
schema is discrading the rules as there are no rule sequence numbers and
rules are not getting in to effect on the VNs and
so ping bewteen vms is failing
below is the diff for policy created from workflow and contrail UI
Rules created from workflow Add rule to Network policy
virtual_
{
to: [
"default-domain",
"admin",
"aswin-vn2"
],
href: "http://
attr: { },
uuid: "8b127b70-
},
{
to: [
"default-domain",
"admin",
"aswin-vn1"
],
href: "http://
attr: { },
uuid: "bfb9ebef-
}
],
policy and Rules created from contrail-ui which has major and minor rule sequences
virtual_
{
to: [],
href: "http://
attr: {
timer: null,
sequence: {
major: 1,
minor: 0
}
},
uuid: "8b127b70-
},
{
to: [],
href: "http://
attr: {
timer: null,
sequence: {
major: 1,
minor: 0
}
},
uuid: "bfb9ebef-
}
],