How do I update mac address associated with a port using neutron cli?

Solution Unverified - Updated -

Issue

  • I need to change the mac address associated with a port in nuetron? How can I achieve this using neutron cli?

  • According to the API, you can change the mac_address of a port, but not according to the CLI. Using cli, it fails as below.

[root@host]# neutron port-update a783e9f4-2fc2-435c-8744-a9a753300e3b --mac_address fa:16:3e:69:13:d4
Cannot update read-only attribute mac_address

Environment

  • Red Hat Enterprise Linux Openstack Platform v4.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content