(Pdb) pp vn_obj.__dict__ {'_address_allocation_mode': u'user-defined-subnet-only', '_display_name': u'cluster-network', '_flood_unknown_unicast': False, '_id_perms': permissions = owner = cloud-admin, owner_access = 7, group = cloud-admin-group, group_access = 7, other_access = 7, uuid = uuid_mslong = 14433757573316626795, uuid_lslong = 11486240802766775397, enable = True, created = 2017-11-01T08:47:41.567299, last_modified = 2017-11-01T12:48:57.603803, description = None, user_visible = True, creator = None, '_layer2_control_word': False, '_mac_aging_time': 300, '_mac_learning_enabled': False, '_pbb_etree_enable': False, '_pbb_evpn_enable': False, '_pending_field_list_updates': {}, '_pending_field_map_updates': {}, '_pending_field_updates': set([]), '_pending_ref_updates': set([]), '_perms2': owner = None, owner_access = 7, global_access = 0, share = [], '_port_security_enabled': True, '_server_conn': , '_type': 'virtual-network', '_uuid': u'c84f020a-23a4-496b-9f67-53274582e465', '_virtual_network_network_id': 4, '_virtual_network_properties': allow_transit = None, network_id = None, vxlan_network_identifier = None, forwarding_mode = l3, rpf = None, mirror_destination = False, 'fq_name': [u'default-domain', u'default', u'cluster-network'], 'name': u'cluster-network', 'network_ipam_refs': [{u'attr': ipam_subnets = [subnet = ip_prefix = 10.96.0.0, ip_prefix_len = 12, default_gateway = 10.111.255.254, dns_server_address = 10.111.255.253, subnet_uuid = a4bffca6-d42d-42b8-b27e-8d7ceda48352, enable_dhcp = True, dns_nameservers = [], allocation_pools = [], addr_from_start = None, dhcp_option_list = None, host_routes = None, subnet_name = None, alloc_unit = 1, created = None, last_modified = None], host_routes = None, u'href': u'http://10.204.217.194:8082/network-ipam/4721a611-d9cb-4180-a198-4e07fdc6b 110', u'to': [u'default-domain', u'default', u'service-ipam¹], <<<<<<<===== SERVICE-IPAM u'uuid': u'4721a611-d9cb-4180-a198-4e07fdc6b110'}, {u'attr': ipam_subnets = [subnet = None, default_gateway = None, dns_server_address = None, subnet_uuid = 2c08a134-9c83-443d-becf-a50051e79aee, enable_dhcp = True, dns_nameservers = [], allocation_pools = [], addr_from_start = None, dhcp_option_list = None, host_routes = None, subnet_name = None, alloc_unit = 1, created = None, last_modified = None], host_routes = None, u'href': u'http://10.204.217.194:8082/network-ipam/964bc1a7-6953-4684-a064-5e54170e1 5fd', u'to': [u'default-domain', u'default', u'pod-ipam¹], <<<<======= POD-IPAM u'uuid': u'964bc1a7-6953-4684-a064-5e54170e15fd'}], 'network_policy_refs': [{u'attr': sequence = major = 0, minor = 0, timer = None, u'href': u'http://10.204.217.194:8082/network-policy/376241a6-7c17-4591-9bca-42b4713 42f26', u'to': [u'default-domain', u'default', u'ip-fabric-cluster-network-default'], u'uuid': u'376241a6-7c17-4591-9bca-42b471342f26'}], 'parent_type': u'project', 'parent_uuid': u'f0037caf-b5d8-426e-a6f6-ad788140d627'} try: ipam_uuid = self.vnc_lib.network_ipam_create(ipam_obj) ipam_update = True except RefsExistError: ipam_obj = self.vnc_lib.network_ipam_read( fq_name=ipam_obj.get_fq_name()) ipam_uuid = ipam_obj.get_uuid() if type == 'flat-subnet' and not ipam_obj.get_ipam_subnets(): ipam_obj.set_ipam_subnets(IpamSubnets(ipam_subnets)) <‹ Try to update subnet. self.vnc_lib.network_ipam_update(ipam_obj) ipam_update = True Thanks Sachin On 11/1/17, 2:25 AM, "