def create(self, link, extras):
        if link.target.identifier == '/network/public':
            # public means floating IP in OS!
            # if the os_net_link mixin is avail. a pool must be provided:
            if not 'org.openstack.network.floating.pool' in link.attributes\
                    and os_addon.OS_NET_LINK in link.mixins:
                raise AttributeError('Please specify the pool name when using'
                                     ' this mixin!')
            elif os_addon.OS_NET_LINK in link.mixins:
                pool = link.attributes['org.openstack.network.floating.pool']
            else:
                pool = None
            address = net.add_floating_ip(link.source.attributes['occi.'
                                                                 'core.id'],
                                          pool,
                                          extras['nova_ctx'])
            link.attributes['occi.networkinterface.interface'] = 'eth0'
            link.attributes['occi.networkinterface.mac'] = 'aa:bb:cc:dd:ee:ff'
            link.attributes['occi.networkinterface.state'] = 'active'
            link.attributes['occi.networkinterface.address'] = address
            link.attributes['occi.networkinterface.gateway'] = '0.0.0.0'
            link.attributes['occi.networkinterface.allocation'] = 'static'
        else:
            raise AttributeError('Currently not supported.')
Create one or more directory entries, esssentially mkdir -p.
dataset/ETHPy150Open tmetsch/occi-os/occi_os_api/backends/network.py/NetworkInterfaceBackend.create--crossover with--dataset/ETHPy150Open google/apis-client-generator/src/googleapis/codegen/filesys/zip_library_package.py/ZipLibraryPackage.CreateDirectory