IPI-VM
Configure bridge name
Name of the VM bridge
Attribute Name: bridge-name
Attribute Type: string
Attribute Range: 1-16
Netconf edit-config payload
<vm xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vm">
<vm-bridges>
<vm-bridge> <!-- operation="delete"-->
<bridge-name>VM-BRIDGE-NAME</bridge-name>
<config>
<bridge-name>VM-BRIDGE-NAME</bridge-name>
</config>
</vm-bridge>
</vm-bridges>
</vm>
Command Syntax
vm-bridge-create VM-BRIDGE-NAME
Configure tpid
Set control channel tpid
Attribute Name: tpid
Attribute Type: string
Attribute Name: vlan
Attribute Type: uint16
Attribute Range: 1-4095
Netconf edit-config payload
<vm xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vm">
<control-channel>
<config>
<vlan>1</vlan>
<tpid>TPID</tpid>
</config>
</control-channel>
</vm>
Command Syntax
control-channel vlan <1-4095> tpid TPID
Configure vrf name
VRF Name
Attribute Name: vrf-name
Attribute Type: string
Netconf edit-config payload
<nat xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vm">
<dnat>
<dnat-vrf> <!-- operation="delete"-->
<vrf-name>VRF-NAME</vrf-name>
<config>
<vrf-name>VRF-NAME</vrf-name>
<to-port-num>-1</to-port-num>
<from-port-num>-1</from-port-num>
<protocol>tcp</protocol>
<to-ip-addr>A.B.C.D</to-ip-addr>
<from-match-value>A.B.C.D|IFNAME</from-match-value>
<from-match-type>match-ip</from-match-type>
</config>
<to-port-num>-1</to-port-num>
<from-port-num>-1</from-port-num>
<protocol>tcp</protocol>
<to-ip-addr>A.B.C.D</to-ip-addr>
<from-match-value>A.B.C.D|IFNAME</from-match-value>
<from-match-type>match-ip</from-match-type>
</dnat-vrf>
</dnat>
</nat>
Command Syntax
nat dnat (match-ip|source-interface) (A.B.C.D|IFNAME) to A.B.C.D protocol (tcp|udp) sport-num <-1-65535> dport-num <-1-65535> vrf VRF-NAME
Configure from ip addr
VRF Name
Attribute Name: vrf-name
Attribute Type: string
Netconf edit-config payload
<nat xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vm">
<snat>
<snat-vrf> <!-- operation="delete"-->
<vrf-name>VRF-NAME</vrf-name>
<config>
<vrf-name>VRF-NAME</vrf-name>
<to-ip-addr>A.B.C.D|IFNAME</to-ip-addr>
<from-ip-addr>A.B.C.D/M</from-ip-addr>
</config>
<to-ip-addr>A.B.C.D|IFNAME</to-ip-addr>
<from-ip-addr>A.B.C.D/M</from-ip-addr>
</snat-vrf>
</snat>
</nat>
Command Syntax
nat snat from A.B.C.D/M to (A.B.C.D|IFNAME) vrf VRF-NAME
Configure enable feature
Global command to enable Guest-VM feature
Attribute Name: enable-feature
Attribute Type: boolean
Netconf edit-config payload
<guestVm xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vm">
<config>
<enable-feature>true</enable-feature>
</config>
</guestVm>
Command Syntax
feature guest-vm enable
Last modified date: 08/24/2023