/usr/lib/python2.6/site-packages/neutronclient/tests/unit/fw
NameSizeModeActions
test_cli20_firewall.py70210644editdlrm
test_cli20_firewall.pyc81210644editdlrm
test_cli20_firewallpolicy.py98220644editdlrm
test_cli20_firewallpolicy.pyc98060644editdlrm
test_cli20_firewallrule.py80220644editdlrm
test_cli20_firewallrule.pyc86980644editdlrm
__init__.py00644editdlrm
__init__.pyc1690644editdlrm
Edit: /usr/lib/python2.6/site-packages/neutronclient/tests/unit/fw/test_cli20_firewallrule.pyc (8698B)
Ñò test_create_disabled_firewall_rule_with_mandatory_params_lcase2scCs|iddƒdS(NR tTrue(R(R((sa/tmp/pip-build-cD3xZi/python-neutronclient/neutronclient/tests/unit/fw/test_cli20_firewallrule.pyt7test_create_enabled_firewall_rule_with_mandatory_params5scCs|iddƒdS(NR tFalse(R(R((sa/tmp/pip-build-cD3xZi/python-neutronclient/neutronclient/tests/unit/fw/test_cli20_firewallrule.pyt8test_create_disabled_firewall_rule_with_mandatory_params8sRcCs$d}tititiƒd!ƒ}d}d}d}d}d}d} d} d} d } d } d |d d |d|d|d|d| d| d| dd| g}g}g}|djo d!}n|i|||| |||d|dtd|d|d|d|d| d| dd d | ƒ d!S("s)firewall-rule-create with all params set.Rsmy-namesmy-descs192.168.1.0/24s192.168.2.0/24s0:65535Rs my-tenantRRs --descriptions--shareds --protocols--source-ip-addresss--destination-ip-addresss --source-ports--destination-ports--actions --enableds--admin-state-ups --tenant-idtanyt descriptiontsharedRtsource_ip_addresstdestination_ip_addresst source_porttdestination_portR R R N( RR RR RRRRR(RRRRRR$t source_iptdestination_ipR(R)R R RR RRR((sa/tmp/pip-build-cD3xZi/python-neutronclient/neutronclient/tests/unit/fw/test_cli20_firewallrule.pyt+_setup_create_firewall_rule_with_all_params;sL       cCs|iƒdS(N(R,(R((sa/tmp/pip-build-cD3xZi/python-neutronclient/neutronclient/tests/unit/fw/test_cli20_firewallrule.pyt)test_create_firewall_rule_with_all_paramsdscCs|iddƒdS(NRR#(R,(R((sa/tmp/pip-build-cD3xZi/python-neutronclient/neutronclient/tests/unit/fw/test_cli20_firewallrule.pyt(test_create_firewall_rule_with_proto_anygscCs;d}tititiƒdƒ}|i||tƒdS(sfirewall-rule-list.tfirewall_rulesN( RtListFirewallRuleRR RRRt_test_list_resourcesR(Rt resourcesR((sa/tmp/pip-build-cD3xZi/python-neutronclient/neutronclient/tests/unit/fw/test_cli20_firewallrule.pyttest_list_firewall_rulesjs cCs8d}tititiƒdƒ}|i||ƒdS(sfirewall-rule-list.R/N(RR0RR RRRt$_test_list_resources_with_pagination(RR2R((sa/tmp/pip-build-cD3xZi/python-neutronclient/neutronclient/tests/unit/fw/test_cli20_firewallrule.pyt#test_list_firewall_rules_paginationqs cCsPd}tititiƒdƒ}|i||dddgdddgƒdS( s`firewall-rule-list --sort-key name --sort-key id --sort-key asc --sort-key desc R/tsort_keyRtidtsort_dirtasctdescN(RR0RR RRRR1(RR2R((sa/tmp/pip-build-cD3xZi/python-neutronclient/neutronclient/tests/unit/fw/test_cli20_firewallrule.pyttest_list_firewall_rules_sortxs   cCs>d}tititiƒdƒ}|i||ddƒdS(sfirewall-rule-list -P.R/t page_sizeièN(RR0RR RRRR1(RR2R((sa/tmp/pip-build-cD3xZi/python-neutronclient/neutronclient/tests/unit/fw/test_cli20_firewallrule.pyttest_list_firewall_rules_limitƒs cCsYd}tititiƒdƒ}dd|ig}|i|||i|dgƒdS(sfirewall-rule-show test_id.Rs--fieldsR7N( RtShowFirewallRuleRR RRRttest_idt_test_show_resource(RRRR((sa/tmp/pip-build-cD3xZi/python-neutronclient/neutronclient/tests/unit/fw/test_cli20_firewallrule.pyttest_show_firewall_rule_idŠs  cCsbd}tititiƒdƒ}dddd|ig}|i|||i|ddgƒdS(sfirewall-rule-show.Rs--fieldsR7RN( RR>RR RRRR?R@(RRRR((sa/tmp/pip-build-cD3xZi/python-neutronclient/neutronclient/tests/unit/fw/test_cli20_firewallrule.pyttest_show_firewall_rule_id_name’s  cCsQd}tititiƒdƒ}|i||ddddghdd6ƒdS(s)firewall-rule-update myid --name newname.RRs--nametnewnameRN(RtUpdateFirewallRuleRR RRRt_test_update_resource(RRR((sa/tmp/pip-build-cD3xZi/python-neutronclient/neutronclient/tests/unit/fw/test_cli20_firewallrule.pyttest_update_firewall_rule›s   cCsQd}tititiƒdƒ}|i||ddddghdd6ƒdS(s)firewall-rule-update myid --protocol any.RRs --protocolR#RN(RRDRR RRRRE(RRR((sa/tmp/pip-build-cD3xZi/python-neutronclient/neutronclient/tests/unit/fw/test_cli20_firewallrule.pyt"test_update_firewall_rule_protocol¤s   cCsMd}tititiƒdƒ}d}|g}|i||||ƒdS(sfirewall-rule-delete my-id.Rtmyid1N(RtDeleteFirewallRuleRR RRRt_test_delete_resource(RRRRR((sa/tmp/pip-build-cD3xZi/python-neutronclient/neutronclient/tests/unit/fw/test_cli20_firewallrule.pyttest_delete_firewall_rule­s   (t__name__t __module__RRRR R"R,R-R.R3R5R;R=RARBRFRGRK(((sa/tmp/pip-build-cD3xZi/python-neutronclient/neutronclient/tests/unit/fw/test_cli20_firewallrule.pyRs"      )       tCLITestV20FirewallRuleXMLcBseZdZRS(txml(RLRMtformat(((sa/tmp/pip-build-cD3xZi/python-neutronclient/neutronclient/tests/unit/fw/test_cli20_firewallrule.pyRN·s(Rtneutronclient.neutron.v2_0.fwRtneutronclient.tests.unitRtCLITestV20BaseRRN(((sa/tmp/pip-build-cD3xZi/python-neutronclient/neutronclient/tests/unit/fw/test_cli20_firewallrule.pyts