Ask Your Question
0

How to modify the public network IP without removing the VM

asked 2018-09-25 13:55:01 -0600

jibrangill gravatar image

Hi All,

Please see below my stack configuration.

------------+----------------------+ | ID                                   | Stack Name  | Stack Status    | Creation Time        | Updated Time         | +--------------------------------------+-------------+-----------------+----------------------+----------------------+ | 5cce84a9-cb76-491a-9e1b-ce76d1380781 | BTSVNF      | CREATE_COMPLETE | 2018-07-25T03:48:37Z | 2018-07-25T03:48:38Z | | 48f3a3d5-8bb2-4985-9a67-c2447d3579de | ext_network | CREATE_COMPLETE | 2018-07-25T03:44:58Z | 2018-07-25T03:44:58Z | | 51d9012f-5582-48f3-9ae4-984fda262786 | flavor      | CREATE_COMPLETE | 2018-07-25T03:24:13Z | 2018-07-25T03:24:14Z |

openstack network list +--------------------------------------+-----------------------------+--------------------------------------+ | ID                                   | Name                        | Subnets                              | +--------------------------------------+-----------------------------+--------------------------------------+ | 081b3bb0-7982-4d4a-9d4a-8d8ca57c2407 | CU1-5gbts-backhaul_net-v4   | 2b6aadf6-d1ce-4cce-9d28-8dd07ad0d141 | | 1bcc64bf-34cc-43e5-b9d5-e6dfcba83799 | 5gbts-1-internal-net-v4     | 46a79960-19dc-4580-a107-76a2f0327a84 | | dac19d5f-c012-4814-b064-5b4a2509e5f3 | CU1-5gbts-fronthaul_net-v4  | 2b6641d8-ca63-43dd-a26c-a3673d1154f4 | | dd262fb6-ddfc-4013-be06-68613e640765 | 5gbts-1-internal_srv-net-v4 | 9f6bce27-1433-49cb-836f-293ea62722da | | fa64942c-fe56-4a7a-a86a-bb9651dafc44 | CU1-5gbts-oam_net-v4        | 92f988cf-4e8b-4d5b-a736-7855adaf3f31 | +--------------------------------------+-----------------------------+--------------------------------------+ [wrsroot@controller-0 ~(keystone_admin)]$ openstack stack list +--------------------------------------+-------------+-----------------+----------------------+----------------------+ | ID                                   | Stack Name  | Stack Status    | Creation Time        | Updated Time         | +--------------------------------------+-------------+-----------------+----------------------+----------------------+ | 5cce84a9-cb76-491a-9e1b-ce76d1380781 | BTSVNF      | CREATE_COMPLETE | 2018-07-25T03:48:37Z | 2018-07-25T03:48:38Z | | 48f3a3d5-8bb2-4985-9a67-c2447d3579de | ext_network | CREATE_COMPLETE | 2018-07-25T03:44:58Z | 2018-07-25T03:44:58Z | | 51d9012f-5582-48f3-9ae4-984fda262786 | flavor      | CREATE_COMPLETE | 2018-07-25T03:24:13Z | 2018-07-25T03:24:14Z | +--------------------------------------+-------------+-----------------+----------------------+----------------------+

I created the external networks with dummy IP's and instantiated the VMS also with the dummy IP's. Now We got the IP plan from customer and I have to modify the stack. I have loooked online but I haven't figured out the way to do this. A striaght forward approach I can think off is to delete the VM' i.e. stack name BTSVNF and remove the stack ext_network and create new ones. Is there a way I can do this without having to delete the ext networks or VNF? Can I first update the VNF by openstack stack update and then remove the ext networks and create them again? I mean what i am looking for is a way around the stack deletion. Thank you

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
1

answered 2018-09-27 02:21:38 -0600

Create another network and attach IP's for Instances using newly created Network, After Detach the old IP's from the Instance. Now you can able to modify your Current External network using your New Public IP

edit flag offensive delete link more
0

answered 2018-10-01 09:33:59 -0600

jibrangill gravatar image

Thank you so much for the reply.. it worked for me..

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

Stats

Asked: 2018-09-25 13:55:01 -0600

Seen: 94 times

Last updated: Oct 01 '18