Beispiel #1
0
def Setup(infra, module):
    global acls

    modcbs.Setup(infra, module)

    if not acls:
        Store.objects.Get('ACL_IPV4_IGMP_ACTION_SUP_REDIRECT').Configure()
        Store.objects.Get('ACL_ICMPV6_MLD_REQ_ACTION_SUP_REDIRECT').Configure()
        Store.objects.Get('ACL_ICMPV6_MLD_RES_ACTION_SUP_REDIRECT').Configure()
        Store.objects.Get(
            'ACL_ICMPV6_MLD_DONE_ACTION_SUP_REDIRECT').Configure()
        Store.objects.Get('ACL_ICMPV6_RS_ACTION_SUP_REDIRECT').Configure()
        Store.objects.Get('ACL_ICMPV6_RA_ACTION_SUP_REDIRECT').Configure()
        Store.objects.Get('ACL_ICMPV6_NS_ACTION_SUP_REDIRECT').Configure()
        Store.objects.Get('ACL_ICMPV6_NA_ACTION_SUP_REDIRECT').Configure()
        acls = True

    return
Beispiel #2
0
def Setup(infra, module):
    modcbs.Setup(infra, module)
    return
Beispiel #3
0
def Setup(infra, module):
    print("Setup(): Sample Implementation")
    modcbs.Setup(infra, module)
    return
Beispiel #4
0
def Setup(infra, module):
    global maxflows
    print("Setup(): Sample Implementation")
    modcbs.Setup(infra, module)
    maxflows = module.args.maxflows
    return
Beispiel #5
0
def Setup(infra, module):
    return modcbs.Setup(infra, module)