# os\_port module

**URL:** <https://forum.ansible.com/t/os-port-module/25074>\
**Category:** Ansible Developer\
**Created:** [July 24, 2017, 10:23pm UTC](https://forum.ansible.com/t/os-port-module/25074 "2017-07-24T22:23:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![keith\_patton](https://avatars.discourse-cdn.com/v4/letter/k/bbce88/32.png) [@keith\_patton](https://forum.ansible.com/u/keith_patton)\
**Post date:** [July 24, 2017, 10:23pm UTC](https://forum.ansible.com/t/os-port-module/25074/1 "2017-07-24T22:23:31Z")

</div>

Hi all,

I’m using ansible to create vm instances and all was good. UNTIL… I need to create an instance that uses SRIOV. typically in order to do this you create the port and tell it that the vnic\_type is direct. I found the rest api variable and it is binding:vnic\_type, and this is not in the OS\_PORT module.

I set off trying to see if I could just add this and pass it thru. Well being that the key word has a colon, “binding:vnic\_type” is proving to be a chore resulting in me banging my head against the screen.

Any ideas on how to swing the hammer to get this to work?

much appreciated,  
Keith
