Network policies with multiple subnets not handled by Contrail UI Network Policy editor

Bug #1385740 reported by Jim Rand
30
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Juniper Openstack
Won't Fix
Low
Siva Bavanasi
R2.20
Won't Fix
High
Rahul
Trunk
Won't Fix
Low
Siva Bavanasi

Bug Description

Contrail 1.10 Build 34

Contrail network policies, created via the api, with rules containing multiple subnets in the source or destination address fields have those multiple subnets removed when editing/saving the network policy in the Contrail UI Network Policy editor.

The rule in question does not have to be directly edited, only the policy. Once saved, the subnet value changes to null.

Src_addresses prior to Web UI policy edit:

                    "src_addresses": [
                        {
                            "network_policy": null,
                            "security_group": null,
                            "subnet": {
                                "ip_prefix": "10.10.10.0",
                                "ip_prefix_len": 31
                            },
                            "virtual_network": null
                        },
                        {
                            "network_policy": null,
                            "security_group": null,
                            "subnet": {
                                "ip_prefix": "10.10.11.0",
                                "ip_prefix_len": 24
                            },
                            "virtual_network": null
                        }
                    ],

Src_addresses after saving the policy via Web UI policy with no chnages:

"src_addresses": [
                        {
                            "network_policy": null,
                            "security_group": null,
                            "subnet": null,
                            "virtual_network": null
                        }
                    ],

Rahul (rahuls)
Changed in juniperopenstack:
assignee: nobody → Rahul (rahuls)
tags: added: wpc
Raj Reddy (rajreddy)
tags: added: ui
tags: added: quench
Rahul (rahuls)
information type: Proprietary → Public
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Bug update]

bug update...

Rahul (rahuls)
tags: added: releasenote
Rahul (rahuls)
summary: - Network policies with multple subnets not handled by Contrail UI Network
- Policy editor
+ Network policies with multiple subnets not handled by Contrail UI
+ Network Policy editor
no longer affects: juniperopenstack/r3.1
no longer affects: juniperopenstack/r3.0
Revision history for this message
Siva Bavanasi (kbsiva) wrote :

Current Web-UI Control used for source/destination doesn't supports multiple inputs.
It needs library upgradation.

Mean while we can use config edit for such scenarios to config

attached config editor page screenshot

Siva Bavanasi (kbsiva)
Changed in juniperopenstack:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.