Skip to content
step3body-translate.json 3.22 KiB
Newer Older
(
    services = 
[
        (   
            ^name = 'S1-local', 
            adminStatus = 'up', 
            ports = [
                (accessNodeId = node1, accessLtpId = p1, tagType = 's-vlan', vlanValue = '201'),
                (accessNodeId = node2, accessLtpId = p3, tagType = 'c-vlan', vlanValue = '101', bwprofile = true)
            ]
        ),
        (   
            ^name = 'S2-local-1', 
            adminStatus = 'up', 
            ports = [
                (accessNodeId = node1, accessLtpId = p1, tagType = 's-vlan', vlanValue = '202'),
                (accessNodeId = node2, accessLtpId = p2, tagType = 's-vlan', vlanValue = '202')
            ]
        ), 
        (   
            ^name = 'S3-local-1', 
            adminStatus = 'up', 
            ports = [
                (accessNodeId = node1, accessLtpId = p1, tagType = 's-vlan', vlanValue = '203'),
                (accessNodeId = node2, accessLtpId = p4, tagType = 's-vlan', vlanValue = '203')
            ]
        ),
        (   
            ^name = 'S1-inter-d-1', 
            adminStatus = 'up', 
            ports = [
                (accessNodeId = node1, accessLtpId = p1, tagType = 's-vlan', vlanValue = '204'),
                (accessNodeId = node2, accessLtpId = p2, tagType = 's-vlan', vlanValue = '204')
            ]
        ),
        (   
            ^name = 'S2-inter-d-1', 
            adminStatus = 'up', 
            ports = [
                (accessNodeId = node1, accessLtpId = p1, tagType = 's-vlan', vlanValue = '205'),
                (accessNodeId = node2, accessLtpId = p2, tagType = 's-vlan', vlanValue = '205')
            ]
        ),
        (   
            ^name = 'S3-inter-d-1', 
            adminStatus = 'up', 
            ports = [
                (accessNodeId = node1, accessLtpId = p1, tagType = 's-vlan', vlanValue = '206'),
                (accessNodeId = node2, accessLtpId = p4, tagType = 's-vlan', vlanValue = '206')
            ]
        ),
        (   
            ^name = 'S4-inter-d-1', 
            adminStatus = 'up', 
            ports = [
                (accessNodeId = node1, accessLtpId = p1, tagType = 's-vlan', vlanValue = '207'),
                (accessNodeId = node2, accessLtpId = p4, tagType = 's-vlan', vlanValue = '207')
            ]
        ),
        (   
            ^name = 'S1-leaf-2', 
            adminStatus = 'up', 
            ports = [
                (accessNodeId = node2, accessLtpId = p2, tagType = 's-vlan', vlanValue = '208'),
                (accessNodeId = node2, accessLtpId = p4, tagType = 's-vlan', vlanValue = '208')
            ]
        ),
        (   
            ^name = 'S2-leaf-2', 
            adminStatus = 'up', 
            ports = [
                (accessNodeId = node2, accessLtpId = p2, tagType = 's-vlan', vlanValue = '209'),
                (accessNodeId = node2, accessLtpId = p3, tagType = 'c-vlan', vlanValue = '103', bwprofile = true)
            ]
        ),
        (   
            ^name = 'S3-leaf-1', 
            adminStatus = 'up', 
            ports = [
                (accessNodeId = node2, accessLtpId = p3, tagType = 'c-vlan', vlanValue = '104', bwprofile = true),
                (accessNodeId = node2, accessLtpId = p4, tagType = 's-vlan', vlanValue = '210')
            ]
        )
    ]
)