Ask Your Question
0

How do you specify binding:profile with python-neutrnclient?

asked 2014-08-23 15:05:26 -0500

lukego gravatar image

What is the working syntax to specify the binding:profile port attribute with the neutron command line?

These attempts don't work (Icehouse release):

$ neutron port-create --name P4 4 --binding:profile foo=1
Invalid input for binding:profile. Reason: 'foo=1' is not a dictionary.
$ neutron port-create --name P4 4 --binding:profile '{"foo":1}'
Invalid input for binding:profile. Reason: '{"foo":1}' is not a dictionary.
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-08-24 02:34:58 -0500

Itzik gravatar image

Try this: neutron port-create --name P4 4 --binding:profile type=dict foo=1

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-08-23 15:05:26 -0500

Seen: 480 times

Last updated: Aug 23 '14