Telco

 View Only
  • 1.  Configuring static manual IPs in TCA VNF

    Posted Jun 01, 2023 07:28 AM

    Hi,

    Does anybody know how you can configure static manual IPs in your TCA VNF?

    My VNF has External CPs only and require static manual IPs. But instantiation fails unless I add static IP pools to all my networks in VCD. However, with this network setup the VNF is assigned IPs from pools. I would like to be able to control this per NIC for each vApp. It doesn't help to prepare an vApp template with all NICs set to type static manual on the VM, at instantiation TCA will switch to static IP pool anyway.

    I have heard that it should be possible to set IPs and other parameters using workflows but haven't found any documentation or other examples.

    My TCA version is 2.3.

    Best regards,
    Andreas



  • 2.  RE: Configuring static manual IPs in TCA VNF

    Posted Jun 08, 2023 12:17 PM

    I Andreas

    Did you manage to get help or fix for this, since I am experiencing the same issue as you?

    Best Regards

    Jimmy Mankowitz.



  • 3.  RE: Configuring static manual IPs in TCA VNF

    Posted Jun 14, 2023 07:55 AM

    Hi,

    I believe the "standard" way is to set additional configurable properties on each VDU with names like ip.0, prefix.0, ip.1, prefix.1 etc. But for this to work a script needs to run on the VM when booting and it needs to fetch guest info OVF environment variables using the vmtoolsd command and then configure interfaces using nmcli. So basically cloud-init light. I assume that a prerequisite is to have Guest Customization enabled on the VM.

    Best regards,
    Andreas



  • 4.  RE: Configuring static manual IPs in TCA VNF

    Broadcom Employee
    Posted Jun 14, 2023 07:59 AM

    Guest Customization should not be enabled on the VM. This might end up creating further problems if enabled.

    The light cloud-init script you mentioned can be run on firstboot in general. 



  • 5.  RE: Configuring static manual IPs in TCA VNF

    Posted Jun 14, 2023 01:01 PM

    Hi,

    Originally I had Guest Customization turned off but when I then executed

    vmtoolsd --cmd "info-get guestinfo.ovfenv"

    the result was simply "No value found". As far as I can see Guest Customization has to be enabled in order to get any output at all.

    Best regards,
    Andreas