vnf-name
Syntax
vnf-name {
type {
linux-container | virtual-machine;
}
image {
file-path;
bus-type [ide | virtio];
image-type [qcow2 | raw];
}
init-descriptor file-path;
memory {
size size;
features {
hugepages;
}
}
no-autostart;
storage device-name {
type {
cdrom {
source {
file filename;
}
}
disk {
bus-type [ide | virtio];
file-type [qcow2 | raw];
source {
file filename;
}
}
usb {
source {
file filename;
}
}
}
}
virtual-cpu {
virtual-cpu-number {
physical-cpu number | range;
}
count number;
features {
hardware-virtualization;
}
}
interfaces interface-name {
pci-address pci-address;
mapping {
hsxe0 {
virtual-function {
vlan-id vlan-id;
}
}
hsxe1 {
virtual-function {
vlan-id vlan-id;
}
}
vlan {
members vlan-name;
mode [access | trunk];
native-vlan-id vlan-id;
}
}
}
}
Hierarchy Level
[edit virtual-network-functions]
Description
Name of the virtual network function.
Options
| interfaces | Name of the interface. For example, em1. |
| no-autostart | An option to disable auto-start of VNF on the VNF configuration commit. |
| pci-address | An option to specify PCI address for the VNF interfaces. |
| mapping | An option to map VNF interfaces on platforms running disaggregated Junos OS. |
| virtual-cpu | An option to specify the number of virtual CPUs the VNF can use. By default, a VNF is assigned one virtual CPU, which is independent of any specific physical CPU. |
Required Privilege Level
routing—To view this statement in the configuration.routing-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 15.1X53-D45.