@abc.abstractmethod<EOL><INDENT>def create_hosting_device_resources(self, context, complementary_id,<EOL>tenant_id, mgmt_context, max_hosted):<DEDENT>
pass<EOL>
Create resources for a hosting device in a plugin specific way.

        Called when a hosting device is to be created so resources like
        networks and ports can be created for it in a plugin compatible
        way. This is primarily useful to service VMs.

        returns: a dict {'mgmt_port': <mgmt port or None>,
                         'ports': <list of ports>,
                         ... arbitrary driver items }

        :param context: Neutron api request context.
        :param complementary_id: complementary id of hosting device
        :param tenant_id: id of tenant owning the hosting device resources
        :param mgmt_context: dict with members:
             mgmt_ip_address: ip address of hosting device's management port
             mgmt_nw_id: id of management network for hosting devices
             mgmt_sec_grp_id: id of security group for management network
        :param max_hosted: maximum number of logical resources.