virtual-network-functions
Syntax virtual-network-functions vnf-name;
Hierarchy Level virtual-network-functions {
ipsec-nm {
interfaces {
heth1 | heth2 {
mapping {
vlan {
members vlan-name;
}
}
}
}
}
vjunos0 {
interfaces {
em1 {
mapping {
vlan {
members vlan-name;
}
}
}
}
}
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];
139Copyright © 2017, Juniper Networks, Inc.
Chapter 6: Virtual Network Functions Configuration Statements and Operational Commands