It is strange that master branch of python-neutronclient doesn't have --allowed-address-pairs parameter in both port-create and port-update (py27)zqfan@openstack-dev:~/openstack/python-neutronclient$ neutron help port-update usage: neutron port-update [-h] [--request-format {json,xml}] [--security-group SECURITY_GROUP | --no-security-groups] [--extra-dhcp-opt EXTRA_DHCP_OPTS] PORT Update port's information. positional arguments: PORT ID or name of port to update optional arguments: -h, --help show this help message and exit --request-format {json,xml} The xml or json request format --security-group SECURITY_GROUP Security group associated with the port (This option can be repeated) --no-security-groups Associate no security groups with the port --extra-dhcp-opt EXTRA_DHCP_OPTS Extra dhcp options to be assigned to this port: opt_name=,opt_value=, (This option can be repeated.) (py27)zqfan@openstack-dev:~/openstack/python-neutronclient$ neutron help port-create usage: neutron port-create [-h] [-f {html,json,shell,table,yaml}] [-c COLUMN] [--variable VARIABLE] [--prefix PREFIX] [--request-format {json,xml}] [--tenant-id TENANT_ID] [--name NAME] [--admin-state-down] [--mac-address MAC_ADDRESS] [--device-id DEVICE_ID] [--fixed-ip ip_address=IP_ADDR] [--security-group SECURITY_GROUP | --no-security-groups] [--extra-dhcp-opt EXTRA_DHCP_OPTS] NETWORK Create a port for a given tenant. positional arguments: NETWORK Network id or name this port belongs to optional arguments: -h, --help show this help message and exit --request-format {json,xml} The xml or json request format --tenant-id TENANT_ID The owner tenant ID --name NAME Name of this port --admin-state-down Set admin state up to false --mac-address MAC_ADDRESS MAC address of this port --device-id DEVICE_ID Device id of this port --fixed-ip ip_address=IP_ADDR Desired IP for this port: subnet_id=,ip_address=, (This option can be repeated.) --security-group SECURITY_GROUP Security group associated with the port (This option can be repeated) --no-security-groups Associate no security groups with the port --extra-dhcp-opt EXTRA_DHCP_OPTS Extra dhcp options to be assigned to this port: opt_name=,opt_value=, (This option can be repeated.) output formatters: output formatter options -f {html,json,shell,table,yaml}, --format {html,json,shell,table,yaml} the output format, defaults to table -c COLUMN, --column COLUMN specify the column(s) to include, can be repeated shell formatter: a format a UNIX shell can parse (variable="value") --variable VARIABLE specify the variable(s) to include, can be repeated --prefix PREFIX add a prefix to all variable names