When a new virtual network is created and bound to an MC-LAG pair, the MC-LAG port (port channel over peer) will have all the defined VLANs in the incremental changes.
If CT for a virtual network is assigned to user ports, the user ports will have incremental changes (e.g., newly added VLANs only).
Notes:
In RESTCONF, PATCH applies only partial modifications to specific fields. Fields omitted from the request body remain unchanged.
Incremental Config Preview (example)
-----RESTCONF-----
{
"config_gen_mode": "incremental",
"data": {
"openconfig-interfaces:interfaces": {
"interface": [
"config": {
"name": "Vlan888"
},
}
]
"expect": 204,
"method": "PATCH",
"url": "/data/openconfig-interfaces:interfaces"
"openconfig-interfaces:config": {
"mtu": 9100,
"url": "/data/openconfig-interfaces:interfaces/interface=Vlan888/config"
"openconfig-vlan:config": {
"interface-mode": "TRUNK",
"trunk-vlans": [
2,
3,
4,
5,
6,
7,
..snip..
777,
888, <<<
999,
"url": "/data/openconfig-interfaces:interfaces/interface=PortChannel1/openconfig-if-aggregate:aggregation/openconfig-vlan:switched-vlan/config"