code for 4.1 is here https://github.com/Juniper/contrail-controller/blob/R4.1/src/api-lib/vnc_api.py#L337-L338
and similar code present in 4.0 branch
code for 4.1 is here https:/ /github. com/Juniper/ contrail- controller/ blob/R4. 1/src/api- lib/vnc_ api.py# L337-L338
and similar code present in 4.0 branch