From c8ecc779421bffbc27c906c1ea51af3756d83398 Mon Sep 17 00:00:00 2001 From: vhowdhur Date: Wed, 19 Jul 2023 19:44:57 +0530 Subject: [PATCH] "version 1.1.10" --- RELEASENOTES.md | 11 + .../assistants/ports/portmapassistant.py | 27 +- .../assistants/sessions/sessionassistant.py | 7 +- ixnetwork_restpy/connection.py | 33 +- ixnetwork_restpy/multivalue.py | 17 +- .../pytest_tests/.pytest_cache/.gitignore | 2 + .../pytest_tests/.pytest_cache/CACHEDIR.TAG | 4 + .../pytest_tests/.pytest_cache/README.md | 8 + .../.pytest_cache/v/cache/lastfailed | 16 + .../.pytest_cache/v/cache/nodeids | 240 ++ .../.pytest_cache/v/cache/stepwise | 1 + .../test_multivalue_patterns.py | 16 + .../tests/test_pcep_learned_info.py | 17 + .../globals/preferences/preferences.py | 104 +- .../ancp_ff7c65534887bffdbaff1aefad2051e6.py | 4 +- ...4peer_1f7b633f7d4420fe61750b060e77eec8.py} | 51 +- ...6peer_0854d0d7c94c9c8faf8c89f2f9f19893.py} | 51 +- ...dedgre_0a904fed3442eacc276cae46d48c1750.py | 4 +- ...client_177a83e0b1208125d8f1210a0eeccf9e.py | 4 +- ...yagent_0505d30995689ae96b30b284ac888f41.py | 4 +- ...server_4e72811319e14b12cbdf5ee077d49332.py | 4 +- ...client_dfdae0e3c18486de2d035a82acbaf6d1.py | 4 +- ...yagent_3ce0fea2045102397de9e3f84c8cfdcd.py | 4 +- ...server_5ecd1ab7ae85632367976a63d9909c05.py | 4 +- ...geneve_a488a10a6d48e959563f1aca2792a26d.py | 4 +- ... ipv6_ab6c81b5b300b4621ca50e4da7d5db2a.py} | 15 + ...outer_b221ecb1227b0d9ee3ab2e2861c08d9e.py} | 18 + ...yagent_63fbf8e8df0af8e405e1da5d43ae1bf7.py | 4 +- ...plate_1ea7f04b862a6e160d6a43f4baf17ef3.py} | 4 +- ...plate_311f1c0fcf68e244bff6b56837d1cc3f.py} | 4 +- ...hannel_8ec1f01f10da89a528ff9caaa6cebe92.py | 12 +- ...plate_cdfd5cc0a95b553333af05df056c6f5a.py} | 4 +- ...fined_240bc09f3e5f74cbccf8ba2d8f664986.py} | 0 ...efined_6b976ae27edbd8634592ab8d68c01286.py | 121 + ...plate_6a59517c84898f2a30a8152cc822c184.py} | 4 +- ...plate_1e807a572261b40ca9edb7d10d0fbc78.py} | 4 +- ...roller_e0a495604f848478428f1aea1ec3455d.py | 8 +- ...efined_5a2670e52b655e422dc04191d5f20c16.py | 161 ++ ...action_8ce2c14ee7ce3b2cc1ebc72a1dcbf36d.py | 272 +++ ...uction_bafc3530125cb4ccc80f5db40e965664.py | 292 +++ ...outer_269014fa4008b7e81a251725fc2ca6bf.py} | 17 + .../pcc_b9da1d5a5cf31906067f29bdfc78e860.py | 2 +- .../pce_01d903d1ebbc310362aec8b4e7dc8176.py | 2 +- ...client_5dc1f66a565b5f159bb9b76e6267101c.py | 4 +- ...aults_357155246025eaca693ddd1bd09a2c58.py} | 0 ...ditor_9737bec75dbac826009c3374be76c5f7.py} | 4 +- ...pology_678a8dc80c9b4b2b5c741072eab4305d.py | 20 +- ...nklist_763f9e1a55aa38eb16e9aa15af5fbd00.py | 4 +- ...entv4_2514045783c23a908611c72c13ab7e8f.py} | 34 + ...entv6_58e9b55555c9ee871244737f09405ae0.py} | 34 + ...operty_ffd9071ae88c6283e9f54ec948882405.py | 4 +- ...v4peer_2e2c3c2ad1ad138953e43543afb88841.py | 8 +- ...v6peer_cc4b2c56b540aa17ec1d2d616e50cd4b.py | 8 +- ...operty_3b5e18e475abdb9b6f2bf410d51d886a.py | 4 +- ...esipv4_279b1194a64614140f00d08a876cb61b.py | 4 +- ...esipv6_49c886be42acc1f3fc70df1023ccb0bd.py | 4 +- ...esipv4_83c1dffccb6359eeaa27efcb24b1e2a2.py | 4 +- ...esipv6_432522ec6a3a94bf0469071086aef3c0.py | 4 +- ...operty_e31f5dc41e1565260f4ddeb2f61efe60.py | 4 +- ...operty_15999adbfe8d61825751768ad5e0ddda.py | 4 +- ...dedgre_09eda4ea678bfaf1026122797df45443.py | 4 +- ...rties_ecb45bfaef4008cb27346c98c45748b2.py} | 55 +- ...egroup_fe4647b311377ec16edf5dcfe93dca09.py | 4 +- ...rofile_1f5a4a0853366dc50313b9b3e8f6e68d.py | 4 +- ...rofile_26571057903c7fcd2a20eb10f55be22f.py | 4 +- ...client_51940f357e701f382297f94c99af7a22.py | 4 +- ...server_a0d174266d4c9a35774364ccc4dfccb3.py | 4 +- ...client_355391ba11ab3c1555c827e2e4ac3c4c.py | 4 +- ...server_df745f3926c8653c96b69175854d0c80.py | 4 +- ...lpools_d9b929e10c822a015fb7026b5bad393a.py | 4 +- ...rusers_5814e34000b9bdc960142e49f7af3c67.py | 4 +- ...rusers_d1f6861b47ba784e3298939a333f12b9.py | 4 +- ...xrange_f9fe868ed341d666199597001888e18d.py | 4 +- ...xrange_907e82e321deae422b0ee1ed0f82f2f3.py | 4 +- ...geneve_14ab6f140956b4fc77d1d0f03c5e7514.py | 4 +- ...4entry_ed5330eae91aea3aecb945c3eda32ad4.py | 4 +- ...xpools_2d6f2aedde61c058965d4e1b21741352.py | 4 +- ...xpools_f83aba85ff769655b348dc60ddcb30f2.py | 4 +- ...routes_bcae68d87ea9e8a15aceb277f8bd6246.py | 4 +- ...isisl3_2471ee7fdf32e67045bfc6c9e14f54d6.py | 4 +- ...smtid_586e046161234c1eaaab8136f246c47b.py} | 26 +- ...erface_9126bc028693cbbf9d918cf385cfa24d.py | 4 +- ...dipv6_b4a9d75a0ea192e5bc7f5118726e154a.py} | 26 +- ...outer_cc48b213b1c82a8d7545254aacd48ebb.py} | 17 - ...operty_b92337ebc659bd40bd9c30fab98749e7.py | 8 +- ...outer_7438a99ef52cd7dce31afeeb11418125.py} | 17 - ...dlist_8fd17f74f5299000c0f93d3d190aee51.py} | 33 +- ...dlist_953f6f5d73f9f8b772ed5ed34413424e.py} | 26 +- ...config_791b0bf61c8f6877cabfa2621478ab8a.py | 4 +- ...config_a91c5b3e28b2bee04ff08d2e22fad1e2.py | 4 +- ...operty_9d07999903dc2acadf9a2f44f8a94399.py | 4 +- ...operty_408cfe80a37623da202d7739fba9b830.py | 4 +- ...onlist_57354c012aa6110e6483c4eaf33a2438.py | 296 +++ ...rofile_2ba597be74523b48fa398c0fe5ce3acf.py | 221 ++ ...rofile_d56a9c24805ae788ef01a9b7a86babf1.py | 221 ++ ...pdate_0f2cd377c44f7dfc2c15b68516dc2707.py} | 0 ...update_c16222bcf67d5a605c480c375e0fa938.py | 110 + ...update_dd43ce3af7af258dc032dc87aa945c8b.py | 225 ++ ...update_f0f5d88734eb95208b4f723819a57481.py | 113 + ...edinfo_2e820550fd3f57d4f0b6d57e32ffa0df.py | 138 ++ ...edinfo_dc0fb9c204191e64878422c6a8604d01.py | 1989 +++++++++++++++++ ...rofile_7087734f0df99cfe7bfd9afab773a120.py | 198 ++ ...params_a744c997c9b882a5c54b978095fc5398.py | 972 ++++++++ ...params_fba7719ac304788aa97d45eb6b6115cb.py | 969 ++++++++ ...params_86ab1246139fe62f74705dedfe30b987.py | 972 ++++++++ ...params_0c9e029a38fba6fae93fa53a8f46b4bb.py | 972 ++++++++ ...params_951cdbe14befd4ee3c5048628bfc6d65.py | 969 ++++++++ ...params_914bb4f12b1f9c2014caf436b5fa2d28.py | 972 ++++++++ ...lvlist_12acfda98ab8bf91c183199c30f2f953.py | 337 +++ ...ctlist_067a0a0a0d8b8dbf8239b459127bf201.py | 573 +++++ ...ctlist_f72a62fe60fa1ddf919cc7fba7858d6e.py | 218 ++ ...ctlist_fd8fa1e77098fa6f4bc87b12a1ed3fcb.py | 175 ++ ...ctlist_d9e41e4990a041fcca2fc6fd076cf303.py | 440 ++++ ...ctlist_161f8505e21b0db145157226f5332ddd.py | 175 ++ ...ctlist_bbcc97d115dea1f934b86dd3b1d0e7e2.py | 407 ++++ ...ctlist_39e8f2176cc00efc53dbcdedfed0385e.py | 175 ++ ...ctlist_3cb16b2513bf72ff7ee4a5e0387625cf.py | 323 +++ ...rofile_987f303b51886f2a61c9c1388518f037.py | 4 +- ...cpools_414597218f17eaa9c882bf703e2d0bdd.py | 4 +- ...plsoam_e01bb6affe899a4731aa60619f4aeadc.py | 4 +- ...kgroup_4a63874e791827c3a0361c2d201dbc0c.py | 4 +- ...geinfo_cbb1e7fa358c353ee8fd62246a36a824.py | 4 +- ...roller_855b90b006cc4c874a779dee4d2b3eb2.py | 4 +- ...operty_d69371739e1874a63feb0c8493c3f052.py | 4 +- ...operty_daf6d024b6ece255d2d043618b13bae5.py | 4 +- .../pcc_b3b58700330e49a2ac7fa39dc4a695a3.py | 4 +- ...cgroup_3a89d1f1ba6aab73452ad7597ec4a74f.py | 16 +- ...eters_1c9b366144f491bf4e7b932c68a9f208.py} | 62 +- ...lvlist_a446e2f09315dac50332432f39dfd53a.py | 387 ++++ ...lvlist_f4c1df238c92bb045645b2a65159e09e.py | 402 ++++ ...rparam_73209d05e577378a56b9722352f1235b.py | 415 ++++ ...mlist_f73e78368b17b6d0af989167da955078.py} | 84 +- ...eters_20e35ff81e20c98310382047d3d57147.py} | 60 +- ...client_f43b198156c11196dbbd8c4dbee2af9d.py | 4 +- ...rlsps_967b2455bf37443139cbc5750c81086f.py} | 60 +- ...router_6b838313b6104e3f157ae2656c6afbb1.py | 4 +- ...rv6oam_222b2d34be60272a50cccc049cada4ef.py | 4 +- ...nation_4c1ece21781b682b07f8d26d61f2b8b6.py | 2 +- ...ofile_421be1db953efaf826fe146cf9700e26.py} | 0 .../sessions/ixnetwork/traffic/traffic.py | 15 +- .../configelement/stack/macsec_template.py | 50 +- .../ixnetwork/vport/capture/capture.py | 68 +- ...field_7affd1e09afce28a240867653ece2b1a.py} | 0 ...bridge_f5eb213292554c87fbba0896618d8189.py | 4 +- ... cist_68f0971c9777c68c74462bca49dfbc28.py} | 0 ...ation_a15e8f019af7bb51517582abe5420f9e.py} | 0 ...ation_bc2e368143330cd32a96af7ea8b5bb3a.py} | 0 ...enflow_81b0892fb793919c2b8ec714a09eb3dc.py | 4 +- .../ixnetwork/vport/protocols/protocols.py | 4 +- ...router_320e1c5c099823f4ba100b7eaf8bb8d9.py | 4 +- ...tatic_e79f48c67dc04c4349a4bfc7549f0778.py} | 0 ...rigger_159cbb76bc90f1cb0a06dd89e98757fa.py | 8 +- ...field_f6680032f23d081fe60174c0337b285b.py} | 0 ...dpoint_dee40c23795c99236356679505ae3c70.py | 4 +- ...dpoint_9b50c3d9e2a9ed98449cf2fa82da0253.py | 4 +- ...dpoint_d83734cfeb988490446d1c9ad6c4af09.py | 4 +- ...dpoint_6a2e5d6ed8f697899ea34096e99b027f.py | 4 +- ...dpoint_a22b09963ab2b0ca7a14248b711c35e1.py | 4 +- ...dpoint_5115610c6cd826a379e6cbdaee2b875e.py | 4 +- ...dpoint_d436e2d19fffb91e2889195980d1760e.py | 4 +- ...dpoint_1ab3a0ce17d84b001c866b1120706b8f.py | 4 +- ...dpoint_a4e17e1071a2084830e8218141d4f437.py | 4 +- ...dpoint_03e90bb95a88ea6deed782925554ca79.py | 4 +- ...dpoint_9d22862f79a4153c07540ad31eb9bdd2.py | 4 +- ...dpoint_598cc4f35c801a1526ed4421e2e570a2.py | 4 +- ...dpoint_a9d945476d24ef6194b0b0ec5916ee36.py | 4 +- ...dpoint_4ec354c151f9cab9f07c2bff48a4a83d.py | 4 +- ...dpoint_dc7cfbbccaf798a51cdd9eada3c220d6.py | 4 +- ...dpoint_18dd9f3fe9145af8ca5184848784e855.py | 8 +- ...dpoint_cc368073476d4f637e3ba925742e65d1.py | 8 +- ...dpoint_47a953c08f5047f18356c1879562bf55.py | 16 +- ...dpoint_c55c424d3e7aaccbd64dbf81e53ddd47.py | 16 +- ...dpoint_857004064b943fadd99742db0b749ada.py | 8 +- ...dpoint_975195d26c2f46a16239455b71a20edc.py | 8 +- ...dpoint_aae7f5ee4462ed8975fee38ecfdd86d1.py | 4 +- ...dpoint_e2791f7a41f10821550e2e652f36792e.py | 4 +- ...dpoint_88df8cdf84e98f0da406a58b7c2e745a.py | 4 +- ...range_8a9723bda9b47f712adf16ebd9da25d1.py} | 0 ...range_ce5b2d23036a43323926376f1f97b62c.py} | 0 ...dpoint_07ba999c5a07ba0fd133662d8bd1eae1.py | 4 +- ...dpoint_0bb27e24785b640285fd4c28890701c0.py | 4 +- ...dpoint_a42123f17fd448b552a019e1e0aaa650.py | 8 +- ...dpoint_9255cba3c6a958f51058e288c4d5d575.py | 4 +- ...dpoint_572db692c1afc7eaf3ffbc2d091b2388.py | 8 +- ...dpoint_4c21073b5655bdd8f2c6cf4b0418152b.py | 4 +- ...dpoint_4da9c5c153153e3473d042a065dec6c2.py | 4 +- ...dpoint_0e456c41e5e499ee1a2324aa82ebd37b.py | 4 +- ...dpoint_2f8a5399d139504946039cbf9a9f8c7f.py | 4 +- ...range_852b3778e51e94b8b3582c4a1117becf.py} | 0 ...range_e604674ecdd0b4fe2df4605db27a1b53.py} | 0 ...range_ae0efcc659d603f0eb8549457012f29f.py} | 0 ...range_e8f79538072041791458aac3b3075b7a.py} | 0 ...range_2cbab7713df96d4df30a781454f602a7.py} | 0 ...range_edf0603e83bd15a31fa955a1d0751128.py} | 0 ...dpoint_894fab4afae2dd31b0f787867fd3aba9.py | 4 +- ...range_031a023bb071f0ca2e45a5074ee567a9.py} | 0 ...range_04de051b3ba760081d0b9991bf7dbc4e.py} | 0 ...range_25b4e49ecd8aec113da4fdc82aeeeaab.py} | 0 ...range_281818a593efb61b2f6fffd1f9da6a6f.py} | 0 ...range_29b01b5e636d92d63e9f0b43f4682cb2.py} | 0 ...range_2b29151aeff3fe5ab69e9964c2e0b99f.py} | 0 ...range_3e88999ba7ecd3f4ed17f238744103e6.py} | 0 ...range_3ee7bc0118b2324bb2fb187c15600d9c.py} | 0 ...range_44e80520706c08bd8257ac4642152b35.py} | 0 ...range_452ecf1d98c87e07f8f03da6a0e36b6f.py} | 0 ...range_4559f7e54e195c97b0eba74d635feab0.py} | 0 ...range_4d5da9ae260e7e6f9afdb936e93ad220.py} | 0 ...range_4e8e50d35a33109542ff440c8d2d02ac.py} | 0 ...range_5251d4fee6fd7b476180b66ee4a3a820.py} | 0 ...range_55ae589bddacfef0ef123ca6ae1ea201.py} | 0 ...range_58ef2d157378f1fc5409888ddd475c8e.py} | 0 ...range_5adad680fef8d3f19c2ad437037acf5b.py} | 0 ...range_61cac03b8738925a787df0eb06885a34.py} | 0 ...range_6300ad5e3933498261c9e5c17e3a5b6c.py} | 0 ...range_833d9f4a0e2faf013368ba23995f6380.py} | 0 ...range_927d4482b1911432ead9711bbde2ec30.py} | 0 ...range_976079d965d28dabb2ddc5ac04ca4622.py} | 0 ...range_9d890958a285636b6a8f974eb82514e9.py} | 0 ...range_a7a46bda5e8d78ca64430290c03c2491.py} | 0 ...range_bd1825ace0b6ab3cecc730fc747aa4ff.py} | 0 ...range_bef839061ad240410e3ef6359d892ad3.py} | 0 ...range_bf57dc35591d632e5376e709022f5f46.py} | 0 ...range_c1b928af51855ee016e9fa55b623620d.py} | 0 ...range_d5c0ea39818d101c2ff062e575aab5f6.py} | 0 ...range_d61e93d7563d8598caec37751d5cd60f.py} | 0 ...range_d98ed43d27728e182795c7cd6b5cdf59.py} | 0 ...range_dec9ab7508460d52ce0d7fb05e5b3f8c.py} | 0 ...range_e3e612b996a0f507e56f66b90ba5768b.py} | 0 ...range_e59851be16b3aa8c14c7fa65e4557e23.py} | 0 ...range_ecf077012ebaa523127793af2f85163c.py} | 0 ...range_ed51d487e5d4c037a59eb05c074e14aa.py} | 0 ...range_f573006ce8cded3d52938da7d7fd7457.py} | 0 ...range_4cf2251e12acb0aada8899dd10e43b12.py} | 0 ...range_7fc8d2489719eb1630e53e48fa7a83b0.py} | 0 ...dpoint_7545788a3cf6a084962dc626f26041f6.py | 4 +- ...dpoint_cf5847749d4644629c13ef171e44352c.py | 4 +- ...range_5eacd6d4523a5dcc9278eb67a74a249d.py} | 0 ...range_bf1dc9a5f8fc818499e853f990a4d224.py} | 0 ...dpoint_27164b31df54a9faa69c1190fe14c0ed.py | 4 +- .../testplatform/sessions/sessions.py | 2 +- ixnetwork_restpy/testplatform/testplatform.py | 11 +- .../assistants/ports/portmapassistant.py | 27 +- .../assistants/sessions/sessionassistant.py | 7 +- uhd_restpy/connection.py | 33 +- uhd_restpy/multivalue.py | 17 +- ...v4peer_439a44dd340bf6fd724df996ab26569d.py | 4 +- ...v6peer_7e5e36454dedaa483fd7dd20abef422b.py | 4 +- ...aults_357155246025eaca693ddd1bd09a2c58.py} | 0 ...ditor_9737bec75dbac826009c3374be76c5f7.py} | 4 +- ...nklist_64989e297b3e27479937928bcec9cd7f.py | 4 +- ...v4peer_9dd9eddcf2bd784d82d8a016e392f035.py | 4 +- ...v6peer_d4ac277d9da759fd5a152b8e6eb0ab20.py | 4 +- ...dedgre_09eda4ea678bfaf1026122797df45443.py | 4 +- ...rofile_1f5a4a0853366dc50313b9b3e8f6e68d.py | 4 +- ...rofile_26571057903c7fcd2a20eb10f55be22f.py | 4 +- ...client_cfcdda8db5004b679a441f92193405ea.py | 4 +- ...server_a0d174266d4c9a35774364ccc4dfccb3.py | 4 +- ...client_355391ba11ab3c1555c827e2e4ac3c4c.py | 4 +- ...server_df745f3926c8653c96b69175854d0c80.py | 4 +- ...lpools_d9b929e10c822a015fb7026b5bad393a.py | 4 +- ...geneve_14ab6f140956b4fc77d1d0f03c5e7514.py | 4 +- ...onlist_57354c012aa6110e6483c4eaf33a2438.py | 261 +++ ...rofile_2ba597be74523b48fa398c0fe5ce3acf.py | 213 ++ ...rofile_d56a9c24805ae788ef01a9b7a86babf1.py | 213 ++ ...update_c16222bcf67d5a605c480c375e0fa938.py | 108 + ...pdate_dd43ce3af7af258dc032dc87aa945c8b.py} | 0 ...update_f0f5d88734eb95208b4f723819a57481.py | 108 + ...edinfo_2e820550fd3f57d4f0b6d57e32ffa0df.py | 135 ++ ...edinfo_dc0fb9c204191e64878422c6a8604d01.py | 1624 ++++++++++++++ ...rofile_7087734f0df99cfe7bfd9afab773a120.py | 192 ++ ...rofile_987f303b51886f2a61c9c1388518f037.py | 4 +- ...plsoam_e01bb6affe899a4731aa60619f4aeadc.py | 4 +- ...roller_855b90b006cc4c874a779dee4d2b3eb2.py | 4 +- ...cgroup_38d4bb7f936743f9bf59e702af0766bb.py | 4 +- ...client_57c51b5ca094121e33c3a9ba5033980f.py | 4 +- ...ofile_421be1db953efaf826fe146cf9700e26.py} | 0 uhd_restpy/testplatform/sessions/sessions.py | 2 +- uhd_restpy/testplatform/testplatform.py | 11 +- version.txt | 2 +- 279 files changed, 18634 insertions(+), 498 deletions(-) create mode 100644 ixnetwork_restpy/pytest_tests/.pytest_cache/.gitignore create mode 100644 ixnetwork_restpy/pytest_tests/.pytest_cache/CACHEDIR.TAG create mode 100644 ixnetwork_restpy/pytest_tests/.pytest_cache/README.md create mode 100644 ixnetwork_restpy/pytest_tests/.pytest_cache/v/cache/lastfailed create mode 100644 ixnetwork_restpy/pytest_tests/.pytest_cache/v/cache/nodeids create mode 100644 ixnetwork_restpy/pytest_tests/.pytest_cache/v/cache/stepwise create mode 100644 ixnetwork_restpy/pytest_tests/tests/test_pcep_learned_info.py rename ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/bgpipv4peer/{bgpipv4peer_afa8d6e968f83567434da3bbaadcd5ec.py => bgpipv4peer_1f7b633f7d4420fe61750b060e77eec8.py} (95%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/bgpipv6peer/{bgpipv6peer_8ab1a4e13ad76078ea4d9cfab0bd1d95.py => bgpipv6peer_0854d0d7c94c9c8faf8c89f2f9f19893.py} (95%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/ipv6/{ipv6_ef62e7d01f88eb0ac20e06be06512826.py => ipv6_ab6c81b5b300b4621ca50e4da7d5db2a.py} (96%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/isisl3router/{isisl3router_a93696d54f0737d09150b5e9abfc942d.py => isisl3router_b221ecb1227b0d9ee3ab2e2861c08d9e.py} (97%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowchannel/{flowaggrmatchtemplate_92a54a687c7573d5dcbe6197e7acd7a5.py => flowaggrmatchtemplate_1ea7f04b862a6e160d6a43f4baf17ef3.py} (95%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowchannel/{flowstatmatchtemplate_9d0efda6a234c80e8ec5d25dbc49e75b.py => flowstatmatchtemplate_311f1c0fcf68e244bff6b56837d1cc3f.py} (95%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowchannel/{packetoutactiontemplate_655055ae6e6b8535ff5754b84cd6d7dd.py => packetoutactiontemplate_cdfd5cc0a95b553333af05df056c6f5a.py} (95%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowchannel/{predefined_948d5a993970b6a0e72926850bcf371e.py => predefined_240bc09f3e5f74cbccf8ba2d8f664986.py} (100%) create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowchannel/predefined_6b976ae27edbd8634592ab8d68c01286.py rename ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowcontroller/{actionstemplate_3506879509654c1d0d77f933edb1922c.py => actionstemplate_6a59517c84898f2a30a8152cc822c184.py} (95%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowcontroller/{flowsettemplate_1b79b45150c48e9f752113654ba90a51.py => flowsettemplate_1e807a572261b40ca9edb7d10d0fbc78.py} (95%) create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowcontroller/predefined_5a2670e52b655e422dc04191d5f20c16.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowcontroller/supportedaction_8ce2c14ee7ce3b2cc1ebc72a1dcbf36d.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowcontroller/supportedinstruction_bafc3530125cb4ccc80f5db40e965664.py rename ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/ospfv2router/{ospfv2router_fc60e2637a549cc6f1633d0088abb4ee.py => ospfv2router_269014fa4008b7e81a251725fc2ca6bf.py} (95%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/tlveditor/{defaults_6da4efbc0f60f2cba8351f92d98fdc75.py => defaults_357155246025eaca693ddd1bd09a2c58.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/tlveditor/{tlveditor_d66c1061f4b3bb902b0e5e76ee632657.py => tlveditor_9737bec75dbac826009c3374be76c5f7.py} (96%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/{bgpethernetsegmentv4_1cb5c56a2c9d4d061f97207a53f3a691.py => bgpethernetsegmentv4_2514045783c23a908611c72c13ab7e8f.py} (97%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/{bgpethernetsegmentv6_766c04a63efb3fe4eca969aac968fe4e.py => bgpethernetsegmentv6_58e9b55555c9ee871244737f09405ae0.py} (97%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/{cmacproperties_2f1fa60d20894ec3fe809175e33e024f.py => cmacproperties_ecb45bfaef4008cb27346c98c45748b2.py} (97%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/{isisl3prefixesmtid_7f655e2e5caa37b3bd2fd2abdfec8d3c.py => isisl3prefixesmtid_586e046161234c1eaaab8136f246c47b.py} (85%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/{isisl3pseudoroutemtidipv6_2a10c4ed3c307b62d44ec1ae4467199f.py => isisl3pseudoroutemtidipv6_b4a9d75a0ea192e5bc7f5118726e154a.py} (85%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/{isisl3pseudorouter_5715ca59d18252d03e32609350922ccb.py => isisl3pseudorouter_cc48b213b1c82a8d7545254aacd48ebb.py} (99%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/{isisl3router_9e43da3dac634f0a3fa5d8ede6d6921c.py => isisl3router_7438a99ef52cd7dce31afeeb11418125.py} (99%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/{isismtidlist_546f33e99cab8ba1beaa9a395387c9df.py => isismtidlist_8fd17f74f5299000c0f93d3d190aee51.py} (85%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/{isispseudomtidlist_800cbf49cc3d73527a4abe5aa7740b22.py => isispseudomtidlist_953f6f5d73f9f8b772ed5ed34413424e.py} (86%) create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/actionlist_57354c012aa6110e6483c4eaf33a2438.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/flowaggrmatchprofile_2ba597be74523b48fa398c0fe5ce3acf.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/flowstatmatchprofile_d56a9c24805ae788ef01a9b7a86babf1.py rename ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/{learnedinfoupdate_b6503122c0a4a58877467964920e27b5.py => learnedinfoupdate_0f2cd377c44f7dfc2c15b68516dc2707.py} (100%) create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/learnedinfoupdate_c16222bcf67d5a605c480c375e0fa938.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/learnedinfoupdate_dd43ce3af7af258dc032dc87aa945c8b.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/learnedinfoupdate_f0f5d88734eb95208b4f723819a57481.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/mplsoamsbfdresponderlearnedinfo_2e820550fd3f57d4f0b6d57e32ffa0df.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/ofchannellearnedinfo_dc0fb9c204191e64878422c6a8604d01.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/packetoutactionprofile_7087734f0df99cfe7bfd9afab773a120.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcebasicrsvpsynclspupdateparams_a744c997c9b882a5c54b978095fc5398.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcebasicsrsynclspupdateparams_fba7719ac304788aa97d45eb6b6115cb.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcebasicsrv6synclspupdateparams_86ab1246139fe62f74705dedfe30b987.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcedetailedrsvpsynclspupdateparams_0c9e029a38fba6fae93fa53a8f46b4bb.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcedetailedsrsynclspupdateparams_951cdbe14befd4ee3c5048628bfc6d65.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcedetailedsrv6synclspupdateparams_914bb4f12b1f9c2014caf436b5fa2d28.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceptepathbindingtlvlist_12acfda98ab8bf91c183199c30f2f953.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdateassociationobjectlist_067a0a0a0d8b8dbf8239b459127bf201.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatersvperosubobjectlist_f72a62fe60fa1ddf919cc7fba7858d6e.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatersvpmetricsubobjectlist_fd8fa1e77098fa6f4bc87b12a1ed3fcb.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatesrerosubobjectlist_d9e41e4990a041fcca2fc6fd076cf303.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatesrmetricsubobjectlist_161f8505e21b0db145157226f5332ddd.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatesrv6erosubobjectlist_bbcc97d115dea1f934b86dd3b1d0e7e2.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatesrv6metricsubobjectlist_39e8f2176cc00efc53dbcdedfed0385e.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatexrosubobjectlist_3cb16b2513bf72ff7ee4a5e0387625cf.py rename ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/{pceinitiatelspparameters_54a195f4ec5b73428b4ada028429f546.py => pceinitiatelspparameters_1c9b366144f491bf4e7b932c68a9f208.py} (95%) create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pceptepathbindingtlvlist_a446e2f09315dac50332432f39dfd53a.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pceptepathbindingtlvlist_f4c1df238c92bb045645b2a65159e09e.py create mode 100644 ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pceptepathbindingtlvlisttriggerparam_73209d05e577378a56b9722352f1235b.py rename ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/{pcetriggerparamlist_390e56e0c3749ff467ab98b9abba9e70.py => pcetriggerparamlist_f73e78368b17b6d0af989167da955078.py} (93%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/{pcreplylspparameters_73031069954bcd625c2f1df5c90abae7.py => pcreplylspparameters_20e35ff81e20c98310382047d3d57147.py} (94%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/{preestablishedsrlsps_95c5549c90184bfff112fd02cc41c84f.py => preestablishedsrlsps_967b2455bf37443139cbc5750c81086f.py} (95%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/{tlvprofile_69db000d3ef3b060f5edc387b878736c.py => tlvprofile_421be1db953efaf826fe146cf9700e26.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/{applysetfield_6b54e7b16ba9baf0b2a20fe04e8667fc.py => applysetfield_7affd1e09afce28a240867653ece2b1a.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/{cist_7c0c7d81a93f9c4eb25c40a47dfbc2af.py => cist_68f0971c9777c68c74462bca49dfbc28.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/{hosttopologylearnedinformation_4110abe6bc708b97f65a28c397fa159a.py => hosttopologylearnedinformation_a15e8f019af7bb51517582abe5420f9e.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/{learnedinformation_0f99cbd8f68676519789d627dcbdf3bd.py => learnedinformation_bc2e368143330cd32a96af7ea8b5bb3a.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/{static_5795de030fada71c167436cb330786b5.py => static_e79f48c67dc04c4349a4bfc7549f0778.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/{writesetfield_dfdf63f4b03a4c586826f4e2a45d55f1.py => writesetfield_f6680032f23d081fe60174c0337b285b.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{enbs5s8secondaryrange_6979f95efc6dcd8ca32adc922489910e.py => enbs5s8secondaryrange_8a9723bda9b47f712adf16ebd9da25d1.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{enbs5s8secondaryrange_d38feb87b2d8802982f3358945f10f5a.py => enbs5s8secondaryrange_ce5b2d23036a43323926376f1f97b62c.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{mmes5s8secondaryrange_073ddb851415ef28f2860ea76af84eed.py => mmes5s8secondaryrange_852b3778e51e94b8b3582c4a1117becf.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{mmes5s8secondaryrange_8e42fb0111222b63e5a97e03ee0bf819.py => mmes5s8secondaryrange_e604674ecdd0b4fe2df4605db27a1b53.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{pcrfsecondaryrange_59a76d211358161fb8069e57ddf1e776.py => pcrfsecondaryrange_ae0efcc659d603f0eb8549457012f29f.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{pcrfsecondaryrange_bbcc6ef67e8b1c4ad0f758de9ed54e58.py => pcrfsecondaryrange_e8f79538072041791458aac3b3075b7a.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{pgws5s8pcrfsecondaryrange_3939f27c5e981cdfdc4b57e3fc161030.py => pgws5s8pcrfsecondaryrange_2cbab7713df96d4df30a781454f602a7.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{pgws5s8pcrfsecondaryrange_a25dc4da1331e10f5f32ef3de77cd631.py => pgws5s8pcrfsecondaryrange_edf0603e83bd15a31fa955a1d0751128.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{range_14ccbefe0f412abdbca5a78418fdfd2c.py => range_031a023bb071f0ca2e45a5074ee567a9.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{range_9867684aa353d6d6ae01074fe35b5995.py => range_04de051b3ba760081d0b9991bf7dbc4e.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{range_e418bcf85af6390119a5dd5d472305ba.py => range_25b4e49ecd8aec113da4fdc82aeeeaab.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{range_03b268adfe6a6c87bd90b5ff6f14c6c6.py => range_281818a593efb61b2f6fffd1f9da6a6f.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{range_01a910a4c80c6da7a2f64bf8e2f6d7c0.py => range_29b01b5e636d92d63e9f0b43f4682cb2.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{range_283f1fd188d0947f4e374b4b665585bb.py => range_2b29151aeff3fe5ab69e9964c2e0b99f.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{range_681650f32cd095378011b8a1d7315111.py => range_3e88999ba7ecd3f4ed17f238744103e6.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{range_784857e7a54775901ce0ca4dcb81ecc6.py => range_3ee7bc0118b2324bb2fb187c15600d9c.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{range_6ea3285a57ccc51a93d37bb8121e1ff3.py => range_44e80520706c08bd8257ac4642152b35.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{range_a7f3df3a59cb83eafc373f5661bd4ebe.py => range_452ecf1d98c87e07f8f03da6a0e36b6f.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{range_e8ab79ad2ff12fb20ff328358cb3fd41.py => range_4559f7e54e195c97b0eba74d635feab0.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{range_0b8d3bee9ea43ad27a688d5c37dca672.py => range_4d5da9ae260e7e6f9afdb936e93ad220.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{range_3fc512600508a1c56061b9a7cd612138.py => range_4e8e50d35a33109542ff440c8d2d02ac.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{range_c0d35fd45e0530a2c7877a48114c649b.py => range_5251d4fee6fd7b476180b66ee4a3a820.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{range_f09751c9d3e1d386601fd6ebbf0f6a2d.py => range_55ae589bddacfef0ef123ca6ae1ea201.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{range_df00990042a2a47c758f0dbbc73df127.py => range_58ef2d157378f1fc5409888ddd475c8e.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{range_092d943b2a13c1e5470555b58a77a0f1.py => range_5adad680fef8d3f19c2ad437037acf5b.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{range_5edced5097fd8263907e8017a6eb4b4b.py => range_61cac03b8738925a787df0eb06885a34.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{range_2498533715f22883132c456ee618ea74.py => range_6300ad5e3933498261c9e5c17e3a5b6c.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{range_c665a8d838236b4755228dbd857e637e.py => range_833d9f4a0e2faf013368ba23995f6380.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{range_3ffe67ceb6821a0f1e1246eb5813ce2e.py => range_927d4482b1911432ead9711bbde2ec30.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{range_9a2b37b1364ba2623cb7c320fb347e14.py => range_976079d965d28dabb2ddc5ac04ca4622.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{range_3caa865884288691781b66a0f7f613d9.py => range_9d890958a285636b6a8f974eb82514e9.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{range_510810c6c0995cd31bbb44065c36ba0d.py => range_a7a46bda5e8d78ca64430290c03c2491.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{range_d647122d38f8050f3f2facda96175ffa.py => range_bd1825ace0b6ab3cecc730fc747aa4ff.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{range_b87256b85dcd5af249d46cedbd0827d5.py => range_bef839061ad240410e3ef6359d892ad3.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{range_830e0b0312fde61efeb8d03e51c3becc.py => range_bf57dc35591d632e5376e709022f5f46.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{range_33d31ce7374f2673af98a0ca3280e78c.py => range_c1b928af51855ee016e9fa55b623620d.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{range_549553ed24104468985381169727d59d.py => range_d5c0ea39818d101c2ff062e575aab5f6.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{range_5cfd498c2fae57b1ff8c1e39981ef498.py => range_d61e93d7563d8598caec37751d5cd60f.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{range_b6d50385f93178bc54ab80eec4319b05.py => range_d98ed43d27728e182795c7cd6b5cdf59.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{range_72dac4775ff6d41063ff207981c5fae4.py => range_dec9ab7508460d52ce0d7fb05e5b3f8c.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{range_881781d0895b8f33f2d6d38231109252.py => range_e3e612b996a0f507e56f66b90ba5768b.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{range_09dc7347dbd516238fa2d36665eaadcb.py => range_e59851be16b3aa8c14c7fa65e4557e23.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{range_c6ba8b5c4a24569f583fb0fe8b04375c.py => range_ecf077012ebaa523127793af2f85163c.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{range_9ecefbd1639215458ad6cad8355e64be.py => range_ed51d487e5d4c037a59eb05c074e14aa.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{range_4da6c5fe6f51a6658a489c0914d5e356.py => range_f573006ce8cded3d52938da7d7fd7457.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{secondaryrange_9b8748d7b9ae8321b5d034d9a94992cc.py => secondaryrange_4cf2251e12acb0aada8899dd10e43b12.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{secondaryrange_7c7b92287c088d58d42f4b62e744e045.py => secondaryrange_7fc8d2489719eb1630e53e48fa7a83b0.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{ues5s8secondaryrange_4978b0a72b2e82b39ac864e27f32a1a5.py => ues5s8secondaryrange_5eacd6d4523a5dcc9278eb67a74a249d.py} (100%) rename ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/{ues5s8secondaryrange_fa3921bfe2878f4cd48bff2e981fec2b.py => ues5s8secondaryrange_bf1dc9a5f8fc818499e853f990a4d224.py} (100%) rename uhd_restpy/testplatform/sessions/ixnetwork/globals/topology/tlveditor/{defaults_6da4efbc0f60f2cba8351f92d98fdc75.py => defaults_357155246025eaca693ddd1bd09a2c58.py} (100%) rename uhd_restpy/testplatform/sessions/ixnetwork/globals/topology/tlveditor/{tlveditor_d66c1061f4b3bb902b0e5e76ee632657.py => tlveditor_9737bec75dbac826009c3374be76c5f7.py} (97%) create mode 100644 uhd_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/actionlist_57354c012aa6110e6483c4eaf33a2438.py create mode 100644 uhd_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/flowaggrmatchprofile_2ba597be74523b48fa398c0fe5ce3acf.py create mode 100644 uhd_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/flowstatmatchprofile_d56a9c24805ae788ef01a9b7a86babf1.py create mode 100644 uhd_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/learnedinfoupdate_c16222bcf67d5a605c480c375e0fa938.py rename uhd_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/{learnedinfoupdate_b6503122c0a4a58877467964920e27b5.py => learnedinfoupdate_dd43ce3af7af258dc032dc87aa945c8b.py} (100%) create mode 100644 uhd_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/learnedinfoupdate_f0f5d88734eb95208b4f723819a57481.py create mode 100644 uhd_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/mplsoamsbfdresponderlearnedinfo_2e820550fd3f57d4f0b6d57e32ffa0df.py create mode 100644 uhd_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/ofchannellearnedinfo_dc0fb9c204191e64878422c6a8604d01.py create mode 100644 uhd_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/packetoutactionprofile_7087734f0df99cfe7bfd9afab773a120.py rename uhd_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/{tlvprofile_69db000d3ef3b060f5edc387b878736c.py => tlvprofile_421be1db953efaf826fe146cf9700e26.py} (100%) diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 0ac31cd09..0cce6a602 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -1,4 +1,15 @@ # Release Notes +### July 2023 +* 1.1.10 + * support ixnetwork version 9.30.2306.60 (9.30 Update-2) + * Bug Fixes and features + * Support to ignore strong password policy + * New attribute in SessionAssistant name `IgnoreStrongPasswordPolicy`, by default `True` + * fix missing files of pcep learned info + * fix issue related to overlays + * fix issue regarding improper cache clearance for poll urls + * minor improvements to port map assistant + ### April 2023 * 1.1.9 * support ixnetwork version 9.30.2304.57 (9.30 Update-1) diff --git a/ixnetwork_restpy/assistants/ports/portmapassistant.py b/ixnetwork_restpy/assistants/ports/portmapassistant.py index 4e1800879..d1cebb53d 100644 --- a/ixnetwork_restpy/assistants/ports/portmapassistant.py +++ b/ixnetwork_restpy/assistants/ports/portmapassistant.py @@ -154,15 +154,34 @@ def _add_hosts(self, HostReadyTimeout): if ";" in map["location"]: chassis_address = map["location"].split(";")[0] ip_addresses.append(chassis_address) - ip_addresses = set(ip_addresses) + ip_addresses = list(set(ip_addresses)) if len(ip_addresses) > 0: - self._IxNetwork.info( - "Adding test port hosts [%s]..." % ", ".join(ip_addresses) - ) + ip_str = ", ".join(ip_addresses) + self._IxNetwork.info("Adding test port hosts [%s]..." % ip_str) + + # check if chassis is already added + res = self._select_chassis("") + ips_not_ready = [] + if "chassis" in res: + for chassis_info in res["chassis"]: + ip = chassis_info["hostname"] + if ip in ip_addresses: + if chassis_info["state"] != "ready": + ips_not_ready.append(ip) + ip_addresses.remove(ip) + + if len(ip_addresses) == 0: + self._IxNetwork.info("[%s] is already added." % ip_str) + url = self._IxNetwork.href + "/availableHardware/chassis" for ip_address in ip_addresses: payload = {"hostname": ip_address} self._IxNetwork._connection._create(url, payload) + + ip_addresses = ip_addresses + ips_not_ready + if len(ip_addresses) == 0: + return + start_time = time.time() while True: select = self._select_chassis("^(%s)$" % "|".join(ip_addresses)) diff --git a/ixnetwork_restpy/assistants/sessions/sessionassistant.py b/ixnetwork_restpy/assistants/sessions/sessionassistant.py index fcff5bbe0..c259374fd 100644 --- a/ixnetwork_restpy/assistants/sessions/sessionassistant.py +++ b/ixnetwork_restpy/assistants/sessions/sessionassistant.py @@ -41,6 +41,8 @@ def __init__( SessionName=None, ApplicationType=APP_TYPE_IXNETWORK, ClearConfig=False, + UrlPrefix=None, + IgnoreStrongPasswordPolicy=True, ): """Create a session or connect to an existing session. Provides access to the TestPlatform, Sessions, Ixnetwork, PortMapAssistant and StatViewAssistant classes. @@ -68,6 +70,8 @@ def __init__( - SessionName (str): The name of the session to connect to. - ApplicationType (str(APP_TYPE_IXNETWORK|APP_TYPE_QUICKTEST)): The type of IxNetwork middleware test session to create - ClearConfig (bool): Clear the current configuration + - UrlPrefix (str): Some appliances (like novus-mini) needs url prefix in their rest url nomenclature + - IgnoreStrongPasswordPolicy (bool): By default True, it rejects authentication with server if password is weak. Raises ------ @@ -83,11 +87,12 @@ def __init__( ignore_env_proxy=IgnoreEnvProxy, verify_cert=VerifyCertificates, trace=LogLevel, + url_prefix=UrlPrefix, ) if ApiKey is not None: testplatform.ApiKey = ApiKey elif UserName is not None and Password is not None: - testplatform.Authenticate(UserName, Password) + testplatform.Authenticate(UserName, Password, IgnoreStrongPasswordPolicy) session = None if SessionId is not None: session = testplatform.Sessions.find(Id=SessionId) diff --git a/ixnetwork_restpy/connection.py b/ixnetwork_restpy/connection.py index 0087993c0..c2efd0375 100644 --- a/ixnetwork_restpy/connection.py +++ b/ixnetwork_restpy/connection.py @@ -62,7 +62,7 @@ class Connection(object): TRACE_ALL = "all" PLATFORMS = { "Jetty": "linux", - "nginx/1.17.8": "linux", + "nginx": "linux", "SelfHost": "windows", "Kestrel": "windows", "Microsoft-HTTPAPI/2.0": "connection_manager", @@ -78,6 +78,7 @@ def __init__( verify_cert=False, trace="none", script_watch=True, + url_prefix=None, ): """Set the connection parameters to a rest server @@ -89,6 +90,7 @@ def __init__( ignore_env_proxy (bool): verify_cert (bool): script_watch (bool): + url_prefix (str): the prefix that needs to added in the rest url """ self.trace = trace if len(logging.getLogger(__name__).handlers) == 0: @@ -135,6 +137,7 @@ def __init__( if ignore_env_proxy is True: os.environ["no_proxy"] = "*" self._hostname = hostname + self._url_prefix = url_prefix if ":" in self._hostname and "[" not in self._hostname: self._hostname = "[%s]" % self._hostname self._rest_port = rest_port @@ -162,11 +165,19 @@ def _determine_test_tool_platform(self, platform): for rest_port in rest_ports: for scheme in ["http", "https"]: try: - url = "%s://%s:%s/api/v1/auth/session" % ( - scheme, - self._hostname, - rest_port, - ) + if self._url_prefix is not None: + url = "%s://%s:%s/%s/api/v1/auth/session" % ( + scheme, + self._hostname, + rest_port, + self._url_prefix, + ) + else: + url = "%s://%s:%s/api/v1/auth/session" % ( + scheme, + self._hostname, + rest_port, + ) payload = json.dumps({"username": "", "password": ""}) headers = self._headers headers["content-type"] = "application/json" @@ -328,6 +339,8 @@ def _normalize_url(self, url): if ":" in hostname and "[" not in hostname: hostname = "[%s]" % hostname connection = "%s://%s:%s" % (self._scheme, hostname, self._rest_port) + if self._url_prefix is not None: + connection += "/" + self._url_prefix if url.startswith(self._scheme) == False: url = "%s/%s" % (connection, url.strip("/")) path_start = url.find("://") + 3 @@ -553,7 +566,13 @@ def _send_recv(self, method, url, payload=None): self._async_operation.poll_headers = headers.copy() self._async_operation.async_response = response if self._async_operation.request is None: - return self._poll() + try: + return self._poll() + finally: + self._async_operation.request = None + self._async_operation.async_response = None + self._async_operation.poll_url = None + self._async_operation.poll_headers = None while response.status_code == 409: time.sleep(6) diff --git a/ixnetwork_restpy/multivalue.py b/ixnetwork_restpy/multivalue.py index 605a9bd6a..269cca9ab 100644 --- a/ixnetwork_restpy/multivalue.py +++ b/ixnetwork_restpy/multivalue.py @@ -749,7 +749,7 @@ def _custom_select(self): self._set_properties(self._connection._execute(url, payload)[0], clear=True) return self - def Overlay(self, index, value): + def Overlay(self, index, value, count=1): """Add an overlay at a specific device index in a pattern. This is meant to overwrite an existing pattern with a few non-contiguous, random values. @@ -760,20 +760,9 @@ def Overlay(self, index, value): ---- - index (int): 1 based device index - value (str): the overlay value + - count (int): the number of indices to update with the overlay value starting from index attribute, default: 1 """ if self._parent._mode[0] == "config": - # if self.parent._properties.get('OverlayIndex', None) is not None: - # self._overlay_index = self.parent._properties.get('OverlayIndex') - # multivalue_dict = dict() - # self._overlay_index += 1 - # pattern = 'overlay[' + str(self._overlay_index) + ']' - # multivalue_dict['xpath'] = self._get_multivalue_xpath(self._href, pattern) - # multivalue_dict['count'] = '1' - # multivalue_dict['index'] = index - # multivalue_dict['indexStep'] = '1' - # multivalue_dict['value'] = value - # self._xpathObj._config.append(multivalue_dict) - # self.parent._properties['OverlayIndex'] = self._overlay_index attribute_present = False for multivaute_attr in self.parent._properties["multiValue"]: if self._href in multivaute_attr: @@ -793,7 +782,7 @@ def Overlay(self, index, value): ) else: href = "%s/overlay" % (self._href) - payload = {"count": 1, "index": index, "indexStep": 1, "value": value} + payload = {"count": count, "index": index, "indexStep": 1, "value": value} self._connection._create(href, payload) def ClearOverlays(self): diff --git a/ixnetwork_restpy/pytest_tests/.pytest_cache/.gitignore b/ixnetwork_restpy/pytest_tests/.pytest_cache/.gitignore new file mode 100644 index 000000000..bc1a1f616 --- /dev/null +++ b/ixnetwork_restpy/pytest_tests/.pytest_cache/.gitignore @@ -0,0 +1,2 @@ +# Created by pytest automatically. +* diff --git a/ixnetwork_restpy/pytest_tests/.pytest_cache/CACHEDIR.TAG b/ixnetwork_restpy/pytest_tests/.pytest_cache/CACHEDIR.TAG new file mode 100644 index 000000000..fce15ad7e --- /dev/null +++ b/ixnetwork_restpy/pytest_tests/.pytest_cache/CACHEDIR.TAG @@ -0,0 +1,4 @@ +Signature: 8a477f597d28d172789f06886806bc55 +# This file is a cache directory tag created by pytest. +# For information about cache directory tags, see: +# https://bford.info/cachedir/spec.html diff --git a/ixnetwork_restpy/pytest_tests/.pytest_cache/README.md b/ixnetwork_restpy/pytest_tests/.pytest_cache/README.md new file mode 100644 index 000000000..b89018ced --- /dev/null +++ b/ixnetwork_restpy/pytest_tests/.pytest_cache/README.md @@ -0,0 +1,8 @@ +# pytest cache directory # + +This directory contains data from the pytest's cache plugin, +which provides the `--lf` and `--ff` options, as well as the `cache` fixture. + +**Do not** commit this to version control. + +See [the docs](https://docs.pytest.org/en/stable/how-to/cache.html) for more information. diff --git a/ixnetwork_restpy/pytest_tests/.pytest_cache/v/cache/lastfailed b/ixnetwork_restpy/pytest_tests/.pytest_cache/v/cache/lastfailed new file mode 100644 index 000000000..772f0bb41 --- /dev/null +++ b/ixnetwork_restpy/pytest_tests/.pytest_cache/v/cache/lastfailed @@ -0,0 +1,16 @@ +{ + "tests/batch/batch_add/test_batch_add_classic.py::test_batch_add_with_dependent_attr[10.39.51.146:443:linux]": true, + "tests/batch/batch_add/test_batch_add_classic.py::test_batch_add_with_classic_config[10.39.51.146:443:linux]": true, + "tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_traffic[10.39.51.146:443:linux]": true, + "tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_multicast_traffic[10.39.51.146:443:linux]": true, + "tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_traffic_having_href_objects[10.39.51.146:443:linux]": true, + "tests/batch/batch_add/test_batch_add_with_load_config.py::test_batch_add_with_multiple_nodes[10.39.51.146:443:linux]": true, + "tests/batch/batch_add/test_batch_add_with_load_config.py::test_precedence_with_batch_add[10.39.51.146:443:linux]": true, + "tests/session_tests/test_qt_or_ixnrest.py::test_add_ixnrest_session[10.39.51.146:443:linux]": true, + "tests/session_tests/test_sessions.py::test_can_create_sessions[10.39.51.146:443:linux]": true, + "tests/session_tests/test_sessions.py::test_can_set_session_name[10.39.51.146:443:linux]": true, + "tests/session_tests/test_sessions.py::test_can_retrieve_sessions_by_id[10.39.51.146:443:linux]": true, + "tests/session_tests/test_sessions.py::test_should_return_no_session_when_wrong_session_id_provided[10.39.51.146:443:linux]": true, + "tests/session_tests/test_sessions.py::test_can_login_to_server_by_api_key[10.39.51.146:443:linux]": true, + "tests/session_tests/test_sessions.py::test_should_fail_on_wrong_auth_creds[10.39.51.146:443:linux]": true +} \ No newline at end of file diff --git a/ixnetwork_restpy/pytest_tests/.pytest_cache/v/cache/nodeids b/ixnetwork_restpy/pytest_tests/.pytest_cache/v/cache/nodeids new file mode 100644 index 000000000..c76912fb8 --- /dev/null +++ b/ixnetwork_restpy/pytest_tests/.pytest_cache/v/cache/nodeids @@ -0,0 +1,240 @@ +[ + "tests/batch/batch_add/test_batch_add_basic.py::test_batch_add_with_batch_find[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_basic.py::test_batch_add_with_batch_find[10.39.51.146:443:linux]", + "tests/batch/batch_add/test_batch_add_basic.py::test_batch_add_with_delete_operation[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_basic.py::test_batch_add_with_delete_operation[10.39.51.146:443:linux]", + "tests/batch/batch_add/test_batch_add_basic.py::test_batch_add_with_indexing[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_basic.py::test_batch_add_with_indexing[10.39.51.146:443:linux]", + "tests/batch/batch_add/test_batch_add_basic.py::test_batch_add_with_only_updates[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_basic.py::test_batch_add_with_only_updates[10.39.51.146:443:linux]", + "tests/batch/batch_add/test_batch_add_basic.py::test_batch_add_with_update_function[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_basic.py::test_batch_add_with_update_function[10.39.51.146:443:linux]", + "tests/batch/batch_add/test_batch_add_basic.py::test_multiple_batch_add_calls[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_basic.py::test_multiple_batch_add_calls[10.39.51.146:443:linux]", + "tests/batch/batch_add/test_batch_add_basic.py::test_simple_batch_add[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_basic.py::test_simple_batch_add[10.39.51.146:443:linux]", + "tests/batch/batch_add/test_batch_add_classic.py::test_batch_add_with_classic_config[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_classic.py::test_batch_add_with_classic_config[10.39.51.146:443:linux]", + "tests/batch/batch_add/test_batch_add_classic.py::test_batch_add_with_dependent_attr[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_classic.py::test_batch_add_with_dependent_attr[10.39.51.146:443:linux]", + "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_combination_of_multivalue_pattern[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_combination_of_multivalue_pattern[10.39.51.146:443:linux]", + "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_custom_distributed_multivalue_pattern[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_custom_distributed_multivalue_pattern[10.39.51.146:443:linux]", + "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_custom_multivalue_pattern[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_custom_multivalue_pattern[10.39.51.146:443:linux]", + "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_decrement_multivalue_pattern[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_decrement_multivalue_pattern[10.39.51.146:443:linux]", + "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_increment_multivalue_pattern[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_increment_multivalue_pattern[10.39.51.146:443:linux]", + "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_overlay_multivalue_pattern[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_overlay_multivalue_pattern[10.39.51.146:443:linux]", + "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_random_mask_multivalue_pattern[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_random_mask_multivalue_pattern[10.39.51.146:443:linux]", + "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_random_multivalue_pattern[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_random_multivalue_pattern[10.39.51.146:443:linux]", + "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_random_range_multivalue_pattern[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_random_range_multivalue_pattern[10.39.51.146:443:linux]", + "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_single_multivalue_pattern[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_single_multivalue_pattern[10.39.51.146:443:linux]", + "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_value_list_multivalue_pattern[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_multivalues.py::test_batch_add_with_value_list_multivalue_pattern[10.39.51.146:443:linux]", + "tests/batch/batch_add/test_batch_add_multivalues.py::test_only_update_multivalues_with_batch_add[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_multivalues.py::test_only_update_multivalues_with_batch_add[10.39.51.146:443:linux]", + "tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_autogen_traffic_templates[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_autogen_traffic_templates[10.39.51.146:443:linux]", + "tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_multicast_traffic[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_multicast_traffic[10.39.51.146:443:linux]", + "tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_quick_flow_traffic[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_quick_flow_traffic[10.39.51.146:443:linux]", + "tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_traditional_traffic[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_traditional_traffic[10.39.51.146:443:linux]", + "tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_traffic[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_traffic[10.39.51.146:443:linux]", + "tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_traffic_having_href_objects[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_traffic.py::test_batch_add_with_traffic_having_href_objects[10.39.51.146:443:linux]", + "tests/batch/batch_add/test_batch_add_with_load_config.py::test_batch_add_with_load_config[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_with_load_config.py::test_batch_add_with_load_config[10.39.51.146:443:linux]", + "tests/batch/batch_add/test_batch_add_with_load_config.py::test_batch_add_with_load_config_and_update_function[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_with_load_config.py::test_batch_add_with_load_config_and_update_function[10.39.51.146:443:linux]", + "tests/batch/batch_add/test_batch_add_with_load_config.py::test_batch_add_with_multiple_nodes[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_with_load_config.py::test_batch_add_with_multiple_nodes[10.39.51.146:443:linux]", + "tests/batch/batch_add/test_batch_add_with_load_config.py::test_precedence_with_batch_add[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_batch_add_with_load_config.py::test_precedence_with_batch_add[10.39.51.146:443:linux]", + "tests/batch/batch_add/test_config_property_in_batch_add.py::test_config_property[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_config_property_in_batch_add.py::test_config_property[10.39.51.146:443:linux]", + "tests/batch/batch_add/test_config_property_in_batch_add.py::test_exception_for_config_property_in_batch_add[10.39.47.41:11012:windows]", + "tests/batch/batch_add/test_config_property_in_batch_add.py::test_exception_for_config_property_in_batch_add[10.39.51.146:443:linux]", + "tests/batch/test_batch_find.py::test_bath_find_on_mix_of_nodes_with_different_multiplicity[10.39.47.41:11012:windows]", + "tests/batch/test_batch_find.py::test_bath_find_on_mix_of_nodes_with_different_multiplicity[10.39.51.146:443:linux]", + "tests/batch/test_batch_find.py::test_mix_of_required_and_primitive_nodes[10.39.47.41:11012:windows]", + "tests/batch/test_batch_find.py::test_mix_of_required_and_primitive_nodes[10.39.51.146:443:linux]", + "tests/batch/test_batch_find.py::test_multiple_from[10.39.47.41:11012:windows]", + "tests/batch/test_batch_find.py::test_multiple_from[10.39.51.146:443:linux]", + "tests/batch/test_batch_find.py::test_required_find[10.39.47.41:11012:windows]", + "tests/batch/test_batch_find.py::test_required_find[10.39.51.146:443:linux]", + "tests/batch/test_batch_update.py::test_batch_update_for_multivalue_attributes[10.39.47.41:11012:windows]", + "tests/batch/test_batch_update.py::test_batch_update_for_multivalue_attributes[10.39.51.146:443:linux]", + "tests/batch/test_batch_update.py::test_batch_update_for_primitive_attributes[10.39.47.41:11012:windows]", + "tests/batch/test_batch_update.py::test_batch_update_for_primitive_attributes[10.39.51.146:443:linux]", + "tests/batch/test_batch_update.py::test_batch_update_mix_of_multivalue_and_primitive_attributes[10.39.47.41:11012:windows]", + "tests/batch/test_batch_update.py::test_batch_update_mix_of_multivalue_and_primitive_attributes[10.39.51.146:443:linux]", + "tests/batch/test_batch_update.py::test_batch_update_with_nodes_of_multiplicity_one[10.39.47.41:11012:windows]", + "tests/batch/test_batch_update.py::test_batch_update_with_nodes_of_multiplicity_one[10.39.51.146:443:linux]", + "tests/classic/test_classic.py::test_can_add_interfaces[10.39.47.41:11012:windows]", + "tests/classic/test_classic.py::test_can_add_interfaces[10.39.51.146:443:linux]", + "tests/classic/test_classic.py::test_can_configure_bgp_neighbor[10.39.47.41:11012:windows]", + "tests/classic/test_classic.py::test_can_configure_bgp_neighbor[10.39.51.146:443:linux]", + "tests/files_tests/test_import_functions.py::test_can_save_ixncfg_config_from_sessions[10.39.47.41:11012:windows]", + "tests/files_tests/test_import_functions.py::test_can_save_ixncfg_config_from_sessions[10.39.51.146:443:linux]", + "tests/files_tests/test_import_functions.py::test_can_upload_ixncfg_config_to_session[10.39.47.41:11012:windows]", + "tests/files_tests/test_import_functions.py::test_can_upload_ixncfg_config_to_session[10.39.51.146:443:linux]", + "tests/files_tests/test_import_functions.py::test_upload_filename_with_special_chars[10.39.47.41:11012:windows]", + "tests/files_tests/test_import_functions.py::test_upload_filename_with_special_chars[10.39.51.146:443:linux]", + "tests/multivalue_tests/test_get_multivalue_from_href.py::test_get_multivalue_from_href[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_get_multivalue_from_href.py::test_get_multivalue_from_href[10.39.51.146:443:linux]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_can_check_available_enums_from_multivalue[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_can_check_available_enums_from_multivalue[10.39.51.146:443:linux]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_mulivalue_can_set_distributed[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_mulivalue_can_set_distributed[10.39.51.146:443:linux]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_clear_overlay[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_clear_overlay[10.39.51.146:443:linux]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_retrieve_available_patterns[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_retrieve_available_patterns[10.39.51.146:443:linux]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_retrieve_format[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_retrieve_format[10.39.51.146:443:linux]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_retrieve_info[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_retrieve_info[10.39.51.146:443:linux]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_retrieve_source[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_retrieve_source[10.39.51.146:443:linux]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_alternate_values[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_alternate_values[10.39.51.146:443:linux]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_custom[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_custom[10.39.51.146:443:linux]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_decrement_pattern[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_decrement_pattern[10.39.51.146:443:linux]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_increment_pattern[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_increment_pattern[10.39.51.146:443:linux]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_overlay[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_overlay[10.39.51.146:443:linux]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_random_mask[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_random_mask[10.39.51.146:443:linux]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_random_range[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_random_range[10.39.51.146:443:linux]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_single_value[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_single_value[10.39.51.146:443:linux]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_string[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_string[10.39.51.146:443:linux]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_value_list[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_multivalue_can_set_value_list[10.39.51.146:443:linux]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_overlay_with_count[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_overlay_with_count[10.39.51.146:443:linux]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_set_random_multivalue[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_patterns.py::test_set_random_multivalue[10.39.51.146:443:linux]", + "tests/multivalue_tests/test_multivalue_port_step.py::test_can_disbale_port_step[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_port_step.py::test_can_disbale_port_step[10.39.51.146:443:linux]", + "tests/multivalue_tests/test_multivalue_port_step.py::test_can_set_incremental_port_step_ipv4_address[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_port_step.py::test_can_set_incremental_port_step_ipv4_address[10.39.51.146:443:linux]", + "tests/multivalue_tests/test_multivalue_port_step.py::test_port_step_can_retrieve_description[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_port_step.py::test_port_step_can_retrieve_description[10.39.51.146:443:linux]", + "tests/multivalue_tests/test_multivalue_port_step.py::test_port_step_can_retrieve_owner[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_port_step.py::test_port_step_can_retrieve_owner[10.39.51.146:443:linux]", + "tests/multivalue_tests/test_multivalue_refresh.py::test_multivalue_refresh[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_refresh.py::test_multivalue_refresh[10.39.51.146:443:linux]", + "tests/multivalue_tests/test_multivalue_valuelist.py::test_multivalue_valuelist[10.39.47.41:11012:windows]", + "tests/multivalue_tests/test_multivalue_valuelist.py::test_multivalue_valuelist[10.39.51.146:443:linux]", + "tests/port_tests/test_port_add_remove_update.py::test_add_vports[10.39.47.41:11012:windows]", + "tests/port_tests/test_port_add_remove_update.py::test_add_vports[10.39.51.146:443:linux]", + "tests/port_tests/test_port_add_remove_update.py::test_can_add_lag_ports[10.39.47.41:11012:windows]", + "tests/port_tests/test_port_add_remove_update.py::test_can_add_lag_ports[10.39.51.146:443:linux]", + "tests/port_tests/test_port_add_remove_update.py::test_can_change_uppercase_property_names[10.39.47.41:11012:windows]", + "tests/port_tests/test_port_add_remove_update.py::test_can_change_uppercase_property_names[10.39.51.146:443:linux]", + "tests/port_tests/test_port_add_remove_update.py::test_can_change_vport_attributes[10.39.47.41:11012:windows]", + "tests/port_tests/test_port_add_remove_update.py::test_can_change_vport_attributes[10.39.51.146:443:linux]", + "tests/port_tests/test_port_add_remove_update.py::test_can_remove_vport[10.39.47.41:11012:windows]", + "tests/port_tests/test_port_add_remove_update.py::test_can_remove_vport[10.39.51.146:443:linux]", + "tests/quick_test/test_rfc2544back2back.py::test_timeline_node[10.39.47.41:11012:windows]", + "tests/quick_test/test_rfc2544back2back.py::test_timeline_node[10.39.51.146:443:linux]", + "tests/session_tests/test_qt_or_ixnrest.py::test_add_ixnrest_session[10.39.47.41:11012:windows]", + "tests/session_tests/test_qt_or_ixnrest.py::test_add_ixnrest_session[10.39.51.146:443:linux]", + "tests/session_tests/test_qt_or_ixnrest.py::test_add_quicktest_session[10.39.47.41:11012:windows]", + "tests/session_tests/test_qt_or_ixnrest.py::test_add_quicktest_session[10.39.51.146:443:linux]", + "tests/session_tests/test_sessions.py::test_can_add_remove_session[10.39.47.41:11012:windows]", + "tests/session_tests/test_sessions.py::test_can_add_remove_session[10.39.51.146:443:linux]", + "tests/session_tests/test_sessions.py::test_can_create_sessions[10.39.47.41:11012:windows]", + "tests/session_tests/test_sessions.py::test_can_create_sessions[10.39.51.146:443:linux]", + "tests/session_tests/test_sessions.py::test_can_fetch_invalid_session[10.39.47.41:11012:windows]", + "tests/session_tests/test_sessions.py::test_can_fetch_invalid_session[10.39.51.146:443:linux]", + "tests/session_tests/test_sessions.py::test_can_fetch_valid_session[10.39.47.41:11012:windows]", + "tests/session_tests/test_sessions.py::test_can_fetch_valid_session[10.39.51.146:443:linux]", + "tests/session_tests/test_sessions.py::test_can_login_to_server_by_api_key[10.39.47.41:11012:windows]", + "tests/session_tests/test_sessions.py::test_can_login_to_server_by_api_key[10.39.51.146:443:linux]", + "tests/session_tests/test_sessions.py::test_can_retrieve_sessions_by_id[10.39.47.41:11012:windows]", + "tests/session_tests/test_sessions.py::test_can_retrieve_sessions_by_id[10.39.51.146:443:linux]", + "tests/session_tests/test_sessions.py::test_can_set_session_name[10.39.47.41:11012:windows]", + "tests/session_tests/test_sessions.py::test_can_set_session_name[10.39.51.146:443:linux]", + "tests/session_tests/test_sessions.py::test_should_fail_on_wrong_api_key[10.39.47.41:11012:windows]", + "tests/session_tests/test_sessions.py::test_should_fail_on_wrong_api_key[10.39.51.146:443:linux]", + "tests/session_tests/test_sessions.py::test_should_fail_on_wrong_auth_creds[10.39.47.41:11012:windows]", + "tests/session_tests/test_sessions.py::test_should_fail_on_wrong_auth_creds[10.39.51.146:443:linux]", + "tests/session_tests/test_sessions.py::test_should_return_no_session_when_wrong_session_id_provided[10.39.47.41:11012:windows]", + "tests/session_tests/test_sessions.py::test_should_return_no_session_when_wrong_session_id_provided[10.39.51.146:443:linux]", + "tests/session_tests/test_sessions_remove.py::test_can_create_multiple_sessions_and_remove_all[10.39.47.41:11012:windows]", + "tests/session_tests/test_sessions_remove.py::test_can_create_multiple_sessions_and_remove_all[10.39.51.146:443:linux]", + "tests/test_async_operation.py::test_async_operation[10.39.47.41:11012:windows]", + "tests/test_async_operation.py::test_async_operation[10.39.51.146:443:linux]", + "tests/test_async_operation.py::test_async_operation_for_errors[10.39.47.41:11012:windows]", + "tests/test_async_operation.py::test_async_operation_for_errors[10.39.51.146:443:linux]", + "tests/test_errors.py::test_operation_improper_name[10.39.47.41:11012:windows]", + "tests/test_errors.py::test_operation_improper_name[10.39.51.146:443:linux]", + "tests/test_errors.py::test_operation_returns_404_error[10.39.47.41:11012:windows]", + "tests/test_errors.py::test_operation_returns_404_error[10.39.51.146:443:linux]", + "tests/test_find.py::test_find_classic[10.39.47.41:11012:windows]", + "tests/test_find.py::test_find_classic[10.39.51.146:443:linux]", + "tests/test_find.py::test_find_ngpf[10.39.47.41:11012:windows]", + "tests/test_find.py::test_find_ngpf[10.39.51.146:443:linux]", + "tests/test_find.py::test_find_with_kwargs[10.39.47.41:11012:windows]", + "tests/test_find.py::test_find_with_kwargs[10.39.51.146:443:linux]", + "tests/test_iterators.py::test_can_add_remove_containers[10.39.47.41:11012:windows]", + "tests/test_iterators.py::test_can_add_remove_containers[10.39.51.146:443:linux]", + "tests/test_multi_thread_scenario.py::test_thread_safe_nature_of_connection_object[10.39.47.41:11012:windows]", + "tests/test_multi_thread_scenario.py::test_thread_safe_nature_of_connection_object[10.39.51.146:443:linux]", + "tests/test_ngpf_device_id.py::test_can_fetch_device_id_with_filter[10.39.47.41:11012:windows]", + "tests/test_ngpf_device_id.py::test_can_fetch_device_id_with_filter[10.39.51.146:443:linux]", + "tests/test_ngpf_device_id.py::test_can_fetch_device_id_without_filter[10.39.47.41:11012:windows]", + "tests/test_ngpf_device_id.py::test_can_fetch_device_id_without_filter[10.39.51.146:443:linux]", + "tests/test_ngpf_ipv4.py::test_can_configure_ngpf_ipv4[10.39.47.41:11012:windows]", + "tests/test_ngpf_ipv4.py::test_can_configure_ngpf_ipv4[10.39.51.146:443:linux]", + "tests/test_obj_from_obj_ref.py::test_can_get_object_from_ref[10.39.47.41:11012:windows]", + "tests/test_obj_from_obj_ref.py::test_can_get_object_from_ref[10.39.51.146:443:linux]", + "tests/test_pcep_learned_info.py::test_gen_nodes_for_pcep_learned_info_update[10.39.47.41:11012:windows]", + "tests/test_pcep_learned_info.py::test_gen_nodes_for_pcep_learned_info_update[10.39.51.146:443:linux]", + "tests/test_refresh.py::test_refresh_for_classic_nodes[10.39.47.41:11012:windows]", + "tests/test_refresh.py::test_refresh_for_classic_nodes[10.39.51.146:443:linux]", + "tests/test_refresh.py::test_update[10.39.47.41:11012:windows]", + "tests/test_refresh.py::test_update[10.39.51.146:443:linux]", + "tests/test_resource_manager.py::test_can_import_export_json_as_file[10.39.47.41:11012:windows]", + "tests/test_resource_manager.py::test_can_import_export_json_as_file[10.39.51.146:443:linux]", + "tests/test_resource_manager.py::test_can_import_export_json_as_string[10.39.47.41:11012:windows]", + "tests/test_resource_manager.py::test_can_import_export_json_as_string[10.39.51.146:443:linux]", + "tests/test_update.py::test_update[10.39.47.41:11012:windows]", + "tests/test_update.py::test_update[10.39.51.146:443:linux]", + "tests/test_update.py::test_update_for_classic_nodes[10.39.47.41:11012:windows]", + "tests/test_update.py::test_update_for_classic_nodes[10.39.51.146:443:linux]", + "tests/test_update.py::test_update_for_nodes_with_kwargs[10.39.47.41:11012:windows]", + "tests/test_update.py::test_update_for_nodes_with_kwargs[10.39.51.146:443:linux]", + "tests/traffic/test_quick_flow_traffic.py::test_quick_flow_traffic[10.39.47.41:11012:windows]", + "tests/traffic/test_quick_flow_traffic.py::test_quick_flow_traffic[10.39.51.146:443:linux]", + "tests/traffic/test_traffic.py::test_can_add_ipv4_traffic_over_protocols[10.39.47.41:11012:windows]", + "tests/traffic/test_traffic.py::test_can_add_ipv4_traffic_over_protocols[10.39.51.146:443:linux]", + "tests/traffic/test_traffic.py::test_can_add_ipv4_traffic_over_scalable_source_multicast_receivers[10.39.47.41:11012:windows]", + "tests/traffic/test_traffic.py::test_can_add_ipv4_traffic_over_scalable_source_multicast_receivers[10.39.51.146:443:linux]", + "tests/traffic/test_traffic.py::test_can_add_raw_traffic_over_custom_stack[10.39.47.41:11012:windows]", + "tests/traffic/test_traffic.py::test_can_add_raw_traffic_over_custom_stack[10.39.51.146:443:linux]", + "tests/traffic/test_traffic.py::test_can_add_raw_traffic_over_lags[10.39.47.41:11012:windows]", + "tests/traffic/test_traffic.py::test_can_add_raw_traffic_over_lags[10.39.51.146:443:linux]", + "tests/traffic/test_traffic.py::test_can_add_raw_traffic_over_vports[10.39.47.41:11012:windows]", + "tests/traffic/test_traffic.py::test_can_add_raw_traffic_over_vports[10.39.51.146:443:linux]", + "tests/traffic/test_update_stack_field.py::test_update_stack_field[10.39.47.41:11012:windows]", + "tests/traffic/test_update_stack_field.py::test_update_stack_field[10.39.51.146:443:linux]" +] \ No newline at end of file diff --git a/ixnetwork_restpy/pytest_tests/.pytest_cache/v/cache/stepwise b/ixnetwork_restpy/pytest_tests/.pytest_cache/v/cache/stepwise new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/ixnetwork_restpy/pytest_tests/.pytest_cache/v/cache/stepwise @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/ixnetwork_restpy/pytest_tests/tests/multivalue_tests/test_multivalue_patterns.py b/ixnetwork_restpy/pytest_tests/tests/multivalue_tests/test_multivalue_patterns.py index 86edc3ac1..5a0ac2de6 100644 --- a/ixnetwork_restpy/pytest_tests/tests/multivalue_tests/test_multivalue_patterns.py +++ b/ixnetwork_restpy/pytest_tests/tests/multivalue_tests/test_multivalue_patterns.py @@ -72,6 +72,22 @@ def test_set_random_multivalue(multivalue): assert multivalue.PatternType == "Random" +def test_overlay_with_count(multivalue): + multivalue.Overlay(1, "2.3.4.5", 10) + multivalue.Overlay(20, "11.22.33.44", 5) + multivalue.Overlay(26, "100.100.100.100") + + val = multivalue.Values + + for i in range(10): + assert val[i] == "2.3.4.5" + + for i in range(19, 24): + assert val[i] == "11.22.33.44" + + assert val[25] == "100.100.100.100" + + def test_multivalue_can_set_random_range(multivalue): multivalue.Overlay(3, "1.2.3.4") multivalue.Overlay(6, "4.3.2.1") diff --git a/ixnetwork_restpy/pytest_tests/tests/test_pcep_learned_info.py b/ixnetwork_restpy/pytest_tests/tests/test_pcep_learned_info.py new file mode 100644 index 000000000..1c233d7cd --- /dev/null +++ b/ixnetwork_restpy/pytest_tests/tests/test_pcep_learned_info.py @@ -0,0 +1,17 @@ +def test_gen_nodes_for_pcep_learned_info_update(ixnetwork): + try: + # pcc group should be generated + pcc_group = ixnetwork.Topology.DeviceGroup.Ethernet.Ipv4.Pce.PccGroup + learned_info_update = pcc_group.LearnedInfoUpdate + print(learned_info_update.PceBasicRsvpSyncLspUpdateParams.__dir__()) + print(learned_info_update.PceBasicSrSyncLspUpdateParams.__dir__()) + print(learned_info_update.PceBasicSrv6SyncLspUpdateParams.__dir__()) + print(learned_info_update.PceDetailedRsvpSyncLspUpdateParams.__dir__()) + print(learned_info_update.PceDetailedSrSyncLspUpdateParams.__dir__()) + print(learned_info_update.PceDetailedSrv6SyncLspUpdateParams.__dir__()) + except Exception as e: + err_msg = ( + "pcc_group and all nodes related to learnedInfo should be generated, \nexception: " + + str(e) + ) + raise Exception(err_msg) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/preferences/preferences.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/preferences/preferences.py index ed3cfa6e3..604bf0dac 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/preferences/preferences.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/preferences/preferences.py @@ -44,15 +44,20 @@ class Preferences(Base): "DeleteDumpFilesOlderThan": "deleteDumpFilesOlderThan", "DisableMinimizedScenario": "disableMinimizedScenario", "DisableProtoSpecificConnectors": "disableProtoSpecificConnectors", + "DropPacketsOnHighRx": "dropPacketsOnHighRx", "EnableAutoSave": "enableAutoSave", "EnableCloudTools": "enableCloudTools", "EnableDpdkForNewConfig": "enableDpdkForNewConfig", + "EnablePCPUGuardRail": "enablePCPUGuardRail", "ForceLegacyPortNameInStats": "forceLegacyPortNameInStats", "IncludeTroubleshootingComments": "includeTroubleshootingComments", "LatestConfigInDiagEnabled": "latestConfigInDiagEnabled", + "PcpuGuardRailCriticalThreshold": "pcpuGuardRailCriticalThreshold", + "PcpuGuardRailWarningThreshold": "pcpuGuardRailWarningThreshold", "PhyMode": "phyMode", "PingChassisOnConnect": "pingChassisOnConnect", "ProcessProtocolStateChangeAsync": "processProtocolStateChangeAsync", + "RebootPortOnGuardRailCritical": "rebootPortOnGuardRailCritical", "RebootPortsOnConnect": "rebootPortsOnConnect", "ReceiveMode": "receiveMode", "RecentChassisList": "recentChassisList", @@ -255,6 +260,21 @@ def DisableProtoSpecificConnectors(self, value): # type: (bool) -> None self._set_attribute(self._SDM_ATT_MAP["DisableProtoSpecificConnectors"], value) + @property + def DropPacketsOnHighRx(self): + # type: () -> bool + """ + Returns + ------- + - bool: drop packets on high rx + """ + return self._get_attribute(self._SDM_ATT_MAP["DropPacketsOnHighRx"]) + + @DropPacketsOnHighRx.setter + def DropPacketsOnHighRx(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["DropPacketsOnHighRx"], value) + @property def EnableAutoSave(self): # type: () -> bool @@ -300,6 +320,21 @@ def EnableDpdkForNewConfig(self, value): # type: (bool) -> None self._set_attribute(self._SDM_ATT_MAP["EnableDpdkForNewConfig"], value) + @property + def EnablePCPUGuardRail(self): + # type: () -> bool + """ + Returns + ------- + - bool: enable pcpu guardrail + """ + return self._get_attribute(self._SDM_ATT_MAP["EnablePCPUGuardRail"]) + + @EnablePCPUGuardRail.setter + def EnablePCPUGuardRail(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["EnablePCPUGuardRail"], value) + @property def ForceLegacyPortNameInStats(self): # type: () -> bool @@ -345,6 +380,36 @@ def LatestConfigInDiagEnabled(self, value): # type: (bool) -> None self._set_attribute(self._SDM_ATT_MAP["LatestConfigInDiagEnabled"], value) + @property + def PcpuGuardRailCriticalThreshold(self): + # type: () -> int + """ + Returns + ------- + - number: pcpu guardrail critical threshold + """ + return self._get_attribute(self._SDM_ATT_MAP["PcpuGuardRailCriticalThreshold"]) + + @PcpuGuardRailCriticalThreshold.setter + def PcpuGuardRailCriticalThreshold(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["PcpuGuardRailCriticalThreshold"], value) + + @property + def PcpuGuardRailWarningThreshold(self): + # type: () -> int + """ + Returns + ------- + - number: pcpu guardrail warning threshold + """ + return self._get_attribute(self._SDM_ATT_MAP["PcpuGuardRailWarningThreshold"]) + + @PcpuGuardRailWarningThreshold.setter + def PcpuGuardRailWarningThreshold(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["PcpuGuardRailWarningThreshold"], value) + @property def PhyMode(self): # type: () -> str @@ -390,6 +455,21 @@ def ProcessProtocolStateChangeAsync(self, value): # type: (bool) -> None self._set_attribute(self._SDM_ATT_MAP["ProcessProtocolStateChangeAsync"], value) + @property + def RebootPortOnGuardRailCritical(self): + # type: () -> bool + """ + Returns + ------- + - bool: reboot port on critical memory threshold + """ + return self._get_attribute(self._SDM_ATT_MAP["RebootPortOnGuardRailCritical"]) + + @RebootPortOnGuardRailCritical.setter + def RebootPortOnGuardRailCritical(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["RebootPortOnGuardRailCritical"], value) + @property def RebootPortsOnConnect(self): # type: () -> bool @@ -580,15 +660,20 @@ def update( DeleteDumpFilesOlderThan=None, DisableMinimizedScenario=None, DisableProtoSpecificConnectors=None, + DropPacketsOnHighRx=None, EnableAutoSave=None, EnableCloudTools=None, EnableDpdkForNewConfig=None, + EnablePCPUGuardRail=None, ForceLegacyPortNameInStats=None, IncludeTroubleshootingComments=None, LatestConfigInDiagEnabled=None, + PcpuGuardRailCriticalThreshold=None, + PcpuGuardRailWarningThreshold=None, PhyMode=None, PingChassisOnConnect=None, ProcessProtocolStateChangeAsync=None, + RebootPortOnGuardRailCritical=None, RebootPortsOnConnect=None, ReceiveMode=None, RecentChassisList=None, @@ -601,7 +686,7 @@ def update( SyslogPort=None, TransmitMode=None, ): - # type: (bool, int, str, str, str, bool, int, bool, bool, bool, bool, bool, bool, bool, bool, str, bool, bool, bool, str, List[str], str, str, bool, bool, bool, str, int, str) -> Preferences + # type: (bool, int, str, str, str, bool, int, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, int, int, str, bool, bool, bool, bool, str, List[str], str, str, bool, bool, bool, str, int, str) -> Preferences """Updates preferences resource on the server. Args @@ -615,15 +700,20 @@ def update( - DeleteDumpFilesOlderThan (number): Dump Files older than the days set are deleted automatically. Need to restart IxNetwork for this option to take effect. - DisableMinimizedScenario (bool): When true, Device Group will be auto selected in Scenario on a new Topology creation - DisableProtoSpecificConnectors (bool): When true, Device Group will be auto selected in Scenario on a new Topology creation + - DropPacketsOnHighRx (bool): drop packets on high rx - EnableAutoSave (bool): If true,saves the configuration automatically. IxNetwork wont prompt to open the auto backup file when running in TCL Server mode. For performance reasons users additionally have to add a decimal registry key ForceAutoSave in Computer/HKEY_CURRENT_USER/Software/Ixia Communications/IxNetwork/Debug to do the auto save. Doesnt work yet on Linux - EnableCloudTools (bool): Controls whether Cloud Tool options will be enabled or not. This is related to learning MAC / IP address for a topology running on VM ports, deployed in AWS - EnableDpdkForNewConfig (bool): Sets the default DPDK enable/disable state when a new config is created. + - EnablePCPUGuardRail (bool): enable pcpu guardrail - ForceLegacyPortNameInStats (bool): When false, IxNetwork statistics show port name in format. When true, it is in format - IncludeTroubleshootingComments (bool): Includes troubleshooting comments in the script - LatestConfigInDiagEnabled (bool): + - PcpuGuardRailCriticalThreshold (number): pcpu guardrail critical threshold + - PcpuGuardRailWarningThreshold (number): pcpu guardrail warning threshold - PhyMode (str(copper | fiber)): Set the media in Default Port Settings - PingChassisOnConnect (bool): Controls whether to ping the chassis before connecting the ports. Must run IxNetwork in administrator mode - ProcessProtocolStateChangeAsync (bool): When true, protocol state change events are handled Asynchronously + - RebootPortOnGuardRailCritical (bool): reboot port on critical memory threshold - RebootPortsOnConnect (bool): If true the application will reboot any connected virtual ports when the configuration is loaded - ReceiveMode (str(capturePackets | measureTrafficFlow)): Set the receive mode in Default Port settings - RecentChassisList (list(str)): List of recently used chassis @@ -653,15 +743,20 @@ def find( DeleteDumpFilesOlderThan=None, DisableMinimizedScenario=None, DisableProtoSpecificConnectors=None, + DropPacketsOnHighRx=None, EnableAutoSave=None, EnableCloudTools=None, EnableDpdkForNewConfig=None, + EnablePCPUGuardRail=None, ForceLegacyPortNameInStats=None, IncludeTroubleshootingComments=None, LatestConfigInDiagEnabled=None, + PcpuGuardRailCriticalThreshold=None, + PcpuGuardRailWarningThreshold=None, PhyMode=None, PingChassisOnConnect=None, ProcessProtocolStateChangeAsync=None, + RebootPortOnGuardRailCritical=None, RebootPortsOnConnect=None, ReceiveMode=None, RecentChassisList=None, @@ -675,7 +770,7 @@ def find( SyslogPort=None, TransmitMode=None, ): - # type: (bool, int, str, str, str, bool, int, bool, bool, bool, bool, bool, bool, bool, bool, str, bool, bool, bool, str, List[str], List[str], str, str, bool, bool, bool, str, int, str) -> Preferences + # type: (bool, int, str, str, str, bool, int, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, int, int, str, bool, bool, bool, bool, str, List[str], List[str], str, str, bool, bool, bool, str, int, str) -> Preferences """Finds and retrieves preferences resources from the server. All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve preferences resources from the server. @@ -693,15 +788,20 @@ def find( - DeleteDumpFilesOlderThan (number): Dump Files older than the days set are deleted automatically. Need to restart IxNetwork for this option to take effect. - DisableMinimizedScenario (bool): When true, Device Group will be auto selected in Scenario on a new Topology creation - DisableProtoSpecificConnectors (bool): When true, Device Group will be auto selected in Scenario on a new Topology creation + - DropPacketsOnHighRx (bool): drop packets on high rx - EnableAutoSave (bool): If true,saves the configuration automatically. IxNetwork wont prompt to open the auto backup file when running in TCL Server mode. For performance reasons users additionally have to add a decimal registry key ForceAutoSave in Computer/HKEY_CURRENT_USER/Software/Ixia Communications/IxNetwork/Debug to do the auto save. Doesnt work yet on Linux - EnableCloudTools (bool): Controls whether Cloud Tool options will be enabled or not. This is related to learning MAC / IP address for a topology running on VM ports, deployed in AWS - EnableDpdkForNewConfig (bool): Sets the default DPDK enable/disable state when a new config is created. + - EnablePCPUGuardRail (bool): enable pcpu guardrail - ForceLegacyPortNameInStats (bool): When false, IxNetwork statistics show port name in format. When true, it is in format - IncludeTroubleshootingComments (bool): Includes troubleshooting comments in the script - LatestConfigInDiagEnabled (bool): + - PcpuGuardRailCriticalThreshold (number): pcpu guardrail critical threshold + - PcpuGuardRailWarningThreshold (number): pcpu guardrail warning threshold - PhyMode (str(copper | fiber)): Set the media in Default Port Settings - PingChassisOnConnect (bool): Controls whether to ping the chassis before connecting the ports. Must run IxNetwork in administrator mode - ProcessProtocolStateChangeAsync (bool): When true, protocol state change events are handled Asynchronously + - RebootPortOnGuardRailCritical (bool): reboot port on critical memory threshold - RebootPortsOnConnect (bool): If true the application will reboot any connected virtual ports when the configuration is loaded - ReceiveMode (str(capturePackets | measureTrafficFlow)): Set the receive mode in Default Port settings - RecentChassisList (list(str)): List of recently used chassis diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/ancp/ancp_ff7c65534887bffdbaff1aefad2051e6.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/ancp/ancp_ff7c65534887bffdbaff1aefad2051e6.py index ebb102457..1dcd675e9 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/ancp/ancp_ff7c65534887bffdbaff1aefad2051e6.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/ancp/ancp_ff7c65534887bffdbaff1aefad2051e6.py @@ -130,13 +130,13 @@ def TlvEditor(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_d66c1061f4b3bb902b0e5e76ee632657.TlvEditor): An instance of the TlvEditor class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_9737bec75dbac826009c3374be76c5f7.TlvEditor): An instance of the TlvEditor class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_d66c1061f4b3bb902b0e5e76ee632657 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_9737bec75dbac826009c3374be76c5f7 import ( TlvEditor, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/bgpipv4peer/bgpipv4peer_afa8d6e968f83567434da3bbaadcd5ec.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/bgpipv4peer/bgpipv4peer_1f7b633f7d4420fe61750b060e77eec8.py similarity index 95% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/bgpipv4peer/bgpipv4peer_afa8d6e968f83567434da3bbaadcd5ec.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/bgpipv4peer/bgpipv4peer_1f7b633f7d4420fe61750b060e77eec8.py index aa76cd3b3..44747967d 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/bgpipv4peer/bgpipv4peer_afa8d6e968f83567434da3bbaadcd5ec.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/bgpipv4peer/bgpipv4peer_1f7b633f7d4420fe61750b060e77eec8.py @@ -53,6 +53,7 @@ class BgpIpv4Peer(Base): "EnLenthForPolicyNLRI": "enLenthForPolicyNLRI", "EnableAdVplsPrefixLength": "enableAdVplsPrefixLength", "GSRv6SIDEncodingSubTlvType": "gSRv6SIDEncodingSubTlvType", + "HighScaleRouteMode": "highScaleRouteMode", "IBgpTester4BytesAsNumber": "iBgpTester4BytesAsNumber", "IBgpTesterAsNumber": "iBgpTesterAsNumber", "InitiateEbgpActiveConnection": "initiateEbgpActiveConnection", @@ -94,6 +95,8 @@ class BgpIpv4Peer(Base): "SrtePolicySAFI": "srtePolicySAFI", "SrtePolicyType": "srtePolicyType", "Srv6DraftNum": "srv6DraftNum", + "TosDiffServ": "tosDiffServ", + "TrafficClass": "trafficClass", "TriggerVplsPwInitiation": "triggerVplsPwInitiation", "UdpDestinationPort": "udpDestinationPort", "UseUnicastDestMacForBierTraffic": "useUnicastDestMacForBierTraffic", @@ -153,13 +156,13 @@ def TlvEditor(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_d66c1061f4b3bb902b0e5e76ee632657.TlvEditor): An instance of the TlvEditor class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_9737bec75dbac826009c3374be76c5f7.TlvEditor): An instance of the TlvEditor class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_d66c1061f4b3bb902b0e5e76ee632657 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_9737bec75dbac826009c3374be76c5f7 import ( TlvEditor, ) @@ -403,6 +406,20 @@ def GSRv6SIDEncodingSubTlvType(self): self, self._get_attribute(self._SDM_ATT_MAP["GSRv6SIDEncodingSubTlvType"]) ) + @property + def HighScaleRouteMode(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Enable this flag for achieving higher scale with Route Ranges. Applicable for IPv4 (AFI/SAFI - 1/1) IPv6 (AFI/SAFI - 2/1) Routes. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["HighScaleRouteMode"]) + ) + @property def IBgpTester4BytesAsNumber(self): # type: () -> 'Multivalue' @@ -970,6 +987,30 @@ def Srv6DraftNum(self, value): # type: (str) -> None self._set_attribute(self._SDM_ATT_MAP["Srv6DraftNum"], value) + @property + def TosDiffServ(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Configures TOS / Diff Serv value to be used for BGP Peers. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["TosDiffServ"])) + + @property + def TrafficClass(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Configures Traffic Class value to be used for BGP+ Peers. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["TrafficClass"])) + @property def TriggerVplsPwInitiation(self): # type: () -> 'Multivalue' @@ -1142,6 +1183,7 @@ def get_device_ids( EnLenthForPolicyNLRI=None, EnableAdVplsPrefixLength=None, GSRv6SIDEncodingSubTlvType=None, + HighScaleRouteMode=None, IBgpTester4BytesAsNumber=None, IBgpTesterAsNumber=None, InitiateEbgpActiveConnection=None, @@ -1180,6 +1222,8 @@ def get_device_ids( SrtePolicyAttrType=None, SrtePolicySAFI=None, SrtePolicyType=None, + TosDiffServ=None, + TrafficClass=None, TriggerVplsPwInitiation=None, UdpDestinationPort=None, UseUnicastDestMacForBierTraffic=None, @@ -1210,6 +1254,7 @@ def get_device_ids( - EnLenthForPolicyNLRI (str): optional regex of enLenthForPolicyNLRI - EnableAdVplsPrefixLength (str): optional regex of enableAdVplsPrefixLength - GSRv6SIDEncodingSubTlvType (str): optional regex of gSRv6SIDEncodingSubTlvType + - HighScaleRouteMode (str): optional regex of highScaleRouteMode - IBgpTester4BytesAsNumber (str): optional regex of iBgpTester4BytesAsNumber - IBgpTesterAsNumber (str): optional regex of iBgpTesterAsNumber - InitiateEbgpActiveConnection (str): optional regex of initiateEbgpActiveConnection @@ -1248,6 +1293,8 @@ def get_device_ids( - SrtePolicyAttrType (str): optional regex of srtePolicyAttrType - SrtePolicySAFI (str): optional regex of srtePolicySAFI - SrtePolicyType (str): optional regex of srtePolicyType + - TosDiffServ (str): optional regex of tosDiffServ + - TrafficClass (str): optional regex of trafficClass - TriggerVplsPwInitiation (str): optional regex of triggerVplsPwInitiation - UdpDestinationPort (str): optional regex of udpDestinationPort - UseUnicastDestMacForBierTraffic (str): optional regex of useUnicastDestMacForBierTraffic diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/bgpipv6peer/bgpipv6peer_8ab1a4e13ad76078ea4d9cfab0bd1d95.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/bgpipv6peer/bgpipv6peer_0854d0d7c94c9c8faf8c89f2f9f19893.py similarity index 95% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/bgpipv6peer/bgpipv6peer_8ab1a4e13ad76078ea4d9cfab0bd1d95.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/bgpipv6peer/bgpipv6peer_0854d0d7c94c9c8faf8c89f2f9f19893.py index 79fefc805..1144f20c1 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/bgpipv6peer/bgpipv6peer_8ab1a4e13ad76078ea4d9cfab0bd1d95.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/bgpipv6peer/bgpipv6peer_0854d0d7c94c9c8faf8c89f2f9f19893.py @@ -53,6 +53,7 @@ class BgpIpv6Peer(Base): "EnLenthForPolicyNLRI": "enLenthForPolicyNLRI", "EnableAdVplsPrefixLength": "enableAdVplsPrefixLength", "GSRv6SIDEncodingSubTlvType": "gSRv6SIDEncodingSubTlvType", + "HighScaleRouteMode": "highScaleRouteMode", "IBgpTester4BytesAsNumber": "iBgpTester4BytesAsNumber", "IBgpTesterAsNumber": "iBgpTesterAsNumber", "InitiateEbgpActiveConnection": "initiateEbgpActiveConnection", @@ -94,6 +95,8 @@ class BgpIpv6Peer(Base): "SrtePolicySAFI": "srtePolicySAFI", "SrtePolicyType": "srtePolicyType", "Srv6DraftNum": "srv6DraftNum", + "TosDiffServ": "tosDiffServ", + "TrafficClass": "trafficClass", "TriggerVplsPwInitiation": "triggerVplsPwInitiation", "UdpDestinationPort": "udpDestinationPort", "UseUnicastDestMacForBierTraffic": "useUnicastDestMacForBierTraffic", @@ -153,13 +156,13 @@ def TlvEditor(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_d66c1061f4b3bb902b0e5e76ee632657.TlvEditor): An instance of the TlvEditor class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_9737bec75dbac826009c3374be76c5f7.TlvEditor): An instance of the TlvEditor class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_d66c1061f4b3bb902b0e5e76ee632657 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_9737bec75dbac826009c3374be76c5f7 import ( TlvEditor, ) @@ -403,6 +406,20 @@ def GSRv6SIDEncodingSubTlvType(self): self, self._get_attribute(self._SDM_ATT_MAP["GSRv6SIDEncodingSubTlvType"]) ) + @property + def HighScaleRouteMode(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Enable this flag for achieving higher scale with Route Ranges. Applicable for IPv4 (AFI/SAFI - 1/1) IPv6 (AFI/SAFI - 2/1) Routes. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["HighScaleRouteMode"]) + ) + @property def IBgpTester4BytesAsNumber(self): # type: () -> 'Multivalue' @@ -970,6 +987,30 @@ def Srv6DraftNum(self, value): # type: (str) -> None self._set_attribute(self._SDM_ATT_MAP["Srv6DraftNum"], value) + @property + def TosDiffServ(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Configures TOS / Diff Serv value to be used for BGP Peers. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["TosDiffServ"])) + + @property + def TrafficClass(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Configures Traffic Class value to be used for BGP+ Peers. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["TrafficClass"])) + @property def TriggerVplsPwInitiation(self): # type: () -> 'Multivalue' @@ -1142,6 +1183,7 @@ def get_device_ids( EnLenthForPolicyNLRI=None, EnableAdVplsPrefixLength=None, GSRv6SIDEncodingSubTlvType=None, + HighScaleRouteMode=None, IBgpTester4BytesAsNumber=None, IBgpTesterAsNumber=None, InitiateEbgpActiveConnection=None, @@ -1180,6 +1222,8 @@ def get_device_ids( SrtePolicyAttrType=None, SrtePolicySAFI=None, SrtePolicyType=None, + TosDiffServ=None, + TrafficClass=None, TriggerVplsPwInitiation=None, UdpDestinationPort=None, UseUnicastDestMacForBierTraffic=None, @@ -1210,6 +1254,7 @@ def get_device_ids( - EnLenthForPolicyNLRI (str): optional regex of enLenthForPolicyNLRI - EnableAdVplsPrefixLength (str): optional regex of enableAdVplsPrefixLength - GSRv6SIDEncodingSubTlvType (str): optional regex of gSRv6SIDEncodingSubTlvType + - HighScaleRouteMode (str): optional regex of highScaleRouteMode - IBgpTester4BytesAsNumber (str): optional regex of iBgpTester4BytesAsNumber - IBgpTesterAsNumber (str): optional regex of iBgpTesterAsNumber - InitiateEbgpActiveConnection (str): optional regex of initiateEbgpActiveConnection @@ -1248,6 +1293,8 @@ def get_device_ids( - SrtePolicyAttrType (str): optional regex of srtePolicyAttrType - SrtePolicySAFI (str): optional regex of srtePolicySAFI - SrtePolicyType (str): optional regex of srtePolicyType + - TosDiffServ (str): optional regex of tosDiffServ + - TrafficClass (str): optional regex of trafficClass - TriggerVplsPwInitiation (str): optional regex of triggerVplsPwInitiation - UdpDestinationPort (str): optional regex of udpDestinationPort - UseUnicastDestMacForBierTraffic (str): optional regex of useUnicastDestMacForBierTraffic diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/bondedgre/bondedgre_0a904fed3442eacc276cae46d48c1750.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/bondedgre/bondedgre_0a904fed3442eacc276cae46d48c1750.py index 2b71d9ef1..a48fac88d 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/bondedgre/bondedgre_0a904fed3442eacc276cae46d48c1750.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/bondedgre/bondedgre_0a904fed3442eacc276cae46d48c1750.py @@ -54,13 +54,13 @@ def TlvEditor(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_d66c1061f4b3bb902b0e5e76ee632657.TlvEditor): An instance of the TlvEditor class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_9737bec75dbac826009c3374be76c5f7.TlvEditor): An instance of the TlvEditor class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_d66c1061f4b3bb902b0e5e76ee632657 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_9737bec75dbac826009c3374be76c5f7 import ( TlvEditor, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/dhcpv4client/dhcpv4client_177a83e0b1208125d8f1210a0eeccf9e.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/dhcpv4client/dhcpv4client_177a83e0b1208125d8f1210a0eeccf9e.py index af921aadb..1a69f9730 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/dhcpv4client/dhcpv4client_177a83e0b1208125d8f1210a0eeccf9e.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/dhcpv4client/dhcpv4client_177a83e0b1208125d8f1210a0eeccf9e.py @@ -119,13 +119,13 @@ def TlvEditor(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_d66c1061f4b3bb902b0e5e76ee632657.TlvEditor): An instance of the TlvEditor class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_9737bec75dbac826009c3374be76c5f7.TlvEditor): An instance of the TlvEditor class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_d66c1061f4b3bb902b0e5e76ee632657 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_9737bec75dbac826009c3374be76c5f7 import ( TlvEditor, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/dhcpv4relayagent/dhcpv4relayagent_0505d30995689ae96b30b284ac888f41.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/dhcpv4relayagent/dhcpv4relayagent_0505d30995689ae96b30b284ac888f41.py index 6dac98fdd..da3343c13 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/dhcpv4relayagent/dhcpv4relayagent_0505d30995689ae96b30b284ac888f41.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/dhcpv4relayagent/dhcpv4relayagent_0505d30995689ae96b30b284ac888f41.py @@ -50,13 +50,13 @@ def TlvEditor(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_d66c1061f4b3bb902b0e5e76ee632657.TlvEditor): An instance of the TlvEditor class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_9737bec75dbac826009c3374be76c5f7.TlvEditor): An instance of the TlvEditor class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_d66c1061f4b3bb902b0e5e76ee632657 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_9737bec75dbac826009c3374be76c5f7 import ( TlvEditor, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/dhcpv4server/dhcpv4server_4e72811319e14b12cbdf5ee077d49332.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/dhcpv4server/dhcpv4server_4e72811319e14b12cbdf5ee077d49332.py index 812c3da10..1841616da 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/dhcpv4server/dhcpv4server_4e72811319e14b12cbdf5ee077d49332.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/dhcpv4server/dhcpv4server_4e72811319e14b12cbdf5ee077d49332.py @@ -76,13 +76,13 @@ def TlvEditor(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_d66c1061f4b3bb902b0e5e76ee632657.TlvEditor): An instance of the TlvEditor class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_9737bec75dbac826009c3374be76c5f7.TlvEditor): An instance of the TlvEditor class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_d66c1061f4b3bb902b0e5e76ee632657 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_9737bec75dbac826009c3374be76c5f7 import ( TlvEditor, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/dhcpv6client/dhcpv6client_dfdae0e3c18486de2d035a82acbaf6d1.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/dhcpv6client/dhcpv6client_dfdae0e3c18486de2d035a82acbaf6d1.py index 661cbc7e8..8fcaa61d5 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/dhcpv6client/dhcpv6client_dfdae0e3c18486de2d035a82acbaf6d1.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/dhcpv6client/dhcpv6client_dfdae0e3c18486de2d035a82acbaf6d1.py @@ -150,13 +150,13 @@ def TlvEditor(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_d66c1061f4b3bb902b0e5e76ee632657.TlvEditor): An instance of the TlvEditor class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_9737bec75dbac826009c3374be76c5f7.TlvEditor): An instance of the TlvEditor class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_d66c1061f4b3bb902b0e5e76ee632657 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_9737bec75dbac826009c3374be76c5f7 import ( TlvEditor, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/dhcpv6relayagent/dhcpv6relayagent_3ce0fea2045102397de9e3f84c8cfdcd.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/dhcpv6relayagent/dhcpv6relayagent_3ce0fea2045102397de9e3f84c8cfdcd.py index 0a3255cdc..37318a276 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/dhcpv6relayagent/dhcpv6relayagent_3ce0fea2045102397de9e3f84c8cfdcd.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/dhcpv6relayagent/dhcpv6relayagent_3ce0fea2045102397de9e3f84c8cfdcd.py @@ -50,13 +50,13 @@ def TlvEditor(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_d66c1061f4b3bb902b0e5e76ee632657.TlvEditor): An instance of the TlvEditor class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_9737bec75dbac826009c3374be76c5f7.TlvEditor): An instance of the TlvEditor class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_d66c1061f4b3bb902b0e5e76ee632657 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_9737bec75dbac826009c3374be76c5f7 import ( TlvEditor, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/dhcpv6server/dhcpv6server_5ecd1ab7ae85632367976a63d9909c05.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/dhcpv6server/dhcpv6server_5ecd1ab7ae85632367976a63d9909c05.py index e9aa1e609..48aca86d1 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/dhcpv6server/dhcpv6server_5ecd1ab7ae85632367976a63d9909c05.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/dhcpv6server/dhcpv6server_5ecd1ab7ae85632367976a63d9909c05.py @@ -75,13 +75,13 @@ def TlvEditor(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_d66c1061f4b3bb902b0e5e76ee632657.TlvEditor): An instance of the TlvEditor class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_9737bec75dbac826009c3374be76c5f7.TlvEditor): An instance of the TlvEditor class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_d66c1061f4b3bb902b0e5e76ee632657 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_9737bec75dbac826009c3374be76c5f7 import ( TlvEditor, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/geneve/geneve_a488a10a6d48e959563f1aca2792a26d.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/geneve/geneve_a488a10a6d48e959563f1aca2792a26d.py index 050dd105c..324d78498 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/geneve/geneve_a488a10a6d48e959563f1aca2792a26d.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/geneve/geneve_a488a10a6d48e959563f1aca2792a26d.py @@ -90,13 +90,13 @@ def TlvEditor(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_d66c1061f4b3bb902b0e5e76ee632657.TlvEditor): An instance of the TlvEditor class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_9737bec75dbac826009c3374be76c5f7.TlvEditor): An instance of the TlvEditor class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_d66c1061f4b3bb902b0e5e76ee632657 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_9737bec75dbac826009c3374be76c5f7 import ( TlvEditor, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/ipv6/ipv6_ef62e7d01f88eb0ac20e06be06512826.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/ipv6/ipv6_ab6c81b5b300b4621ca50e4da7d5db2a.py similarity index 96% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/ipv6/ipv6_ef62e7d01f88eb0ac20e06be06512826.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/ipv6/ipv6_ab6c81b5b300b4621ca50e4da7d5db2a.py index 184e3d892..83b5d509a 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/ipv6/ipv6_ef62e7d01f88eb0ac20e06be06512826.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/ipv6/ipv6_ab6c81b5b300b4621ca50e4da7d5db2a.py @@ -50,6 +50,7 @@ class Ipv6(Base): "ReSendNsOnLinkUp": "reSendNsOnLinkUp", "RowNames": "rowNames", "SuppressNsForDuplicateGateway": "suppressNsForDuplicateGateway", + "TrafficClass": "trafficClass", } _SDM_ENUM_MAP = {} @@ -308,6 +309,18 @@ def SuppressNsForDuplicateGateway(self): self._get_attribute(self._SDM_ATT_MAP["SuppressNsForDuplicateGateway"]), ) + @property + def TrafficClass(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Configures Traffic Class value to be used for NA/NS/RS/RA. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["TrafficClass"])) + def update(self, Name=None): # type: (str) -> Ipv6 """Updates ipv6 resource on the server. @@ -382,6 +395,7 @@ def get_device_ids( RaRtrLifetime=None, ReSendNsOnLinkUp=None, SuppressNsForDuplicateGateway=None, + TrafficClass=None, ): """Base class infrastructure that gets a list of ipv6 device ids encapsulated by this object. @@ -401,6 +415,7 @@ def get_device_ids( - RaRtrLifetime (str): optional regex of raRtrLifetime - ReSendNsOnLinkUp (str): optional regex of reSendNsOnLinkUp - SuppressNsForDuplicateGateway (str): optional regex of suppressNsForDuplicateGateway + - TrafficClass (str): optional regex of trafficClass Returns ------- diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/isisl3router/isisl3router_a93696d54f0737d09150b5e9abfc942d.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/isisl3router/isisl3router_b221ecb1227b0d9ee3ab2e2861c08d9e.py similarity index 97% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/isisl3router/isisl3router_a93696d54f0737d09150b5e9abfc942d.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/isisl3router/isisl3router_b221ecb1227b0d9ee3ab2e2861c08d9e.py index ed7d8e4e2..c6eae4b6c 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/isisl3router/isisl3router_a93696d54f0737d09150b5e9abfc942d.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/isisl3router/isisl3router_b221ecb1227b0d9ee3ab2e2861c08d9e.py @@ -39,6 +39,7 @@ class IsisL3Router(Base): "BIERInfoSubTLVType": "bIERInfoSubTLVType", "Count": "count", "DescriptiveName": "descriptiveName", + "DoNotSendIPv6ReachabilityForMtid0": "doNotSendIPv6ReachabilityForMtid0", "FaAppSpecfLinkAttrSubTlvType": "faAppSpecfLinkAttrSubTlvType", "FaEagSubTlvType": "faEagSubTlvType", "FadSubTlvType": "fadSubTlvType", @@ -149,6 +150,21 @@ def DescriptiveName(self): """ return self._get_attribute(self._SDM_ATT_MAP["DescriptiveName"]) + @property + def DoNotSendIPv6ReachabilityForMtid0(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Enable this option to Not send IPv6 Reachability TLV (Type 236) for MT ID 0. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, + self._get_attribute(self._SDM_ATT_MAP["DoNotSendIPv6ReachabilityForMtid0"]), + ) + @property def FaAppSpecfLinkAttrSubTlvType(self): # type: () -> 'Multivalue' @@ -645,6 +661,7 @@ def get_device_ids( self, PortNames=None, BIERInfoSubTLVType=None, + DoNotSendIPv6ReachabilityForMtid0=None, FaAppSpecfLinkAttrSubTlvType=None, FaEagSubTlvType=None, FadSubTlvType=None, @@ -682,6 +699,7 @@ def get_device_ids( ---- - PortNames (str): optional regex of port names - BIERInfoSubTLVType (str): optional regex of bIERInfoSubTLVType + - DoNotSendIPv6ReachabilityForMtid0 (str): optional regex of doNotSendIPv6ReachabilityForMtid0 - FaAppSpecfLinkAttrSubTlvType (str): optional regex of faAppSpecfLinkAttrSubTlvType - FaEagSubTlvType (str): optional regex of faEagSubTlvType - FadSubTlvType (str): optional regex of fadSubTlvType diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/lightweightdhcpv6relayagent/lightweightdhcpv6relayagent_63fbf8e8df0af8e405e1da5d43ae1bf7.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/lightweightdhcpv6relayagent/lightweightdhcpv6relayagent_63fbf8e8df0af8e405e1da5d43ae1bf7.py index 958f82e6a..cbc85d547 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/lightweightdhcpv6relayagent/lightweightdhcpv6relayagent_63fbf8e8df0af8e405e1da5d43ae1bf7.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/lightweightdhcpv6relayagent/lightweightdhcpv6relayagent_63fbf8e8df0af8e405e1da5d43ae1bf7.py @@ -50,13 +50,13 @@ def TlvEditor(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_d66c1061f4b3bb902b0e5e76ee632657.TlvEditor): An instance of the TlvEditor class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_9737bec75dbac826009c3374be76c5f7.TlvEditor): An instance of the TlvEditor class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_d66c1061f4b3bb902b0e5e76ee632657 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_9737bec75dbac826009c3374be76c5f7 import ( TlvEditor, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowchannel/flowaggrmatchtemplate_92a54a687c7573d5dcbe6197e7acd7a5.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowchannel/flowaggrmatchtemplate_1ea7f04b862a6e160d6a43f4baf17ef3.py similarity index 95% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowchannel/flowaggrmatchtemplate_92a54a687c7573d5dcbe6197e7acd7a5.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowchannel/flowaggrmatchtemplate_1ea7f04b862a6e160d6a43f4baf17ef3.py index bcf3f4837..6bab098a4 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowchannel/flowaggrmatchtemplate_92a54a687c7573d5dcbe6197e7acd7a5.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowchannel/flowaggrmatchtemplate_1ea7f04b862a6e160d6a43f4baf17ef3.py @@ -65,13 +65,13 @@ def Predefined(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowchannel.predefined_948d5a993970b6a0e72926850bcf371e.Predefined): An instance of the Predefined class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowchannel.predefined_6b976ae27edbd8634592ab8d68c01286.Predefined): An instance of the Predefined class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowchannel.predefined_948d5a993970b6a0e72926850bcf371e import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowchannel.predefined_6b976ae27edbd8634592ab8d68c01286 import ( Predefined, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowchannel/flowstatmatchtemplate_9d0efda6a234c80e8ec5d25dbc49e75b.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowchannel/flowstatmatchtemplate_311f1c0fcf68e244bff6b56837d1cc3f.py similarity index 95% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowchannel/flowstatmatchtemplate_9d0efda6a234c80e8ec5d25dbc49e75b.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowchannel/flowstatmatchtemplate_311f1c0fcf68e244bff6b56837d1cc3f.py index 29f3e074b..4c15146d9 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowchannel/flowstatmatchtemplate_9d0efda6a234c80e8ec5d25dbc49e75b.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowchannel/flowstatmatchtemplate_311f1c0fcf68e244bff6b56837d1cc3f.py @@ -65,13 +65,13 @@ def Predefined(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowchannel.predefined_948d5a993970b6a0e72926850bcf371e.Predefined): An instance of the Predefined class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowchannel.predefined_6b976ae27edbd8634592ab8d68c01286.Predefined): An instance of the Predefined class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowchannel.predefined_948d5a993970b6a0e72926850bcf371e import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowchannel.predefined_6b976ae27edbd8634592ab8d68c01286 import ( Predefined, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowchannel/openflowchannel_8ec1f01f10da89a528ff9caaa6cebe92.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowchannel/openflowchannel_8ec1f01f10da89a528ff9caaa6cebe92.py index 5f384c799..5f318d2cf 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowchannel/openflowchannel_8ec1f01f10da89a528ff9caaa6cebe92.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowchannel/openflowchannel_8ec1f01f10da89a528ff9caaa6cebe92.py @@ -50,13 +50,13 @@ def FlowAggrMatchTemplate(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowchannel.flowaggrmatchtemplate_92a54a687c7573d5dcbe6197e7acd7a5.FlowAggrMatchTemplate): An instance of the FlowAggrMatchTemplate class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowchannel.flowaggrmatchtemplate_1ea7f04b862a6e160d6a43f4baf17ef3.FlowAggrMatchTemplate): An instance of the FlowAggrMatchTemplate class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowchannel.flowaggrmatchtemplate_92a54a687c7573d5dcbe6197e7acd7a5 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowchannel.flowaggrmatchtemplate_1ea7f04b862a6e160d6a43f4baf17ef3 import ( FlowAggrMatchTemplate, ) @@ -70,13 +70,13 @@ def FlowStatMatchTemplate(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowchannel.flowstatmatchtemplate_9d0efda6a234c80e8ec5d25dbc49e75b.FlowStatMatchTemplate): An instance of the FlowStatMatchTemplate class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowchannel.flowstatmatchtemplate_311f1c0fcf68e244bff6b56837d1cc3f.FlowStatMatchTemplate): An instance of the FlowStatMatchTemplate class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowchannel.flowstatmatchtemplate_9d0efda6a234c80e8ec5d25dbc49e75b import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowchannel.flowstatmatchtemplate_311f1c0fcf68e244bff6b56837d1cc3f import ( FlowStatMatchTemplate, ) @@ -90,13 +90,13 @@ def PacketOutActionTemplate(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowchannel.packetoutactiontemplate_655055ae6e6b8535ff5754b84cd6d7dd.PacketOutActionTemplate): An instance of the PacketOutActionTemplate class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowchannel.packetoutactiontemplate_cdfd5cc0a95b553333af05df056c6f5a.PacketOutActionTemplate): An instance of the PacketOutActionTemplate class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowchannel.packetoutactiontemplate_655055ae6e6b8535ff5754b84cd6d7dd import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowchannel.packetoutactiontemplate_cdfd5cc0a95b553333af05df056c6f5a import ( PacketOutActionTemplate, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowchannel/packetoutactiontemplate_655055ae6e6b8535ff5754b84cd6d7dd.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowchannel/packetoutactiontemplate_cdfd5cc0a95b553333af05df056c6f5a.py similarity index 95% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowchannel/packetoutactiontemplate_655055ae6e6b8535ff5754b84cd6d7dd.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowchannel/packetoutactiontemplate_cdfd5cc0a95b553333af05df056c6f5a.py index b629f4bbf..bc96adfbc 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowchannel/packetoutactiontemplate_655055ae6e6b8535ff5754b84cd6d7dd.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowchannel/packetoutactiontemplate_cdfd5cc0a95b553333af05df056c6f5a.py @@ -65,13 +65,13 @@ def Predefined(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowchannel.predefined_948d5a993970b6a0e72926850bcf371e.Predefined): An instance of the Predefined class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowchannel.predefined_240bc09f3e5f74cbccf8ba2d8f664986.Predefined): An instance of the Predefined class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowchannel.predefined_948d5a993970b6a0e72926850bcf371e import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowchannel.predefined_240bc09f3e5f74cbccf8ba2d8f664986 import ( Predefined, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowchannel/predefined_948d5a993970b6a0e72926850bcf371e.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowchannel/predefined_240bc09f3e5f74cbccf8ba2d8f664986.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowchannel/predefined_948d5a993970b6a0e72926850bcf371e.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowchannel/predefined_240bc09f3e5f74cbccf8ba2d8f664986.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowchannel/predefined_6b976ae27edbd8634592ab8d68c01286.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowchannel/predefined_6b976ae27edbd8634592ab8d68c01286.py new file mode 100644 index 000000000..ee355278d --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowchannel/predefined_6b976ae27edbd8634592ab8d68c01286.py @@ -0,0 +1,121 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class Predefined(Base): + """Default template and profile for Flow Match. + The Predefined class encapsulates a list of predefined resources that are managed by the user. + A list of resources can be retrieved from the server using the Predefined.find() method. + The list can be managed by using the Predefined.add() and Predefined.remove() methods. + """ + + __slots__ = () + _SDM_NAME = "predefined" + _SDM_ATT_MAP = {} + _SDM_ENUM_MAP = {} + + def __init__(self, parent, list_op=False): + super(Predefined, self).__init__(parent, list_op) + + @property + def MatchTemplate(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowchannel.matchtemplate_ee15bafabf192236a3dca22667501f96.MatchTemplate): An instance of the MatchTemplate class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowchannel.matchtemplate_ee15bafabf192236a3dca22667501f96 import ( + MatchTemplate, + ) + + if len(self._object_properties) > 0: + if self._properties.get("MatchTemplate", None) is not None: + return self._properties.get("MatchTemplate") + return MatchTemplate(self) + + def add(self): + """Adds a new predefined resource on the server and adds it to the container. + + Returns + ------- + - self: This instance with all currently retrieved predefined resources using find and the newly added predefined resources available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._create(self._map_locals(self._SDM_ATT_MAP, locals())) + + def remove(self): + """Deletes all the contained predefined resources in this instance from the server. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + self._delete() + + def find(self): + """Finds and retrieves predefined resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve predefined resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all predefined resources from the server. + + Returns + ------- + - self: This instance with matching predefined resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of predefined data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the predefined resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowcontroller/actionstemplate_3506879509654c1d0d77f933edb1922c.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowcontroller/actionstemplate_6a59517c84898f2a30a8152cc822c184.py similarity index 95% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowcontroller/actionstemplate_3506879509654c1d0d77f933edb1922c.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowcontroller/actionstemplate_6a59517c84898f2a30a8152cc822c184.py index c92b526f0..4c973887b 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowcontroller/actionstemplate_3506879509654c1d0d77f933edb1922c.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowcontroller/actionstemplate_6a59517c84898f2a30a8152cc822c184.py @@ -65,13 +65,13 @@ def Predefined(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowchannel.predefined_948d5a993970b6a0e72926850bcf371e.Predefined): An instance of the Predefined class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowchannel.predefined_240bc09f3e5f74cbccf8ba2d8f664986.Predefined): An instance of the Predefined class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowchannel.predefined_948d5a993970b6a0e72926850bcf371e import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowchannel.predefined_240bc09f3e5f74cbccf8ba2d8f664986 import ( Predefined, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowcontroller/flowsettemplate_1b79b45150c48e9f752113654ba90a51.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowcontroller/flowsettemplate_1e807a572261b40ca9edb7d10d0fbc78.py similarity index 95% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowcontroller/flowsettemplate_1b79b45150c48e9f752113654ba90a51.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowcontroller/flowsettemplate_1e807a572261b40ca9edb7d10d0fbc78.py index 26bccca26..c56d18c41 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowcontroller/flowsettemplate_1b79b45150c48e9f752113654ba90a51.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowcontroller/flowsettemplate_1e807a572261b40ca9edb7d10d0fbc78.py @@ -65,13 +65,13 @@ def Predefined(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowchannel.predefined_948d5a993970b6a0e72926850bcf371e.Predefined): An instance of the Predefined class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowcontroller.predefined_5a2670e52b655e422dc04191d5f20c16.Predefined): An instance of the Predefined class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowchannel.predefined_948d5a993970b6a0e72926850bcf371e import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowcontroller.predefined_5a2670e52b655e422dc04191d5f20c16 import ( Predefined, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowcontroller/openflowcontroller_e0a495604f848478428f1aea1ec3455d.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowcontroller/openflowcontroller_e0a495604f848478428f1aea1ec3455d.py index 9d438eefd..b0be32b6b 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowcontroller/openflowcontroller_e0a495604f848478428f1aea1ec3455d.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowcontroller/openflowcontroller_e0a495604f848478428f1aea1ec3455d.py @@ -50,13 +50,13 @@ def ActionsTemplate(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowcontroller.actionstemplate_3506879509654c1d0d77f933edb1922c.ActionsTemplate): An instance of the ActionsTemplate class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowcontroller.actionstemplate_6a59517c84898f2a30a8152cc822c184.ActionsTemplate): An instance of the ActionsTemplate class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowcontroller.actionstemplate_3506879509654c1d0d77f933edb1922c import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowcontroller.actionstemplate_6a59517c84898f2a30a8152cc822c184 import ( ActionsTemplate, ) @@ -70,13 +70,13 @@ def FlowSetTemplate(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowcontroller.flowsettemplate_1b79b45150c48e9f752113654ba90a51.FlowSetTemplate): An instance of the FlowSetTemplate class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowcontroller.flowsettemplate_1e807a572261b40ca9edb7d10d0fbc78.FlowSetTemplate): An instance of the FlowSetTemplate class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowcontroller.flowsettemplate_1b79b45150c48e9f752113654ba90a51 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowcontroller.flowsettemplate_1e807a572261b40ca9edb7d10d0fbc78 import ( FlowSetTemplate, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowcontroller/predefined_5a2670e52b655e422dc04191d5f20c16.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowcontroller/predefined_5a2670e52b655e422dc04191d5f20c16.py new file mode 100644 index 000000000..97416ca86 --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowcontroller/predefined_5a2670e52b655e422dc04191d5f20c16.py @@ -0,0 +1,161 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class Predefined(Base): + """Default template and profile for Flow Range. + The Predefined class encapsulates a list of predefined resources that are managed by the user. + A list of resources can be retrieved from the server using the Predefined.find() method. + The list can be managed by using the Predefined.add() and Predefined.remove() methods. + """ + + __slots__ = () + _SDM_NAME = "predefined" + _SDM_ATT_MAP = {} + _SDM_ENUM_MAP = {} + + def __init__(self, parent, list_op=False): + super(Predefined, self).__init__(parent, list_op) + + @property + def FlowTemplate(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowcontroller.flowtemplate_26b29fc00e660d380d59aa40faa25891.FlowTemplate): An instance of the FlowTemplate class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowcontroller.flowtemplate_26b29fc00e660d380d59aa40faa25891 import ( + FlowTemplate, + ) + + if len(self._object_properties) > 0: + if self._properties.get("FlowTemplate", None) is not None: + return self._properties.get("FlowTemplate") + return FlowTemplate(self) + + @property + def SupportedAction(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowcontroller.supportedaction_8ce2c14ee7ce3b2cc1ebc72a1dcbf36d.SupportedAction): An instance of the SupportedAction class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowcontroller.supportedaction_8ce2c14ee7ce3b2cc1ebc72a1dcbf36d import ( + SupportedAction, + ) + + if len(self._object_properties) > 0: + if self._properties.get("SupportedAction", None) is not None: + return self._properties.get("SupportedAction") + return SupportedAction(self) + + @property + def SupportedInstruction(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowcontroller.supportedinstruction_bafc3530125cb4ccc80f5db40e965664.SupportedInstruction): An instance of the SupportedInstruction class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowcontroller.supportedinstruction_bafc3530125cb4ccc80f5db40e965664 import ( + SupportedInstruction, + ) + + if len(self._object_properties) > 0: + if self._properties.get("SupportedInstruction", None) is not None: + return self._properties.get("SupportedInstruction") + return SupportedInstruction(self) + + def add(self): + """Adds a new predefined resource on the server and adds it to the container. + + Returns + ------- + - self: This instance with all currently retrieved predefined resources using find and the newly added predefined resources available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._create(self._map_locals(self._SDM_ATT_MAP, locals())) + + def remove(self): + """Deletes all the contained predefined resources in this instance from the server. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + self._delete() + + def find(self): + """Finds and retrieves predefined resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve predefined resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all predefined resources from the server. + + Returns + ------- + - self: This instance with matching predefined resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of predefined data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the predefined resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowcontroller/supportedaction_8ce2c14ee7ce3b2cc1ebc72a1dcbf36d.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowcontroller/supportedaction_8ce2c14ee7ce3b2cc1ebc72a1dcbf36d.py new file mode 100644 index 000000000..8d05e5b85 --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowcontroller/supportedaction_8ce2c14ee7ce3b2cc1ebc72a1dcbf36d.py @@ -0,0 +1,272 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class SupportedAction(Base): + """Action prototype. + The SupportedAction class encapsulates a list of supportedAction resources that are managed by the user. + A list of resources can be retrieved from the server using the SupportedAction.find() method. + The list can be managed by using the SupportedAction.add() and SupportedAction.remove() methods. + """ + + __slots__ = () + _SDM_NAME = "supportedAction" + _SDM_ATT_MAP = { + "Count": "count", + "Description": "description", + "IsEditable": "isEditable", + "IsRepeatable": "isRepeatable", + "IsRequired": "isRequired", + "Name": "name", + } + _SDM_ENUM_MAP = {} + + def __init__(self, parent, list_op=False): + super(SupportedAction, self).__init__(parent, list_op) + + @property + def Field(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowchannel.field_a57f6ca37b8410c0547a8012c918e128.Field): An instance of the Field class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowchannel.field_a57f6ca37b8410c0547a8012c918e128 import ( + Field, + ) + + if len(self._object_properties) > 0: + if self._properties.get("Field", None) is not None: + return self._properties.get("Field") + return Field(self) + + @property + def Count(self): + # type: () -> int + """ + Returns + ------- + - number: Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. + """ + return self._get_attribute(self._SDM_ATT_MAP["Count"]) + + @property + def Description(self): + # type: () -> str + """ + Returns + ------- + - str: Description of the TLV prototype. + """ + return self._get_attribute(self._SDM_ATT_MAP["Description"]) + + @Description.setter + def Description(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["Description"], value) + + @property + def IsEditable(self): + # type: () -> bool + """ + Returns + ------- + - bool: Information on the requirement of the field. + """ + return self._get_attribute(self._SDM_ATT_MAP["IsEditable"]) + + @IsEditable.setter + def IsEditable(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["IsEditable"], value) + + @property + def IsRepeatable(self): + # type: () -> bool + """ + Returns + ------- + - bool: Information if the field can be multiplied in the tlv definition. + """ + return self._get_attribute(self._SDM_ATT_MAP["IsRepeatable"]) + + @IsRepeatable.setter + def IsRepeatable(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["IsRepeatable"], value) + + @property + def IsRequired(self): + # type: () -> bool + """ + Returns + ------- + - bool: Information on the requirement of the field. + """ + return self._get_attribute(self._SDM_ATT_MAP["IsRequired"]) + + @IsRequired.setter + def IsRequired(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["IsRequired"], value) + + @property + def Name(self): + # type: () -> str + """ + Returns + ------- + - str: Name of the TLV field. + """ + return self._get_attribute(self._SDM_ATT_MAP["Name"]) + + @Name.setter + def Name(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["Name"], value) + + def update( + self, + Description=None, + IsEditable=None, + IsRepeatable=None, + IsRequired=None, + Name=None, + ): + # type: (str, bool, bool, bool, str) -> SupportedAction + """Updates supportedAction resource on the server. + + Args + ---- + - Description (str): Description of the TLV prototype. + - IsEditable (bool): Information on the requirement of the field. + - IsRepeatable (bool): Information if the field can be multiplied in the tlv definition. + - IsRequired (bool): Information on the requirement of the field. + - Name (str): Name of the TLV field. + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) + + def add( + self, + Description=None, + IsEditable=None, + IsRepeatable=None, + IsRequired=None, + Name=None, + ): + # type: (str, bool, bool, bool, str) -> SupportedAction + """Adds a new supportedAction resource on the server and adds it to the container. + + Args + ---- + - Description (str): Description of the TLV prototype. + - IsEditable (bool): Information on the requirement of the field. + - IsRepeatable (bool): Information if the field can be multiplied in the tlv definition. + - IsRequired (bool): Information on the requirement of the field. + - Name (str): Name of the TLV field. + + Returns + ------- + - self: This instance with all currently retrieved supportedAction resources using find and the newly added supportedAction resources available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._create(self._map_locals(self._SDM_ATT_MAP, locals())) + + def remove(self): + """Deletes all the contained supportedAction resources in this instance from the server. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + self._delete() + + def find( + self, + Count=None, + Description=None, + IsEditable=None, + IsRepeatable=None, + IsRequired=None, + Name=None, + ): + # type: (int, str, bool, bool, bool, str) -> SupportedAction + """Finds and retrieves supportedAction resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve supportedAction resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all supportedAction resources from the server. + + Args + ---- + - Count (number): Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. + - Description (str): Description of the TLV prototype. + - IsEditable (bool): Information on the requirement of the field. + - IsRepeatable (bool): Information if the field can be multiplied in the tlv definition. + - IsRequired (bool): Information on the requirement of the field. + - Name (str): Name of the TLV field. + + Returns + ------- + - self: This instance with matching supportedAction resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of supportedAction data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the supportedAction resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowcontroller/supportedinstruction_bafc3530125cb4ccc80f5db40e965664.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowcontroller/supportedinstruction_bafc3530125cb4ccc80f5db40e965664.py new file mode 100644 index 000000000..a90184df3 --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/openflowcontroller/supportedinstruction_bafc3530125cb4ccc80f5db40e965664.py @@ -0,0 +1,292 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class SupportedInstruction(Base): + """Instruction prototype. + The SupportedInstruction class encapsulates a list of supportedInstruction resources that are managed by the user. + A list of resources can be retrieved from the server using the SupportedInstruction.find() method. + The list can be managed by using the SupportedInstruction.add() and SupportedInstruction.remove() methods. + """ + + __slots__ = () + _SDM_NAME = "supportedInstruction" + _SDM_ATT_MAP = { + "Count": "count", + "Description": "description", + "IsEditable": "isEditable", + "IsRepeatable": "isRepeatable", + "IsRequired": "isRequired", + "Name": "name", + } + _SDM_ENUM_MAP = {} + + def __init__(self, parent, list_op=False): + super(SupportedInstruction, self).__init__(parent, list_op) + + @property + def ActionSet(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowcontroller.actionset_fee6f9deca9991c470dd851f2b49825f.ActionSet): An instance of the ActionSet class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowcontroller.actionset_fee6f9deca9991c470dd851f2b49825f import ( + ActionSet, + ) + + if len(self._object_properties) > 0: + if self._properties.get("ActionSet", None) is not None: + return self._properties.get("ActionSet") + return ActionSet(self) + + @property + def Field(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowchannel.field_a57f6ca37b8410c0547a8012c918e128.Field): An instance of the Field class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.openflowchannel.field_a57f6ca37b8410c0547a8012c918e128 import ( + Field, + ) + + if len(self._object_properties) > 0: + if self._properties.get("Field", None) is not None: + return self._properties.get("Field") + return Field(self) + + @property + def Count(self): + # type: () -> int + """ + Returns + ------- + - number: Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. + """ + return self._get_attribute(self._SDM_ATT_MAP["Count"]) + + @property + def Description(self): + # type: () -> str + """ + Returns + ------- + - str: Description of the TLV prototype. + """ + return self._get_attribute(self._SDM_ATT_MAP["Description"]) + + @Description.setter + def Description(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["Description"], value) + + @property + def IsEditable(self): + # type: () -> bool + """ + Returns + ------- + - bool: Information on the requirement of the field. + """ + return self._get_attribute(self._SDM_ATT_MAP["IsEditable"]) + + @IsEditable.setter + def IsEditable(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["IsEditable"], value) + + @property + def IsRepeatable(self): + # type: () -> bool + """ + Returns + ------- + - bool: Information if the field can be multiplied in the tlv definition. + """ + return self._get_attribute(self._SDM_ATT_MAP["IsRepeatable"]) + + @IsRepeatable.setter + def IsRepeatable(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["IsRepeatable"], value) + + @property + def IsRequired(self): + # type: () -> bool + """ + Returns + ------- + - bool: Information on the requirement of the field. + """ + return self._get_attribute(self._SDM_ATT_MAP["IsRequired"]) + + @IsRequired.setter + def IsRequired(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["IsRequired"], value) + + @property + def Name(self): + # type: () -> str + """ + Returns + ------- + - str: Name of the TLV field. + """ + return self._get_attribute(self._SDM_ATT_MAP["Name"]) + + @Name.setter + def Name(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["Name"], value) + + def update( + self, + Description=None, + IsEditable=None, + IsRepeatable=None, + IsRequired=None, + Name=None, + ): + # type: (str, bool, bool, bool, str) -> SupportedInstruction + """Updates supportedInstruction resource on the server. + + Args + ---- + - Description (str): Description of the TLV prototype. + - IsEditable (bool): Information on the requirement of the field. + - IsRepeatable (bool): Information if the field can be multiplied in the tlv definition. + - IsRequired (bool): Information on the requirement of the field. + - Name (str): Name of the TLV field. + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) + + def add( + self, + Description=None, + IsEditable=None, + IsRepeatable=None, + IsRequired=None, + Name=None, + ): + # type: (str, bool, bool, bool, str) -> SupportedInstruction + """Adds a new supportedInstruction resource on the server and adds it to the container. + + Args + ---- + - Description (str): Description of the TLV prototype. + - IsEditable (bool): Information on the requirement of the field. + - IsRepeatable (bool): Information if the field can be multiplied in the tlv definition. + - IsRequired (bool): Information on the requirement of the field. + - Name (str): Name of the TLV field. + + Returns + ------- + - self: This instance with all currently retrieved supportedInstruction resources using find and the newly added supportedInstruction resources available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._create(self._map_locals(self._SDM_ATT_MAP, locals())) + + def remove(self): + """Deletes all the contained supportedInstruction resources in this instance from the server. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + self._delete() + + def find( + self, + Count=None, + Description=None, + IsEditable=None, + IsRepeatable=None, + IsRequired=None, + Name=None, + ): + # type: (int, str, bool, bool, bool, str) -> SupportedInstruction + """Finds and retrieves supportedInstruction resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve supportedInstruction resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all supportedInstruction resources from the server. + + Args + ---- + - Count (number): Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. + - Description (str): Description of the TLV prototype. + - IsEditable (bool): Information on the requirement of the field. + - IsRepeatable (bool): Information if the field can be multiplied in the tlv definition. + - IsRequired (bool): Information on the requirement of the field. + - Name (str): Name of the TLV field. + + Returns + ------- + - self: This instance with matching supportedInstruction resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of supportedInstruction data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the supportedInstruction resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/ospfv2router/ospfv2router_fc60e2637a549cc6f1633d0088abb4ee.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/ospfv2router/ospfv2router_269014fa4008b7e81a251725fc2ca6bf.py similarity index 95% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/ospfv2router/ospfv2router_fc60e2637a549cc6f1633d0088abb4ee.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/ospfv2router/ospfv2router_269014fa4008b7e81a251725fc2ca6bf.py index dffa95a5c..7be32af5e 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/ospfv2router/ospfv2router_fc60e2637a549cc6f1633d0088abb4ee.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/ospfv2router/ospfv2router_269014fa4008b7e81a251725fc2ca6bf.py @@ -42,6 +42,7 @@ class Ospfv2Router(Base): "Count": "count", "DescriptiveName": "descriptiveName", "EnableDrBdr": "enableDrBdr", + "EnableSingleAdjSIDTLV": "enableSingleAdjSIDTLV", "FaEagSubTlvType": "faEagSubTlvType", "FadSubTlvType": "fadSubTlvType", "FadfSubTlvType": "fadfSubTlvType", @@ -173,6 +174,20 @@ def EnableDrBdr(self): return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["EnableDrBdr"])) + @property + def EnableSingleAdjSIDTLV(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): When there are multiple links of a router then send one Extended Link TLV per Extended Link Opaque LSA for each link. This is expected behavior as per RFC7684. If this checkbox is disabled then multiple link TLVs are combined in one single Extended Link Opaque LSA. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["EnableSingleAdjSIDTLV"]) + ) + @property def FaEagSubTlvType(self): # type: () -> 'Multivalue' @@ -407,6 +422,7 @@ def get_device_ids( BierMplsEncapSubTlvType=None, BierSubTlvType=None, EnableDrBdr=None, + EnableSingleAdjSIDTLV=None, FaEagSubTlvType=None, FadSubTlvType=None, FadfSubTlvType=None, @@ -428,6 +444,7 @@ def get_device_ids( - BierMplsEncapSubTlvType (str): optional regex of bierMplsEncapSubTlvType - BierSubTlvType (str): optional regex of bierSubTlvType - EnableDrBdr (str): optional regex of enableDrBdr + - EnableSingleAdjSIDTLV (str): optional regex of enableSingleAdjSIDTLV - FaEagSubTlvType (str): optional regex of faEagSubTlvType - FadSubTlvType (str): optional regex of fadSubTlvType - FadfSubTlvType (str): optional regex of fadfSubTlvType diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/pcc/pcc_b9da1d5a5cf31906067f29bdfc78e860.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/pcc/pcc_b9da1d5a5cf31906067f29bdfc78e860.py index 4775a1f16..237d671d7 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/pcc/pcc_b9da1d5a5cf31906067f29bdfc78e860.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/pcc/pcc_b9da1d5a5cf31906067f29bdfc78e860.py @@ -115,7 +115,7 @@ def BackupPCEOperationMode(self): @property def BindingSIDDraftVersion(self): # type: () -> 'Multivalue' - """ + """DEPRECATED Returns ------- - obj(ixnetwork_restpy.multivalue.Multivalue): Depending on this field backward compatibility will be given. All draft versions before IETF draft will follow existing implementation. New IETF draft will be using new implementation and TLV structure. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/pce/pce_01d903d1ebbc310362aec8b4e7dc8176.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/pce/pce_01d903d1ebbc310362aec8b4e7dc8176.py index 44bd16e74..93975840e 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/pce/pce_01d903d1ebbc310362aec8b4e7dc8176.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/pce/pce_01d903d1ebbc310362aec8b4e7dc8176.py @@ -98,7 +98,7 @@ def StopRate(self): @property def BindingSIDDraftVersion(self): # type: () -> 'Multivalue' - """ + """DEPRECATED Returns ------- - obj(ixnetwork_restpy.multivalue.Multivalue): Depending on this field backward compatibility will be given. All draft versions before IETF draft will follow existing implementation. New IETF draft will be using new implementation and TLV structure. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/pppoxclient/pppoxclient_5dc1f66a565b5f159bb9b76e6267101c.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/pppoxclient/pppoxclient_5dc1f66a565b5f159bb9b76e6267101c.py index 4bd0bcf7d..7e749b78e 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/pppoxclient/pppoxclient_5dc1f66a565b5f159bb9b76e6267101c.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/pppoxclient/pppoxclient_5dc1f66a565b5f159bb9b76e6267101c.py @@ -113,13 +113,13 @@ def TlvEditor(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_d66c1061f4b3bb902b0e5e76ee632657.TlvEditor): An instance of the TlvEditor class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_9737bec75dbac826009c3374be76c5f7.TlvEditor): An instance of the TlvEditor class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_d66c1061f4b3bb902b0e5e76ee632657 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_9737bec75dbac826009c3374be76c5f7 import ( TlvEditor, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/tlveditor/defaults_6da4efbc0f60f2cba8351f92d98fdc75.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/tlveditor/defaults_357155246025eaca693ddd1bd09a2c58.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/tlveditor/defaults_6da4efbc0f60f2cba8351f92d98fdc75.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/tlveditor/defaults_357155246025eaca693ddd1bd09a2c58.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/tlveditor/tlveditor_d66c1061f4b3bb902b0e5e76ee632657.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/tlveditor/tlveditor_9737bec75dbac826009c3374be76c5f7.py similarity index 96% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/tlveditor/tlveditor_d66c1061f4b3bb902b0e5e76ee632657.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/tlveditor/tlveditor_9737bec75dbac826009c3374be76c5f7.py index e52b5a1db..8229ea3be 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/tlveditor/tlveditor_d66c1061f4b3bb902b0e5e76ee632657.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/tlveditor/tlveditor_9737bec75dbac826009c3374be76c5f7.py @@ -46,13 +46,13 @@ def Defaults(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.defaults_6da4efbc0f60f2cba8351f92d98fdc75.Defaults): An instance of the Defaults class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.defaults_357155246025eaca693ddd1bd09a2c58.Defaults): An instance of the Defaults class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.defaults_6da4efbc0f60f2cba8351f92d98fdc75 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.defaults_357155246025eaca693ddd1bd09a2c58 import ( Defaults, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/topology_678a8dc80c9b4b2b5c741072eab4305d.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/topology_678a8dc80c9b4b2b5c741072eab4305d.py index b759cc901..e1baceff3 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/topology_678a8dc80c9b4b2b5c741072eab4305d.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/globals/topology/topology_678a8dc80c9b4b2b5c741072eab4305d.py @@ -105,13 +105,13 @@ def BgpIpv4Peer(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.bgpipv4peer.bgpipv4peer_afa8d6e968f83567434da3bbaadcd5ec.BgpIpv4Peer): An instance of the BgpIpv4Peer class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.bgpipv4peer.bgpipv4peer_1f7b633f7d4420fe61750b060e77eec8.BgpIpv4Peer): An instance of the BgpIpv4Peer class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.bgpipv4peer.bgpipv4peer_afa8d6e968f83567434da3bbaadcd5ec import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.bgpipv4peer.bgpipv4peer_1f7b633f7d4420fe61750b060e77eec8 import ( BgpIpv4Peer, ) @@ -125,13 +125,13 @@ def BgpIpv6Peer(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.bgpipv6peer.bgpipv6peer_8ab1a4e13ad76078ea4d9cfab0bd1d95.BgpIpv6Peer): An instance of the BgpIpv6Peer class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.bgpipv6peer.bgpipv6peer_0854d0d7c94c9c8faf8c89f2f9f19893.BgpIpv6Peer): An instance of the BgpIpv6Peer class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.bgpipv6peer.bgpipv6peer_8ab1a4e13ad76078ea4d9cfab0bd1d95 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.bgpipv6peer.bgpipv6peer_0854d0d7c94c9c8faf8c89f2f9f19893 import ( BgpIpv6Peer, ) @@ -645,13 +645,13 @@ def Ipv6(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.ipv6.ipv6_ef62e7d01f88eb0ac20e06be06512826.Ipv6): An instance of the Ipv6 class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.ipv6.ipv6_ab6c81b5b300b4621ca50e4da7d5db2a.Ipv6): An instance of the Ipv6 class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.ipv6.ipv6_ef62e7d01f88eb0ac20e06be06512826 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.ipv6.ipv6_ab6c81b5b300b4621ca50e4da7d5db2a import ( Ipv6, ) @@ -705,13 +705,13 @@ def IsisL3Router(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.isisl3router.isisl3router_a93696d54f0737d09150b5e9abfc942d.IsisL3Router): An instance of the IsisL3Router class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.isisl3router.isisl3router_b221ecb1227b0d9ee3ab2e2861c08d9e.IsisL3Router): An instance of the IsisL3Router class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.isisl3router.isisl3router_a93696d54f0737d09150b5e9abfc942d import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.isisl3router.isisl3router_b221ecb1227b0d9ee3ab2e2861c08d9e import ( IsisL3Router, ) @@ -1185,13 +1185,13 @@ def Ospfv2Router(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.ospfv2router.ospfv2router_fc60e2637a549cc6f1633d0088abb4ee.Ospfv2Router): An instance of the Ospfv2Router class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.ospfv2router.ospfv2router_269014fa4008b7e81a251725fc2ca6bf.Ospfv2Router): An instance of the Ospfv2Router class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.ospfv2router.ospfv2router_fc60e2637a549cc6f1633d0088abb4ee import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.globals.topology.ospfv2router.ospfv2router_269014fa4008b7e81a251725fc2ca6bf import ( Ospfv2Router, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpepepeerlinklist_763f9e1a55aa38eb16e9aa15af5fbd00.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpepepeerlinklist_763f9e1a55aa38eb16e9aa15af5fbd00.py index 8a5cd0b89..50e2cf0b7 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpepepeerlinklist_763f9e1a55aa38eb16e9aa15af5fbd00.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpepepeerlinklist_763f9e1a55aa38eb16e9aa15af5fbd00.py @@ -86,13 +86,13 @@ def TlvProfile(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c.TlvProfile): An instance of the TlvProfile class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26.TlvProfile): An instance of the TlvProfile class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26 import ( TlvProfile, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpethernetsegmentv4_1cb5c56a2c9d4d061f97207a53f3a691.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpethernetsegmentv4_2514045783c23a908611c72c13ab7e8f.py similarity index 97% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpethernetsegmentv4_1cb5c56a2c9d4d061f97207a53f3a691.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpethernetsegmentv4_2514045783c23a908611c72c13ab7e8f.py index d776190ff..e5702e823 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpethernetsegmentv4_1cb5c56a2c9d4d061f97207a53f3a691.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpethernetsegmentv4_2514045783c23a908611c72c13ab7e8f.py @@ -49,11 +49,13 @@ class BgpEthernetSegmentV4(Base): "Count": "count", "DescriptiveName": "descriptiveName", "DfElectionTimer": "dfElectionTimer", + "ETreeLeafLabel": "eTreeLeafLabel", "EnableAggregatorId": "enableAggregatorId", "EnableAsPathSegments": "enableAsPathSegments", "EnableAtomicAggregate": "enableAtomicAggregate", "EnableCluster": "enableCluster", "EnableCommunity": "enableCommunity", + "EnableETreeLeafIndication": "enableETreeLeafIndication", "EnableExtendedCommunity": "enableExtendedCommunity", "EnableLocalPreference": "enableLocalPreference", "EnableMultiExitDiscriminator": "enableMultiExitDiscriminator", @@ -380,6 +382,20 @@ def DfElectionTimer(self): self, self._get_attribute(self._SDM_ATT_MAP["DfElectionTimer"]) ) + @property + def ETreeLeafLabel(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Leaf Label value for E-Tree Extended Community. Default value is 1100. Configurable only if there is at least one leaf site enabled in MAC Ranges. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["ETreeLeafLabel"]) + ) + @property def EnableAggregatorId(self): # type: () -> 'Multivalue' @@ -448,6 +464,20 @@ def EnableCommunity(self): self, self._get_attribute(self._SDM_ATT_MAP["EnableCommunity"]) ) + @property + def EnableETreeLeafIndication(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This enables Leaf Indication Bit of E-Tree Extended Community. Default value is false. Configurable only if there is at least one leaf site enabled in MAC Ranges. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["EnableETreeLeafIndication"]) + ) + @property def EnableExtendedCommunity(self): # type: () -> 'Multivalue' @@ -1192,11 +1222,13 @@ def get_device_ids( BMacPrefix=None, BMacPrefixLength=None, DfElectionTimer=None, + ETreeLeafLabel=None, EnableAggregatorId=None, EnableAsPathSegments=None, EnableAtomicAggregate=None, EnableCluster=None, EnableCommunity=None, + EnableETreeLeafIndication=None, EnableExtendedCommunity=None, EnableLocalPreference=None, EnableMultiExitDiscriminator=None, @@ -1246,11 +1278,13 @@ def get_device_ids( - BMacPrefix (str): optional regex of bMacPrefix - BMacPrefixLength (str): optional regex of bMacPrefixLength - DfElectionTimer (str): optional regex of dfElectionTimer + - ETreeLeafLabel (str): optional regex of eTreeLeafLabel - EnableAggregatorId (str): optional regex of enableAggregatorId - EnableAsPathSegments (str): optional regex of enableAsPathSegments - EnableAtomicAggregate (str): optional regex of enableAtomicAggregate - EnableCluster (str): optional regex of enableCluster - EnableCommunity (str): optional regex of enableCommunity + - EnableETreeLeafIndication (str): optional regex of enableETreeLeafIndication - EnableExtendedCommunity (str): optional regex of enableExtendedCommunity - EnableLocalPreference (str): optional regex of enableLocalPreference - EnableMultiExitDiscriminator (str): optional regex of enableMultiExitDiscriminator diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpethernetsegmentv6_766c04a63efb3fe4eca969aac968fe4e.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpethernetsegmentv6_58e9b55555c9ee871244737f09405ae0.py similarity index 97% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpethernetsegmentv6_766c04a63efb3fe4eca969aac968fe4e.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpethernetsegmentv6_58e9b55555c9ee871244737f09405ae0.py index 89f8845a5..83a21741f 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpethernetsegmentv6_766c04a63efb3fe4eca969aac968fe4e.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpethernetsegmentv6_58e9b55555c9ee871244737f09405ae0.py @@ -50,11 +50,13 @@ class BgpEthernetSegmentV6(Base): "Count": "count", "DescriptiveName": "descriptiveName", "DfElectionTimer": "dfElectionTimer", + "ETreeLeafLabel": "eTreeLeafLabel", "EnableAggregatorId": "enableAggregatorId", "EnableAsPathSegments": "enableAsPathSegments", "EnableAtomicAggregate": "enableAtomicAggregate", "EnableCluster": "enableCluster", "EnableCommunity": "enableCommunity", + "EnableETreeLeafIndication": "enableETreeLeafIndication", "EnableExtendedCommunity": "enableExtendedCommunity", "EnableLocalPreference": "enableLocalPreference", "EnableMultiExitDiscriminator": "enableMultiExitDiscriminator", @@ -396,6 +398,20 @@ def DfElectionTimer(self): self, self._get_attribute(self._SDM_ATT_MAP["DfElectionTimer"]) ) + @property + def ETreeLeafLabel(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Leaf Label value for E-Tree Extended Community. Default value is 1100. Configurable only if there is at least one leaf site enabled in MAC Ranges. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["ETreeLeafLabel"]) + ) + @property def EnableAggregatorId(self): # type: () -> 'Multivalue' @@ -464,6 +480,20 @@ def EnableCommunity(self): self, self._get_attribute(self._SDM_ATT_MAP["EnableCommunity"]) ) + @property + def EnableETreeLeafIndication(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This enables Leaf Indication Bit of E-Tree Extended Community. Default value is false. Configurable only if there is at least one leaf site enabled in MAC Ranges. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["EnableETreeLeafIndication"]) + ) + @property def EnableExtendedCommunity(self): # type: () -> 'Multivalue' @@ -1221,11 +1251,13 @@ def get_device_ids( BMacPrefix=None, BMacPrefixLength=None, DfElectionTimer=None, + ETreeLeafLabel=None, EnableAggregatorId=None, EnableAsPathSegments=None, EnableAtomicAggregate=None, EnableCluster=None, EnableCommunity=None, + EnableETreeLeafIndication=None, EnableExtendedCommunity=None, EnableLocalPreference=None, EnableMultiExitDiscriminator=None, @@ -1277,11 +1309,13 @@ def get_device_ids( - BMacPrefix (str): optional regex of bMacPrefix - BMacPrefixLength (str): optional regex of bMacPrefixLength - DfElectionTimer (str): optional regex of dfElectionTimer + - ETreeLeafLabel (str): optional regex of eTreeLeafLabel - EnableAggregatorId (str): optional regex of enableAggregatorId - EnableAsPathSegments (str): optional regex of enableAsPathSegments - EnableAtomicAggregate (str): optional regex of enableAtomicAggregate - EnableCluster (str): optional regex of enableCluster - EnableCommunity (str): optional regex of enableCommunity + - EnableETreeLeafIndication (str): optional regex of enableETreeLeafIndication - EnableExtendedCommunity (str): optional regex of enableExtendedCommunity - EnableLocalPreference (str): optional regex of enableLocalPreference - EnableMultiExitDiscriminator (str): optional regex of enableMultiExitDiscriminator diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpiprouteproperty_ffd9071ae88c6283e9f54ec948882405.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpiprouteproperty_ffd9071ae88c6283e9f54ec948882405.py index 0671f41fb..73a0df236 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpiprouteproperty_ffd9071ae88c6283e9f54ec948882405.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpiprouteproperty_ffd9071ae88c6283e9f54ec948882405.py @@ -290,13 +290,13 @@ def CMacProperties(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f.CMacProperties): An instance of the CMacProperties class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2.CMacProperties): An instance of the CMacProperties class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2 import ( CMacProperties, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv4peer_2e2c3c2ad1ad138953e43543afb88841.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv4peer_2e2c3c2ad1ad138953e43543afb88841.py index b18d4d8ce..66c3a5435 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv4peer_2e2c3c2ad1ad138953e43543afb88841.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv4peer_2e2c3c2ad1ad138953e43543afb88841.py @@ -247,13 +247,13 @@ def BgpEthernetSegmentV4(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpethernetsegmentv4_1cb5c56a2c9d4d061f97207a53f3a691.BgpEthernetSegmentV4): An instance of the BgpEthernetSegmentV4 class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpethernetsegmentv4_2514045783c23a908611c72c13ab7e8f.BgpEthernetSegmentV4): An instance of the BgpEthernetSegmentV4 class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpethernetsegmentv4_1cb5c56a2c9d4d061f97207a53f3a691 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpethernetsegmentv4_2514045783c23a908611c72c13ab7e8f import ( BgpEthernetSegmentV4, ) @@ -687,13 +687,13 @@ def TlvProfile(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c.TlvProfile): An instance of the TlvProfile class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26.TlvProfile): An instance of the TlvProfile class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26 import ( TlvProfile, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv6peer_cc4b2c56b540aa17ec1d2d616e50cd4b.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv6peer_cc4b2c56b540aa17ec1d2d616e50cd4b.py index 81e81c4ad..360589d4d 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv6peer_cc4b2c56b540aa17ec1d2d616e50cd4b.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpipv6peer_cc4b2c56b540aa17ec1d2d616e50cd4b.py @@ -299,13 +299,13 @@ def BgpEthernetSegmentV6(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpethernetsegmentv6_766c04a63efb3fe4eca969aac968fe4e.BgpEthernetSegmentV6): An instance of the BgpEthernetSegmentV6 class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpethernetsegmentv6_58e9b55555c9ee871244737f09405ae0.BgpEthernetSegmentV6): An instance of the BgpEthernetSegmentV6 class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpethernetsegmentv6_766c04a63efb3fe4eca969aac968fe4e import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.bgpethernetsegmentv6_58e9b55555c9ee871244737f09405ae0 import ( BgpEthernetSegmentV6, ) @@ -739,13 +739,13 @@ def TlvProfile(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c.TlvProfile): An instance of the TlvProfile class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26.TlvProfile): An instance of the TlvProfile class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26 import ( TlvProfile, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpl3vpnrouteproperty_3b5e18e475abdb9b6f2bf410d51d886a.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpl3vpnrouteproperty_3b5e18e475abdb9b6f2bf410d51d886a.py index 6fab42b05..e5a6be81d 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpl3vpnrouteproperty_3b5e18e475abdb9b6f2bf410d51d886a.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpl3vpnrouteproperty_3b5e18e475abdb9b6f2bf410d51d886a.py @@ -227,13 +227,13 @@ def CMacProperties(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f.CMacProperties): An instance of the CMacProperties class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2.CMacProperties): An instance of the CMacProperties class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2 import ( CMacProperties, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpmvpnreceiversitesipv4_279b1194a64614140f00d08a876cb61b.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpmvpnreceiversitesipv4_279b1194a64614140f00d08a876cb61b.py index 69396380d..52933c5f0 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpmvpnreceiversitesipv4_279b1194a64614140f00d08a876cb61b.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpmvpnreceiversitesipv4_279b1194a64614140f00d08a876cb61b.py @@ -77,13 +77,13 @@ def CMacProperties(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f.CMacProperties): An instance of the CMacProperties class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2.CMacProperties): An instance of the CMacProperties class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2 import ( CMacProperties, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpmvpnreceiversitesipv6_49c886be42acc1f3fc70df1023ccb0bd.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpmvpnreceiversitesipv6_49c886be42acc1f3fc70df1023ccb0bd.py index e2db8ebef..fd50a9b95 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpmvpnreceiversitesipv6_49c886be42acc1f3fc70df1023ccb0bd.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpmvpnreceiversitesipv6_49c886be42acc1f3fc70df1023ccb0bd.py @@ -77,13 +77,13 @@ def CMacProperties(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f.CMacProperties): An instance of the CMacProperties class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2.CMacProperties): An instance of the CMacProperties class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2 import ( CMacProperties, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpmvpnsendersitesipv4_83c1dffccb6359eeaa27efcb24b1e2a2.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpmvpnsendersitesipv4_83c1dffccb6359eeaa27efcb24b1e2a2.py index 12e2d443c..e5c503f65 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpmvpnsendersitesipv4_83c1dffccb6359eeaa27efcb24b1e2a2.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpmvpnsendersitesipv4_83c1dffccb6359eeaa27efcb24b1e2a2.py @@ -66,13 +66,13 @@ def CMacProperties(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f.CMacProperties): An instance of the CMacProperties class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2.CMacProperties): An instance of the CMacProperties class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2 import ( CMacProperties, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpmvpnsendersitesipv6_432522ec6a3a94bf0469071086aef3c0.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpmvpnsendersitesipv6_432522ec6a3a94bf0469071086aef3c0.py index 117a282aa..bd1025e1a 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpmvpnsendersitesipv6_432522ec6a3a94bf0469071086aef3c0.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpmvpnsendersitesipv6_432522ec6a3a94bf0469071086aef3c0.py @@ -67,13 +67,13 @@ def CMacProperties(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f.CMacProperties): An instance of the CMacProperties class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2.CMacProperties): An instance of the CMacProperties class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2 import ( CMacProperties, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpv6iprouteproperty_e31f5dc41e1565260f4ddeb2f61efe60.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpv6iprouteproperty_e31f5dc41e1565260f4ddeb2f61efe60.py index 7e8b7972e..12f91e3d3 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpv6iprouteproperty_e31f5dc41e1565260f4ddeb2f61efe60.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpv6iprouteproperty_e31f5dc41e1565260f4ddeb2f61efe60.py @@ -309,13 +309,13 @@ def CMacProperties(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f.CMacProperties): An instance of the CMacProperties class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2.CMacProperties): An instance of the CMacProperties class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2 import ( CMacProperties, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpv6l3vpnrouteproperty_15999adbfe8d61825751768ad5e0ddda.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpv6l3vpnrouteproperty_15999adbfe8d61825751768ad5e0ddda.py index 6614156b8..1a9318bfc 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpv6l3vpnrouteproperty_15999adbfe8d61825751768ad5e0ddda.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bgpv6l3vpnrouteproperty_15999adbfe8d61825751768ad5e0ddda.py @@ -252,13 +252,13 @@ def CMacProperties(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f.CMacProperties): An instance of the CMacProperties class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2.CMacProperties): An instance of the CMacProperties class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2 import ( CMacProperties, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bondedgre_09eda4ea678bfaf1026122797df45443.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bondedgre_09eda4ea678bfaf1026122797df45443.py index e6d5dbb27..d4f3dc387 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bondedgre_09eda4ea678bfaf1026122797df45443.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/bondedgre_09eda4ea678bfaf1026122797df45443.py @@ -101,13 +101,13 @@ def TlvProfile(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c.TlvProfile): An instance of the TlvProfile class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26.TlvProfile): An instance of the TlvProfile class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26 import ( TlvProfile, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cmacproperties_2f1fa60d20894ec3fe809175e33e024f.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cmacproperties_ecb45bfaef4008cb27346c98c45748b2.py similarity index 97% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cmacproperties_2f1fa60d20894ec3fe809175e33e024f.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cmacproperties_ecb45bfaef4008cb27346c98c45748b2.py index 3533e1b92..a1f748559 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cmacproperties_2f1fa60d20894ec3fe809175e33e024f.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cmacproperties_ecb45bfaef4008cb27346c98c45748b2.py @@ -50,11 +50,14 @@ class CMacProperties(Base): "AsSetMode": "asSetMode", "Count": "count", "DescriptiveName": "descriptiveName", + "ETreeLeafLabel": "eTreeLeafLabel", "EnableAggregatorId": "enableAggregatorId", "EnableAsPathSegments": "enableAsPathSegments", "EnableAtomicAggregate": "enableAtomicAggregate", "EnableCluster": "enableCluster", "EnableCommunity": "enableCommunity", + "EnableETreeExtComm": "enableETreeExtComm", + "EnableETreeLeafIndication": "enableETreeLeafIndication", "EnableExtendedCommunity": "enableExtendedCommunity", "EnableLocalPreference": "enableLocalPreference", "EnableMultiExitDiscriminator": "enableMultiExitDiscriminator", @@ -219,13 +222,13 @@ def CMacProperties(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f.CMacProperties): An instance of the CMacProperties class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2.CMacProperties): An instance of the CMacProperties class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2 import ( CMacProperties, ) @@ -438,6 +441,20 @@ def DescriptiveName(self): """ return self._get_attribute(self._SDM_ATT_MAP["DescriptiveName"]) + @property + def ETreeLeafLabel(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Leaf Label value for E-Tree Extended Community. Default value is 0. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["ETreeLeafLabel"]) + ) + @property def EnableAggregatorId(self): # type: () -> 'Multivalue' @@ -506,6 +523,34 @@ def EnableCommunity(self): self, self._get_attribute(self._SDM_ATT_MAP["EnableCommunity"]) ) + @property + def EnableETreeExtComm(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Enable to configure this MAC Range to act as EVPN E-Tree Leaf Site. This enables E-Tree Extended Community to be sent along with MAC Advertisement. Configuration parameters for this extended community are available only if this is enabled. By default this is false and acts as Root Site. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["EnableETreeExtComm"]) + ) + + @property + def EnableETreeLeafIndication(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This enables Leaf Indication Bit of E-Tree Extended Community. By default this is true. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["EnableETreeLeafIndication"]) + ) + @property def EnableExtendedCommunity(self): # type: () -> 'Multivalue' @@ -1771,11 +1816,14 @@ def get_device_ids( AggregatorAs=None, AggregatorId=None, AsSetMode=None, + ETreeLeafLabel=None, EnableAggregatorId=None, EnableAsPathSegments=None, EnableAtomicAggregate=None, EnableCluster=None, EnableCommunity=None, + EnableETreeExtComm=None, + EnableETreeLeafIndication=None, EnableExtendedCommunity=None, EnableLocalPreference=None, EnableMultiExitDiscriminator=None, @@ -1862,11 +1910,14 @@ def get_device_ids( - AggregatorAs (str): optional regex of aggregatorAs - AggregatorId (str): optional regex of aggregatorId - AsSetMode (str): optional regex of asSetMode + - ETreeLeafLabel (str): optional regex of eTreeLeafLabel - EnableAggregatorId (str): optional regex of enableAggregatorId - EnableAsPathSegments (str): optional regex of enableAsPathSegments - EnableAtomicAggregate (str): optional regex of enableAtomicAggregate - EnableCluster (str): optional regex of enableCluster - EnableCommunity (str): optional regex of enableCommunity + - EnableETreeExtComm (str): optional regex of enableETreeExtComm + - EnableETreeLeafIndication (str): optional regex of enableETreeLeafIndication - EnableExtendedCommunity (str): optional regex of enableExtendedCommunity - EnableLocalPreference (str): optional regex of enableLocalPreference - EnableMultiExitDiscriminator (str): optional regex of enableMultiExitDiscriminator diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/devicegroup_fe4647b311377ec16edf5dcfe93dca09.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/devicegroup_fe4647b311377ec16edf5dcfe93dca09.py index ff039fda9..5ea7ea13d 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/devicegroup_fe4647b311377ec16edf5dcfe93dca09.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/devicegroup_fe4647b311377ec16edf5dcfe93dca09.py @@ -205,13 +205,13 @@ def IsisL3Router(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.isisl3router_9e43da3dac634f0a3fa5d8ede6d6921c.IsisL3Router): An instance of the IsisL3Router class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.isisl3router_7438a99ef52cd7dce31afeeb11418125.IsisL3Router): An instance of the IsisL3Router class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.isisl3router_9e43da3dac634f0a3fa5d8ede6d6921c import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.isisl3router_7438a99ef52cd7dce31afeeb11418125 import ( IsisL3Router, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp4relayagenttlvprofile_1f5a4a0853366dc50313b9b3e8f6e68d.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp4relayagenttlvprofile_1f5a4a0853366dc50313b9b3e8f6e68d.py index 32a0084b4..94385f018 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp4relayagenttlvprofile_1f5a4a0853366dc50313b9b3e8f6e68d.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp4relayagenttlvprofile_1f5a4a0853366dc50313b9b3e8f6e68d.py @@ -49,13 +49,13 @@ def TlvProfile(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c.TlvProfile): An instance of the TlvProfile class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26.TlvProfile): An instance of the TlvProfile class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26 import ( TlvProfile, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6relaytlvprofile_26571057903c7fcd2a20eb10f55be22f.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6relaytlvprofile_26571057903c7fcd2a20eb10f55be22f.py index 75d89ea7c..5cd3296e9 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6relaytlvprofile_26571057903c7fcd2a20eb10f55be22f.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6relaytlvprofile_26571057903c7fcd2a20eb10f55be22f.py @@ -49,13 +49,13 @@ def TlvProfile(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c.TlvProfile): An instance of the TlvProfile class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26.TlvProfile): An instance of the TlvProfile class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26 import ( TlvProfile, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpv4client_51940f357e701f382297f94c99af7a22.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpv4client_51940f357e701f382297f94c99af7a22.py index ee68d4f6f..d09801d16 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpv4client_51940f357e701f382297f94c99af7a22.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpv4client_51940f357e701f382297f94c99af7a22.py @@ -381,13 +381,13 @@ def TlvProfile(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c.TlvProfile): An instance of the TlvProfile class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26.TlvProfile): An instance of the TlvProfile class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26 import ( TlvProfile, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpv4server_a0d174266d4c9a35774364ccc4dfccb3.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpv4server_a0d174266d4c9a35774364ccc4dfccb3.py index 91b36f756..11a91736f 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpv4server_a0d174266d4c9a35774364ccc4dfccb3.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpv4server_a0d174266d4c9a35774364ccc4dfccb3.py @@ -94,13 +94,13 @@ def TlvProfile(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c.TlvProfile): An instance of the TlvProfile class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26.TlvProfile): An instance of the TlvProfile class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26 import ( TlvProfile, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpv6client_355391ba11ab3c1555c827e2e4ac3c4c.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpv6client_355391ba11ab3c1555c827e2e4ac3c4c.py index 109a530c0..32374e1f1 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpv6client_355391ba11ab3c1555c827e2e4ac3c4c.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpv6client_355391ba11ab3c1555c827e2e4ac3c4c.py @@ -615,13 +615,13 @@ def TlvProfile(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c.TlvProfile): An instance of the TlvProfile class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26.TlvProfile): An instance of the TlvProfile class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26 import ( TlvProfile, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpv6server_df745f3926c8653c96b69175854d0c80.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpv6server_df745f3926c8653c96b69175854d0c80.py index fa4db7b8d..cc899616c 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpv6server_df745f3926c8653c96b69175854d0c80.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcpv6server_df745f3926c8653c96b69175854d0c80.py @@ -96,13 +96,13 @@ def TlvProfile(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c.TlvProfile): An instance of the TlvProfile class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26.TlvProfile): An instance of the TlvProfile class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26 import ( TlvProfile, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dslpools_d9b929e10c822a015fb7026b5bad393a.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dslpools_d9b929e10c822a015fb7026b5bad393a.py index 686e67020..ea55b59e6 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dslpools_d9b929e10c822a015fb7026b5bad393a.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dslpools_d9b929e10c822a015fb7026b5bad393a.py @@ -96,13 +96,13 @@ def TlvProfile(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c.TlvProfile): An instance of the TlvProfile class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26.TlvProfile): An instance of the TlvProfile class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26 import ( TlvProfile, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ecprirecradiochannelsorusers_5814e34000b9bdc960142e49f7af3c67.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ecprirecradiochannelsorusers_5814e34000b9bdc960142e49f7af3c67.py index de2b730aa..f3de44d75 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ecprirecradiochannelsorusers_5814e34000b9bdc960142e49f7af3c67.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ecprirecradiochannelsorusers_5814e34000b9bdc960142e49f7af3c67.py @@ -58,13 +58,13 @@ def CMacProperties(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f.CMacProperties): An instance of the CMacProperties class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2.CMacProperties): An instance of the CMacProperties class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2 import ( CMacProperties, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ecprireradiochannelsorusers_d1f6861b47ba784e3298939a333f12b9.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ecprireradiochannelsorusers_d1f6861b47ba784e3298939a333f12b9.py index 8b0d7eebb..cd9d0ab8a 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ecprireradiochannelsorusers_d1f6861b47ba784e3298939a333f12b9.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ecprireradiochannelsorusers_d1f6861b47ba784e3298939a333f12b9.py @@ -58,13 +58,13 @@ def CMacProperties(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f.CMacProperties): An instance of the CMacProperties class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2.CMacProperties): An instance of the CMacProperties class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2 import ( CMacProperties, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/evpnipv4prefixrange_f9fe868ed341d666199597001888e18d.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/evpnipv4prefixrange_f9fe868ed341d666199597001888e18d.py index b24babc05..cc74e7701 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/evpnipv4prefixrange_f9fe868ed341d666199597001888e18d.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/evpnipv4prefixrange_f9fe868ed341d666199597001888e18d.py @@ -184,13 +184,13 @@ def CMacProperties(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f.CMacProperties): An instance of the CMacProperties class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2.CMacProperties): An instance of the CMacProperties class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2 import ( CMacProperties, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/evpnipv6prefixrange_907e82e321deae422b0ee1ed0f82f2f3.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/evpnipv6prefixrange_907e82e321deae422b0ee1ed0f82f2f3.py index 4b179fe42..91b63972b 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/evpnipv6prefixrange_907e82e321deae422b0ee1ed0f82f2f3.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/evpnipv6prefixrange_907e82e321deae422b0ee1ed0f82f2f3.py @@ -184,13 +184,13 @@ def CMacProperties(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f.CMacProperties): An instance of the CMacProperties class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2.CMacProperties): An instance of the CMacProperties class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2 import ( CMacProperties, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/geneve_14ab6f140956b4fc77d1d0f03c5e7514.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/geneve_14ab6f140956b4fc77d1d0f03c5e7514.py index b78017412..39971e9d6 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/geneve_14ab6f140956b4fc77d1d0f03c5e7514.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/geneve_14ab6f140956b4fc77d1d0f03c5e7514.py @@ -232,13 +232,13 @@ def TlvProfile(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c.TlvProfile): An instance of the TlvProfile class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26.TlvProfile): An instance of the TlvProfile class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26 import ( TlvProfile, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/gribiipv4entry_ed5330eae91aea3aecb945c3eda32ad4.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/gribiipv4entry_ed5330eae91aea3aecb945c3eda32ad4.py index 7cf6e7583..aa9992a13 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/gribiipv4entry_ed5330eae91aea3aecb945c3eda32ad4.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/gribiipv4entry_ed5330eae91aea3aecb945c3eda32ad4.py @@ -56,13 +56,13 @@ def CMacProperties(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f.CMacProperties): An instance of the CMacProperties class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2.CMacProperties): An instance of the CMacProperties class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2 import ( CMacProperties, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv4prefixpools_2d6f2aedde61c058965d4e1b21741352.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv4prefixpools_2d6f2aedde61c058965d4e1b21741352.py index 0964c7716..5b2898304 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv4prefixpools_2d6f2aedde61c058965d4e1b21741352.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv4prefixpools_2d6f2aedde61c058965d4e1b21741352.py @@ -218,13 +218,13 @@ def CMacProperties(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f.CMacProperties): An instance of the CMacProperties class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2.CMacProperties): An instance of the CMacProperties class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2 import ( CMacProperties, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv6prefixpools_f83aba85ff769655b348dc60ddcb30f2.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv6prefixpools_f83aba85ff769655b348dc60ddcb30f2.py index 1f197a039..6c57f3918 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv6prefixpools_f83aba85ff769655b348dc60ddcb30f2.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv6prefixpools_f83aba85ff769655b348dc60ddcb30f2.py @@ -218,13 +218,13 @@ def CMacProperties(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f.CMacProperties): An instance of the CMacProperties class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2.CMacProperties): An instance of the CMacProperties class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2 import ( CMacProperties, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv6pseudonoderoutes_bcae68d87ea9e8a15aceb277f8bd6246.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv6pseudonoderoutes_bcae68d87ea9e8a15aceb277f8bd6246.py index 84c0b8994..fd76dd904 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv6pseudonoderoutes_bcae68d87ea9e8a15aceb277f8bd6246.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ipv6pseudonoderoutes_bcae68d87ea9e8a15aceb277f8bd6246.py @@ -82,13 +82,13 @@ def IsisL3PseudoRouteMtIdIPv6(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.isisl3pseudoroutemtidipv6_2a10c4ed3c307b62d44ec1ae4467199f.IsisL3PseudoRouteMtIdIPv6): An instance of the IsisL3PseudoRouteMtIdIPv6 class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.isisl3pseudoroutemtidipv6_b4a9d75a0ea192e5bc7f5118726e154a.IsisL3PseudoRouteMtIdIPv6): An instance of the IsisL3PseudoRouteMtIdIPv6 class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.isisl3pseudoroutemtidipv6_2a10c4ed3c307b62d44ec1ae4467199f import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.isisl3pseudoroutemtidipv6_b4a9d75a0ea192e5bc7f5118726e154a import ( IsisL3PseudoRouteMtIdIPv6, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3_2471ee7fdf32e67045bfc6c9e14f54d6.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3_2471ee7fdf32e67045bfc6c9e14f54d6.py index 3aab48371..b1ef46af2 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3_2471ee7fdf32e67045bfc6c9e14f54d6.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3_2471ee7fdf32e67045bfc6c9e14f54d6.py @@ -185,13 +185,13 @@ def IsisMTIDList(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.isismtidlist_546f33e99cab8ba1beaa9a395387c9df.IsisMTIDList): An instance of the IsisMTIDList class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.isismtidlist_8fd17f74f5299000c0f93d3d190aee51.IsisMTIDList): An instance of the IsisMTIDList class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.isismtidlist_546f33e99cab8ba1beaa9a395387c9df import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.isismtidlist_8fd17f74f5299000c0f93d3d190aee51 import ( IsisMTIDList, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3prefixesmtid_7f655e2e5caa37b3bd2fd2abdfec8d3c.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3prefixesmtid_586e046161234c1eaaab8136f246c47b.py similarity index 85% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3prefixesmtid_7f655e2e5caa37b3bd2fd2abdfec8d3c.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3prefixesmtid_586e046161234c1eaaab8136f246c47b.py index 476843c55..34eff6bbd 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3prefixesmtid_7f655e2e5caa37b3bd2fd2abdfec8d3c.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3prefixesmtid_586e046161234c1eaaab8136f246c47b.py @@ -36,6 +36,7 @@ class IsisL3PrefixesMtId(Base): _SDM_NAME = "isisL3PrefixesMtId" _SDM_ATT_MAP = { "Active": "active", + "AdjSidIncr": "adjSidIncr", "Count": "count", "DescriptiveName": "descriptiveName", "LinkMetric": "linkMetric", @@ -59,6 +60,21 @@ def Active(self): return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Active"])) + @property + def AdjSidIncr(self): + # type: () -> int + """ + Returns + ------- + - number: Specifies the increment to be used for Adj SID related to MT. The default value is 0. The first Topology will pick the Interface SID as base and add the Increment value to it. + """ + return self._get_attribute(self._SDM_ATT_MAP["AdjSidIncr"]) + + @AdjSidIncr.setter + def AdjSidIncr(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["AdjSidIncr"], value) + @property def Count(self): # type: () -> int @@ -118,8 +134,8 @@ def Name(self, value): # type: (str) -> None self._set_attribute(self._SDM_ATT_MAP["Name"], value) - def update(self, Name=None): - # type: (str) -> IsisL3PrefixesMtId + def update(self, AdjSidIncr=None, Name=None): + # type: (int, str) -> IsisL3PrefixesMtId """Updates isisL3PrefixesMtId resource on the server. This method has some named parameters with a type: obj (Multivalue). @@ -127,6 +143,7 @@ def update(self, Name=None): Args ---- + - AdjSidIncr (number): Specifies the increment to be used for Adj SID related to MT. The default value is 0. The first Topology will pick the Interface SID as base and add the Increment value to it. - Name (str): Name of NGPF element, guaranteed to be unique in Scenario Raises @@ -135,8 +152,8 @@ def update(self, Name=None): """ return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) - def find(self, Count=None, DescriptiveName=None, Name=None): - # type: (int, str, str) -> IsisL3PrefixesMtId + def find(self, AdjSidIncr=None, Count=None, DescriptiveName=None, Name=None): + # type: (int, int, str, str) -> IsisL3PrefixesMtId """Finds and retrieves isisL3PrefixesMtId resources from the server. All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve isisL3PrefixesMtId resources from the server. @@ -145,6 +162,7 @@ def find(self, Count=None, DescriptiveName=None, Name=None): Args ---- + - AdjSidIncr (number): Specifies the increment to be used for Adj SID related to MT. The default value is 0. The first Topology will pick the Interface SID as base and add the Increment value to it. - Count (number): Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. - DescriptiveName (str): Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. - Name (str): Name of NGPF element, guaranteed to be unique in Scenario diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3pseudointerface_9126bc028693cbbf9d918cf385cfa24d.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3pseudointerface_9126bc028693cbbf9d918cf385cfa24d.py index 7186af9ae..81f394446 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3pseudointerface_9126bc028693cbbf9d918cf385cfa24d.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3pseudointerface_9126bc028693cbbf9d918cf385cfa24d.py @@ -252,13 +252,13 @@ def IsisPseudoMTIDList(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.isispseudomtidlist_800cbf49cc3d73527a4abe5aa7740b22.IsisPseudoMTIDList): An instance of the IsisPseudoMTIDList class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.isispseudomtidlist_953f6f5d73f9f8b772ed5ed34413424e.IsisPseudoMTIDList): An instance of the IsisPseudoMTIDList class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.isispseudomtidlist_800cbf49cc3d73527a4abe5aa7740b22 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.isispseudomtidlist_953f6f5d73f9f8b772ed5ed34413424e import ( IsisPseudoMTIDList, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3pseudoroutemtidipv6_2a10c4ed3c307b62d44ec1ae4467199f.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3pseudoroutemtidipv6_b4a9d75a0ea192e5bc7f5118726e154a.py similarity index 85% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3pseudoroutemtidipv6_2a10c4ed3c307b62d44ec1ae4467199f.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3pseudoroutemtidipv6_b4a9d75a0ea192e5bc7f5118726e154a.py index 4caaf6f65..23c100c59 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3pseudoroutemtidipv6_2a10c4ed3c307b62d44ec1ae4467199f.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3pseudoroutemtidipv6_b4a9d75a0ea192e5bc7f5118726e154a.py @@ -36,6 +36,7 @@ class IsisL3PseudoRouteMtIdIPv6(Base): _SDM_NAME = "isisL3PseudoRouteMtIdIPv6" _SDM_ATT_MAP = { "Active": "active", + "AdjSidIncr": "adjSidIncr", "Count": "count", "DescriptiveName": "descriptiveName", "LinkMetric": "linkMetric", @@ -59,6 +60,21 @@ def Active(self): return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Active"])) + @property + def AdjSidIncr(self): + # type: () -> int + """ + Returns + ------- + - number: Specifies the increment to be used for Adj SID related to MT. The default value is 0. The first Topology will pick the Interface SID as base and add the Increment value to it. + """ + return self._get_attribute(self._SDM_ATT_MAP["AdjSidIncr"]) + + @AdjSidIncr.setter + def AdjSidIncr(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["AdjSidIncr"], value) + @property def Count(self): # type: () -> int @@ -118,8 +134,8 @@ def Name(self, value): # type: (str) -> None self._set_attribute(self._SDM_ATT_MAP["Name"], value) - def update(self, Name=None): - # type: (str) -> IsisL3PseudoRouteMtIdIPv6 + def update(self, AdjSidIncr=None, Name=None): + # type: (int, str) -> IsisL3PseudoRouteMtIdIPv6 """Updates isisL3PseudoRouteMtIdIPv6 resource on the server. This method has some named parameters with a type: obj (Multivalue). @@ -127,6 +143,7 @@ def update(self, Name=None): Args ---- + - AdjSidIncr (number): Specifies the increment to be used for Adj SID related to MT. The default value is 0. The first Topology will pick the Interface SID as base and add the Increment value to it. - Name (str): Name of NGPF element, guaranteed to be unique in Scenario Raises @@ -135,8 +152,8 @@ def update(self, Name=None): """ return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) - def find(self, Count=None, DescriptiveName=None, Name=None): - # type: (int, str, str) -> IsisL3PseudoRouteMtIdIPv6 + def find(self, AdjSidIncr=None, Count=None, DescriptiveName=None, Name=None): + # type: (int, int, str, str) -> IsisL3PseudoRouteMtIdIPv6 """Finds and retrieves isisL3PseudoRouteMtIdIPv6 resources from the server. All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve isisL3PseudoRouteMtIdIPv6 resources from the server. @@ -145,6 +162,7 @@ def find(self, Count=None, DescriptiveName=None, Name=None): Args ---- + - AdjSidIncr (number): Specifies the increment to be used for Adj SID related to MT. The default value is 0. The first Topology will pick the Interface SID as base and add the Increment value to it. - Count (number): Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. - DescriptiveName (str): Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. - Name (str): Name of NGPF element, guaranteed to be unique in Scenario diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3pseudorouter_5715ca59d18252d03e32609350922ccb.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3pseudorouter_cc48b213b1c82a8d7545254aacd48ebb.py similarity index 99% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3pseudorouter_5715ca59d18252d03e32609350922ccb.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3pseudorouter_cc48b213b1c82a8d7545254aacd48ebb.py index 32e4ab584..8c0b0a656 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3pseudorouter_5715ca59d18252d03e32609350922ccb.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3pseudorouter_cc48b213b1c82a8d7545254aacd48ebb.py @@ -63,7 +63,6 @@ class IsisL3PseudoRouter(Base): "EnableNFlag": "enableNFlag", "EnableRFlag": "enableRFlag", "EnableSR": "enableSR", - "EnableTwampService": "enableTwampService", "EnableWMforTEinNetworkGroup": "enableWMforTEinNetworkGroup", "EnableWideMetric": "enableWideMetric", "EnableXFlag": "enableXFlag", @@ -641,20 +640,6 @@ def EnableSR(self, value): # type: (bool) -> None self._set_attribute(self._SDM_ATT_MAP["EnableSR"], value) - @property - def EnableTwampService(self): - # type: () -> 'Multivalue' - """ - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): If Set, Send Prefix to twamp else not. - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["EnableTwampService"]) - ) - @property def EnableWMforTEinNetworkGroup(self): # type: () -> 'Multivalue' @@ -1798,7 +1783,6 @@ def get_device_ids( EnableMTIPv6=None, EnableNFlag=None, EnableRFlag=None, - EnableTwampService=None, EnableWMforTEinNetworkGroup=None, EnableWideMetric=None, EnableXFlag=None, @@ -1889,7 +1873,6 @@ def get_device_ids( - EnableMTIPv6 (str): optional regex of enableMTIPv6 - EnableNFlag (str): optional regex of enableNFlag - EnableRFlag (str): optional regex of enableRFlag - - EnableTwampService (str): optional regex of enableTwampService - EnableWMforTEinNetworkGroup (str): optional regex of enableWMforTEinNetworkGroup - EnableWideMetric (str): optional regex of enableWideMetric - EnableXFlag (str): optional regex of enableXFlag diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3routeproperty_b92337ebc659bd40bd9c30fab98749e7.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3routeproperty_b92337ebc659bd40bd9c30fab98749e7.py index 1cabe97c8..88aba70e5 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3routeproperty_b92337ebc659bd40bd9c30fab98749e7.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3routeproperty_b92337ebc659bd40bd9c30fab98749e7.py @@ -96,13 +96,13 @@ def CMacProperties(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f.CMacProperties): An instance of the CMacProperties class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2.CMacProperties): An instance of the CMacProperties class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2 import ( CMacProperties, ) @@ -156,13 +156,13 @@ def IsisL3PrefixesMtId(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.isisl3prefixesmtid_7f655e2e5caa37b3bd2fd2abdfec8d3c.IsisL3PrefixesMtId): An instance of the IsisL3PrefixesMtId class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.isisl3prefixesmtid_586e046161234c1eaaab8136f246c47b.IsisL3PrefixesMtId): An instance of the IsisL3PrefixesMtId class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.isisl3prefixesmtid_7f655e2e5caa37b3bd2fd2abdfec8d3c import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.isisl3prefixesmtid_586e046161234c1eaaab8136f246c47b import ( IsisL3PrefixesMtId, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3router_9e43da3dac634f0a3fa5d8ede6d6921c.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3router_7438a99ef52cd7dce31afeeb11418125.py similarity index 99% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3router_9e43da3dac634f0a3fa5d8ede6d6921c.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3router_7438a99ef52cd7dce31afeeb11418125.py index 77f550549..b3431b32b 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3router_9e43da3dac634f0a3fa5d8ede6d6921c.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisl3router_7438a99ef52cd7dce31afeeb11418125.py @@ -85,7 +85,6 @@ class IsisL3Router(Base): "EnableRFlag": "enableRFlag", "EnableSR": "enableSR", "EnableTE": "enableTE", - "EnableTwampService": "enableTwampService", "EnableWMforTE": "enableWMforTE", "EnableWideMetric": "enableWideMetric", "EnableXFlag": "enableXFlag", @@ -1050,20 +1049,6 @@ def EnableTE(self): return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["EnableTE"])) - @property - def EnableTwampService(self): - # type: () -> 'Multivalue' - """ - Returns - ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): If Set, Send Prefix to twamp else not. - """ - from ixnetwork_restpy.multivalue import Multivalue - - return Multivalue( - self, self._get_attribute(self._SDM_ATT_MAP["EnableTwampService"]) - ) - @property def EnableWMforTE(self): # type: () -> 'Multivalue' @@ -2770,7 +2755,6 @@ def get_device_ids( EnableNFlag=None, EnableRFlag=None, EnableTE=None, - EnableTwampService=None, EnableWMforTE=None, EnableWideMetric=None, EnableXFlag=None, @@ -2902,7 +2886,6 @@ def get_device_ids( - EnableNFlag (str): optional regex of enableNFlag - EnableRFlag (str): optional regex of enableRFlag - EnableTE (str): optional regex of enableTE - - EnableTwampService (str): optional regex of enableTwampService - EnableWMforTE (str): optional regex of enableWMforTE - EnableWideMetric (str): optional regex of enableWideMetric - EnableXFlag (str): optional regex of enableXFlag diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isismtidlist_546f33e99cab8ba1beaa9a395387c9df.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isismtidlist_8fd17f74f5299000c0f93d3d190aee51.py similarity index 85% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isismtidlist_546f33e99cab8ba1beaa9a395387c9df.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isismtidlist_8fd17f74f5299000c0f93d3d190aee51.py index 5eb8bab64..14b85349f 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isismtidlist_546f33e99cab8ba1beaa9a395387c9df.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isismtidlist_8fd17f74f5299000c0f93d3d190aee51.py @@ -36,6 +36,7 @@ class IsisMTIDList(Base): _SDM_NAME = "isisMTIDList" _SDM_ATT_MAP = { "Active": "active", + "AdjSidIncr": "adjSidIncr", "Count": "count", "DescriptiveName": "descriptiveName", "LinkMetric": "linkMetric", @@ -60,6 +61,21 @@ def Active(self): return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Active"])) + @property + def AdjSidIncr(self): + # type: () -> int + """ + Returns + ------- + - number: Specifies the increment to be used for Adj SID related to MT. The default value is 0. The first Topology will pick the Interface SID as base and add the Increment value to it. + """ + return self._get_attribute(self._SDM_ATT_MAP["AdjSidIncr"]) + + @AdjSidIncr.setter + def AdjSidIncr(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["AdjSidIncr"], value) + @property def Count(self): # type: () -> int @@ -129,8 +145,8 @@ def SessionInfo(self): """ return self._get_attribute(self._SDM_ATT_MAP["SessionInfo"]) - def update(self, Name=None): - # type: (str) -> IsisMTIDList + def update(self, AdjSidIncr=None, Name=None): + # type: (int, str) -> IsisMTIDList """Updates isisMTIDList resource on the server. This method has some named parameters with a type: obj (Multivalue). @@ -138,6 +154,7 @@ def update(self, Name=None): Args ---- + - AdjSidIncr (number): Specifies the increment to be used for Adj SID related to MT. The default value is 0. The first Topology will pick the Interface SID as base and add the Increment value to it. - Name (str): Name of NGPF element, guaranteed to be unique in Scenario Raises @@ -146,8 +163,15 @@ def update(self, Name=None): """ return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) - def find(self, Count=None, DescriptiveName=None, Name=None, SessionInfo=None): - # type: (int, str, str, List[str]) -> IsisMTIDList + def find( + self, + AdjSidIncr=None, + Count=None, + DescriptiveName=None, + Name=None, + SessionInfo=None, + ): + # type: (int, int, str, str, List[str]) -> IsisMTIDList """Finds and retrieves isisMTIDList resources from the server. All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve isisMTIDList resources from the server. @@ -156,6 +180,7 @@ def find(self, Count=None, DescriptiveName=None, Name=None, SessionInfo=None): Args ---- + - AdjSidIncr (number): Specifies the increment to be used for Adj SID related to MT. The default value is 0. The first Topology will pick the Interface SID as base and add the Increment value to it. - Count (number): Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. - DescriptiveName (str): Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. - Name (str): Name of NGPF element, guaranteed to be unique in Scenario diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isispseudomtidlist_800cbf49cc3d73527a4abe5aa7740b22.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isispseudomtidlist_953f6f5d73f9f8b772ed5ed34413424e.py similarity index 86% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isispseudomtidlist_800cbf49cc3d73527a4abe5aa7740b22.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isispseudomtidlist_953f6f5d73f9f8b772ed5ed34413424e.py index adadb5bac..0c39e937d 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isispseudomtidlist_800cbf49cc3d73527a4abe5aa7740b22.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isispseudomtidlist_953f6f5d73f9f8b772ed5ed34413424e.py @@ -36,6 +36,7 @@ class IsisPseudoMTIDList(Base): _SDM_NAME = "isisPseudoMTIDList" _SDM_ATT_MAP = { "Active": "active", + "AdjSidIncr": "adjSidIncr", "Count": "count", "DescriptiveName": "descriptiveName", "FromNodeLinkMetric": "fromNodeLinkMetric", @@ -60,6 +61,21 @@ def Active(self): return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Active"])) + @property + def AdjSidIncr(self): + # type: () -> int + """ + Returns + ------- + - number: Specifies the increment to be used for Adj SID related to MT. The default value is 0. The first Topology will pick the Interface SID as base and add the Increment value to it. + """ + return self._get_attribute(self._SDM_ATT_MAP["AdjSidIncr"]) + + @AdjSidIncr.setter + def AdjSidIncr(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["AdjSidIncr"], value) + @property def Count(self): # type: () -> int @@ -135,8 +151,8 @@ def ToNodeLinkMetric(self): self, self._get_attribute(self._SDM_ATT_MAP["ToNodeLinkMetric"]) ) - def update(self, Name=None): - # type: (str) -> IsisPseudoMTIDList + def update(self, AdjSidIncr=None, Name=None): + # type: (int, str) -> IsisPseudoMTIDList """Updates isisPseudoMTIDList resource on the server. This method has some named parameters with a type: obj (Multivalue). @@ -144,6 +160,7 @@ def update(self, Name=None): Args ---- + - AdjSidIncr (number): Specifies the increment to be used for Adj SID related to MT. The default value is 0. The first Topology will pick the Interface SID as base and add the Increment value to it. - Name (str): Name of NGPF element, guaranteed to be unique in Scenario Raises @@ -152,8 +169,8 @@ def update(self, Name=None): """ return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) - def find(self, Count=None, DescriptiveName=None, Name=None): - # type: (int, str, str) -> IsisPseudoMTIDList + def find(self, AdjSidIncr=None, Count=None, DescriptiveName=None, Name=None): + # type: (int, int, str, str) -> IsisPseudoMTIDList """Finds and retrieves isisPseudoMTIDList resources from the server. All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve isisPseudoMTIDList resources from the server. @@ -162,6 +179,7 @@ def find(self, Count=None, DescriptiveName=None, Name=None): Args ---- + - AdjSidIncr (number): Specifies the increment to be used for Adj SID related to MT. The default value is 0. The first Topology will pick the Interface SID as base and add the Increment value to it. - Count (number): Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. - DescriptiveName (str): Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. - Name (str): Name of NGPF element, guaranteed to be unique in Scenario diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisspbmaccloudconfig_791b0bf61c8f6877cabfa2621478ab8a.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisspbmaccloudconfig_791b0bf61c8f6877cabfa2621478ab8a.py index 877a1cf99..82235e8c1 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisspbmaccloudconfig_791b0bf61c8f6877cabfa2621478ab8a.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isisspbmaccloudconfig_791b0bf61c8f6877cabfa2621478ab8a.py @@ -53,13 +53,13 @@ def CMacProperties(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f.CMacProperties): An instance of the CMacProperties class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2.CMacProperties): An instance of the CMacProperties class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2 import ( CMacProperties, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isistrillucastmacconfig_a91c5b3e28b2bee04ff08d2e22fad1e2.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isistrillucastmacconfig_a91c5b3e28b2bee04ff08d2e22fad1e2.py index 4a60dff91..e0410cc6f 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isistrillucastmacconfig_a91c5b3e28b2bee04ff08d2e22fad1e2.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/isistrillucastmacconfig_a91c5b3e28b2bee04ff08d2e22fad1e2.py @@ -52,13 +52,13 @@ def CMacProperties(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f.CMacProperties): An instance of the CMacProperties class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2.CMacProperties): An instance of the CMacProperties class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2 import ( CMacProperties, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpfecproperty_9d07999903dc2acadf9a2f44f8a94399.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpfecproperty_9d07999903dc2acadf9a2f44f8a94399.py index 22ed49e27..71bed0819 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpfecproperty_9d07999903dc2acadf9a2f44f8a94399.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpfecproperty_9d07999903dc2acadf9a2f44f8a94399.py @@ -56,13 +56,13 @@ def CMacProperties(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f.CMacProperties): An instance of the CMacProperties class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2.CMacProperties): An instance of the CMacProperties class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2 import ( CMacProperties, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpipv6fecproperty_408cfe80a37623da202d7739fba9b830.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpipv6fecproperty_408cfe80a37623da202d7739fba9b830.py index 72648a0d8..26c36293f 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpipv6fecproperty_408cfe80a37623da202d7739fba9b830.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ldpipv6fecproperty_408cfe80a37623da202d7739fba9b830.py @@ -56,13 +56,13 @@ def CMacProperties(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f.CMacProperties): An instance of the CMacProperties class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2.CMacProperties): An instance of the CMacProperties class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2 import ( CMacProperties, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/actionlist_57354c012aa6110e6483c4eaf33a2438.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/actionlist_57354c012aa6110e6483c4eaf33a2438.py new file mode 100644 index 000000000..f666ad893 --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/actionlist_57354c012aa6110e6483c4eaf33a2438.py @@ -0,0 +1,296 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class ActionList(Base): + """Multiple Actions + The ActionList class encapsulates a list of actionList resources that are managed by the system. + A list of resources can be retrieved from the server using the ActionList.find() method. + """ + + __slots__ = () + _SDM_NAME = "actionList" + _SDM_ATT_MAP = { + "Count": "count", + "Description": "description", + "DisplayName": "displayName", + "IsEditable": "isEditable", + "IsEnabled": "isEnabled", + "IsRequired": "isRequired", + "ListCount": "listCount", + "Name": "name", + } + _SDM_ENUM_MAP = {} + + def __init__(self, parent, list_op=False): + super(ActionList, self).__init__(parent, list_op) + + @property + def Action(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.action_910bcbfd3b7898385321127395ab1bd5.Action): An instance of the Action class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.action_910bcbfd3b7898385321127395ab1bd5 import ( + Action, + ) + + if len(self._object_properties) > 0: + if self._properties.get("Action", None) is not None: + return self._properties.get("Action") + return Action(self) + + @property + def Count(self): + # type: () -> int + """ + Returns + ------- + - number: Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. + """ + return self._get_attribute(self._SDM_ATT_MAP["Count"]) + + @property + def Description(self): + # type: () -> str + """ + Returns + ------- + - str: Description of the field. + """ + return self._get_attribute(self._SDM_ATT_MAP["Description"]) + + @Description.setter + def Description(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["Description"], value) + + @property + def DisplayName(self): + # type: () -> str + """ + Returns + ------- + - str: Display name used by GUI. + """ + return self._get_attribute(self._SDM_ATT_MAP["DisplayName"]) + + @property + def IsEditable(self): + # type: () -> bool + """ + Returns + ------- + - bool: Information on the requirement of the field. + """ + return self._get_attribute(self._SDM_ATT_MAP["IsEditable"]) + + @IsEditable.setter + def IsEditable(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["IsEditable"], value) + + @property + def IsEnabled(self): + # type: () -> bool + """ + Returns + ------- + - bool: Enables disables the field. + """ + return self._get_attribute(self._SDM_ATT_MAP["IsEnabled"]) + + @IsEnabled.setter + def IsEnabled(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["IsEnabled"], value) + + @property + def IsRequired(self): + # type: () -> bool + """ + Returns + ------- + - bool: Information on the requirement of the field. + """ + return self._get_attribute(self._SDM_ATT_MAP["IsRequired"]) + + @IsRequired.setter + def IsRequired(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["IsRequired"], value) + + @property + def ListCount(self): + # type: () -> int + """ + Returns + ------- + - number: The number of times the main field is repeated. + """ + return self._get_attribute(self._SDM_ATT_MAP["ListCount"]) + + @ListCount.setter + def ListCount(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["ListCount"], value) + + @property + def Name(self): + # type: () -> str + """ + Returns + ------- + - str: Name of packet field + """ + return self._get_attribute(self._SDM_ATT_MAP["Name"]) + + @Name.setter + def Name(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["Name"], value) + + def update( + self, + Description=None, + IsEditable=None, + IsEnabled=None, + IsRequired=None, + ListCount=None, + Name=None, + ): + # type: (str, bool, bool, bool, int, str) -> ActionList + """Updates actionList resource on the server. + + Args + ---- + - Description (str): Description of the field. + - IsEditable (bool): Information on the requirement of the field. + - IsEnabled (bool): Enables disables the field. + - IsRequired (bool): Information on the requirement of the field. + - ListCount (number): The number of times the main field is repeated. + - Name (str): Name of packet field + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) + + def add( + self, + Description=None, + IsEditable=None, + IsEnabled=None, + IsRequired=None, + ListCount=None, + Name=None, + ): + # type: (str, bool, bool, bool, int, str) -> ActionList + """Adds a new actionList resource on the json, only valid with batch add utility + + Args + ---- + - Description (str): Description of the field. + - IsEditable (bool): Information on the requirement of the field. + - IsEnabled (bool): Enables disables the field. + - IsRequired (bool): Information on the requirement of the field. + - ListCount (number): The number of times the main field is repeated. + - Name (str): Name of packet field + + Returns + ------- + - self: This instance with all currently retrieved actionList resources using find and the newly added actionList resources available through an iterator or index + + Raises + ------ + - Exception: if this function is not being used with config assistance + """ + return self._add_xpath(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find( + self, + Count=None, + Description=None, + DisplayName=None, + IsEditable=None, + IsEnabled=None, + IsRequired=None, + ListCount=None, + Name=None, + ): + # type: (int, str, str, bool, bool, bool, int, str) -> ActionList + """Finds and retrieves actionList resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve actionList resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all actionList resources from the server. + + Args + ---- + - Count (number): Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. + - Description (str): Description of the field. + - DisplayName (str): Display name used by GUI. + - IsEditable (bool): Information on the requirement of the field. + - IsEnabled (bool): Enables disables the field. + - IsRequired (bool): Information on the requirement of the field. + - ListCount (number): The number of times the main field is repeated. + - Name (str): Name of packet field + + Returns + ------- + - self: This instance with matching actionList resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of actionList data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the actionList resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/flowaggrmatchprofile_2ba597be74523b48fa398c0fe5ce3acf.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/flowaggrmatchprofile_2ba597be74523b48fa398c0fe5ce3acf.py new file mode 100644 index 000000000..ba5980b02 --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/flowaggrmatchprofile_2ba597be74523b48fa398c0fe5ce3acf.py @@ -0,0 +1,221 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class FlowAggrMatchProfile(Base): + """Flow Stat Aggregated Match Profile + The FlowAggrMatchProfile class encapsulates a list of flowAggrMatchProfile resources that are managed by the system. + A list of resources can be retrieved from the server using the FlowAggrMatchProfile.find() method. + """ + + __slots__ = () + _SDM_NAME = "flowAggrMatchProfile" + _SDM_ATT_MAP = { + "Count": "count", + "DescriptiveName": "descriptiveName", + "Name": "name", + } + _SDM_ENUM_MAP = {} + + def __init__(self, parent, list_op=False): + super(FlowAggrMatchProfile, self).__init__(parent, list_op) + + @property + def MatchCriteria(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.matchcriteria_0cfbf8546f5ee9d503c47b3a37bded66.MatchCriteria): An instance of the MatchCriteria class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.matchcriteria_0cfbf8546f5ee9d503c47b3a37bded66 import ( + MatchCriteria, + ) + + if len(self._object_properties) > 0: + if self._properties.get("MatchCriteria", None) is not None: + return self._properties.get("MatchCriteria") + return MatchCriteria(self)._select() + + @property + def Count(self): + # type: () -> int + """ + Returns + ------- + - number: Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. + """ + return self._get_attribute(self._SDM_ATT_MAP["Count"]) + + @property + def DescriptiveName(self): + # type: () -> str + """ + Returns + ------- + - str: Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. + """ + return self._get_attribute(self._SDM_ATT_MAP["DescriptiveName"]) + + @property + def Name(self): + # type: () -> str + """ + Returns + ------- + - str: Name of NGPF element, guaranteed to be unique in Scenario + """ + return self._get_attribute(self._SDM_ATT_MAP["Name"]) + + @Name.setter + def Name(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["Name"], value) + + def update(self, Name=None): + # type: (str) -> FlowAggrMatchProfile + """Updates flowAggrMatchProfile resource on the server. + + Args + ---- + - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) + + def add(self, Name=None): + # type: (str) -> FlowAggrMatchProfile + """Adds a new flowAggrMatchProfile resource on the json, only valid with batch add utility + + Args + ---- + - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + + Returns + ------- + - self: This instance with all currently retrieved flowAggrMatchProfile resources using find and the newly added flowAggrMatchProfile resources available through an iterator or index + + Raises + ------ + - Exception: if this function is not being used with config assistance + """ + return self._add_xpath(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find(self, Count=None, DescriptiveName=None, Name=None): + # type: (int, str, str) -> FlowAggrMatchProfile + """Finds and retrieves flowAggrMatchProfile resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve flowAggrMatchProfile resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all flowAggrMatchProfile resources from the server. + + Args + ---- + - Count (number): Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. + - DescriptiveName (str): Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. + - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + + Returns + ------- + - self: This instance with matching flowAggrMatchProfile resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of flowAggrMatchProfile data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the flowAggrMatchProfile resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) + + def AddFromTemplate(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addFromTemplate operation on the server. + + Creates a Match Action prototype supported by the template. + + addFromTemplate(Arg2=href, async_operation=bool) + ------------------------------------------------ + - Arg2 (str(None | /api/v1/sessions/1/ixnetwork/)): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addFromTemplate", payload=payload, response_object=None) + + def Remove(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the remove operation on the server. + + Creates a Match Action prototype supported by the template. + + remove(Arg2=href, async_operation=bool) + --------------------------------------- + - Arg2 (str(None | /api/v1/sessions/1/ixnetwork/)): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("remove", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/flowstatmatchprofile_d56a9c24805ae788ef01a9b7a86babf1.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/flowstatmatchprofile_d56a9c24805ae788ef01a9b7a86babf1.py new file mode 100644 index 000000000..32c01f447 --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/flowstatmatchprofile_d56a9c24805ae788ef01a9b7a86babf1.py @@ -0,0 +1,221 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class FlowStatMatchProfile(Base): + """Flow Match Profile + The FlowStatMatchProfile class encapsulates a list of flowStatMatchProfile resources that are managed by the system. + A list of resources can be retrieved from the server using the FlowStatMatchProfile.find() method. + """ + + __slots__ = () + _SDM_NAME = "flowStatMatchProfile" + _SDM_ATT_MAP = { + "Count": "count", + "DescriptiveName": "descriptiveName", + "Name": "name", + } + _SDM_ENUM_MAP = {} + + def __init__(self, parent, list_op=False): + super(FlowStatMatchProfile, self).__init__(parent, list_op) + + @property + def MatchCriteria(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.matchcriteria_0cfbf8546f5ee9d503c47b3a37bded66.MatchCriteria): An instance of the MatchCriteria class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.matchcriteria_0cfbf8546f5ee9d503c47b3a37bded66 import ( + MatchCriteria, + ) + + if len(self._object_properties) > 0: + if self._properties.get("MatchCriteria", None) is not None: + return self._properties.get("MatchCriteria") + return MatchCriteria(self)._select() + + @property + def Count(self): + # type: () -> int + """ + Returns + ------- + - number: Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. + """ + return self._get_attribute(self._SDM_ATT_MAP["Count"]) + + @property + def DescriptiveName(self): + # type: () -> str + """ + Returns + ------- + - str: Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. + """ + return self._get_attribute(self._SDM_ATT_MAP["DescriptiveName"]) + + @property + def Name(self): + # type: () -> str + """ + Returns + ------- + - str: Name of NGPF element, guaranteed to be unique in Scenario + """ + return self._get_attribute(self._SDM_ATT_MAP["Name"]) + + @Name.setter + def Name(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["Name"], value) + + def update(self, Name=None): + # type: (str) -> FlowStatMatchProfile + """Updates flowStatMatchProfile resource on the server. + + Args + ---- + - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) + + def add(self, Name=None): + # type: (str) -> FlowStatMatchProfile + """Adds a new flowStatMatchProfile resource on the json, only valid with batch add utility + + Args + ---- + - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + + Returns + ------- + - self: This instance with all currently retrieved flowStatMatchProfile resources using find and the newly added flowStatMatchProfile resources available through an iterator or index + + Raises + ------ + - Exception: if this function is not being used with config assistance + """ + return self._add_xpath(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find(self, Count=None, DescriptiveName=None, Name=None): + # type: (int, str, str) -> FlowStatMatchProfile + """Finds and retrieves flowStatMatchProfile resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve flowStatMatchProfile resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all flowStatMatchProfile resources from the server. + + Args + ---- + - Count (number): Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. + - DescriptiveName (str): Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. + - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + + Returns + ------- + - self: This instance with matching flowStatMatchProfile resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of flowStatMatchProfile data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the flowStatMatchProfile resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) + + def AddFromTemplate(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addFromTemplate operation on the server. + + Creates a Match Action prototype supported by the template. + + addFromTemplate(Arg2=href, async_operation=bool) + ------------------------------------------------ + - Arg2 (str(None | /api/v1/sessions/1/ixnetwork/)): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addFromTemplate", payload=payload, response_object=None) + + def Remove(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the remove operation on the server. + + Creates a Match Action prototype supported by the template. + + remove(Arg2=href, async_operation=bool) + --------------------------------------- + - Arg2 (str(None | /api/v1/sessions/1/ixnetwork/)): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("remove", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/learnedinfoupdate_b6503122c0a4a58877467964920e27b5.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/learnedinfoupdate_0f2cd377c44f7dfc2c15b68516dc2707.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/learnedinfoupdate_b6503122c0a4a58877467964920e27b5.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/learnedinfoupdate_0f2cd377c44f7dfc2c15b68516dc2707.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/learnedinfoupdate_c16222bcf67d5a605c480c375e0fa938.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/learnedinfoupdate_c16222bcf67d5a605c480c375e0fa938.py new file mode 100644 index 000000000..c2ce697bf --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/learnedinfoupdate_c16222bcf67d5a605c480c375e0fa938.py @@ -0,0 +1,110 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class LearnedInfoUpdate(Base): + """The learned information trigger node that contains trigger tables of learned information. + The LearnedInfoUpdate class encapsulates a list of learnedInfoUpdate resources that are managed by the system. + A list of resources can be retrieved from the server using the LearnedInfoUpdate.find() method. + """ + + __slots__ = () + _SDM_NAME = "learnedInfoUpdate" + _SDM_ATT_MAP = {} + _SDM_ENUM_MAP = {} + + def __init__(self, parent, list_op=False): + super(LearnedInfoUpdate, self).__init__(parent, list_op) + + @property + def OFChannelLearnedInfo(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.ofchannellearnedinfo_dc0fb9c204191e64878422c6a8604d01.OFChannelLearnedInfo): An instance of the OFChannelLearnedInfo class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.ofchannellearnedinfo_dc0fb9c204191e64878422c6a8604d01 import ( + OFChannelLearnedInfo, + ) + + if len(self._object_properties) > 0: + if self._properties.get("OFChannelLearnedInfo", None) is not None: + return self._properties.get("OFChannelLearnedInfo") + return OFChannelLearnedInfo(self) + + def add(self): + """Adds a new learnedInfoUpdate resource on the json, only valid with batch add utility + + Returns + ------- + - self: This instance with all currently retrieved learnedInfoUpdate resources using find and the newly added learnedInfoUpdate resources available through an iterator or index + + Raises + ------ + - Exception: if this function is not being used with config assistance + """ + return self._add_xpath(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find(self): + """Finds and retrieves learnedInfoUpdate resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve learnedInfoUpdate resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all learnedInfoUpdate resources from the server. + + Returns + ------- + - self: This instance with matching learnedInfoUpdate resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of learnedInfoUpdate data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the learnedInfoUpdate resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/learnedinfoupdate_dd43ce3af7af258dc032dc87aa945c8b.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/learnedinfoupdate_dd43ce3af7af258dc032dc87aa945c8b.py new file mode 100644 index 000000000..b3c1e2b71 --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/learnedinfoupdate_dd43ce3af7af258dc032dc87aa945c8b.py @@ -0,0 +1,225 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class LearnedInfoUpdate(Base): + """The learned information trigger node that contains trigger tables of learned information. + The LearnedInfoUpdate class encapsulates a list of learnedInfoUpdate resources that are managed by the system. + A list of resources can be retrieved from the server using the LearnedInfoUpdate.find() method. + """ + + __slots__ = () + _SDM_NAME = "learnedInfoUpdate" + _SDM_ATT_MAP = {} + _SDM_ENUM_MAP = {} + + def __init__(self, parent, list_op=False): + super(LearnedInfoUpdate, self).__init__(parent, list_op) + + @property + def PceBasicRsvpSyncLspUpdateParams(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pcebasicrsvpsynclspupdateparams_a744c997c9b882a5c54b978095fc5398.PceBasicRsvpSyncLspUpdateParams): An instance of the PceBasicRsvpSyncLspUpdateParams class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pcebasicrsvpsynclspupdateparams_a744c997c9b882a5c54b978095fc5398 import ( + PceBasicRsvpSyncLspUpdateParams, + ) + + if len(self._object_properties) > 0: + if ( + self._properties.get("PceBasicRsvpSyncLspUpdateParams", None) + is not None + ): + return self._properties.get("PceBasicRsvpSyncLspUpdateParams") + return PceBasicRsvpSyncLspUpdateParams(self) + + @property + def PceBasicSrSyncLspUpdateParams(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pcebasicsrsynclspupdateparams_fba7719ac304788aa97d45eb6b6115cb.PceBasicSrSyncLspUpdateParams): An instance of the PceBasicSrSyncLspUpdateParams class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pcebasicsrsynclspupdateparams_fba7719ac304788aa97d45eb6b6115cb import ( + PceBasicSrSyncLspUpdateParams, + ) + + if len(self._object_properties) > 0: + if self._properties.get("PceBasicSrSyncLspUpdateParams", None) is not None: + return self._properties.get("PceBasicSrSyncLspUpdateParams") + return PceBasicSrSyncLspUpdateParams(self) + + @property + def PceBasicSrv6SyncLspUpdateParams(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pcebasicsrv6synclspupdateparams_86ab1246139fe62f74705dedfe30b987.PceBasicSrv6SyncLspUpdateParams): An instance of the PceBasicSrv6SyncLspUpdateParams class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pcebasicsrv6synclspupdateparams_86ab1246139fe62f74705dedfe30b987 import ( + PceBasicSrv6SyncLspUpdateParams, + ) + + if len(self._object_properties) > 0: + if ( + self._properties.get("PceBasicSrv6SyncLspUpdateParams", None) + is not None + ): + return self._properties.get("PceBasicSrv6SyncLspUpdateParams") + return PceBasicSrv6SyncLspUpdateParams(self) + + @property + def PceDetailedRsvpSyncLspUpdateParams(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pcedetailedrsvpsynclspupdateparams_0c9e029a38fba6fae93fa53a8f46b4bb.PceDetailedRsvpSyncLspUpdateParams): An instance of the PceDetailedRsvpSyncLspUpdateParams class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pcedetailedrsvpsynclspupdateparams_0c9e029a38fba6fae93fa53a8f46b4bb import ( + PceDetailedRsvpSyncLspUpdateParams, + ) + + if len(self._object_properties) > 0: + if ( + self._properties.get("PceDetailedRsvpSyncLspUpdateParams", None) + is not None + ): + return self._properties.get("PceDetailedRsvpSyncLspUpdateParams") + return PceDetailedRsvpSyncLspUpdateParams(self) + + @property + def PceDetailedSrSyncLspUpdateParams(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pcedetailedsrsynclspupdateparams_951cdbe14befd4ee3c5048628bfc6d65.PceDetailedSrSyncLspUpdateParams): An instance of the PceDetailedSrSyncLspUpdateParams class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pcedetailedsrsynclspupdateparams_951cdbe14befd4ee3c5048628bfc6d65 import ( + PceDetailedSrSyncLspUpdateParams, + ) + + if len(self._object_properties) > 0: + if ( + self._properties.get("PceDetailedSrSyncLspUpdateParams", None) + is not None + ): + return self._properties.get("PceDetailedSrSyncLspUpdateParams") + return PceDetailedSrSyncLspUpdateParams(self) + + @property + def PceDetailedSrv6SyncLspUpdateParams(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pcedetailedsrv6synclspupdateparams_914bb4f12b1f9c2014caf436b5fa2d28.PceDetailedSrv6SyncLspUpdateParams): An instance of the PceDetailedSrv6SyncLspUpdateParams class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pcedetailedsrv6synclspupdateparams_914bb4f12b1f9c2014caf436b5fa2d28 import ( + PceDetailedSrv6SyncLspUpdateParams, + ) + + if len(self._object_properties) > 0: + if ( + self._properties.get("PceDetailedSrv6SyncLspUpdateParams", None) + is not None + ): + return self._properties.get("PceDetailedSrv6SyncLspUpdateParams") + return PceDetailedSrv6SyncLspUpdateParams(self) + + def add(self): + """Adds a new learnedInfoUpdate resource on the json, only valid with batch add utility + + Returns + ------- + - self: This instance with all currently retrieved learnedInfoUpdate resources using find and the newly added learnedInfoUpdate resources available through an iterator or index + + Raises + ------ + - Exception: if this function is not being used with config assistance + """ + return self._add_xpath(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find(self): + """Finds and retrieves learnedInfoUpdate resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve learnedInfoUpdate resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all learnedInfoUpdate resources from the server. + + Returns + ------- + - self: This instance with matching learnedInfoUpdate resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of learnedInfoUpdate data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the learnedInfoUpdate resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/learnedinfoupdate_f0f5d88734eb95208b4f723819a57481.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/learnedinfoupdate_f0f5d88734eb95208b4f723819a57481.py new file mode 100644 index 000000000..debd94c33 --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/learnedinfoupdate_f0f5d88734eb95208b4f723819a57481.py @@ -0,0 +1,113 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class LearnedInfoUpdate(Base): + """The learned information trigger node that contains trigger tables of learned information. + The LearnedInfoUpdate class encapsulates a list of learnedInfoUpdate resources that are managed by the system. + A list of resources can be retrieved from the server using the LearnedInfoUpdate.find() method. + """ + + __slots__ = () + _SDM_NAME = "learnedInfoUpdate" + _SDM_ATT_MAP = {} + _SDM_ENUM_MAP = {} + + def __init__(self, parent, list_op=False): + super(LearnedInfoUpdate, self).__init__(parent, list_op) + + @property + def MplsoamSbfdResponderLearnedInfo(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.mplsoamsbfdresponderlearnedinfo_2e820550fd3f57d4f0b6d57e32ffa0df.MplsoamSbfdResponderLearnedInfo): An instance of the MplsoamSbfdResponderLearnedInfo class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.mplsoamsbfdresponderlearnedinfo_2e820550fd3f57d4f0b6d57e32ffa0df import ( + MplsoamSbfdResponderLearnedInfo, + ) + + if len(self._object_properties) > 0: + if ( + self._properties.get("MplsoamSbfdResponderLearnedInfo", None) + is not None + ): + return self._properties.get("MplsoamSbfdResponderLearnedInfo") + return MplsoamSbfdResponderLearnedInfo(self) + + def add(self): + """Adds a new learnedInfoUpdate resource on the json, only valid with batch add utility + + Returns + ------- + - self: This instance with all currently retrieved learnedInfoUpdate resources using find and the newly added learnedInfoUpdate resources available through an iterator or index + + Raises + ------ + - Exception: if this function is not being used with config assistance + """ + return self._add_xpath(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find(self): + """Finds and retrieves learnedInfoUpdate resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve learnedInfoUpdate resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all learnedInfoUpdate resources from the server. + + Returns + ------- + - self: This instance with matching learnedInfoUpdate resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of learnedInfoUpdate data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the learnedInfoUpdate resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/mplsoamsbfdresponderlearnedinfo_2e820550fd3f57d4f0b6d57e32ffa0df.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/mplsoamsbfdresponderlearnedinfo_2e820550fd3f57d4f0b6d57e32ffa0df.py new file mode 100644 index 000000000..372b20c30 --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/mplsoamsbfdresponderlearnedinfo_2e820550fd3f57d4f0b6d57e32ffa0df.py @@ -0,0 +1,138 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class MplsoamSbfdResponderLearnedInfo(Base): + """GUI columns and TCL attributes for SBFD Responder Learned Information + The MplsoamSbfdResponderLearnedInfo class encapsulates a list of mplsoamSbfdResponderLearnedInfo resources that are managed by the system. + A list of resources can be retrieved from the server using the MplsoamSbfdResponderLearnedInfo.find() method. + """ + + __slots__ = () + _SDM_NAME = "mplsoamSbfdResponderLearnedInfo" + _SDM_ATT_MAP = {} + _SDM_ENUM_MAP = {} + + def __init__(self, parent, list_op=False): + super(MplsoamSbfdResponderLearnedInfo, self).__init__(parent, list_op) + + def add(self): + """Adds a new mplsoamSbfdResponderLearnedInfo resource on the json, only valid with batch add utility + + Returns + ------- + - self: This instance with all currently retrieved mplsoamSbfdResponderLearnedInfo resources using find and the newly added mplsoamSbfdResponderLearnedInfo resources available through an iterator or index + + Raises + ------ + - Exception: if this function is not being used with config assistance + """ + return self._add_xpath(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find(self): + """Finds and retrieves mplsoamSbfdResponderLearnedInfo resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve mplsoamSbfdResponderLearnedInfo resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all mplsoamSbfdResponderLearnedInfo resources from the server. + + Returns + ------- + - self: This instance with matching mplsoamSbfdResponderLearnedInfo resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of mplsoamSbfdResponderLearnedInfo data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the mplsoamSbfdResponderLearnedInfo resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) + + def PauseSessions(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the pauseSessions operation on the server. + + Pause selected learned SBFD sessions at Responder e.g. to allow data to switch to backup path at the ingress.Only applicable for sessions not already in Paused state. + + pauseSessions(Arg2=list, async_operation=bool)list + -------------------------------------------------- + - Arg2 (list(number)): List of indices of the learned sessions from SBFD Initiator which has to be paused. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("pauseSessions", payload=payload, response_object=None) + + def ResumeSessions(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the resumeSessions operation on the server. + + Resume selected learned SBFD sessions at Responder e.g. to allow data to switch to primary path at the ingress.Only applicable for sessions in Paused state. + + resumeSessions(Arg2=list, async_operation=bool)list + --------------------------------------------------- + - Arg2 (list(number)): List of indices of the learned sessions from SBFD Initiator which has to be resumed. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("resumeSessions", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/ofchannellearnedinfo_dc0fb9c204191e64878422c6a8604d01.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/ofchannellearnedinfo_dc0fb9c204191e64878422c6a8604d01.py new file mode 100644 index 000000000..add22be80 --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/ofchannellearnedinfo_dc0fb9c204191e64878422c6a8604d01.py @@ -0,0 +1,1989 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class OFChannelLearnedInfo(Base): + """OF channel learned info + The OFChannelLearnedInfo class encapsulates a list of oFChannelLearnedInfo resources that are managed by the system. + A list of resources can be retrieved from the server using the OFChannelLearnedInfo.find() method. + """ + + __slots__ = () + _SDM_NAME = "oFChannelLearnedInfo" + _SDM_ATT_MAP = { + "AsyncConfigFlowRemovedMaster": "asyncConfigFlowRemovedMaster", + "AsyncConfigFlowRemovedSlave": "asyncConfigFlowRemovedSlave", + "AsyncConfigPktInMaster": "asyncConfigPktInMaster", + "AsyncConfigPktInSlave": "asyncConfigPktInSlave", + "AsyncConfigPortStatusMaster": "asyncConfigPortStatusMaster", + "AsyncConfigPortStatusSlave": "asyncConfigPortStatusSlave", + "AsyncConfigResTimeOut": "asyncConfigResTimeOut", + "DescriptionStatResponseTimeOut": "descriptionStatResponseTimeOut", + "FlowAggrStatCookie": "flowAggrStatCookie", + "FlowAggrStatCookieMask": "flowAggrStatCookieMask", + "FlowAggrStatMatchCap": "flowAggrStatMatchCap", + "FlowAggrStatOutGroup": "flowAggrStatOutGroup", + "FlowAggrStatOutGroupValue": "flowAggrStatOutGroupValue", + "FlowAggrStatOutPort": "flowAggrStatOutPort", + "FlowAggrStatOutPortValue": "flowAggrStatOutPortValue", + "FlowAggrStatResTimeOut": "flowAggrStatResTimeOut", + "FlowAggrStatTableId": "flowAggrStatTableId", + "FlowAggrStatTableIdValue": "flowAggrStatTableIdValue", + "FlowStatCookie": "flowStatCookie", + "FlowStatCookieMask": "flowStatCookieMask", + "FlowStatMatchCap": "flowStatMatchCap", + "FlowStatOutGroup": "flowStatOutGroup", + "FlowStatOutGroupValue": "flowStatOutGroupValue", + "FlowStatOutPort": "flowStatOutPort", + "FlowStatOutPortValue": "flowStatOutPortValue", + "FlowStatResTimeOut": "flowStatResTimeOut", + "FlowStatTableId": "flowStatTableId", + "FlowStatTableIdValue": "flowStatTableIdValue", + "GenerationId": "generationId", + "GroupDescResponseTimeOut": "groupDescResponseTimeOut", + "GroupFeatureResponseTimeOut": "groupFeatureResponseTimeOut", + "GroupStatIDType": "groupStatIDType", + "GroupStatIDValue": "groupStatIDValue", + "GroupStatMatchCapability": "groupStatMatchCapability", + "GroupStatResponseTimeOut": "groupStatResponseTimeOut", + "MeterConfigMeterID": "meterConfigMeterID", + "MeterConfigMeterIDManual": "meterConfigMeterIDManual", + "MeterConfigResponseTimeOut": "meterConfigResponseTimeOut", + "MeterFeatureStatResponseTimeOut": "meterFeatureStatResponseTimeOut", + "MeterStatMeterID": "meterStatMeterID", + "MeterStatMeterIDType": "meterStatMeterIDType", + "MeterStatResponseTimeOut": "meterStatResponseTimeOut", + "OnDemandMessages": "onDemandMessages", + "PacketOutAuxiliaryID": "packetOutAuxiliaryID", + "PacketOutBufferID": "packetOutBufferID", + "PacketOutBufferIDType": "packetOutBufferIDType", + "PacketOutData": "packetOutData", + "PacketOutInPort": "packetOutInPort", + "PacketOutInPortType": "packetOutInPortType", + "PacketOutSendData": "packetOutSendData", + "PortFeaturesResponseTimeOut": "portFeaturesResponseTimeOut", + "PortStatMatchCapability": "portStatMatchCapability", + "PortStatPortNumberType": "portStatPortNumberType", + "PortStatPortNumberValue": "portStatPortNumberValue", + "PortStatResponseTimeOut": "portStatResponseTimeOut", + "QueueConfigPortNumberType": "queueConfigPortNumberType", + "QueueConfigPortNumberValue": "queueConfigPortNumberValue", + "QueueConfigResponseTimeOut": "queueConfigResponseTimeOut", + "QueueStatIDType": "queueStatIDType", + "QueueStatIDValue": "queueStatIDValue", + "QueueStatMatchCapability": "queueStatMatchCapability", + "QueueStatPortNumberType": "queueStatPortNumberType", + "QueueStatPortNumberValue": "queueStatPortNumberValue", + "QueueStatResponseTimeOut": "queueStatResponseTimeOut", + "RoleType": "roleType", + "SetAsyncConfig": "setAsyncConfig", + "SetSwitchConfig": "setSwitchConfig", + "SwitchConfigDropFragments": "switchConfigDropFragments", + "SwitchConfigMissSendLength": "switchConfigMissSendLength", + "SwitchConfigReassembleFragments": "switchConfigReassembleFragments", + "SwitchConfigResTimeOut": "switchConfigResTimeOut", + "TableStatMatchCap": "tableStatMatchCap", + "TableStatResTimeOut": "tableStatResTimeOut", + "VendorMsgExpType": "vendorMsgExpType", + "VendorMsgId": "vendorMsgId", + "VendorMsgMessage": "vendorMsgMessage", + "VendorMsgSendData": "vendorMsgSendData", + "VendorStatExpType": "vendorStatExpType", + "VendorStatId": "vendorStatId", + "VendorStatMessage": "vendorStatMessage", + "VendorStatResponseTimeOut": "vendorStatResponseTimeOut", + "VendorStatSendData": "vendorStatSendData", + } + _SDM_ENUM_MAP = { + "flowAggrStatOutGroup": ["oFPGALL", "oFPGANY", "outGroupCustom"], + "flowAggrStatOutPort": [ + "oFPP_IN_PORT", + "oFPP_NORMAL", + "oFPP_FLOOD", + "oFPP_ALL", + "oFPP_CONTROLLER", + "oFPP_LOCAL", + "oFPP_ANY", + "outPortCustom", + ], + "flowAggrStatTableId": ["tableIdAllTables", "tableIdCustom"], + "flowStatOutGroup": ["oFPGALL", "oFPGANY", "outGroupCustom"], + "flowStatOutPort": [ + "oFPP_IN_PORT", + "oFPP_NORMAL", + "oFPP_FLOOD", + "oFPP_ALL", + "oFPP_CONTROLLER", + "oFPP_LOCAL", + "oFPP_ANY", + "outPortCustom", + ], + "flowStatTableId": ["tableIdAllTables", "tableIdCustom"], + "groupStatIDType": ["oFPG_ALL", "oFPG_ANY", "manual"], + "meterConfigMeterID": ["oFPM_CONTROLLER", "oFPM_SLOWPATH", "all", "manual"], + "meterStatMeterIDType": ["oFPM_CONTROLLER", "oFPM_SLOWPATH", "all", "manual"], + "packetOutBufferIDType": ["oPF_NO_BUFFER", "manual"], + "packetOutInPortType": ["oFPP_CONTROLLER", "oFPP_LOCAL", "manual"], + "portStatPortNumberType": ["oFPP_ANY", "portNumberCustom"], + "queueConfigPortNumberType": ["oFPP_ANY", "manual"], + "queueStatIDType": ["oFPQ_ALL", "manual"], + "queueStatPortNumberType": ["oFPP_ANY", "manual"], + "roleType": ["noChange", "equal", "master", "slave"], + } + + def __init__(self, parent, list_op=False): + super(OFChannelLearnedInfo, self).__init__(parent, list_op) + + @property + def FlowAggrMatchProfile(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.flowaggrmatchprofile_2ba597be74523b48fa398c0fe5ce3acf.FlowAggrMatchProfile): An instance of the FlowAggrMatchProfile class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.flowaggrmatchprofile_2ba597be74523b48fa398c0fe5ce3acf import ( + FlowAggrMatchProfile, + ) + + if len(self._object_properties) > 0: + if self._properties.get("FlowAggrMatchProfile", None) is not None: + return self._properties.get("FlowAggrMatchProfile") + return FlowAggrMatchProfile(self) + + @property + def FlowStatMatchProfile(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.flowstatmatchprofile_d56a9c24805ae788ef01a9b7a86babf1.FlowStatMatchProfile): An instance of the FlowStatMatchProfile class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.flowstatmatchprofile_d56a9c24805ae788ef01a9b7a86babf1 import ( + FlowStatMatchProfile, + ) + + if len(self._object_properties) > 0: + if self._properties.get("FlowStatMatchProfile", None) is not None: + return self._properties.get("FlowStatMatchProfile") + return FlowStatMatchProfile(self) + + @property + def PacketOutActionProfile(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.packetoutactionprofile_7087734f0df99cfe7bfd9afab773a120.PacketOutActionProfile): An instance of the PacketOutActionProfile class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.packetoutactionprofile_7087734f0df99cfe7bfd9afab773a120 import ( + PacketOutActionProfile, + ) + + if len(self._object_properties) > 0: + if self._properties.get("PacketOutActionProfile", None) is not None: + return self._properties.get("PacketOutActionProfile") + return PacketOutActionProfile(self) + + @property + def AsyncConfigFlowRemovedMaster(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Select the flow removed message types that can be configured in the asynchronous messages when the controller has the Master/Equal role. Options include: 1) Flow Idle Time 2) Hard Timeout 3) Flow Delete 4) Group Delete + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["AsyncConfigFlowRemovedMaster"]) + ) + + @property + def AsyncConfigFlowRemovedSlave(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Select the flow removed message types that can be configured in the asynchronous messages when the controller has the Slave role. Options include: 1) Flow Idle Time 2) Hard Timeout 3) Flow Delete 4) Group Delete + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["AsyncConfigFlowRemovedSlave"]) + ) + + @property + def AsyncConfigPktInMaster(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Select the packet-in message types that will be received when the controller has the Master/Equal role. Options include: 1) No Match 2) Action Output 3) Invalid TTL + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["AsyncConfigPktInMaster"]) + ) + + @property + def AsyncConfigPktInSlave(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Select the packet-in message types that will be received when the controller has the Slave role. Options include: 1) No Match 2) Action Output 3) Invalid TTL + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["AsyncConfigPktInSlave"]) + ) + + @property + def AsyncConfigPortStatusMaster(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Select the port status types that can be a part of the asynchronous messages when the controller has the Master/Equal role. Options include: 1) Port Add 2) Port Delete 3) Port Modify + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["AsyncConfigPortStatusMaster"]) + ) + + @property + def AsyncConfigPortStatusSlave(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Select the port status types that can be part of the asynchronous messages when the controller has the Slave role. Options include: 1) Port Add 2) Port Delete 3) Port Modify + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["AsyncConfigPortStatusSlave"]) + ) + + @property + def AsyncConfigResTimeOut(self): + # type: () -> int + """ + Returns + ------- + - number: The time in milliseconds after which the trigger request times out, if no response is received. + """ + return self._get_attribute(self._SDM_ATT_MAP["AsyncConfigResTimeOut"]) + + @AsyncConfigResTimeOut.setter + def AsyncConfigResTimeOut(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["AsyncConfigResTimeOut"], value) + + @property + def DescriptionStatResponseTimeOut(self): + # type: () -> int + """ + Returns + ------- + - number: The time in milliseconds after which the trigger request times out, if no response is received + """ + return self._get_attribute(self._SDM_ATT_MAP["DescriptionStatResponseTimeOut"]) + + @DescriptionStatResponseTimeOut.setter + def DescriptionStatResponseTimeOut(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["DescriptionStatResponseTimeOut"], value) + + @property + def FlowAggrStatCookie(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Cookie of the flow entry that was looked up. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["FlowAggrStatCookie"]) + ) + + @property + def FlowAggrStatCookieMask(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The mask used to restrict the cookie bits. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["FlowAggrStatCookieMask"]) + ) + + @property + def FlowAggrStatMatchCap(self): + # type: () -> bool + """ + Returns + ------- + - bool: If selected, match capability is available. + """ + return self._get_attribute(self._SDM_ATT_MAP["FlowAggrStatMatchCap"]) + + @FlowAggrStatMatchCap.setter + def FlowAggrStatMatchCap(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["FlowAggrStatMatchCap"], value) + + @property + def FlowAggrStatOutGroup(self): + # type: () -> str + """ + Returns + ------- + - str(oFPGALL | oFPGANY | outGroupCustom): Specify the Output Group Type. The options are: 1) All Groups 2) Any Group 3) Custom/Manual + """ + return self._get_attribute(self._SDM_ATT_MAP["FlowAggrStatOutGroup"]) + + @FlowAggrStatOutGroup.setter + def FlowAggrStatOutGroup(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["FlowAggrStatOutGroup"], value) + + @property + def FlowAggrStatOutGroupValue(self): + # type: () -> int + """ + Returns + ------- + - number: If Out Group is Custom/Manual, type the output group value in the box provided + """ + return self._get_attribute(self._SDM_ATT_MAP["FlowAggrStatOutGroupValue"]) + + @FlowAggrStatOutGroupValue.setter + def FlowAggrStatOutGroupValue(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["FlowAggrStatOutGroupValue"], value) + + @property + def FlowAggrStatOutPort(self): + # type: () -> str + """ + Returns + ------- + - str(oFPP_IN_PORT | oFPP_NORMAL | oFPP_FLOOD | oFPP_ALL | oFPP_CONTROLLER | oFPP_LOCAL | oFPP_ANY | outPortCustom): Specify the Output Port Type. The options are: 1) OFPP_IN_PORT 2) OFPP_NORMAL 3) OFPP_FLOOD 4) OFPP_ALL 5) OFPP_CONTROLLER 6) OFPP_LOCAL 7) OFPP_ANY 8) Custom/Manual + """ + return self._get_attribute(self._SDM_ATT_MAP["FlowAggrStatOutPort"]) + + @FlowAggrStatOutPort.setter + def FlowAggrStatOutPort(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["FlowAggrStatOutPort"], value) + + @property + def FlowAggrStatOutPortValue(self): + # type: () -> int + """ + Returns + ------- + - number: If Out Port is Custom/Manual, type the output port value in the box provided. + """ + return self._get_attribute(self._SDM_ATT_MAP["FlowAggrStatOutPortValue"]) + + @FlowAggrStatOutPortValue.setter + def FlowAggrStatOutPortValue(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["FlowAggrStatOutPortValue"], value) + + @property + def FlowAggrStatResTimeOut(self): + # type: () -> int + """ + Returns + ------- + - number: The time in milliseconds after which the trigger request times out, if no response is received. + """ + return self._get_attribute(self._SDM_ATT_MAP["FlowAggrStatResTimeOut"]) + + @FlowAggrStatResTimeOut.setter + def FlowAggrStatResTimeOut(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["FlowAggrStatResTimeOut"], value) + + @property + def FlowAggrStatTableId(self): + # type: () -> str + """ + Returns + ------- + - str(tableIdAllTables | tableIdCustom): The identifier of the table. The options are: 1) All Tables 2) Custom/Manual + """ + return self._get_attribute(self._SDM_ATT_MAP["FlowAggrStatTableId"]) + + @FlowAggrStatTableId.setter + def FlowAggrStatTableId(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["FlowAggrStatTableId"], value) + + @property + def FlowAggrStatTableIdValue(self): + # type: () -> int + """ + Returns + ------- + - number: If Table ID is Custom/ Manual, type the Table ID Number in the box given + """ + return self._get_attribute(self._SDM_ATT_MAP["FlowAggrStatTableIdValue"]) + + @FlowAggrStatTableIdValue.setter + def FlowAggrStatTableIdValue(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["FlowAggrStatTableIdValue"], value) + + @property + def FlowStatCookie(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Cookie of the flow entry that was looked up. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["FlowStatCookie"]) + ) + + @property + def FlowStatCookieMask(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The mask used to restrict the cookie bits. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["FlowStatCookieMask"]) + ) + + @property + def FlowStatMatchCap(self): + # type: () -> bool + """ + Returns + ------- + - bool: If selected, match capability is available + """ + return self._get_attribute(self._SDM_ATT_MAP["FlowStatMatchCap"]) + + @FlowStatMatchCap.setter + def FlowStatMatchCap(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["FlowStatMatchCap"], value) + + @property + def FlowStatOutGroup(self): + # type: () -> str + """ + Returns + ------- + - str(oFPGALL | oFPGANY | outGroupCustom): Specify the Output Group Type. The options are: 1) All Groups 2) Any Group 3) Custom/Manual + """ + return self._get_attribute(self._SDM_ATT_MAP["FlowStatOutGroup"]) + + @FlowStatOutGroup.setter + def FlowStatOutGroup(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["FlowStatOutGroup"], value) + + @property + def FlowStatOutGroupValue(self): + # type: () -> int + """ + Returns + ------- + - number: If Out Group is Custom/Manual, type the output group value in the box provided + """ + return self._get_attribute(self._SDM_ATT_MAP["FlowStatOutGroupValue"]) + + @FlowStatOutGroupValue.setter + def FlowStatOutGroupValue(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["FlowStatOutGroupValue"], value) + + @property + def FlowStatOutPort(self): + # type: () -> str + """ + Returns + ------- + - str(oFPP_IN_PORT | oFPP_NORMAL | oFPP_FLOOD | oFPP_ALL | oFPP_CONTROLLER | oFPP_LOCAL | oFPP_ANY | outPortCustom): Specify the Output Port Type. The options are: 1) OFPP_IN_PORT 2) OFPP_NORMAL 3) OFPP_FLOOD 4) OFPP_ALL 5) OFPP_CONTROLLER 6) OFPP_LOCAL 7) OFPP_ANY 8) Custom/Manual + """ + return self._get_attribute(self._SDM_ATT_MAP["FlowStatOutPort"]) + + @FlowStatOutPort.setter + def FlowStatOutPort(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["FlowStatOutPort"], value) + + @property + def FlowStatOutPortValue(self): + # type: () -> int + """ + Returns + ------- + - number: If Out Port is Custom/Manual, type the output port value in the box provided. + """ + return self._get_attribute(self._SDM_ATT_MAP["FlowStatOutPortValue"]) + + @FlowStatOutPortValue.setter + def FlowStatOutPortValue(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["FlowStatOutPortValue"], value) + + @property + def FlowStatResTimeOut(self): + # type: () -> int + """ + Returns + ------- + - number: The time in milliseconds after which the trigger request times out, if no response is received. + """ + return self._get_attribute(self._SDM_ATT_MAP["FlowStatResTimeOut"]) + + @FlowStatResTimeOut.setter + def FlowStatResTimeOut(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["FlowStatResTimeOut"], value) + + @property + def FlowStatTableId(self): + # type: () -> str + """ + Returns + ------- + - str(tableIdAllTables | tableIdCustom): The identifier of the table. The options are: 1) All Tables 2) Custom/Manual + """ + return self._get_attribute(self._SDM_ATT_MAP["FlowStatTableId"]) + + @FlowStatTableId.setter + def FlowStatTableId(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["FlowStatTableId"], value) + + @property + def FlowStatTableIdValue(self): + # type: () -> int + """ + Returns + ------- + - number: If Table ID is Custom/ Manual, type the Table ID Number in the box given + """ + return self._get_attribute(self._SDM_ATT_MAP["FlowStatTableIdValue"]) + + @FlowStatTableIdValue.setter + def FlowStatTableIdValue(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["FlowStatTableIdValue"], value) + + @property + def GenerationId(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): A 64-bit sequence number field that identifies a given mastership view. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["GenerationId"])) + + @property + def GroupDescResponseTimeOut(self): + # type: () -> int + """ + Returns + ------- + - number: The time in milliseconds after which the trigger request times out, if no response is received + """ + return self._get_attribute(self._SDM_ATT_MAP["GroupDescResponseTimeOut"]) + + @GroupDescResponseTimeOut.setter + def GroupDescResponseTimeOut(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["GroupDescResponseTimeOut"], value) + + @property + def GroupFeatureResponseTimeOut(self): + # type: () -> int + """ + Returns + ------- + - number: The time in milliseconds after which the trigger request times out, if no response is received + """ + return self._get_attribute(self._SDM_ATT_MAP["GroupFeatureResponseTimeOut"]) + + @GroupFeatureResponseTimeOut.setter + def GroupFeatureResponseTimeOut(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["GroupFeatureResponseTimeOut"], value) + + @property + def GroupStatIDType(self): + # type: () -> str + """ + Returns + ------- + - str(oFPG_ALL | oFPG_ANY | manual): The ID of the group used. The options are: 1) OFPG_ALL 2) OFPG_ANY 3) Manual + """ + return self._get_attribute(self._SDM_ATT_MAP["GroupStatIDType"]) + + @GroupStatIDType.setter + def GroupStatIDType(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["GroupStatIDType"], value) + + @property + def GroupStatIDValue(self): + # type: () -> int + """ + Returns + ------- + - number: If Group ID Type is selected as Manual, type the Group ID in the box provided + """ + return self._get_attribute(self._SDM_ATT_MAP["GroupStatIDValue"]) + + @GroupStatIDValue.setter + def GroupStatIDValue(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["GroupStatIDValue"], value) + + @property + def GroupStatMatchCapability(self): + # type: () -> bool + """ + Returns + ------- + - bool: If selected, match capability is available + """ + return self._get_attribute(self._SDM_ATT_MAP["GroupStatMatchCapability"]) + + @GroupStatMatchCapability.setter + def GroupStatMatchCapability(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["GroupStatMatchCapability"], value) + + @property + def GroupStatResponseTimeOut(self): + # type: () -> int + """ + Returns + ------- + - number: The time in milliseconds after which the trigger request times out, if no response is received + """ + return self._get_attribute(self._SDM_ATT_MAP["GroupStatResponseTimeOut"]) + + @GroupStatResponseTimeOut.setter + def GroupStatResponseTimeOut(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["GroupStatResponseTimeOut"], value) + + @property + def MeterConfigMeterID(self): + # type: () -> str + """ + Returns + ------- + - str(oFPM_CONTROLLER | oFPM_SLOWPATH | all | manual): The ID of the meter used. The options are: 1) OFPM_SLOWPATH 2) OFPM_CONTROLLER 3) OFPM_All 4) Manual + """ + return self._get_attribute(self._SDM_ATT_MAP["MeterConfigMeterID"]) + + @MeterConfigMeterID.setter + def MeterConfigMeterID(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["MeterConfigMeterID"], value) + + @property + def MeterConfigMeterIDManual(self): + # type: () -> int + """ + Returns + ------- + - number: If Meter ID Type is selected as Manual, type the meter ID in the box provided + """ + return self._get_attribute(self._SDM_ATT_MAP["MeterConfigMeterIDManual"]) + + @MeterConfigMeterIDManual.setter + def MeterConfigMeterIDManual(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["MeterConfigMeterIDManual"], value) + + @property + def MeterConfigResponseTimeOut(self): + # type: () -> int + """ + Returns + ------- + - number: The time in milliseconds after which the trigger request times out, if no response is received. + """ + return self._get_attribute(self._SDM_ATT_MAP["MeterConfigResponseTimeOut"]) + + @MeterConfigResponseTimeOut.setter + def MeterConfigResponseTimeOut(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["MeterConfigResponseTimeOut"], value) + + @property + def MeterFeatureStatResponseTimeOut(self): + # type: () -> int + """ + Returns + ------- + - number: The time in milliseconds after which the trigger request times out, if no response is received. + """ + return self._get_attribute(self._SDM_ATT_MAP["MeterFeatureStatResponseTimeOut"]) + + @MeterFeatureStatResponseTimeOut.setter + def MeterFeatureStatResponseTimeOut(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["MeterFeatureStatResponseTimeOut"], value) + + @property + def MeterStatMeterID(self): + # type: () -> int + """ + Returns + ------- + - number: If Meter ID Type is selected as Manual, type the meter ID in the box provided + """ + return self._get_attribute(self._SDM_ATT_MAP["MeterStatMeterID"]) + + @MeterStatMeterID.setter + def MeterStatMeterID(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["MeterStatMeterID"], value) + + @property + def MeterStatMeterIDType(self): + # type: () -> str + """ + Returns + ------- + - str(oFPM_CONTROLLER | oFPM_SLOWPATH | all | manual): The ID of the meter used. The options are: 1) OFPM_SLOWPATH 2) OFPM_CONTROLLER 3) OFPM_All 4) Manual + """ + return self._get_attribute(self._SDM_ATT_MAP["MeterStatMeterIDType"]) + + @MeterStatMeterIDType.setter + def MeterStatMeterIDType(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["MeterStatMeterIDType"], value) + + @property + def MeterStatResponseTimeOut(self): + # type: () -> int + """ + Returns + ------- + - number: The time in milliseconds after which the trigger request times out, if no response is received. + """ + return self._get_attribute(self._SDM_ATT_MAP["MeterStatResponseTimeOut"]) + + @MeterStatResponseTimeOut.setter + def MeterStatResponseTimeOut(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["MeterStatResponseTimeOut"], value) + + @property + def OnDemandMessages(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Based on options selected, IxNetwork sends information to PCPU and refreshes the statistical data in the corresponding tab of Learned Information + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["OnDemandMessages"]) + ) + + @property + def PacketOutAuxiliaryID(self): + # type: () -> int + """ + Returns + ------- + - number: The identifier of the auxiliary connection. + """ + return self._get_attribute(self._SDM_ATT_MAP["PacketOutAuxiliaryID"]) + + @PacketOutAuxiliaryID.setter + def PacketOutAuxiliaryID(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["PacketOutAuxiliaryID"], value) + + @property + def PacketOutBufferID(self): + # type: () -> int + """ + Returns + ------- + - number: If Buffer ID Type is selected as Manual, type the buffer ID in the box provided. + """ + return self._get_attribute(self._SDM_ATT_MAP["PacketOutBufferID"]) + + @PacketOutBufferID.setter + def PacketOutBufferID(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["PacketOutBufferID"], value) + + @property + def PacketOutBufferIDType(self): + # type: () -> str + """ + Returns + ------- + - str(oPF_NO_BUFFER | manual): Specify the buffer identifier. The options are: 1) OPF_NO_BUFFER 2) Manual + """ + return self._get_attribute(self._SDM_ATT_MAP["PacketOutBufferIDType"]) + + @PacketOutBufferIDType.setter + def PacketOutBufferIDType(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["PacketOutBufferIDType"], value) + + @property + def PacketOutData(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The data of the packet out message in hexadecimal format. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["PacketOutData"])) + + @property + def PacketOutInPort(self): + # type: () -> int + """ + Returns + ------- + - number: If In Port Type is selected as Manual, type the input port type in the box provided. + """ + return self._get_attribute(self._SDM_ATT_MAP["PacketOutInPort"]) + + @PacketOutInPort.setter + def PacketOutInPort(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["PacketOutInPort"], value) + + @property + def PacketOutInPortType(self): + # type: () -> str + """ + Returns + ------- + - str(oFPP_CONTROLLER | oFPP_LOCAL | manual): Specify the Input Port Type. The options are: 1) OFPP_CONTROLLER 2) OFPP_LOCAL 3) Manual + """ + return self._get_attribute(self._SDM_ATT_MAP["PacketOutInPortType"]) + + @PacketOutInPortType.setter + def PacketOutInPortType(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["PacketOutInPortType"], value) + + @property + def PacketOutSendData(self): + # type: () -> bool + """ + Returns + ------- + - bool: If selected,the system sends packet out data. + """ + return self._get_attribute(self._SDM_ATT_MAP["PacketOutSendData"]) + + @PacketOutSendData.setter + def PacketOutSendData(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["PacketOutSendData"], value) + + @property + def PortFeaturesResponseTimeOut(self): + # type: () -> int + """ + Returns + ------- + - number: The time in milliseconds after which the trigger request times out, if no response is received. + """ + return self._get_attribute(self._SDM_ATT_MAP["PortFeaturesResponseTimeOut"]) + + @PortFeaturesResponseTimeOut.setter + def PortFeaturesResponseTimeOut(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["PortFeaturesResponseTimeOut"], value) + + @property + def PortStatMatchCapability(self): + # type: () -> bool + """ + Returns + ------- + - bool: If selected, match capability is available. + """ + return self._get_attribute(self._SDM_ATT_MAP["PortStatMatchCapability"]) + + @PortStatMatchCapability.setter + def PortStatMatchCapability(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["PortStatMatchCapability"], value) + + @property + def PortStatPortNumberType(self): + # type: () -> str + """ + Returns + ------- + - str(oFPP_ANY | portNumberCustom): Specify the port number. Options include: 1) OFPP_ANY 2) Manual/Custom + """ + return self._get_attribute(self._SDM_ATT_MAP["PortStatPortNumberType"]) + + @PortStatPortNumberType.setter + def PortStatPortNumberType(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["PortStatPortNumberType"], value) + + @property + def PortStatPortNumberValue(self): + # type: () -> int + """ + Returns + ------- + - number: If Port Number Type is selected as Custom/Manual, type the port number in the box provided + """ + return self._get_attribute(self._SDM_ATT_MAP["PortStatPortNumberValue"]) + + @PortStatPortNumberValue.setter + def PortStatPortNumberValue(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["PortStatPortNumberValue"], value) + + @property + def PortStatResponseTimeOut(self): + # type: () -> int + """ + Returns + ------- + - number: The time in milliseconds after which the trigger request times out, if no response is received. + """ + return self._get_attribute(self._SDM_ATT_MAP["PortStatResponseTimeOut"]) + + @PortStatResponseTimeOut.setter + def PortStatResponseTimeOut(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["PortStatResponseTimeOut"], value) + + @property + def QueueConfigPortNumberType(self): + # type: () -> str + """ + Returns + ------- + - str(oFPP_ANY | manual): The number of the port used. The options are: 1) OFPP_ANY 2) Manual + """ + return self._get_attribute(self._SDM_ATT_MAP["QueueConfigPortNumberType"]) + + @QueueConfigPortNumberType.setter + def QueueConfigPortNumberType(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["QueueConfigPortNumberType"], value) + + @property + def QueueConfigPortNumberValue(self): + # type: () -> int + """ + Returns + ------- + - number: If Port Number Type is selected as Manual, type the port number in the box provided + """ + return self._get_attribute(self._SDM_ATT_MAP["QueueConfigPortNumberValue"]) + + @QueueConfigPortNumberValue.setter + def QueueConfigPortNumberValue(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["QueueConfigPortNumberValue"], value) + + @property + def QueueConfigResponseTimeOut(self): + # type: () -> int + """ + Returns + ------- + - number: The time in milliseconds after which the trigger request times out, if no response is received + """ + return self._get_attribute(self._SDM_ATT_MAP["QueueConfigResponseTimeOut"]) + + @QueueConfigResponseTimeOut.setter + def QueueConfigResponseTimeOut(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["QueueConfigResponseTimeOut"], value) + + @property + def QueueStatIDType(self): + # type: () -> str + """ + Returns + ------- + - str(oFPQ_ALL | manual): The unique queue identifier. The options are: 1) OFPQ_ALL 2) Manual + """ + return self._get_attribute(self._SDM_ATT_MAP["QueueStatIDType"]) + + @QueueStatIDType.setter + def QueueStatIDType(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["QueueStatIDType"], value) + + @property + def QueueStatIDValue(self): + # type: () -> int + """ + Returns + ------- + - number: If Queue ID Type is selected as Manual, type the queue ID in the box provided + """ + return self._get_attribute(self._SDM_ATT_MAP["QueueStatIDValue"]) + + @QueueStatIDValue.setter + def QueueStatIDValue(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["QueueStatIDValue"], value) + + @property + def QueueStatMatchCapability(self): + # type: () -> bool + """ + Returns + ------- + - bool: If selected, match capability is available. + """ + return self._get_attribute(self._SDM_ATT_MAP["QueueStatMatchCapability"]) + + @QueueStatMatchCapability.setter + def QueueStatMatchCapability(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["QueueStatMatchCapability"], value) + + @property + def QueueStatPortNumberType(self): + # type: () -> str + """ + Returns + ------- + - str(oFPP_ANY | manual): The number of the port used. The options are: 1) OFPP_ANY 2) Manual + """ + return self._get_attribute(self._SDM_ATT_MAP["QueueStatPortNumberType"]) + + @QueueStatPortNumberType.setter + def QueueStatPortNumberType(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["QueueStatPortNumberType"], value) + + @property + def QueueStatPortNumberValue(self): + # type: () -> int + """ + Returns + ------- + - number: If Port Number Type is selected as Manual, type the port number in the box provided + """ + return self._get_attribute(self._SDM_ATT_MAP["QueueStatPortNumberValue"]) + + @QueueStatPortNumberValue.setter + def QueueStatPortNumberValue(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["QueueStatPortNumberValue"], value) + + @property + def QueueStatResponseTimeOut(self): + # type: () -> int + """ + Returns + ------- + - number: The time in milliseconds after which the trigger request times out, if no response is received. + """ + return self._get_attribute(self._SDM_ATT_MAP["QueueStatResponseTimeOut"]) + + @QueueStatResponseTimeOut.setter + def QueueStatResponseTimeOut(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["QueueStatResponseTimeOut"], value) + + @property + def RoleType(self): + # type: () -> str + """ + Returns + ------- + - str(noChange | equal | master | slave): Specify the Role Type. The options are: 1) NoChange 2) Equal 3) Master 4) Slave + """ + return self._get_attribute(self._SDM_ATT_MAP["RoleType"]) + + @RoleType.setter + def RoleType(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["RoleType"], value) + + @property + def SetAsyncConfig(self): + # type: () -> bool + """ + Returns + ------- + - bool: Un-checked state means getting the async config, Checked means setting asynchronous config with available parameters + """ + return self._get_attribute(self._SDM_ATT_MAP["SetAsyncConfig"]) + + @SetAsyncConfig.setter + def SetAsyncConfig(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["SetAsyncConfig"], value) + + @property + def SetSwitchConfig(self): + # type: () -> bool + """ + Returns + ------- + - bool: If selected, the corresponding switch configuration parameters are available. This option is available only if Switch Config is selected. + """ + return self._get_attribute(self._SDM_ATT_MAP["SetSwitchConfig"]) + + @SetSwitchConfig.setter + def SetSwitchConfig(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["SetSwitchConfig"], value) + + @property + def SwitchConfigDropFragments(self): + # type: () -> bool + """ + Returns + ------- + - bool: If selected, IP fragments are dropped. + """ + return self._get_attribute(self._SDM_ATT_MAP["SwitchConfigDropFragments"]) + + @SwitchConfigDropFragments.setter + def SwitchConfigDropFragments(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["SwitchConfigDropFragments"], value) + + @property + def SwitchConfigMissSendLength(self): + # type: () -> int + """ + Returns + ------- + - number: The length of the table-miss message sent. + """ + return self._get_attribute(self._SDM_ATT_MAP["SwitchConfigMissSendLength"]) + + @SwitchConfigMissSendLength.setter + def SwitchConfigMissSendLength(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["SwitchConfigMissSendLength"], value) + + @property + def SwitchConfigReassembleFragments(self): + # type: () -> bool + """ + Returns + ------- + - bool: If selected, IP fragments are reassembled. + """ + return self._get_attribute(self._SDM_ATT_MAP["SwitchConfigReassembleFragments"]) + + @SwitchConfigReassembleFragments.setter + def SwitchConfigReassembleFragments(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["SwitchConfigReassembleFragments"], value) + + @property + def SwitchConfigResTimeOut(self): + # type: () -> int + """ + Returns + ------- + - number: The time in milliseconds after which the trigger request times out, if no response is received. + """ + return self._get_attribute(self._SDM_ATT_MAP["SwitchConfigResTimeOut"]) + + @SwitchConfigResTimeOut.setter + def SwitchConfigResTimeOut(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["SwitchConfigResTimeOut"], value) + + @property + def TableStatMatchCap(self): + # type: () -> bool + """ + Returns + ------- + - bool: If selected, match capability is available + """ + return self._get_attribute(self._SDM_ATT_MAP["TableStatMatchCap"]) + + @TableStatMatchCap.setter + def TableStatMatchCap(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["TableStatMatchCap"], value) + + @property + def TableStatResTimeOut(self): + # type: () -> int + """ + Returns + ------- + - number: The time in milliseconds after which the trigger request times out, if no response is received. + """ + return self._get_attribute(self._SDM_ATT_MAP["TableStatResTimeOut"]) + + @TableStatResTimeOut.setter + def TableStatResTimeOut(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["TableStatResTimeOut"], value) + + @property + def VendorMsgExpType(self): + # type: () -> int + """ + Returns + ------- + - number: The type of Experimenter + """ + return self._get_attribute(self._SDM_ATT_MAP["VendorMsgExpType"]) + + @VendorMsgExpType.setter + def VendorMsgExpType(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["VendorMsgExpType"], value) + + @property + def VendorMsgId(self): + # type: () -> int + """ + Returns + ------- + - number: The unique Vendor/Experimenter identifier + """ + return self._get_attribute(self._SDM_ATT_MAP["VendorMsgId"]) + + @VendorMsgId.setter + def VendorMsgId(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["VendorMsgId"], value) + + @property + def VendorMsgMessage(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The Experimenter message value in hexadecimal format + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["VendorMsgMessage"]) + ) + + @property + def VendorMsgSendData(self): + # type: () -> bool + """ + Returns + ------- + - bool: If selected,It sends vendor stat Data + """ + return self._get_attribute(self._SDM_ATT_MAP["VendorMsgSendData"]) + + @VendorMsgSendData.setter + def VendorMsgSendData(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["VendorMsgSendData"], value) + + @property + def VendorStatExpType(self): + # type: () -> int + """ + Returns + ------- + - number: The type of Experimenter + """ + return self._get_attribute(self._SDM_ATT_MAP["VendorStatExpType"]) + + @VendorStatExpType.setter + def VendorStatExpType(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["VendorStatExpType"], value) + + @property + def VendorStatId(self): + # type: () -> int + """ + Returns + ------- + - number: The unique Vendor/Experimenter identifier + """ + return self._get_attribute(self._SDM_ATT_MAP["VendorStatId"]) + + @VendorStatId.setter + def VendorStatId(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["VendorStatId"], value) + + @property + def VendorStatMessage(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The Experimenter message value in hexadecimal format + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["VendorStatMessage"]) + ) + + @property + def VendorStatResponseTimeOut(self): + # type: () -> int + """ + Returns + ------- + - number: The time in milliseconds after which the trigger request times out if no response is received. + """ + return self._get_attribute(self._SDM_ATT_MAP["VendorStatResponseTimeOut"]) + + @VendorStatResponseTimeOut.setter + def VendorStatResponseTimeOut(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["VendorStatResponseTimeOut"], value) + + @property + def VendorStatSendData(self): + # type: () -> bool + """ + Returns + ------- + - bool: If selected, the system sends vendor stat Data + """ + return self._get_attribute(self._SDM_ATT_MAP["VendorStatSendData"]) + + @VendorStatSendData.setter + def VendorStatSendData(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["VendorStatSendData"], value) + + def update( + self, + AsyncConfigResTimeOut=None, + DescriptionStatResponseTimeOut=None, + FlowAggrStatMatchCap=None, + FlowAggrStatOutGroup=None, + FlowAggrStatOutGroupValue=None, + FlowAggrStatOutPort=None, + FlowAggrStatOutPortValue=None, + FlowAggrStatResTimeOut=None, + FlowAggrStatTableId=None, + FlowAggrStatTableIdValue=None, + FlowStatMatchCap=None, + FlowStatOutGroup=None, + FlowStatOutGroupValue=None, + FlowStatOutPort=None, + FlowStatOutPortValue=None, + FlowStatResTimeOut=None, + FlowStatTableId=None, + FlowStatTableIdValue=None, + GroupDescResponseTimeOut=None, + GroupFeatureResponseTimeOut=None, + GroupStatIDType=None, + GroupStatIDValue=None, + GroupStatMatchCapability=None, + GroupStatResponseTimeOut=None, + MeterConfigMeterID=None, + MeterConfigMeterIDManual=None, + MeterConfigResponseTimeOut=None, + MeterFeatureStatResponseTimeOut=None, + MeterStatMeterID=None, + MeterStatMeterIDType=None, + MeterStatResponseTimeOut=None, + PacketOutAuxiliaryID=None, + PacketOutBufferID=None, + PacketOutBufferIDType=None, + PacketOutInPort=None, + PacketOutInPortType=None, + PacketOutSendData=None, + PortFeaturesResponseTimeOut=None, + PortStatMatchCapability=None, + PortStatPortNumberType=None, + PortStatPortNumberValue=None, + PortStatResponseTimeOut=None, + QueueConfigPortNumberType=None, + QueueConfigPortNumberValue=None, + QueueConfigResponseTimeOut=None, + QueueStatIDType=None, + QueueStatIDValue=None, + QueueStatMatchCapability=None, + QueueStatPortNumberType=None, + QueueStatPortNumberValue=None, + QueueStatResponseTimeOut=None, + RoleType=None, + SetAsyncConfig=None, + SetSwitchConfig=None, + SwitchConfigDropFragments=None, + SwitchConfigMissSendLength=None, + SwitchConfigReassembleFragments=None, + SwitchConfigResTimeOut=None, + TableStatMatchCap=None, + TableStatResTimeOut=None, + VendorMsgExpType=None, + VendorMsgId=None, + VendorMsgSendData=None, + VendorStatExpType=None, + VendorStatId=None, + VendorStatResponseTimeOut=None, + VendorStatSendData=None, + ): + # type: (int, int, bool, str, int, str, int, int, str, int, bool, str, int, str, int, int, str, int, int, int, str, int, bool, int, str, int, int, int, int, str, int, int, int, str, int, str, bool, int, bool, str, int, int, str, int, int, str, int, bool, str, int, int, str, bool, bool, bool, int, bool, int, bool, int, int, int, bool, int, int, int, bool) -> OFChannelLearnedInfo + """Updates oFChannelLearnedInfo resource on the server. + + This method has some named parameters with a type: obj (Multivalue). + The Multivalue class has documentation that details the possible values for those named parameters. + + Args + ---- + - AsyncConfigResTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - DescriptionStatResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received + - FlowAggrStatMatchCap (bool): If selected, match capability is available. + - FlowAggrStatOutGroup (str(oFPGALL | oFPGANY | outGroupCustom)): Specify the Output Group Type. The options are: 1) All Groups 2) Any Group 3) Custom/Manual + - FlowAggrStatOutGroupValue (number): If Out Group is Custom/Manual, type the output group value in the box provided + - FlowAggrStatOutPort (str(oFPP_IN_PORT | oFPP_NORMAL | oFPP_FLOOD | oFPP_ALL | oFPP_CONTROLLER | oFPP_LOCAL | oFPP_ANY | outPortCustom)): Specify the Output Port Type. The options are: 1) OFPP_IN_PORT 2) OFPP_NORMAL 3) OFPP_FLOOD 4) OFPP_ALL 5) OFPP_CONTROLLER 6) OFPP_LOCAL 7) OFPP_ANY 8) Custom/Manual + - FlowAggrStatOutPortValue (number): If Out Port is Custom/Manual, type the output port value in the box provided. + - FlowAggrStatResTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - FlowAggrStatTableId (str(tableIdAllTables | tableIdCustom)): The identifier of the table. The options are: 1) All Tables 2) Custom/Manual + - FlowAggrStatTableIdValue (number): If Table ID is Custom/ Manual, type the Table ID Number in the box given + - FlowStatMatchCap (bool): If selected, match capability is available + - FlowStatOutGroup (str(oFPGALL | oFPGANY | outGroupCustom)): Specify the Output Group Type. The options are: 1) All Groups 2) Any Group 3) Custom/Manual + - FlowStatOutGroupValue (number): If Out Group is Custom/Manual, type the output group value in the box provided + - FlowStatOutPort (str(oFPP_IN_PORT | oFPP_NORMAL | oFPP_FLOOD | oFPP_ALL | oFPP_CONTROLLER | oFPP_LOCAL | oFPP_ANY | outPortCustom)): Specify the Output Port Type. The options are: 1) OFPP_IN_PORT 2) OFPP_NORMAL 3) OFPP_FLOOD 4) OFPP_ALL 5) OFPP_CONTROLLER 6) OFPP_LOCAL 7) OFPP_ANY 8) Custom/Manual + - FlowStatOutPortValue (number): If Out Port is Custom/Manual, type the output port value in the box provided. + - FlowStatResTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - FlowStatTableId (str(tableIdAllTables | tableIdCustom)): The identifier of the table. The options are: 1) All Tables 2) Custom/Manual + - FlowStatTableIdValue (number): If Table ID is Custom/ Manual, type the Table ID Number in the box given + - GroupDescResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received + - GroupFeatureResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received + - GroupStatIDType (str(oFPG_ALL | oFPG_ANY | manual)): The ID of the group used. The options are: 1) OFPG_ALL 2) OFPG_ANY 3) Manual + - GroupStatIDValue (number): If Group ID Type is selected as Manual, type the Group ID in the box provided + - GroupStatMatchCapability (bool): If selected, match capability is available + - GroupStatResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received + - MeterConfigMeterID (str(oFPM_CONTROLLER | oFPM_SLOWPATH | all | manual)): The ID of the meter used. The options are: 1) OFPM_SLOWPATH 2) OFPM_CONTROLLER 3) OFPM_All 4) Manual + - MeterConfigMeterIDManual (number): If Meter ID Type is selected as Manual, type the meter ID in the box provided + - MeterConfigResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - MeterFeatureStatResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - MeterStatMeterID (number): If Meter ID Type is selected as Manual, type the meter ID in the box provided + - MeterStatMeterIDType (str(oFPM_CONTROLLER | oFPM_SLOWPATH | all | manual)): The ID of the meter used. The options are: 1) OFPM_SLOWPATH 2) OFPM_CONTROLLER 3) OFPM_All 4) Manual + - MeterStatResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - PacketOutAuxiliaryID (number): The identifier of the auxiliary connection. + - PacketOutBufferID (number): If Buffer ID Type is selected as Manual, type the buffer ID in the box provided. + - PacketOutBufferIDType (str(oPF_NO_BUFFER | manual)): Specify the buffer identifier. The options are: 1) OPF_NO_BUFFER 2) Manual + - PacketOutInPort (number): If In Port Type is selected as Manual, type the input port type in the box provided. + - PacketOutInPortType (str(oFPP_CONTROLLER | oFPP_LOCAL | manual)): Specify the Input Port Type. The options are: 1) OFPP_CONTROLLER 2) OFPP_LOCAL 3) Manual + - PacketOutSendData (bool): If selected,the system sends packet out data. + - PortFeaturesResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - PortStatMatchCapability (bool): If selected, match capability is available. + - PortStatPortNumberType (str(oFPP_ANY | portNumberCustom)): Specify the port number. Options include: 1) OFPP_ANY 2) Manual/Custom + - PortStatPortNumberValue (number): If Port Number Type is selected as Custom/Manual, type the port number in the box provided + - PortStatResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - QueueConfigPortNumberType (str(oFPP_ANY | manual)): The number of the port used. The options are: 1) OFPP_ANY 2) Manual + - QueueConfigPortNumberValue (number): If Port Number Type is selected as Manual, type the port number in the box provided + - QueueConfigResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received + - QueueStatIDType (str(oFPQ_ALL | manual)): The unique queue identifier. The options are: 1) OFPQ_ALL 2) Manual + - QueueStatIDValue (number): If Queue ID Type is selected as Manual, type the queue ID in the box provided + - QueueStatMatchCapability (bool): If selected, match capability is available. + - QueueStatPortNumberType (str(oFPP_ANY | manual)): The number of the port used. The options are: 1) OFPP_ANY 2) Manual + - QueueStatPortNumberValue (number): If Port Number Type is selected as Manual, type the port number in the box provided + - QueueStatResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - RoleType (str(noChange | equal | master | slave)): Specify the Role Type. The options are: 1) NoChange 2) Equal 3) Master 4) Slave + - SetAsyncConfig (bool): Un-checked state means getting the async config, Checked means setting asynchronous config with available parameters + - SetSwitchConfig (bool): If selected, the corresponding switch configuration parameters are available. This option is available only if Switch Config is selected. + - SwitchConfigDropFragments (bool): If selected, IP fragments are dropped. + - SwitchConfigMissSendLength (number): The length of the table-miss message sent. + - SwitchConfigReassembleFragments (bool): If selected, IP fragments are reassembled. + - SwitchConfigResTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - TableStatMatchCap (bool): If selected, match capability is available + - TableStatResTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - VendorMsgExpType (number): The type of Experimenter + - VendorMsgId (number): The unique Vendor/Experimenter identifier + - VendorMsgSendData (bool): If selected,It sends vendor stat Data + - VendorStatExpType (number): The type of Experimenter + - VendorStatId (number): The unique Vendor/Experimenter identifier + - VendorStatResponseTimeOut (number): The time in milliseconds after which the trigger request times out if no response is received. + - VendorStatSendData (bool): If selected, the system sends vendor stat Data + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) + + def add( + self, + AsyncConfigResTimeOut=None, + DescriptionStatResponseTimeOut=None, + FlowAggrStatMatchCap=None, + FlowAggrStatOutGroup=None, + FlowAggrStatOutGroupValue=None, + FlowAggrStatOutPort=None, + FlowAggrStatOutPortValue=None, + FlowAggrStatResTimeOut=None, + FlowAggrStatTableId=None, + FlowAggrStatTableIdValue=None, + FlowStatMatchCap=None, + FlowStatOutGroup=None, + FlowStatOutGroupValue=None, + FlowStatOutPort=None, + FlowStatOutPortValue=None, + FlowStatResTimeOut=None, + FlowStatTableId=None, + FlowStatTableIdValue=None, + GroupDescResponseTimeOut=None, + GroupFeatureResponseTimeOut=None, + GroupStatIDType=None, + GroupStatIDValue=None, + GroupStatMatchCapability=None, + GroupStatResponseTimeOut=None, + MeterConfigMeterID=None, + MeterConfigMeterIDManual=None, + MeterConfigResponseTimeOut=None, + MeterFeatureStatResponseTimeOut=None, + MeterStatMeterID=None, + MeterStatMeterIDType=None, + MeterStatResponseTimeOut=None, + PacketOutAuxiliaryID=None, + PacketOutBufferID=None, + PacketOutBufferIDType=None, + PacketOutInPort=None, + PacketOutInPortType=None, + PacketOutSendData=None, + PortFeaturesResponseTimeOut=None, + PortStatMatchCapability=None, + PortStatPortNumberType=None, + PortStatPortNumberValue=None, + PortStatResponseTimeOut=None, + QueueConfigPortNumberType=None, + QueueConfigPortNumberValue=None, + QueueConfigResponseTimeOut=None, + QueueStatIDType=None, + QueueStatIDValue=None, + QueueStatMatchCapability=None, + QueueStatPortNumberType=None, + QueueStatPortNumberValue=None, + QueueStatResponseTimeOut=None, + RoleType=None, + SetAsyncConfig=None, + SetSwitchConfig=None, + SwitchConfigDropFragments=None, + SwitchConfigMissSendLength=None, + SwitchConfigReassembleFragments=None, + SwitchConfigResTimeOut=None, + TableStatMatchCap=None, + TableStatResTimeOut=None, + VendorMsgExpType=None, + VendorMsgId=None, + VendorMsgSendData=None, + VendorStatExpType=None, + VendorStatId=None, + VendorStatResponseTimeOut=None, + VendorStatSendData=None, + ): + # type: (int, int, bool, str, int, str, int, int, str, int, bool, str, int, str, int, int, str, int, int, int, str, int, bool, int, str, int, int, int, int, str, int, int, int, str, int, str, bool, int, bool, str, int, int, str, int, int, str, int, bool, str, int, int, str, bool, bool, bool, int, bool, int, bool, int, int, int, bool, int, int, int, bool) -> OFChannelLearnedInfo + """Adds a new oFChannelLearnedInfo resource on the json, only valid with batch add utility + + Args + ---- + - AsyncConfigResTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - DescriptionStatResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received + - FlowAggrStatMatchCap (bool): If selected, match capability is available. + - FlowAggrStatOutGroup (str(oFPGALL | oFPGANY | outGroupCustom)): Specify the Output Group Type. The options are: 1) All Groups 2) Any Group 3) Custom/Manual + - FlowAggrStatOutGroupValue (number): If Out Group is Custom/Manual, type the output group value in the box provided + - FlowAggrStatOutPort (str(oFPP_IN_PORT | oFPP_NORMAL | oFPP_FLOOD | oFPP_ALL | oFPP_CONTROLLER | oFPP_LOCAL | oFPP_ANY | outPortCustom)): Specify the Output Port Type. The options are: 1) OFPP_IN_PORT 2) OFPP_NORMAL 3) OFPP_FLOOD 4) OFPP_ALL 5) OFPP_CONTROLLER 6) OFPP_LOCAL 7) OFPP_ANY 8) Custom/Manual + - FlowAggrStatOutPortValue (number): If Out Port is Custom/Manual, type the output port value in the box provided. + - FlowAggrStatResTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - FlowAggrStatTableId (str(tableIdAllTables | tableIdCustom)): The identifier of the table. The options are: 1) All Tables 2) Custom/Manual + - FlowAggrStatTableIdValue (number): If Table ID is Custom/ Manual, type the Table ID Number in the box given + - FlowStatMatchCap (bool): If selected, match capability is available + - FlowStatOutGroup (str(oFPGALL | oFPGANY | outGroupCustom)): Specify the Output Group Type. The options are: 1) All Groups 2) Any Group 3) Custom/Manual + - FlowStatOutGroupValue (number): If Out Group is Custom/Manual, type the output group value in the box provided + - FlowStatOutPort (str(oFPP_IN_PORT | oFPP_NORMAL | oFPP_FLOOD | oFPP_ALL | oFPP_CONTROLLER | oFPP_LOCAL | oFPP_ANY | outPortCustom)): Specify the Output Port Type. The options are: 1) OFPP_IN_PORT 2) OFPP_NORMAL 3) OFPP_FLOOD 4) OFPP_ALL 5) OFPP_CONTROLLER 6) OFPP_LOCAL 7) OFPP_ANY 8) Custom/Manual + - FlowStatOutPortValue (number): If Out Port is Custom/Manual, type the output port value in the box provided. + - FlowStatResTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - FlowStatTableId (str(tableIdAllTables | tableIdCustom)): The identifier of the table. The options are: 1) All Tables 2) Custom/Manual + - FlowStatTableIdValue (number): If Table ID is Custom/ Manual, type the Table ID Number in the box given + - GroupDescResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received + - GroupFeatureResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received + - GroupStatIDType (str(oFPG_ALL | oFPG_ANY | manual)): The ID of the group used. The options are: 1) OFPG_ALL 2) OFPG_ANY 3) Manual + - GroupStatIDValue (number): If Group ID Type is selected as Manual, type the Group ID in the box provided + - GroupStatMatchCapability (bool): If selected, match capability is available + - GroupStatResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received + - MeterConfigMeterID (str(oFPM_CONTROLLER | oFPM_SLOWPATH | all | manual)): The ID of the meter used. The options are: 1) OFPM_SLOWPATH 2) OFPM_CONTROLLER 3) OFPM_All 4) Manual + - MeterConfigMeterIDManual (number): If Meter ID Type is selected as Manual, type the meter ID in the box provided + - MeterConfigResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - MeterFeatureStatResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - MeterStatMeterID (number): If Meter ID Type is selected as Manual, type the meter ID in the box provided + - MeterStatMeterIDType (str(oFPM_CONTROLLER | oFPM_SLOWPATH | all | manual)): The ID of the meter used. The options are: 1) OFPM_SLOWPATH 2) OFPM_CONTROLLER 3) OFPM_All 4) Manual + - MeterStatResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - PacketOutAuxiliaryID (number): The identifier of the auxiliary connection. + - PacketOutBufferID (number): If Buffer ID Type is selected as Manual, type the buffer ID in the box provided. + - PacketOutBufferIDType (str(oPF_NO_BUFFER | manual)): Specify the buffer identifier. The options are: 1) OPF_NO_BUFFER 2) Manual + - PacketOutInPort (number): If In Port Type is selected as Manual, type the input port type in the box provided. + - PacketOutInPortType (str(oFPP_CONTROLLER | oFPP_LOCAL | manual)): Specify the Input Port Type. The options are: 1) OFPP_CONTROLLER 2) OFPP_LOCAL 3) Manual + - PacketOutSendData (bool): If selected,the system sends packet out data. + - PortFeaturesResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - PortStatMatchCapability (bool): If selected, match capability is available. + - PortStatPortNumberType (str(oFPP_ANY | portNumberCustom)): Specify the port number. Options include: 1) OFPP_ANY 2) Manual/Custom + - PortStatPortNumberValue (number): If Port Number Type is selected as Custom/Manual, type the port number in the box provided + - PortStatResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - QueueConfigPortNumberType (str(oFPP_ANY | manual)): The number of the port used. The options are: 1) OFPP_ANY 2) Manual + - QueueConfigPortNumberValue (number): If Port Number Type is selected as Manual, type the port number in the box provided + - QueueConfigResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received + - QueueStatIDType (str(oFPQ_ALL | manual)): The unique queue identifier. The options are: 1) OFPQ_ALL 2) Manual + - QueueStatIDValue (number): If Queue ID Type is selected as Manual, type the queue ID in the box provided + - QueueStatMatchCapability (bool): If selected, match capability is available. + - QueueStatPortNumberType (str(oFPP_ANY | manual)): The number of the port used. The options are: 1) OFPP_ANY 2) Manual + - QueueStatPortNumberValue (number): If Port Number Type is selected as Manual, type the port number in the box provided + - QueueStatResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - RoleType (str(noChange | equal | master | slave)): Specify the Role Type. The options are: 1) NoChange 2) Equal 3) Master 4) Slave + - SetAsyncConfig (bool): Un-checked state means getting the async config, Checked means setting asynchronous config with available parameters + - SetSwitchConfig (bool): If selected, the corresponding switch configuration parameters are available. This option is available only if Switch Config is selected. + - SwitchConfigDropFragments (bool): If selected, IP fragments are dropped. + - SwitchConfigMissSendLength (number): The length of the table-miss message sent. + - SwitchConfigReassembleFragments (bool): If selected, IP fragments are reassembled. + - SwitchConfigResTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - TableStatMatchCap (bool): If selected, match capability is available + - TableStatResTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - VendorMsgExpType (number): The type of Experimenter + - VendorMsgId (number): The unique Vendor/Experimenter identifier + - VendorMsgSendData (bool): If selected,It sends vendor stat Data + - VendorStatExpType (number): The type of Experimenter + - VendorStatId (number): The unique Vendor/Experimenter identifier + - VendorStatResponseTimeOut (number): The time in milliseconds after which the trigger request times out if no response is received. + - VendorStatSendData (bool): If selected, the system sends vendor stat Data + + Returns + ------- + - self: This instance with all currently retrieved oFChannelLearnedInfo resources using find and the newly added oFChannelLearnedInfo resources available through an iterator or index + + Raises + ------ + - Exception: if this function is not being used with config assistance + """ + return self._add_xpath(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find( + self, + AsyncConfigResTimeOut=None, + DescriptionStatResponseTimeOut=None, + FlowAggrStatMatchCap=None, + FlowAggrStatOutGroup=None, + FlowAggrStatOutGroupValue=None, + FlowAggrStatOutPort=None, + FlowAggrStatOutPortValue=None, + FlowAggrStatResTimeOut=None, + FlowAggrStatTableId=None, + FlowAggrStatTableIdValue=None, + FlowStatMatchCap=None, + FlowStatOutGroup=None, + FlowStatOutGroupValue=None, + FlowStatOutPort=None, + FlowStatOutPortValue=None, + FlowStatResTimeOut=None, + FlowStatTableId=None, + FlowStatTableIdValue=None, + GroupDescResponseTimeOut=None, + GroupFeatureResponseTimeOut=None, + GroupStatIDType=None, + GroupStatIDValue=None, + GroupStatMatchCapability=None, + GroupStatResponseTimeOut=None, + MeterConfigMeterID=None, + MeterConfigMeterIDManual=None, + MeterConfigResponseTimeOut=None, + MeterFeatureStatResponseTimeOut=None, + MeterStatMeterID=None, + MeterStatMeterIDType=None, + MeterStatResponseTimeOut=None, + PacketOutAuxiliaryID=None, + PacketOutBufferID=None, + PacketOutBufferIDType=None, + PacketOutInPort=None, + PacketOutInPortType=None, + PacketOutSendData=None, + PortFeaturesResponseTimeOut=None, + PortStatMatchCapability=None, + PortStatPortNumberType=None, + PortStatPortNumberValue=None, + PortStatResponseTimeOut=None, + QueueConfigPortNumberType=None, + QueueConfigPortNumberValue=None, + QueueConfigResponseTimeOut=None, + QueueStatIDType=None, + QueueStatIDValue=None, + QueueStatMatchCapability=None, + QueueStatPortNumberType=None, + QueueStatPortNumberValue=None, + QueueStatResponseTimeOut=None, + RoleType=None, + SetAsyncConfig=None, + SetSwitchConfig=None, + SwitchConfigDropFragments=None, + SwitchConfigMissSendLength=None, + SwitchConfigReassembleFragments=None, + SwitchConfigResTimeOut=None, + TableStatMatchCap=None, + TableStatResTimeOut=None, + VendorMsgExpType=None, + VendorMsgId=None, + VendorMsgSendData=None, + VendorStatExpType=None, + VendorStatId=None, + VendorStatResponseTimeOut=None, + VendorStatSendData=None, + ): + # type: (int, int, bool, str, int, str, int, int, str, int, bool, str, int, str, int, int, str, int, int, int, str, int, bool, int, str, int, int, int, int, str, int, int, int, str, int, str, bool, int, bool, str, int, int, str, int, int, str, int, bool, str, int, int, str, bool, bool, bool, int, bool, int, bool, int, int, int, bool, int, int, int, bool) -> OFChannelLearnedInfo + """Finds and retrieves oFChannelLearnedInfo resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve oFChannelLearnedInfo resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all oFChannelLearnedInfo resources from the server. + + Args + ---- + - AsyncConfigResTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - DescriptionStatResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received + - FlowAggrStatMatchCap (bool): If selected, match capability is available. + - FlowAggrStatOutGroup (str(oFPGALL | oFPGANY | outGroupCustom)): Specify the Output Group Type. The options are: 1) All Groups 2) Any Group 3) Custom/Manual + - FlowAggrStatOutGroupValue (number): If Out Group is Custom/Manual, type the output group value in the box provided + - FlowAggrStatOutPort (str(oFPP_IN_PORT | oFPP_NORMAL | oFPP_FLOOD | oFPP_ALL | oFPP_CONTROLLER | oFPP_LOCAL | oFPP_ANY | outPortCustom)): Specify the Output Port Type. The options are: 1) OFPP_IN_PORT 2) OFPP_NORMAL 3) OFPP_FLOOD 4) OFPP_ALL 5) OFPP_CONTROLLER 6) OFPP_LOCAL 7) OFPP_ANY 8) Custom/Manual + - FlowAggrStatOutPortValue (number): If Out Port is Custom/Manual, type the output port value in the box provided. + - FlowAggrStatResTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - FlowAggrStatTableId (str(tableIdAllTables | tableIdCustom)): The identifier of the table. The options are: 1) All Tables 2) Custom/Manual + - FlowAggrStatTableIdValue (number): If Table ID is Custom/ Manual, type the Table ID Number in the box given + - FlowStatMatchCap (bool): If selected, match capability is available + - FlowStatOutGroup (str(oFPGALL | oFPGANY | outGroupCustom)): Specify the Output Group Type. The options are: 1) All Groups 2) Any Group 3) Custom/Manual + - FlowStatOutGroupValue (number): If Out Group is Custom/Manual, type the output group value in the box provided + - FlowStatOutPort (str(oFPP_IN_PORT | oFPP_NORMAL | oFPP_FLOOD | oFPP_ALL | oFPP_CONTROLLER | oFPP_LOCAL | oFPP_ANY | outPortCustom)): Specify the Output Port Type. The options are: 1) OFPP_IN_PORT 2) OFPP_NORMAL 3) OFPP_FLOOD 4) OFPP_ALL 5) OFPP_CONTROLLER 6) OFPP_LOCAL 7) OFPP_ANY 8) Custom/Manual + - FlowStatOutPortValue (number): If Out Port is Custom/Manual, type the output port value in the box provided. + - FlowStatResTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - FlowStatTableId (str(tableIdAllTables | tableIdCustom)): The identifier of the table. The options are: 1) All Tables 2) Custom/Manual + - FlowStatTableIdValue (number): If Table ID is Custom/ Manual, type the Table ID Number in the box given + - GroupDescResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received + - GroupFeatureResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received + - GroupStatIDType (str(oFPG_ALL | oFPG_ANY | manual)): The ID of the group used. The options are: 1) OFPG_ALL 2) OFPG_ANY 3) Manual + - GroupStatIDValue (number): If Group ID Type is selected as Manual, type the Group ID in the box provided + - GroupStatMatchCapability (bool): If selected, match capability is available + - GroupStatResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received + - MeterConfigMeterID (str(oFPM_CONTROLLER | oFPM_SLOWPATH | all | manual)): The ID of the meter used. The options are: 1) OFPM_SLOWPATH 2) OFPM_CONTROLLER 3) OFPM_All 4) Manual + - MeterConfigMeterIDManual (number): If Meter ID Type is selected as Manual, type the meter ID in the box provided + - MeterConfigResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - MeterFeatureStatResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - MeterStatMeterID (number): If Meter ID Type is selected as Manual, type the meter ID in the box provided + - MeterStatMeterIDType (str(oFPM_CONTROLLER | oFPM_SLOWPATH | all | manual)): The ID of the meter used. The options are: 1) OFPM_SLOWPATH 2) OFPM_CONTROLLER 3) OFPM_All 4) Manual + - MeterStatResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - PacketOutAuxiliaryID (number): The identifier of the auxiliary connection. + - PacketOutBufferID (number): If Buffer ID Type is selected as Manual, type the buffer ID in the box provided. + - PacketOutBufferIDType (str(oPF_NO_BUFFER | manual)): Specify the buffer identifier. The options are: 1) OPF_NO_BUFFER 2) Manual + - PacketOutInPort (number): If In Port Type is selected as Manual, type the input port type in the box provided. + - PacketOutInPortType (str(oFPP_CONTROLLER | oFPP_LOCAL | manual)): Specify the Input Port Type. The options are: 1) OFPP_CONTROLLER 2) OFPP_LOCAL 3) Manual + - PacketOutSendData (bool): If selected,the system sends packet out data. + - PortFeaturesResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - PortStatMatchCapability (bool): If selected, match capability is available. + - PortStatPortNumberType (str(oFPP_ANY | portNumberCustom)): Specify the port number. Options include: 1) OFPP_ANY 2) Manual/Custom + - PortStatPortNumberValue (number): If Port Number Type is selected as Custom/Manual, type the port number in the box provided + - PortStatResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - QueueConfigPortNumberType (str(oFPP_ANY | manual)): The number of the port used. The options are: 1) OFPP_ANY 2) Manual + - QueueConfigPortNumberValue (number): If Port Number Type is selected as Manual, type the port number in the box provided + - QueueConfigResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received + - QueueStatIDType (str(oFPQ_ALL | manual)): The unique queue identifier. The options are: 1) OFPQ_ALL 2) Manual + - QueueStatIDValue (number): If Queue ID Type is selected as Manual, type the queue ID in the box provided + - QueueStatMatchCapability (bool): If selected, match capability is available. + - QueueStatPortNumberType (str(oFPP_ANY | manual)): The number of the port used. The options are: 1) OFPP_ANY 2) Manual + - QueueStatPortNumberValue (number): If Port Number Type is selected as Manual, type the port number in the box provided + - QueueStatResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - RoleType (str(noChange | equal | master | slave)): Specify the Role Type. The options are: 1) NoChange 2) Equal 3) Master 4) Slave + - SetAsyncConfig (bool): Un-checked state means getting the async config, Checked means setting asynchronous config with available parameters + - SetSwitchConfig (bool): If selected, the corresponding switch configuration parameters are available. This option is available only if Switch Config is selected. + - SwitchConfigDropFragments (bool): If selected, IP fragments are dropped. + - SwitchConfigMissSendLength (number): The length of the table-miss message sent. + - SwitchConfigReassembleFragments (bool): If selected, IP fragments are reassembled. + - SwitchConfigResTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - TableStatMatchCap (bool): If selected, match capability is available + - TableStatResTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - VendorMsgExpType (number): The type of Experimenter + - VendorMsgId (number): The unique Vendor/Experimenter identifier + - VendorMsgSendData (bool): If selected,It sends vendor stat Data + - VendorStatExpType (number): The type of Experimenter + - VendorStatId (number): The unique Vendor/Experimenter identifier + - VendorStatResponseTimeOut (number): The time in milliseconds after which the trigger request times out if no response is received. + - VendorStatSendData (bool): If selected, the system sends vendor stat Data + + Returns + ------- + - self: This instance with matching oFChannelLearnedInfo resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of oFChannelLearnedInfo data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the oFChannelLearnedInfo resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) + + def SendOnDemandMessage(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the sendOnDemandMessage operation on the server. + + Sends learned on demand messages for the OF Channels. + + sendOnDemandMessage(Arg2=list, async_operation=bool)list + -------------------------------------------------------- + - Arg2 (list(number)): List of OF Channels into the protocol plugin. An empty list indicates all instances in the plugin. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute( + "sendOnDemandMessage", payload=payload, response_object=None + ) + + def get_device_ids( + self, + PortNames=None, + AsyncConfigFlowRemovedMaster=None, + AsyncConfigFlowRemovedSlave=None, + AsyncConfigPktInMaster=None, + AsyncConfigPktInSlave=None, + AsyncConfigPortStatusMaster=None, + AsyncConfigPortStatusSlave=None, + FlowAggrStatCookie=None, + FlowAggrStatCookieMask=None, + FlowStatCookie=None, + FlowStatCookieMask=None, + GenerationId=None, + OnDemandMessages=None, + PacketOutData=None, + VendorMsgMessage=None, + VendorStatMessage=None, + ): + """Base class infrastructure that gets a list of oFChannelLearnedInfo device ids encapsulated by this object. + + Use the optional regex parameters in the method to refine the list of device ids encapsulated by this object. + + Args + ---- + - PortNames (str): optional regex of port names + - AsyncConfigFlowRemovedMaster (str): optional regex of asyncConfigFlowRemovedMaster + - AsyncConfigFlowRemovedSlave (str): optional regex of asyncConfigFlowRemovedSlave + - AsyncConfigPktInMaster (str): optional regex of asyncConfigPktInMaster + - AsyncConfigPktInSlave (str): optional regex of asyncConfigPktInSlave + - AsyncConfigPortStatusMaster (str): optional regex of asyncConfigPortStatusMaster + - AsyncConfigPortStatusSlave (str): optional regex of asyncConfigPortStatusSlave + - FlowAggrStatCookie (str): optional regex of flowAggrStatCookie + - FlowAggrStatCookieMask (str): optional regex of flowAggrStatCookieMask + - FlowStatCookie (str): optional regex of flowStatCookie + - FlowStatCookieMask (str): optional regex of flowStatCookieMask + - GenerationId (str): optional regex of generationId + - OnDemandMessages (str): optional regex of onDemandMessages + - PacketOutData (str): optional regex of packetOutData + - VendorMsgMessage (str): optional regex of vendorMsgMessage + - VendorStatMessage (str): optional regex of vendorStatMessage + + Returns + ------- + - list(int): A list of device ids that meets the regex criteria provided in the method parameters + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._get_ngpf_device_ids(locals()) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/packetoutactionprofile_7087734f0df99cfe7bfd9afab773a120.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/packetoutactionprofile_7087734f0df99cfe7bfd9afab773a120.py new file mode 100644 index 000000000..915315a08 --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/packetoutactionprofile_7087734f0df99cfe7bfd9afab773a120.py @@ -0,0 +1,198 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class PacketOutActionProfile(Base): + """Action Profile + The PacketOutActionProfile class encapsulates a list of packetOutActionProfile resources that are managed by the system. + A list of resources can be retrieved from the server using the PacketOutActionProfile.find() method. + """ + + __slots__ = () + _SDM_NAME = "packetOutActionProfile" + _SDM_ATT_MAP = { + "Count": "count", + "DescriptiveName": "descriptiveName", + "Name": "name", + } + _SDM_ENUM_MAP = {} + + def __init__(self, parent, list_op=False): + super(PacketOutActionProfile, self).__init__(parent, list_op) + + @property + def ActionList(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.actionlist_57354c012aa6110e6483c4eaf33a2438.ActionList): An instance of the ActionList class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.actionlist_57354c012aa6110e6483c4eaf33a2438 import ( + ActionList, + ) + + if len(self._object_properties) > 0: + if self._properties.get("ActionList", None) is not None: + return self._properties.get("ActionList") + return ActionList(self) + + @property + def Count(self): + # type: () -> int + """ + Returns + ------- + - number: Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. + """ + return self._get_attribute(self._SDM_ATT_MAP["Count"]) + + @property + def DescriptiveName(self): + # type: () -> str + """ + Returns + ------- + - str: Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. + """ + return self._get_attribute(self._SDM_ATT_MAP["DescriptiveName"]) + + @property + def Name(self): + # type: () -> str + """ + Returns + ------- + - str: Name of NGPF element, guaranteed to be unique in Scenario + """ + return self._get_attribute(self._SDM_ATT_MAP["Name"]) + + @Name.setter + def Name(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["Name"], value) + + def update(self, Name=None): + # type: (str) -> PacketOutActionProfile + """Updates packetOutActionProfile resource on the server. + + Args + ---- + - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) + + def add(self, Name=None): + # type: (str) -> PacketOutActionProfile + """Adds a new packetOutActionProfile resource on the json, only valid with batch add utility + + Args + ---- + - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + + Returns + ------- + - self: This instance with all currently retrieved packetOutActionProfile resources using find and the newly added packetOutActionProfile resources available through an iterator or index + + Raises + ------ + - Exception: if this function is not being used with config assistance + """ + return self._add_xpath(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find(self, Count=None, DescriptiveName=None, Name=None): + # type: (int, str, str) -> PacketOutActionProfile + """Finds and retrieves packetOutActionProfile resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve packetOutActionProfile resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all packetOutActionProfile resources from the server. + + Args + ---- + - Count (number): Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. + - DescriptiveName (str): Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. + - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + + Returns + ------- + - self: This instance with matching packetOutActionProfile resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of packetOutActionProfile data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the packetOutActionProfile resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) + + def AddFromTemplate(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addFromTemplate operation on the server. + + Creates a Match Action prototype supported by the template. + + addFromTemplate(Arg2=href, async_operation=bool) + ------------------------------------------------ + - Arg2 (str(None | /api/v1/sessions/1/ixnetwork/)): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("addFromTemplate", payload=payload, response_object=None) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcebasicrsvpsynclspupdateparams_a744c997c9b882a5c54b978095fc5398.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcebasicrsvpsynclspupdateparams_a744c997c9b882a5c54b978095fc5398.py new file mode 100644 index 000000000..a146871dd --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcebasicrsvpsynclspupdateparams_a744c997c9b882a5c54b978095fc5398.py @@ -0,0 +1,972 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class PceBasicRsvpSyncLspUpdateParams(Base): + """PCE Learned LSPs Information Database + The PceBasicRsvpSyncLspUpdateParams class encapsulates a list of pceBasicRsvpSyncLspUpdateParams resources that are managed by the system. + A list of resources can be retrieved from the server using the PceBasicRsvpSyncLspUpdateParams.find() method. + """ + + __slots__ = () + _SDM_NAME = "pceBasicRsvpSyncLspUpdateParams" + _SDM_ATT_MAP = { + "AssociationId": "associationId", + "Bandwidth": "bandwidth", + "BindingType": "bindingType", + "Bos": "bos", + "ConfigureAssociation": "configureAssociation", + "ConfigureBandwidth": "configureBandwidth", + "ConfigureEro": "configureEro", + "ConfigureLsp": "configureLsp", + "ConfigureLspa": "configureLspa", + "ConfigureMetric": "configureMetric", + "ExcludeAny": "excludeAny", + "HoldingPriority": "holdingPriority", + "IncludeAll": "includeAll", + "IncludeAny": "includeAny", + "IncludeAssociation": "includeAssociation", + "IncludeConfiguredERO": "includeConfiguredERO", + "IncludeSrp": "includeSrp", + "IncludeSymbolicPathName": "includeSymbolicPathName", + "IncludeTEPathBindingTLV": "includeTEPathBindingTLV", + "IncludeXro": "includeXro", + "LocalProtection": "localProtection", + "MplsLabel": "mplsLabel", + "NumberOfAssociationObjects": "numberOfAssociationObjects", + "NumberOfEroSubObjects": "numberOfEroSubObjects", + "NumberOfMetricSubObjects": "numberOfMetricSubObjects", + "NumberOfTEPathBindingTLV": "numberOfTEPathBindingTLV", + "NumberOfXroSubObjects": "numberOfXroSubObjects", + "OverridePLSPID": "overridePLSPID", + "OverrideSrpId": "overrideSrpId", + "PceTriggersChoiceList": "pceTriggersChoiceList", + "PlspIdTriggerParam": "plspIdTriggerParam", + "ProtectionLsp": "protectionLsp", + "RemoveAssociation": "removeAssociation", + "SendEmptyTLV": "sendEmptyTLV", + "SetupPriority": "setupPriority", + "SrpId": "srpId", + "Srv6SID": "srv6SID", + "StandbyMode": "standbyMode", + "Tc": "tc", + "Ttl": "ttl", + "XroFailBit": "xroFailBit", + } + _SDM_ENUM_MAP = {} + + def __init__(self, parent, list_op=False): + super(PceBasicRsvpSyncLspUpdateParams, self).__init__(parent, list_op) + + @property + def PceUpdateAssociationObjectList(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceupdateassociationobjectlist_067a0a0a0d8b8dbf8239b459127bf201.PceUpdateAssociationObjectList): An instance of the PceUpdateAssociationObjectList class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceupdateassociationobjectlist_067a0a0a0d8b8dbf8239b459127bf201 import ( + PceUpdateAssociationObjectList, + ) + + if len(self._object_properties) > 0: + if self._properties.get("PceUpdateAssociationObjectList", None) is not None: + return self._properties.get("PceUpdateAssociationObjectList") + return PceUpdateAssociationObjectList(self) + + @property + def PceUpdateRsvpEroSubObjectList(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceupdatersvperosubobjectlist_f72a62fe60fa1ddf919cc7fba7858d6e.PceUpdateRsvpEroSubObjectList): An instance of the PceUpdateRsvpEroSubObjectList class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceupdatersvperosubobjectlist_f72a62fe60fa1ddf919cc7fba7858d6e import ( + PceUpdateRsvpEroSubObjectList, + ) + + if len(self._object_properties) > 0: + if self._properties.get("PceUpdateRsvpEroSubObjectList", None) is not None: + return self._properties.get("PceUpdateRsvpEroSubObjectList") + return PceUpdateRsvpEroSubObjectList(self) + + @property + def PceUpdateRsvpMetricSubObjectList(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceupdatersvpmetricsubobjectlist_fd8fa1e77098fa6f4bc87b12a1ed3fcb.PceUpdateRsvpMetricSubObjectList): An instance of the PceUpdateRsvpMetricSubObjectList class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceupdatersvpmetricsubobjectlist_fd8fa1e77098fa6f4bc87b12a1ed3fcb import ( + PceUpdateRsvpMetricSubObjectList, + ) + + if len(self._object_properties) > 0: + if ( + self._properties.get("PceUpdateRsvpMetricSubObjectList", None) + is not None + ): + return self._properties.get("PceUpdateRsvpMetricSubObjectList") + return PceUpdateRsvpMetricSubObjectList(self) + + @property + def PceUpdateXroSubObjectList(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceupdatexrosubobjectlist_3cb16b2513bf72ff7ee4a5e0387625cf.PceUpdateXroSubObjectList): An instance of the PceUpdateXroSubObjectList class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceupdatexrosubobjectlist_3cb16b2513bf72ff7ee4a5e0387625cf import ( + PceUpdateXroSubObjectList, + ) + + if len(self._object_properties) > 0: + if self._properties.get("PceUpdateXroSubObjectList", None) is not None: + return self._properties.get("PceUpdateXroSubObjectList") + return PceUpdateXroSubObjectList(self) + + @property + def PcepTEPATHBINDINGTLVList(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceptepathbindingtlvlist_12acfda98ab8bf91c183199c30f2f953.PcepTEPATHBINDINGTLVList): An instance of the PcepTEPATHBINDINGTLVList class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceptepathbindingtlvlist_12acfda98ab8bf91c183199c30f2f953 import ( + PcepTEPATHBINDINGTLVList, + ) + + if len(self._object_properties) > 0: + if self._properties.get("PcepTEPATHBINDINGTLVList", None) is not None: + return self._properties.get("PcepTEPATHBINDINGTLVList") + return PcepTEPATHBINDINGTLVList(self) + + @property + def AssociationId(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Association ID + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["AssociationId"])) + + @property + def Bandwidth(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Bandwidth (bps) + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Bandwidth"])) + + @property + def BindingType(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates the type of binding included in the TLV. Types are as follows: 20bit MPLS Label 32bit MPLS Label SRv6 SID Default value is 20bit MPLS Label. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["BindingType"])) + + @property + def Bos(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This bit is set to True for the last entry in the label stack i.e., for the bottom of the stack, and False for all other label stack entries. This control will be editable only if Binding Type is MPLS Label 32bit. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Bos"])) + + @property + def ConfigureAssociation(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Configure Association + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["ConfigureAssociation"]) + ) + + @property + def ConfigureBandwidth(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Configure Bandwidth + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["ConfigureBandwidth"]) + ) + + @property + def ConfigureEro(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Configure ERO + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["ConfigureEro"])) + + @property + def ConfigureLsp(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Configure LSP + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["ConfigureLsp"])) + + @property + def ConfigureLspa(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Configure LSPA + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["ConfigureLspa"])) + + @property + def ConfigureMetric(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Configure Metric + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["ConfigureMetric"]) + ) + + @property + def ExcludeAny(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Exclude Any + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["ExcludeAny"])) + + @property + def HoldingPriority(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Holding Priority + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["HoldingPriority"]) + ) + + @property + def IncludeAll(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Include All + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["IncludeAll"])) + + @property + def IncludeAny(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Include Any + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["IncludeAny"])) + + @property + def IncludeAssociation(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates whether Association object will be included in a PcUpdate message. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["IncludeAssociation"]) + ) + + @property + def IncludeConfiguredERO(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): If this is enabled, entire ERO will be go out in packet even if there is Binding SID, meaning no SR-ERO/SRv6-ERO validation will be done. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["IncludeConfiguredERO"]) + ) + + @property + def IncludeSrp(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates whether SRP object will be included in a PCInitiate message. All other attributes in sub-tab-SRP would be editable only if this checkbox is enabled. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["IncludeSrp"])) + + @property + def IncludeSymbolicPathName(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates if Symbolic-Path-Name TLV is to be included in PCUpate trigger message. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["IncludeSymbolicPathName"]) + ) + + @property + def IncludeTEPathBindingTLV(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates if TE-PATH-BINDING TLV is to be included in PCUpate trigger message. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["IncludeTEPathBindingTLV"]) + ) + + @property + def IncludeXro(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates whether XRO object will be included in a PcUpdate message. All other attributes in sub-tab Update XRO would be editable only if this checkbox is enabled. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["IncludeXro"])) + + @property + def LocalProtection(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Local Protection + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["LocalProtection"]) + ) + + @property + def MplsLabel(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This control will be editable if the Binding Type is set to either 20bit or 32bit MPLS-Label. This field will take the 20bit value of the MPLS-Label + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["MplsLabel"])) + + @property + def NumberOfAssociationObjects(self): + # type: () -> int + """ + Returns + ------- + - number: Value that indicates the number of Association Objects to be configured. + """ + return self._get_attribute(self._SDM_ATT_MAP["NumberOfAssociationObjects"]) + + @NumberOfAssociationObjects.setter + def NumberOfAssociationObjects(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["NumberOfAssociationObjects"], value) + + @property + def NumberOfEroSubObjects(self): + # type: () -> int + """ + Returns + ------- + - number: Value that indicates the number of ERO Sub Objects to be configured. + """ + return self._get_attribute(self._SDM_ATT_MAP["NumberOfEroSubObjects"]) + + @NumberOfEroSubObjects.setter + def NumberOfEroSubObjects(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["NumberOfEroSubObjects"], value) + + @property + def NumberOfMetricSubObjects(self): + # type: () -> int + """ + Returns + ------- + - number: Value that indicates the number of Metric Objects to be configured. + """ + return self._get_attribute(self._SDM_ATT_MAP["NumberOfMetricSubObjects"]) + + @NumberOfMetricSubObjects.setter + def NumberOfMetricSubObjects(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["NumberOfMetricSubObjects"], value) + + @property + def NumberOfTEPathBindingTLV(self): + # type: () -> int + """ + Returns + ------- + - number: Value that indicates the number of TE-PATH-BINDING TLV to be configured. + """ + return self._get_attribute(self._SDM_ATT_MAP["NumberOfTEPathBindingTLV"]) + + @NumberOfTEPathBindingTLV.setter + def NumberOfTEPathBindingTLV(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["NumberOfTEPathBindingTLV"], value) + + @property + def NumberOfXroSubObjects(self): + # type: () -> int + """ + Returns + ------- + - number: Value that indicates the number of XRO Sub Objects to be configured. + """ + return self._get_attribute(self._SDM_ATT_MAP["NumberOfXroSubObjects"]) + + @NumberOfXroSubObjects.setter + def NumberOfXroSubObjects(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["NumberOfXroSubObjects"], value) + + @property + def OverridePLSPID(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Allows the user to Send PcUpdate with an unknown PLSP-ID + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["OverridePLSPID"]) + ) + + @property + def OverrideSrpId(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates whether SRP object will be included in a PCUpdate trigger parameters. All other attributes in sub-tab-SRP would be editable only if this checkbox is enabled. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["OverrideSrpId"])) + + @property + def PceTriggersChoiceList(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Based on options selected, IxNetwork sends information to PCPU and refreshes the statistical data in the corresponding tab of Learned Information + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["PceTriggersChoiceList"]) + ) + + @property + def PlspIdTriggerParam(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The value of PLSP-ID that should be put in the PcUpdate Message + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["PlspIdTriggerParam"]) + ) + + @property + def ProtectionLsp(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Protection LSP + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["ProtectionLsp"])) + + @property + def RemoveAssociation(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Remove Association + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["RemoveAssociation"]) + ) + + @property + def SendEmptyTLV(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): If enabled all fields after Binding Type will be grayed out. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["SendEmptyTLV"])) + + @property + def SetupPriority(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Setup Priority + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["SetupPriority"])) + + @property + def SrpId(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The SRP object is used to correlate between initiation requests sent by the PCE and the error reports and state reports sent by the PCC. This number is unique per PCEP session and is incremented per initiation. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["SrpId"])) + + @property + def Srv6SID(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): SRv6 SID with a format of a 16 byte IPv6 address. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Srv6SID"])) + + @property + def StandbyMode(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Standby Mode + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["StandbyMode"])) + + @property + def Tc(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This field is used to carry traffic class information. This control will be editable only if Binding Type is MPLS Label 32bit. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Tc"])) + + @property + def Ttl(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This field is used to encode a time-to-live value. This control will be editable only if Binding Type is MPLS Label 32bit. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Ttl"])) + + @property + def XroFailBit(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): XRO Fail bit + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["XroFailBit"])) + + def update( + self, + NumberOfAssociationObjects=None, + NumberOfEroSubObjects=None, + NumberOfMetricSubObjects=None, + NumberOfTEPathBindingTLV=None, + NumberOfXroSubObjects=None, + ): + # type: (int, int, int, int, int) -> PceBasicRsvpSyncLspUpdateParams + """Updates pceBasicRsvpSyncLspUpdateParams resource on the server. + + This method has some named parameters with a type: obj (Multivalue). + The Multivalue class has documentation that details the possible values for those named parameters. + + Args + ---- + - NumberOfAssociationObjects (number): Value that indicates the number of Association Objects to be configured. + - NumberOfEroSubObjects (number): Value that indicates the number of ERO Sub Objects to be configured. + - NumberOfMetricSubObjects (number): Value that indicates the number of Metric Objects to be configured. + - NumberOfTEPathBindingTLV (number): Value that indicates the number of TE-PATH-BINDING TLV to be configured. + - NumberOfXroSubObjects (number): Value that indicates the number of XRO Sub Objects to be configured. + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) + + def add( + self, + NumberOfAssociationObjects=None, + NumberOfEroSubObjects=None, + NumberOfMetricSubObjects=None, + NumberOfTEPathBindingTLV=None, + NumberOfXroSubObjects=None, + ): + # type: (int, int, int, int, int) -> PceBasicRsvpSyncLspUpdateParams + """Adds a new pceBasicRsvpSyncLspUpdateParams resource on the json, only valid with batch add utility + + Args + ---- + - NumberOfAssociationObjects (number): Value that indicates the number of Association Objects to be configured. + - NumberOfEroSubObjects (number): Value that indicates the number of ERO Sub Objects to be configured. + - NumberOfMetricSubObjects (number): Value that indicates the number of Metric Objects to be configured. + - NumberOfTEPathBindingTLV (number): Value that indicates the number of TE-PATH-BINDING TLV to be configured. + - NumberOfXroSubObjects (number): Value that indicates the number of XRO Sub Objects to be configured. + + Returns + ------- + - self: This instance with all currently retrieved pceBasicRsvpSyncLspUpdateParams resources using find and the newly added pceBasicRsvpSyncLspUpdateParams resources available through an iterator or index + + Raises + ------ + - Exception: if this function is not being used with config assistance + """ + return self._add_xpath(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find( + self, + NumberOfAssociationObjects=None, + NumberOfEroSubObjects=None, + NumberOfMetricSubObjects=None, + NumberOfTEPathBindingTLV=None, + NumberOfXroSubObjects=None, + ): + # type: (int, int, int, int, int) -> PceBasicRsvpSyncLspUpdateParams + """Finds and retrieves pceBasicRsvpSyncLspUpdateParams resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve pceBasicRsvpSyncLspUpdateParams resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all pceBasicRsvpSyncLspUpdateParams resources from the server. + + Args + ---- + - NumberOfAssociationObjects (number): Value that indicates the number of Association Objects to be configured. + - NumberOfEroSubObjects (number): Value that indicates the number of ERO Sub Objects to be configured. + - NumberOfMetricSubObjects (number): Value that indicates the number of Metric Objects to be configured. + - NumberOfTEPathBindingTLV (number): Value that indicates the number of TE-PATH-BINDING TLV to be configured. + - NumberOfXroSubObjects (number): Value that indicates the number of XRO Sub Objects to be configured. + + Returns + ------- + - self: This instance with matching pceBasicRsvpSyncLspUpdateParams resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of pceBasicRsvpSyncLspUpdateParams data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the pceBasicRsvpSyncLspUpdateParams resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) + + def SendPcUpdate(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the sendPcUpdate operation on the server. + + Counts property changes created by the user. + + sendPcUpdate(Arg2=list, async_operation=bool)list + ------------------------------------------------- + - Arg2 (list(number)): List of indices into the learned information corresponding to trigger data. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("sendPcUpdate", payload=payload, response_object=None) + + def SendReturnDelegation(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the sendReturnDelegation operation on the server. + + Counts property changes created by the user. + + sendReturnDelegation(Arg2=list, async_operation=bool)list + --------------------------------------------------------- + - Arg2 (list(number)): List of indices into the learned information corresponding to trigger data. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute( + "sendReturnDelegation", payload=payload, response_object=None + ) + + def get_device_ids( + self, + PortNames=None, + AssociationId=None, + Bandwidth=None, + BindingType=None, + Bos=None, + ConfigureAssociation=None, + ConfigureBandwidth=None, + ConfigureEro=None, + ConfigureLsp=None, + ConfigureLspa=None, + ConfigureMetric=None, + ExcludeAny=None, + HoldingPriority=None, + IncludeAll=None, + IncludeAny=None, + IncludeAssociation=None, + IncludeConfiguredERO=None, + IncludeSrp=None, + IncludeSymbolicPathName=None, + IncludeTEPathBindingTLV=None, + IncludeXro=None, + LocalProtection=None, + MplsLabel=None, + OverridePLSPID=None, + OverrideSrpId=None, + PceTriggersChoiceList=None, + PlspIdTriggerParam=None, + ProtectionLsp=None, + RemoveAssociation=None, + SendEmptyTLV=None, + SetupPriority=None, + SrpId=None, + Srv6SID=None, + StandbyMode=None, + Tc=None, + Ttl=None, + XroFailBit=None, + ): + """Base class infrastructure that gets a list of pceBasicRsvpSyncLspUpdateParams device ids encapsulated by this object. + + Use the optional regex parameters in the method to refine the list of device ids encapsulated by this object. + + Args + ---- + - PortNames (str): optional regex of port names + - AssociationId (str): optional regex of associationId + - Bandwidth (str): optional regex of bandwidth + - BindingType (str): optional regex of bindingType + - Bos (str): optional regex of bos + - ConfigureAssociation (str): optional regex of configureAssociation + - ConfigureBandwidth (str): optional regex of configureBandwidth + - ConfigureEro (str): optional regex of configureEro + - ConfigureLsp (str): optional regex of configureLsp + - ConfigureLspa (str): optional regex of configureLspa + - ConfigureMetric (str): optional regex of configureMetric + - ExcludeAny (str): optional regex of excludeAny + - HoldingPriority (str): optional regex of holdingPriority + - IncludeAll (str): optional regex of includeAll + - IncludeAny (str): optional regex of includeAny + - IncludeAssociation (str): optional regex of includeAssociation + - IncludeConfiguredERO (str): optional regex of includeConfiguredERO + - IncludeSrp (str): optional regex of includeSrp + - IncludeSymbolicPathName (str): optional regex of includeSymbolicPathName + - IncludeTEPathBindingTLV (str): optional regex of includeTEPathBindingTLV + - IncludeXro (str): optional regex of includeXro + - LocalProtection (str): optional regex of localProtection + - MplsLabel (str): optional regex of mplsLabel + - OverridePLSPID (str): optional regex of overridePLSPID + - OverrideSrpId (str): optional regex of overrideSrpId + - PceTriggersChoiceList (str): optional regex of pceTriggersChoiceList + - PlspIdTriggerParam (str): optional regex of plspIdTriggerParam + - ProtectionLsp (str): optional regex of protectionLsp + - RemoveAssociation (str): optional regex of removeAssociation + - SendEmptyTLV (str): optional regex of sendEmptyTLV + - SetupPriority (str): optional regex of setupPriority + - SrpId (str): optional regex of srpId + - Srv6SID (str): optional regex of srv6SID + - StandbyMode (str): optional regex of standbyMode + - Tc (str): optional regex of tc + - Ttl (str): optional regex of ttl + - XroFailBit (str): optional regex of xroFailBit + + Returns + ------- + - list(int): A list of device ids that meets the regex criteria provided in the method parameters + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._get_ngpf_device_ids(locals()) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcebasicsrsynclspupdateparams_fba7719ac304788aa97d45eb6b6115cb.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcebasicsrsynclspupdateparams_fba7719ac304788aa97d45eb6b6115cb.py new file mode 100644 index 000000000..6ae0be0e9 --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcebasicsrsynclspupdateparams_fba7719ac304788aa97d45eb6b6115cb.py @@ -0,0 +1,969 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class PceBasicSrSyncLspUpdateParams(Base): + """PCE Learned LSPs Information Database + The PceBasicSrSyncLspUpdateParams class encapsulates a list of pceBasicSrSyncLspUpdateParams resources that are managed by the system. + A list of resources can be retrieved from the server using the PceBasicSrSyncLspUpdateParams.find() method. + """ + + __slots__ = () + _SDM_NAME = "pceBasicSrSyncLspUpdateParams" + _SDM_ATT_MAP = { + "AssociationId": "associationId", + "Bandwidth": "bandwidth", + "BindingType": "bindingType", + "Bos": "bos", + "ConfigureAssociation": "configureAssociation", + "ConfigureBandwidth": "configureBandwidth", + "ConfigureEro": "configureEro", + "ConfigureLsp": "configureLsp", + "ConfigureLspa": "configureLspa", + "ConfigureMetric": "configureMetric", + "ExcludeAny": "excludeAny", + "HoldingPriority": "holdingPriority", + "IncludeAll": "includeAll", + "IncludeAny": "includeAny", + "IncludeAssociation": "includeAssociation", + "IncludeConfiguredERO": "includeConfiguredERO", + "IncludeSrp": "includeSrp", + "IncludeSymbolicPathName": "includeSymbolicPathName", + "IncludeTEPathBindingTLV": "includeTEPathBindingTLV", + "IncludeXro": "includeXro", + "LocalProtection": "localProtection", + "MplsLabel": "mplsLabel", + "NumberOfAssociationObjects": "numberOfAssociationObjects", + "NumberOfEroSubObjects": "numberOfEroSubObjects", + "NumberOfMetricSubObjects": "numberOfMetricSubObjects", + "NumberOfTEPathBindingTLV": "numberOfTEPathBindingTLV", + "NumberOfXroSubObjects": "numberOfXroSubObjects", + "OverridePLSPID": "overridePLSPID", + "OverrideSrpId": "overrideSrpId", + "PceTriggersChoiceList": "pceTriggersChoiceList", + "PlspIdTriggerParam": "plspIdTriggerParam", + "ProtectionLsp": "protectionLsp", + "RemoveAssociation": "removeAssociation", + "SendEmptyTLV": "sendEmptyTLV", + "SetupPriority": "setupPriority", + "SrpId": "srpId", + "Srv6SID": "srv6SID", + "StandbyMode": "standbyMode", + "Tc": "tc", + "Ttl": "ttl", + "XroFailBit": "xroFailBit", + } + _SDM_ENUM_MAP = {} + + def __init__(self, parent, list_op=False): + super(PceBasicSrSyncLspUpdateParams, self).__init__(parent, list_op) + + @property + def PceUpdateAssociationObjectList(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceupdateassociationobjectlist_067a0a0a0d8b8dbf8239b459127bf201.PceUpdateAssociationObjectList): An instance of the PceUpdateAssociationObjectList class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceupdateassociationobjectlist_067a0a0a0d8b8dbf8239b459127bf201 import ( + PceUpdateAssociationObjectList, + ) + + if len(self._object_properties) > 0: + if self._properties.get("PceUpdateAssociationObjectList", None) is not None: + return self._properties.get("PceUpdateAssociationObjectList") + return PceUpdateAssociationObjectList(self) + + @property + def PceUpdateSrEroSubObjectList(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceupdatesrerosubobjectlist_d9e41e4990a041fcca2fc6fd076cf303.PceUpdateSrEroSubObjectList): An instance of the PceUpdateSrEroSubObjectList class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceupdatesrerosubobjectlist_d9e41e4990a041fcca2fc6fd076cf303 import ( + PceUpdateSrEroSubObjectList, + ) + + if len(self._object_properties) > 0: + if self._properties.get("PceUpdateSrEroSubObjectList", None) is not None: + return self._properties.get("PceUpdateSrEroSubObjectList") + return PceUpdateSrEroSubObjectList(self) + + @property + def PceUpdateSrMetricSubObjectList(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceupdatesrmetricsubobjectlist_161f8505e21b0db145157226f5332ddd.PceUpdateSrMetricSubObjectList): An instance of the PceUpdateSrMetricSubObjectList class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceupdatesrmetricsubobjectlist_161f8505e21b0db145157226f5332ddd import ( + PceUpdateSrMetricSubObjectList, + ) + + if len(self._object_properties) > 0: + if self._properties.get("PceUpdateSrMetricSubObjectList", None) is not None: + return self._properties.get("PceUpdateSrMetricSubObjectList") + return PceUpdateSrMetricSubObjectList(self) + + @property + def PceUpdateXroSubObjectList(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceupdatexrosubobjectlist_3cb16b2513bf72ff7ee4a5e0387625cf.PceUpdateXroSubObjectList): An instance of the PceUpdateXroSubObjectList class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceupdatexrosubobjectlist_3cb16b2513bf72ff7ee4a5e0387625cf import ( + PceUpdateXroSubObjectList, + ) + + if len(self._object_properties) > 0: + if self._properties.get("PceUpdateXroSubObjectList", None) is not None: + return self._properties.get("PceUpdateXroSubObjectList") + return PceUpdateXroSubObjectList(self) + + @property + def PcepTEPATHBINDINGTLVList(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceptepathbindingtlvlist_12acfda98ab8bf91c183199c30f2f953.PcepTEPATHBINDINGTLVList): An instance of the PcepTEPATHBINDINGTLVList class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceptepathbindingtlvlist_12acfda98ab8bf91c183199c30f2f953 import ( + PcepTEPATHBINDINGTLVList, + ) + + if len(self._object_properties) > 0: + if self._properties.get("PcepTEPATHBINDINGTLVList", None) is not None: + return self._properties.get("PcepTEPATHBINDINGTLVList") + return PcepTEPATHBINDINGTLVList(self) + + @property + def AssociationId(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Association ID + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["AssociationId"])) + + @property + def Bandwidth(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Bandwidth (bps) + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Bandwidth"])) + + @property + def BindingType(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates the type of binding included in the TLV. Types are as follows: 20bit MPLS Label 32bit MPLS Label SRv6 SID Default value is 20bit MPLS Label. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["BindingType"])) + + @property + def Bos(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This bit is set to True for the last entry in the label stack i.e., for the bottom of the stack, and False for all other label stack entries. This control will be editable only if Binding Type is MPLS Label 32bit. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Bos"])) + + @property + def ConfigureAssociation(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Configure Association + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["ConfigureAssociation"]) + ) + + @property + def ConfigureBandwidth(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Configure Bandwidth + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["ConfigureBandwidth"]) + ) + + @property + def ConfigureEro(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Configure ERO + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["ConfigureEro"])) + + @property + def ConfigureLsp(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Configure LSP + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["ConfigureLsp"])) + + @property + def ConfigureLspa(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Configure LSPA + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["ConfigureLspa"])) + + @property + def ConfigureMetric(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Configure Metric + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["ConfigureMetric"]) + ) + + @property + def ExcludeAny(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Exclude Any + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["ExcludeAny"])) + + @property + def HoldingPriority(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Holding Priority + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["HoldingPriority"]) + ) + + @property + def IncludeAll(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Include All + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["IncludeAll"])) + + @property + def IncludeAny(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Include Any + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["IncludeAny"])) + + @property + def IncludeAssociation(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates whether Association object will be included in a PcUpdate message. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["IncludeAssociation"]) + ) + + @property + def IncludeConfiguredERO(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): If this is enabled, entire ERO will be go out in packet even if there is Binding SID, meaning no SR-ERO/SRv6-ERO validation will be done. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["IncludeConfiguredERO"]) + ) + + @property + def IncludeSrp(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates whether SRP object will be included in a PCInitiate message. All other attributes in sub-tab-SRP would be editable only if this checkbox is enabled. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["IncludeSrp"])) + + @property + def IncludeSymbolicPathName(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates if Symbolic-Path-Name TLV is to be included in PCUpate trigger message. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["IncludeSymbolicPathName"]) + ) + + @property + def IncludeTEPathBindingTLV(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates if TE-PATH-BINDING TLV is to be included in PCUpate trigger message. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["IncludeTEPathBindingTLV"]) + ) + + @property + def IncludeXro(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates whether XRO object will be included in a PcUpdate message. All other attributes in sub-tab Update XRO would be editable only if this checkbox is enabled. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["IncludeXro"])) + + @property + def LocalProtection(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Local Protection + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["LocalProtection"]) + ) + + @property + def MplsLabel(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This control will be editable if the Binding Type is set to either 20bit or 32bit MPLS-Label. This field will take the 20bit value of the MPLS-Label + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["MplsLabel"])) + + @property + def NumberOfAssociationObjects(self): + # type: () -> int + """ + Returns + ------- + - number: Value that indicates the number of Association Objects to be configured. + """ + return self._get_attribute(self._SDM_ATT_MAP["NumberOfAssociationObjects"]) + + @NumberOfAssociationObjects.setter + def NumberOfAssociationObjects(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["NumberOfAssociationObjects"], value) + + @property + def NumberOfEroSubObjects(self): + # type: () -> int + """ + Returns + ------- + - number: Value that indicates the number of ERO Sub Objects to be configured. + """ + return self._get_attribute(self._SDM_ATT_MAP["NumberOfEroSubObjects"]) + + @NumberOfEroSubObjects.setter + def NumberOfEroSubObjects(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["NumberOfEroSubObjects"], value) + + @property + def NumberOfMetricSubObjects(self): + # type: () -> int + """ + Returns + ------- + - number: Value that indicates the number of Metric Objects to be configured. + """ + return self._get_attribute(self._SDM_ATT_MAP["NumberOfMetricSubObjects"]) + + @NumberOfMetricSubObjects.setter + def NumberOfMetricSubObjects(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["NumberOfMetricSubObjects"], value) + + @property + def NumberOfTEPathBindingTLV(self): + # type: () -> int + """ + Returns + ------- + - number: Value that indicates the number of TE-PATH-BINDING TLV to be configured. + """ + return self._get_attribute(self._SDM_ATT_MAP["NumberOfTEPathBindingTLV"]) + + @NumberOfTEPathBindingTLV.setter + def NumberOfTEPathBindingTLV(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["NumberOfTEPathBindingTLV"], value) + + @property + def NumberOfXroSubObjects(self): + # type: () -> int + """ + Returns + ------- + - number: Value that indicates the number of XRO Sub Objects to be configured. + """ + return self._get_attribute(self._SDM_ATT_MAP["NumberOfXroSubObjects"]) + + @NumberOfXroSubObjects.setter + def NumberOfXroSubObjects(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["NumberOfXroSubObjects"], value) + + @property + def OverridePLSPID(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Allows the user to Send PcUpdate with an unknown PLSP-ID + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["OverridePLSPID"]) + ) + + @property + def OverrideSrpId(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates whether SRP object will be included in a PCUpdate trigger parameters. All other attributes in sub-tab-SRP would be editable only if this checkbox is enabled. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["OverrideSrpId"])) + + @property + def PceTriggersChoiceList(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Based on options selected, IxNetwork sends information to PCPU and refreshes the statistical data in the corresponding tab of Learned Information + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["PceTriggersChoiceList"]) + ) + + @property + def PlspIdTriggerParam(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The value of PLSP-ID that should be put in the PcUpdate Message + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["PlspIdTriggerParam"]) + ) + + @property + def ProtectionLsp(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Protection LSP + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["ProtectionLsp"])) + + @property + def RemoveAssociation(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Remove Association + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["RemoveAssociation"]) + ) + + @property + def SendEmptyTLV(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): If enabled all fields after Binding Type will be grayed out. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["SendEmptyTLV"])) + + @property + def SetupPriority(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Setup Priority + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["SetupPriority"])) + + @property + def SrpId(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The SRP object is used to correlate between initiation requests sent by the PCE and the error reports and state reports sent by the PCC. This number is unique per PCEP session and is incremented per initiation. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["SrpId"])) + + @property + def Srv6SID(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): SRv6 SID with a format of a 16 byte IPv6 address. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Srv6SID"])) + + @property + def StandbyMode(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Standby Mode + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["StandbyMode"])) + + @property + def Tc(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This field is used to carry traffic class information. This control will be editable only if Binding Type is MPLS Label 32bit. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Tc"])) + + @property + def Ttl(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This field is used to encode a time-to-live value. This control will be editable only if Binding Type is MPLS Label 32bit. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Ttl"])) + + @property + def XroFailBit(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): XRO Fail bit + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["XroFailBit"])) + + def update( + self, + NumberOfAssociationObjects=None, + NumberOfEroSubObjects=None, + NumberOfMetricSubObjects=None, + NumberOfTEPathBindingTLV=None, + NumberOfXroSubObjects=None, + ): + # type: (int, int, int, int, int) -> PceBasicSrSyncLspUpdateParams + """Updates pceBasicSrSyncLspUpdateParams resource on the server. + + This method has some named parameters with a type: obj (Multivalue). + The Multivalue class has documentation that details the possible values for those named parameters. + + Args + ---- + - NumberOfAssociationObjects (number): Value that indicates the number of Association Objects to be configured. + - NumberOfEroSubObjects (number): Value that indicates the number of ERO Sub Objects to be configured. + - NumberOfMetricSubObjects (number): Value that indicates the number of Metric Objects to be configured. + - NumberOfTEPathBindingTLV (number): Value that indicates the number of TE-PATH-BINDING TLV to be configured. + - NumberOfXroSubObjects (number): Value that indicates the number of XRO Sub Objects to be configured. + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) + + def add( + self, + NumberOfAssociationObjects=None, + NumberOfEroSubObjects=None, + NumberOfMetricSubObjects=None, + NumberOfTEPathBindingTLV=None, + NumberOfXroSubObjects=None, + ): + # type: (int, int, int, int, int) -> PceBasicSrSyncLspUpdateParams + """Adds a new pceBasicSrSyncLspUpdateParams resource on the json, only valid with batch add utility + + Args + ---- + - NumberOfAssociationObjects (number): Value that indicates the number of Association Objects to be configured. + - NumberOfEroSubObjects (number): Value that indicates the number of ERO Sub Objects to be configured. + - NumberOfMetricSubObjects (number): Value that indicates the number of Metric Objects to be configured. + - NumberOfTEPathBindingTLV (number): Value that indicates the number of TE-PATH-BINDING TLV to be configured. + - NumberOfXroSubObjects (number): Value that indicates the number of XRO Sub Objects to be configured. + + Returns + ------- + - self: This instance with all currently retrieved pceBasicSrSyncLspUpdateParams resources using find and the newly added pceBasicSrSyncLspUpdateParams resources available through an iterator or index + + Raises + ------ + - Exception: if this function is not being used with config assistance + """ + return self._add_xpath(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find( + self, + NumberOfAssociationObjects=None, + NumberOfEroSubObjects=None, + NumberOfMetricSubObjects=None, + NumberOfTEPathBindingTLV=None, + NumberOfXroSubObjects=None, + ): + # type: (int, int, int, int, int) -> PceBasicSrSyncLspUpdateParams + """Finds and retrieves pceBasicSrSyncLspUpdateParams resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve pceBasicSrSyncLspUpdateParams resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all pceBasicSrSyncLspUpdateParams resources from the server. + + Args + ---- + - NumberOfAssociationObjects (number): Value that indicates the number of Association Objects to be configured. + - NumberOfEroSubObjects (number): Value that indicates the number of ERO Sub Objects to be configured. + - NumberOfMetricSubObjects (number): Value that indicates the number of Metric Objects to be configured. + - NumberOfTEPathBindingTLV (number): Value that indicates the number of TE-PATH-BINDING TLV to be configured. + - NumberOfXroSubObjects (number): Value that indicates the number of XRO Sub Objects to be configured. + + Returns + ------- + - self: This instance with matching pceBasicSrSyncLspUpdateParams resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of pceBasicSrSyncLspUpdateParams data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the pceBasicSrSyncLspUpdateParams resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) + + def SendPcUpdate(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the sendPcUpdate operation on the server. + + Counts property changes created by the user. + + sendPcUpdate(Arg2=list, async_operation=bool)list + ------------------------------------------------- + - Arg2 (list(number)): List of indices into the learned information corresponding to trigger data. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("sendPcUpdate", payload=payload, response_object=None) + + def SendReturnDelegation(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the sendReturnDelegation operation on the server. + + Counts property changes created by the user. + + sendReturnDelegation(Arg2=list, async_operation=bool)list + --------------------------------------------------------- + - Arg2 (list(number)): List of indices into the learned information corresponding to trigger data. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute( + "sendReturnDelegation", payload=payload, response_object=None + ) + + def get_device_ids( + self, + PortNames=None, + AssociationId=None, + Bandwidth=None, + BindingType=None, + Bos=None, + ConfigureAssociation=None, + ConfigureBandwidth=None, + ConfigureEro=None, + ConfigureLsp=None, + ConfigureLspa=None, + ConfigureMetric=None, + ExcludeAny=None, + HoldingPriority=None, + IncludeAll=None, + IncludeAny=None, + IncludeAssociation=None, + IncludeConfiguredERO=None, + IncludeSrp=None, + IncludeSymbolicPathName=None, + IncludeTEPathBindingTLV=None, + IncludeXro=None, + LocalProtection=None, + MplsLabel=None, + OverridePLSPID=None, + OverrideSrpId=None, + PceTriggersChoiceList=None, + PlspIdTriggerParam=None, + ProtectionLsp=None, + RemoveAssociation=None, + SendEmptyTLV=None, + SetupPriority=None, + SrpId=None, + Srv6SID=None, + StandbyMode=None, + Tc=None, + Ttl=None, + XroFailBit=None, + ): + """Base class infrastructure that gets a list of pceBasicSrSyncLspUpdateParams device ids encapsulated by this object. + + Use the optional regex parameters in the method to refine the list of device ids encapsulated by this object. + + Args + ---- + - PortNames (str): optional regex of port names + - AssociationId (str): optional regex of associationId + - Bandwidth (str): optional regex of bandwidth + - BindingType (str): optional regex of bindingType + - Bos (str): optional regex of bos + - ConfigureAssociation (str): optional regex of configureAssociation + - ConfigureBandwidth (str): optional regex of configureBandwidth + - ConfigureEro (str): optional regex of configureEro + - ConfigureLsp (str): optional regex of configureLsp + - ConfigureLspa (str): optional regex of configureLspa + - ConfigureMetric (str): optional regex of configureMetric + - ExcludeAny (str): optional regex of excludeAny + - HoldingPriority (str): optional regex of holdingPriority + - IncludeAll (str): optional regex of includeAll + - IncludeAny (str): optional regex of includeAny + - IncludeAssociation (str): optional regex of includeAssociation + - IncludeConfiguredERO (str): optional regex of includeConfiguredERO + - IncludeSrp (str): optional regex of includeSrp + - IncludeSymbolicPathName (str): optional regex of includeSymbolicPathName + - IncludeTEPathBindingTLV (str): optional regex of includeTEPathBindingTLV + - IncludeXro (str): optional regex of includeXro + - LocalProtection (str): optional regex of localProtection + - MplsLabel (str): optional regex of mplsLabel + - OverridePLSPID (str): optional regex of overridePLSPID + - OverrideSrpId (str): optional regex of overrideSrpId + - PceTriggersChoiceList (str): optional regex of pceTriggersChoiceList + - PlspIdTriggerParam (str): optional regex of plspIdTriggerParam + - ProtectionLsp (str): optional regex of protectionLsp + - RemoveAssociation (str): optional regex of removeAssociation + - SendEmptyTLV (str): optional regex of sendEmptyTLV + - SetupPriority (str): optional regex of setupPriority + - SrpId (str): optional regex of srpId + - Srv6SID (str): optional regex of srv6SID + - StandbyMode (str): optional regex of standbyMode + - Tc (str): optional regex of tc + - Ttl (str): optional regex of ttl + - XroFailBit (str): optional regex of xroFailBit + + Returns + ------- + - list(int): A list of device ids that meets the regex criteria provided in the method parameters + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._get_ngpf_device_ids(locals()) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcebasicsrv6synclspupdateparams_86ab1246139fe62f74705dedfe30b987.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcebasicsrv6synclspupdateparams_86ab1246139fe62f74705dedfe30b987.py new file mode 100644 index 000000000..ebb98bd73 --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcebasicsrv6synclspupdateparams_86ab1246139fe62f74705dedfe30b987.py @@ -0,0 +1,972 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class PceBasicSrv6SyncLspUpdateParams(Base): + """PCE Learned LSPs Information Database + The PceBasicSrv6SyncLspUpdateParams class encapsulates a list of pceBasicSrv6SyncLspUpdateParams resources that are managed by the system. + A list of resources can be retrieved from the server using the PceBasicSrv6SyncLspUpdateParams.find() method. + """ + + __slots__ = () + _SDM_NAME = "pceBasicSrv6SyncLspUpdateParams" + _SDM_ATT_MAP = { + "AssociationId": "associationId", + "Bandwidth": "bandwidth", + "BindingType": "bindingType", + "Bos": "bos", + "ConfigureAssociation": "configureAssociation", + "ConfigureBandwidth": "configureBandwidth", + "ConfigureEro": "configureEro", + "ConfigureLsp": "configureLsp", + "ConfigureLspa": "configureLspa", + "ConfigureMetric": "configureMetric", + "ExcludeAny": "excludeAny", + "HoldingPriority": "holdingPriority", + "IncludeAll": "includeAll", + "IncludeAny": "includeAny", + "IncludeAssociation": "includeAssociation", + "IncludeConfiguredERO": "includeConfiguredERO", + "IncludeSrp": "includeSrp", + "IncludeSymbolicPathName": "includeSymbolicPathName", + "IncludeTEPathBindingTLV": "includeTEPathBindingTLV", + "IncludeXro": "includeXro", + "LocalProtection": "localProtection", + "MplsLabel": "mplsLabel", + "NumberOfAssociationObjects": "numberOfAssociationObjects", + "NumberOfEroSubObjects": "numberOfEroSubObjects", + "NumberOfMetricSubObjects": "numberOfMetricSubObjects", + "NumberOfTEPathBindingTLV": "numberOfTEPathBindingTLV", + "NumberOfXroSubObjects": "numberOfXroSubObjects", + "OverridePLSPID": "overridePLSPID", + "OverrideSrpId": "overrideSrpId", + "PceTriggersChoiceList": "pceTriggersChoiceList", + "PlspIdTriggerParam": "plspIdTriggerParam", + "ProtectionLsp": "protectionLsp", + "RemoveAssociation": "removeAssociation", + "SendEmptyTLV": "sendEmptyTLV", + "SetupPriority": "setupPriority", + "SrpId": "srpId", + "Srv6SID": "srv6SID", + "StandbyMode": "standbyMode", + "Tc": "tc", + "Ttl": "ttl", + "XroFailBit": "xroFailBit", + } + _SDM_ENUM_MAP = {} + + def __init__(self, parent, list_op=False): + super(PceBasicSrv6SyncLspUpdateParams, self).__init__(parent, list_op) + + @property + def PceUpdateAssociationObjectList(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceupdateassociationobjectlist_067a0a0a0d8b8dbf8239b459127bf201.PceUpdateAssociationObjectList): An instance of the PceUpdateAssociationObjectList class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceupdateassociationobjectlist_067a0a0a0d8b8dbf8239b459127bf201 import ( + PceUpdateAssociationObjectList, + ) + + if len(self._object_properties) > 0: + if self._properties.get("PceUpdateAssociationObjectList", None) is not None: + return self._properties.get("PceUpdateAssociationObjectList") + return PceUpdateAssociationObjectList(self) + + @property + def PceUpdateSrv6EroSubObjectList(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceupdatesrv6erosubobjectlist_bbcc97d115dea1f934b86dd3b1d0e7e2.PceUpdateSrv6EroSubObjectList): An instance of the PceUpdateSrv6EroSubObjectList class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceupdatesrv6erosubobjectlist_bbcc97d115dea1f934b86dd3b1d0e7e2 import ( + PceUpdateSrv6EroSubObjectList, + ) + + if len(self._object_properties) > 0: + if self._properties.get("PceUpdateSrv6EroSubObjectList", None) is not None: + return self._properties.get("PceUpdateSrv6EroSubObjectList") + return PceUpdateSrv6EroSubObjectList(self) + + @property + def PceUpdateSrv6MetricSubObjectList(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceupdatesrv6metricsubobjectlist_39e8f2176cc00efc53dbcdedfed0385e.PceUpdateSrv6MetricSubObjectList): An instance of the PceUpdateSrv6MetricSubObjectList class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceupdatesrv6metricsubobjectlist_39e8f2176cc00efc53dbcdedfed0385e import ( + PceUpdateSrv6MetricSubObjectList, + ) + + if len(self._object_properties) > 0: + if ( + self._properties.get("PceUpdateSrv6MetricSubObjectList", None) + is not None + ): + return self._properties.get("PceUpdateSrv6MetricSubObjectList") + return PceUpdateSrv6MetricSubObjectList(self) + + @property + def PceUpdateXroSubObjectList(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceupdatexrosubobjectlist_3cb16b2513bf72ff7ee4a5e0387625cf.PceUpdateXroSubObjectList): An instance of the PceUpdateXroSubObjectList class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceupdatexrosubobjectlist_3cb16b2513bf72ff7ee4a5e0387625cf import ( + PceUpdateXroSubObjectList, + ) + + if len(self._object_properties) > 0: + if self._properties.get("PceUpdateXroSubObjectList", None) is not None: + return self._properties.get("PceUpdateXroSubObjectList") + return PceUpdateXroSubObjectList(self) + + @property + def PcepTEPATHBINDINGTLVList(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceptepathbindingtlvlist_12acfda98ab8bf91c183199c30f2f953.PcepTEPATHBINDINGTLVList): An instance of the PcepTEPATHBINDINGTLVList class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceptepathbindingtlvlist_12acfda98ab8bf91c183199c30f2f953 import ( + PcepTEPATHBINDINGTLVList, + ) + + if len(self._object_properties) > 0: + if self._properties.get("PcepTEPATHBINDINGTLVList", None) is not None: + return self._properties.get("PcepTEPATHBINDINGTLVList") + return PcepTEPATHBINDINGTLVList(self) + + @property + def AssociationId(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Association ID + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["AssociationId"])) + + @property + def Bandwidth(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Bandwidth (bps) + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Bandwidth"])) + + @property + def BindingType(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates the type of binding included in the TLV. Types are as follows: 20bit MPLS Label 32bit MPLS Label SRv6 SID Default value is 20bit MPLS Label. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["BindingType"])) + + @property + def Bos(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This bit is set to True for the last entry in the label stack i.e., for the bottom of the stack, and False for all other label stack entries. This control will be editable only if Binding Type is MPLS Label 32bit. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Bos"])) + + @property + def ConfigureAssociation(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Configure Association + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["ConfigureAssociation"]) + ) + + @property + def ConfigureBandwidth(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Configure Bandwidth + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["ConfigureBandwidth"]) + ) + + @property + def ConfigureEro(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Configure ERO + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["ConfigureEro"])) + + @property + def ConfigureLsp(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Configure LSP + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["ConfigureLsp"])) + + @property + def ConfigureLspa(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Configure LSPA + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["ConfigureLspa"])) + + @property + def ConfigureMetric(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Configure Metric + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["ConfigureMetric"]) + ) + + @property + def ExcludeAny(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Exclude Any + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["ExcludeAny"])) + + @property + def HoldingPriority(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Holding Priority + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["HoldingPriority"]) + ) + + @property + def IncludeAll(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Include All + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["IncludeAll"])) + + @property + def IncludeAny(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Include Any + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["IncludeAny"])) + + @property + def IncludeAssociation(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates whether Association object will be included in a PcUpdate message. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["IncludeAssociation"]) + ) + + @property + def IncludeConfiguredERO(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): If this is enabled, entire ERO will be go out in packet even if there is Binding SID, meaning no SR-ERO/SRv6-ERO validation will be done. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["IncludeConfiguredERO"]) + ) + + @property + def IncludeSrp(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates whether SRP object will be included in a PCInitiate message. All other attributes in sub-tab-SRP would be editable only if this checkbox is enabled. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["IncludeSrp"])) + + @property + def IncludeSymbolicPathName(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates if Symbolic-Path-Name TLV is to be included in PCUpate trigger message. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["IncludeSymbolicPathName"]) + ) + + @property + def IncludeTEPathBindingTLV(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates if TE-PATH-BINDING TLV is to be included in PCUpate trigger message. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["IncludeTEPathBindingTLV"]) + ) + + @property + def IncludeXro(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates whether XRO object will be included in a PcUpdate message. All other attributes in sub-tab Update XRO would be editable only if this checkbox is enabled. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["IncludeXro"])) + + @property + def LocalProtection(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Local Protection + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["LocalProtection"]) + ) + + @property + def MplsLabel(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This control will be editable if the Binding Type is set to either 20bit or 32bit MPLS-Label. This field will take the 20bit value of the MPLS-Label + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["MplsLabel"])) + + @property + def NumberOfAssociationObjects(self): + # type: () -> int + """ + Returns + ------- + - number: Value that indicates the number of Association Objects to be configured. + """ + return self._get_attribute(self._SDM_ATT_MAP["NumberOfAssociationObjects"]) + + @NumberOfAssociationObjects.setter + def NumberOfAssociationObjects(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["NumberOfAssociationObjects"], value) + + @property + def NumberOfEroSubObjects(self): + # type: () -> int + """ + Returns + ------- + - number: Value that indicates the number of ERO Sub Objects to be configured. + """ + return self._get_attribute(self._SDM_ATT_MAP["NumberOfEroSubObjects"]) + + @NumberOfEroSubObjects.setter + def NumberOfEroSubObjects(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["NumberOfEroSubObjects"], value) + + @property + def NumberOfMetricSubObjects(self): + # type: () -> int + """ + Returns + ------- + - number: Value that indicates the number of Metric Objects to be configured. + """ + return self._get_attribute(self._SDM_ATT_MAP["NumberOfMetricSubObjects"]) + + @NumberOfMetricSubObjects.setter + def NumberOfMetricSubObjects(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["NumberOfMetricSubObjects"], value) + + @property + def NumberOfTEPathBindingTLV(self): + # type: () -> int + """ + Returns + ------- + - number: Value that indicates the number of TE-PATH-BINDING TLV to be configured. + """ + return self._get_attribute(self._SDM_ATT_MAP["NumberOfTEPathBindingTLV"]) + + @NumberOfTEPathBindingTLV.setter + def NumberOfTEPathBindingTLV(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["NumberOfTEPathBindingTLV"], value) + + @property + def NumberOfXroSubObjects(self): + # type: () -> int + """ + Returns + ------- + - number: Value that indicates the number of XRO Sub Objects to be configured. + """ + return self._get_attribute(self._SDM_ATT_MAP["NumberOfXroSubObjects"]) + + @NumberOfXroSubObjects.setter + def NumberOfXroSubObjects(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["NumberOfXroSubObjects"], value) + + @property + def OverridePLSPID(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Allows the user to Send PcUpdate with an unknown PLSP-ID + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["OverridePLSPID"]) + ) + + @property + def OverrideSrpId(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates whether SRP object will be included in a PCUpdate trigger parameters. All other attributes in sub-tab-SRP would be editable only if this checkbox is enabled. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["OverrideSrpId"])) + + @property + def PceTriggersChoiceList(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Based on options selected, IxNetwork sends information to PCPU and refreshes the statistical data in the corresponding tab of Learned Information + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["PceTriggersChoiceList"]) + ) + + @property + def PlspIdTriggerParam(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The value of PLSP-ID that should be put in the PcUpdate Message + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["PlspIdTriggerParam"]) + ) + + @property + def ProtectionLsp(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Protection LSP + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["ProtectionLsp"])) + + @property + def RemoveAssociation(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Remove Association + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["RemoveAssociation"]) + ) + + @property + def SendEmptyTLV(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): If enabled all fields after Binding Type will be grayed out. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["SendEmptyTLV"])) + + @property + def SetupPriority(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Setup Priority + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["SetupPriority"])) + + @property + def SrpId(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The SRP object is used to correlate between initiation requests sent by the PCE and the error reports and state reports sent by the PCC. This number is unique per PCEP session and is incremented per initiation. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["SrpId"])) + + @property + def Srv6SID(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): SRv6 SID with a format of a 16 byte IPv6 address. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Srv6SID"])) + + @property + def StandbyMode(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Standby Mode + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["StandbyMode"])) + + @property + def Tc(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This field is used to carry traffic class information. This control will be editable only if Binding Type is MPLS Label 32bit. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Tc"])) + + @property + def Ttl(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This field is used to encode a time-to-live value. This control will be editable only if Binding Type is MPLS Label 32bit. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Ttl"])) + + @property + def XroFailBit(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): XRO Fail bit + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["XroFailBit"])) + + def update( + self, + NumberOfAssociationObjects=None, + NumberOfEroSubObjects=None, + NumberOfMetricSubObjects=None, + NumberOfTEPathBindingTLV=None, + NumberOfXroSubObjects=None, + ): + # type: (int, int, int, int, int) -> PceBasicSrv6SyncLspUpdateParams + """Updates pceBasicSrv6SyncLspUpdateParams resource on the server. + + This method has some named parameters with a type: obj (Multivalue). + The Multivalue class has documentation that details the possible values for those named parameters. + + Args + ---- + - NumberOfAssociationObjects (number): Value that indicates the number of Association Objects to be configured. + - NumberOfEroSubObjects (number): Value that indicates the number of ERO Sub Objects to be configured. + - NumberOfMetricSubObjects (number): Value that indicates the number of Metric Objects to be configured. + - NumberOfTEPathBindingTLV (number): Value that indicates the number of TE-PATH-BINDING TLV to be configured. + - NumberOfXroSubObjects (number): Value that indicates the number of XRO Sub Objects to be configured. + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) + + def add( + self, + NumberOfAssociationObjects=None, + NumberOfEroSubObjects=None, + NumberOfMetricSubObjects=None, + NumberOfTEPathBindingTLV=None, + NumberOfXroSubObjects=None, + ): + # type: (int, int, int, int, int) -> PceBasicSrv6SyncLspUpdateParams + """Adds a new pceBasicSrv6SyncLspUpdateParams resource on the json, only valid with batch add utility + + Args + ---- + - NumberOfAssociationObjects (number): Value that indicates the number of Association Objects to be configured. + - NumberOfEroSubObjects (number): Value that indicates the number of ERO Sub Objects to be configured. + - NumberOfMetricSubObjects (number): Value that indicates the number of Metric Objects to be configured. + - NumberOfTEPathBindingTLV (number): Value that indicates the number of TE-PATH-BINDING TLV to be configured. + - NumberOfXroSubObjects (number): Value that indicates the number of XRO Sub Objects to be configured. + + Returns + ------- + - self: This instance with all currently retrieved pceBasicSrv6SyncLspUpdateParams resources using find and the newly added pceBasicSrv6SyncLspUpdateParams resources available through an iterator or index + + Raises + ------ + - Exception: if this function is not being used with config assistance + """ + return self._add_xpath(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find( + self, + NumberOfAssociationObjects=None, + NumberOfEroSubObjects=None, + NumberOfMetricSubObjects=None, + NumberOfTEPathBindingTLV=None, + NumberOfXroSubObjects=None, + ): + # type: (int, int, int, int, int) -> PceBasicSrv6SyncLspUpdateParams + """Finds and retrieves pceBasicSrv6SyncLspUpdateParams resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve pceBasicSrv6SyncLspUpdateParams resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all pceBasicSrv6SyncLspUpdateParams resources from the server. + + Args + ---- + - NumberOfAssociationObjects (number): Value that indicates the number of Association Objects to be configured. + - NumberOfEroSubObjects (number): Value that indicates the number of ERO Sub Objects to be configured. + - NumberOfMetricSubObjects (number): Value that indicates the number of Metric Objects to be configured. + - NumberOfTEPathBindingTLV (number): Value that indicates the number of TE-PATH-BINDING TLV to be configured. + - NumberOfXroSubObjects (number): Value that indicates the number of XRO Sub Objects to be configured. + + Returns + ------- + - self: This instance with matching pceBasicSrv6SyncLspUpdateParams resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of pceBasicSrv6SyncLspUpdateParams data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the pceBasicSrv6SyncLspUpdateParams resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) + + def SendPcUpdate(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the sendPcUpdate operation on the server. + + Counts property changes created by the user. + + sendPcUpdate(Arg2=list, async_operation=bool)list + ------------------------------------------------- + - Arg2 (list(number)): List of indices into the learned information corresponding to trigger data. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("sendPcUpdate", payload=payload, response_object=None) + + def SendReturnDelegation(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the sendReturnDelegation operation on the server. + + Counts property changes created by the user. + + sendReturnDelegation(Arg2=list, async_operation=bool)list + --------------------------------------------------------- + - Arg2 (list(number)): List of indices into the learned information corresponding to trigger data. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute( + "sendReturnDelegation", payload=payload, response_object=None + ) + + def get_device_ids( + self, + PortNames=None, + AssociationId=None, + Bandwidth=None, + BindingType=None, + Bos=None, + ConfigureAssociation=None, + ConfigureBandwidth=None, + ConfigureEro=None, + ConfigureLsp=None, + ConfigureLspa=None, + ConfigureMetric=None, + ExcludeAny=None, + HoldingPriority=None, + IncludeAll=None, + IncludeAny=None, + IncludeAssociation=None, + IncludeConfiguredERO=None, + IncludeSrp=None, + IncludeSymbolicPathName=None, + IncludeTEPathBindingTLV=None, + IncludeXro=None, + LocalProtection=None, + MplsLabel=None, + OverridePLSPID=None, + OverrideSrpId=None, + PceTriggersChoiceList=None, + PlspIdTriggerParam=None, + ProtectionLsp=None, + RemoveAssociation=None, + SendEmptyTLV=None, + SetupPriority=None, + SrpId=None, + Srv6SID=None, + StandbyMode=None, + Tc=None, + Ttl=None, + XroFailBit=None, + ): + """Base class infrastructure that gets a list of pceBasicSrv6SyncLspUpdateParams device ids encapsulated by this object. + + Use the optional regex parameters in the method to refine the list of device ids encapsulated by this object. + + Args + ---- + - PortNames (str): optional regex of port names + - AssociationId (str): optional regex of associationId + - Bandwidth (str): optional regex of bandwidth + - BindingType (str): optional regex of bindingType + - Bos (str): optional regex of bos + - ConfigureAssociation (str): optional regex of configureAssociation + - ConfigureBandwidth (str): optional regex of configureBandwidth + - ConfigureEro (str): optional regex of configureEro + - ConfigureLsp (str): optional regex of configureLsp + - ConfigureLspa (str): optional regex of configureLspa + - ConfigureMetric (str): optional regex of configureMetric + - ExcludeAny (str): optional regex of excludeAny + - HoldingPriority (str): optional regex of holdingPriority + - IncludeAll (str): optional regex of includeAll + - IncludeAny (str): optional regex of includeAny + - IncludeAssociation (str): optional regex of includeAssociation + - IncludeConfiguredERO (str): optional regex of includeConfiguredERO + - IncludeSrp (str): optional regex of includeSrp + - IncludeSymbolicPathName (str): optional regex of includeSymbolicPathName + - IncludeTEPathBindingTLV (str): optional regex of includeTEPathBindingTLV + - IncludeXro (str): optional regex of includeXro + - LocalProtection (str): optional regex of localProtection + - MplsLabel (str): optional regex of mplsLabel + - OverridePLSPID (str): optional regex of overridePLSPID + - OverrideSrpId (str): optional regex of overrideSrpId + - PceTriggersChoiceList (str): optional regex of pceTriggersChoiceList + - PlspIdTriggerParam (str): optional regex of plspIdTriggerParam + - ProtectionLsp (str): optional regex of protectionLsp + - RemoveAssociation (str): optional regex of removeAssociation + - SendEmptyTLV (str): optional regex of sendEmptyTLV + - SetupPriority (str): optional regex of setupPriority + - SrpId (str): optional regex of srpId + - Srv6SID (str): optional regex of srv6SID + - StandbyMode (str): optional regex of standbyMode + - Tc (str): optional regex of tc + - Ttl (str): optional regex of ttl + - XroFailBit (str): optional regex of xroFailBit + + Returns + ------- + - list(int): A list of device ids that meets the regex criteria provided in the method parameters + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._get_ngpf_device_ids(locals()) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcedetailedrsvpsynclspupdateparams_0c9e029a38fba6fae93fa53a8f46b4bb.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcedetailedrsvpsynclspupdateparams_0c9e029a38fba6fae93fa53a8f46b4bb.py new file mode 100644 index 000000000..01494f090 --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcedetailedrsvpsynclspupdateparams_0c9e029a38fba6fae93fa53a8f46b4bb.py @@ -0,0 +1,972 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class PceDetailedRsvpSyncLspUpdateParams(Base): + """PCE Learned LSPs Information Database + The PceDetailedRsvpSyncLspUpdateParams class encapsulates a list of pceDetailedRsvpSyncLspUpdateParams resources that are managed by the system. + A list of resources can be retrieved from the server using the PceDetailedRsvpSyncLspUpdateParams.find() method. + """ + + __slots__ = () + _SDM_NAME = "pceDetailedRsvpSyncLspUpdateParams" + _SDM_ATT_MAP = { + "AssociationId": "associationId", + "Bandwidth": "bandwidth", + "BindingType": "bindingType", + "Bos": "bos", + "ConfigureAssociation": "configureAssociation", + "ConfigureBandwidth": "configureBandwidth", + "ConfigureEro": "configureEro", + "ConfigureLsp": "configureLsp", + "ConfigureLspa": "configureLspa", + "ConfigureMetric": "configureMetric", + "ExcludeAny": "excludeAny", + "HoldingPriority": "holdingPriority", + "IncludeAll": "includeAll", + "IncludeAny": "includeAny", + "IncludeAssociation": "includeAssociation", + "IncludeConfiguredERO": "includeConfiguredERO", + "IncludeSrp": "includeSrp", + "IncludeSymbolicPathName": "includeSymbolicPathName", + "IncludeTEPathBindingTLV": "includeTEPathBindingTLV", + "IncludeXro": "includeXro", + "LocalProtection": "localProtection", + "MplsLabel": "mplsLabel", + "NumberOfAssociationObjects": "numberOfAssociationObjects", + "NumberOfEroSubObjects": "numberOfEroSubObjects", + "NumberOfMetricSubObjects": "numberOfMetricSubObjects", + "NumberOfTEPathBindingTLV": "numberOfTEPathBindingTLV", + "NumberOfXroSubObjects": "numberOfXroSubObjects", + "OverridePLSPID": "overridePLSPID", + "OverrideSrpId": "overrideSrpId", + "PceTriggersChoiceList": "pceTriggersChoiceList", + "PlspIdTriggerParam": "plspIdTriggerParam", + "ProtectionLsp": "protectionLsp", + "RemoveAssociation": "removeAssociation", + "SendEmptyTLV": "sendEmptyTLV", + "SetupPriority": "setupPriority", + "SrpId": "srpId", + "Srv6SID": "srv6SID", + "StandbyMode": "standbyMode", + "Tc": "tc", + "Ttl": "ttl", + "XroFailBit": "xroFailBit", + } + _SDM_ENUM_MAP = {} + + def __init__(self, parent, list_op=False): + super(PceDetailedRsvpSyncLspUpdateParams, self).__init__(parent, list_op) + + @property + def PceUpdateAssociationObjectList(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceupdateassociationobjectlist_067a0a0a0d8b8dbf8239b459127bf201.PceUpdateAssociationObjectList): An instance of the PceUpdateAssociationObjectList class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceupdateassociationobjectlist_067a0a0a0d8b8dbf8239b459127bf201 import ( + PceUpdateAssociationObjectList, + ) + + if len(self._object_properties) > 0: + if self._properties.get("PceUpdateAssociationObjectList", None) is not None: + return self._properties.get("PceUpdateAssociationObjectList") + return PceUpdateAssociationObjectList(self) + + @property + def PceUpdateRsvpEroSubObjectList(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceupdatersvperosubobjectlist_f72a62fe60fa1ddf919cc7fba7858d6e.PceUpdateRsvpEroSubObjectList): An instance of the PceUpdateRsvpEroSubObjectList class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceupdatersvperosubobjectlist_f72a62fe60fa1ddf919cc7fba7858d6e import ( + PceUpdateRsvpEroSubObjectList, + ) + + if len(self._object_properties) > 0: + if self._properties.get("PceUpdateRsvpEroSubObjectList", None) is not None: + return self._properties.get("PceUpdateRsvpEroSubObjectList") + return PceUpdateRsvpEroSubObjectList(self) + + @property + def PceUpdateRsvpMetricSubObjectList(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceupdatersvpmetricsubobjectlist_fd8fa1e77098fa6f4bc87b12a1ed3fcb.PceUpdateRsvpMetricSubObjectList): An instance of the PceUpdateRsvpMetricSubObjectList class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceupdatersvpmetricsubobjectlist_fd8fa1e77098fa6f4bc87b12a1ed3fcb import ( + PceUpdateRsvpMetricSubObjectList, + ) + + if len(self._object_properties) > 0: + if ( + self._properties.get("PceUpdateRsvpMetricSubObjectList", None) + is not None + ): + return self._properties.get("PceUpdateRsvpMetricSubObjectList") + return PceUpdateRsvpMetricSubObjectList(self) + + @property + def PceUpdateXroSubObjectList(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceupdatexrosubobjectlist_3cb16b2513bf72ff7ee4a5e0387625cf.PceUpdateXroSubObjectList): An instance of the PceUpdateXroSubObjectList class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceupdatexrosubobjectlist_3cb16b2513bf72ff7ee4a5e0387625cf import ( + PceUpdateXroSubObjectList, + ) + + if len(self._object_properties) > 0: + if self._properties.get("PceUpdateXroSubObjectList", None) is not None: + return self._properties.get("PceUpdateXroSubObjectList") + return PceUpdateXroSubObjectList(self) + + @property + def PcepTEPATHBINDINGTLVList(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceptepathbindingtlvlist_12acfda98ab8bf91c183199c30f2f953.PcepTEPATHBINDINGTLVList): An instance of the PcepTEPATHBINDINGTLVList class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceptepathbindingtlvlist_12acfda98ab8bf91c183199c30f2f953 import ( + PcepTEPATHBINDINGTLVList, + ) + + if len(self._object_properties) > 0: + if self._properties.get("PcepTEPATHBINDINGTLVList", None) is not None: + return self._properties.get("PcepTEPATHBINDINGTLVList") + return PcepTEPATHBINDINGTLVList(self) + + @property + def AssociationId(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Association ID + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["AssociationId"])) + + @property + def Bandwidth(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Bandwidth (bps) + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Bandwidth"])) + + @property + def BindingType(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates the type of binding included in the TLV. Types are as follows: 20bit MPLS Label 32bit MPLS Label SRv6 SID Default value is 20bit MPLS Label. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["BindingType"])) + + @property + def Bos(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This bit is set to True for the last entry in the label stack i.e., for the bottom of the stack, and False for all other label stack entries. This control will be editable only if Binding Type is MPLS Label 32bit. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Bos"])) + + @property + def ConfigureAssociation(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Configure Association + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["ConfigureAssociation"]) + ) + + @property + def ConfigureBandwidth(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Configure Bandwidth + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["ConfigureBandwidth"]) + ) + + @property + def ConfigureEro(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Configure ERO + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["ConfigureEro"])) + + @property + def ConfigureLsp(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Configure LSP + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["ConfigureLsp"])) + + @property + def ConfigureLspa(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Configure LSPA + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["ConfigureLspa"])) + + @property + def ConfigureMetric(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Configure Metric + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["ConfigureMetric"]) + ) + + @property + def ExcludeAny(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Exclude Any + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["ExcludeAny"])) + + @property + def HoldingPriority(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Holding Priority + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["HoldingPriority"]) + ) + + @property + def IncludeAll(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Include All + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["IncludeAll"])) + + @property + def IncludeAny(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Include Any + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["IncludeAny"])) + + @property + def IncludeAssociation(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates whether Association object will be included in a PcUpdate message. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["IncludeAssociation"]) + ) + + @property + def IncludeConfiguredERO(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): If this is enabled, entire ERO will be go out in packet even if there is Binding SID, meaning no SR-ERO/SRv6-ERO validation will be done. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["IncludeConfiguredERO"]) + ) + + @property + def IncludeSrp(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates whether SRP object will be included in a PCInitiate message. All other attributes in sub-tab-SRP would be editable only if this checkbox is enabled. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["IncludeSrp"])) + + @property + def IncludeSymbolicPathName(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates if Symbolic-Path-Name TLV is to be included in PCUpate trigger message. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["IncludeSymbolicPathName"]) + ) + + @property + def IncludeTEPathBindingTLV(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates if TE-PATH-BINDING TLV is to be included in PCUpate trigger message. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["IncludeTEPathBindingTLV"]) + ) + + @property + def IncludeXro(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates whether XRO object will be included in a PcUpdate message. All other attributes in sub-tab Update XRO would be editable only if this checkbox is enabled. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["IncludeXro"])) + + @property + def LocalProtection(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Local Protection + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["LocalProtection"]) + ) + + @property + def MplsLabel(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This control will be editable if the Binding Type is set to either 20bit or 32bit MPLS-Label. This field will take the 20bit value of the MPLS-Label + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["MplsLabel"])) + + @property + def NumberOfAssociationObjects(self): + # type: () -> int + """ + Returns + ------- + - number: Value that indicates the number of Association Objects to be configured. + """ + return self._get_attribute(self._SDM_ATT_MAP["NumberOfAssociationObjects"]) + + @NumberOfAssociationObjects.setter + def NumberOfAssociationObjects(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["NumberOfAssociationObjects"], value) + + @property + def NumberOfEroSubObjects(self): + # type: () -> int + """ + Returns + ------- + - number: Value that indicates the number of ERO Sub Objects to be configured. + """ + return self._get_attribute(self._SDM_ATT_MAP["NumberOfEroSubObjects"]) + + @NumberOfEroSubObjects.setter + def NumberOfEroSubObjects(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["NumberOfEroSubObjects"], value) + + @property + def NumberOfMetricSubObjects(self): + # type: () -> int + """ + Returns + ------- + - number: Value that indicates the number of Metric Objects to be configured. + """ + return self._get_attribute(self._SDM_ATT_MAP["NumberOfMetricSubObjects"]) + + @NumberOfMetricSubObjects.setter + def NumberOfMetricSubObjects(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["NumberOfMetricSubObjects"], value) + + @property + def NumberOfTEPathBindingTLV(self): + # type: () -> int + """ + Returns + ------- + - number: Value that indicates the number of TE-PATH-BINDING TLV to be configured. + """ + return self._get_attribute(self._SDM_ATT_MAP["NumberOfTEPathBindingTLV"]) + + @NumberOfTEPathBindingTLV.setter + def NumberOfTEPathBindingTLV(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["NumberOfTEPathBindingTLV"], value) + + @property + def NumberOfXroSubObjects(self): + # type: () -> int + """ + Returns + ------- + - number: Value that indicates the number of XRO Sub Objects to be configured. + """ + return self._get_attribute(self._SDM_ATT_MAP["NumberOfXroSubObjects"]) + + @NumberOfXroSubObjects.setter + def NumberOfXroSubObjects(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["NumberOfXroSubObjects"], value) + + @property + def OverridePLSPID(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Allows the user to Send PcUpdate with an unknown PLSP-ID + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["OverridePLSPID"]) + ) + + @property + def OverrideSrpId(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates whether SRP object will be included in a PCUpdate trigger parameters. All other attributes in sub-tab-SRP would be editable only if this checkbox is enabled. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["OverrideSrpId"])) + + @property + def PceTriggersChoiceList(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Based on options selected, IxNetwork sends information to PCPU and refreshes the statistical data in the corresponding tab of Learned Information + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["PceTriggersChoiceList"]) + ) + + @property + def PlspIdTriggerParam(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The value of PLSP-ID that should be put in the PcUpdate Message + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["PlspIdTriggerParam"]) + ) + + @property + def ProtectionLsp(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Protection LSP + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["ProtectionLsp"])) + + @property + def RemoveAssociation(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Remove Association + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["RemoveAssociation"]) + ) + + @property + def SendEmptyTLV(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): If enabled all fields after Binding Type will be grayed out. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["SendEmptyTLV"])) + + @property + def SetupPriority(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Setup Priority + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["SetupPriority"])) + + @property + def SrpId(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The SRP object is used to correlate between initiation requests sent by the PCE and the error reports and state reports sent by the PCC. This number is unique per PCEP session and is incremented per initiation. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["SrpId"])) + + @property + def Srv6SID(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): SRv6 SID with a format of a 16 byte IPv6 address. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Srv6SID"])) + + @property + def StandbyMode(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Standby Mode + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["StandbyMode"])) + + @property + def Tc(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This field is used to carry traffic class information. This control will be editable only if Binding Type is MPLS Label 32bit. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Tc"])) + + @property + def Ttl(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This field is used to encode a time-to-live value. This control will be editable only if Binding Type is MPLS Label 32bit. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Ttl"])) + + @property + def XroFailBit(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): XRO Fail bit + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["XroFailBit"])) + + def update( + self, + NumberOfAssociationObjects=None, + NumberOfEroSubObjects=None, + NumberOfMetricSubObjects=None, + NumberOfTEPathBindingTLV=None, + NumberOfXroSubObjects=None, + ): + # type: (int, int, int, int, int) -> PceDetailedRsvpSyncLspUpdateParams + """Updates pceDetailedRsvpSyncLspUpdateParams resource on the server. + + This method has some named parameters with a type: obj (Multivalue). + The Multivalue class has documentation that details the possible values for those named parameters. + + Args + ---- + - NumberOfAssociationObjects (number): Value that indicates the number of Association Objects to be configured. + - NumberOfEroSubObjects (number): Value that indicates the number of ERO Sub Objects to be configured. + - NumberOfMetricSubObjects (number): Value that indicates the number of Metric Objects to be configured. + - NumberOfTEPathBindingTLV (number): Value that indicates the number of TE-PATH-BINDING TLV to be configured. + - NumberOfXroSubObjects (number): Value that indicates the number of XRO Sub Objects to be configured. + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) + + def add( + self, + NumberOfAssociationObjects=None, + NumberOfEroSubObjects=None, + NumberOfMetricSubObjects=None, + NumberOfTEPathBindingTLV=None, + NumberOfXroSubObjects=None, + ): + # type: (int, int, int, int, int) -> PceDetailedRsvpSyncLspUpdateParams + """Adds a new pceDetailedRsvpSyncLspUpdateParams resource on the json, only valid with batch add utility + + Args + ---- + - NumberOfAssociationObjects (number): Value that indicates the number of Association Objects to be configured. + - NumberOfEroSubObjects (number): Value that indicates the number of ERO Sub Objects to be configured. + - NumberOfMetricSubObjects (number): Value that indicates the number of Metric Objects to be configured. + - NumberOfTEPathBindingTLV (number): Value that indicates the number of TE-PATH-BINDING TLV to be configured. + - NumberOfXroSubObjects (number): Value that indicates the number of XRO Sub Objects to be configured. + + Returns + ------- + - self: This instance with all currently retrieved pceDetailedRsvpSyncLspUpdateParams resources using find and the newly added pceDetailedRsvpSyncLspUpdateParams resources available through an iterator or index + + Raises + ------ + - Exception: if this function is not being used with config assistance + """ + return self._add_xpath(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find( + self, + NumberOfAssociationObjects=None, + NumberOfEroSubObjects=None, + NumberOfMetricSubObjects=None, + NumberOfTEPathBindingTLV=None, + NumberOfXroSubObjects=None, + ): + # type: (int, int, int, int, int) -> PceDetailedRsvpSyncLspUpdateParams + """Finds and retrieves pceDetailedRsvpSyncLspUpdateParams resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve pceDetailedRsvpSyncLspUpdateParams resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all pceDetailedRsvpSyncLspUpdateParams resources from the server. + + Args + ---- + - NumberOfAssociationObjects (number): Value that indicates the number of Association Objects to be configured. + - NumberOfEroSubObjects (number): Value that indicates the number of ERO Sub Objects to be configured. + - NumberOfMetricSubObjects (number): Value that indicates the number of Metric Objects to be configured. + - NumberOfTEPathBindingTLV (number): Value that indicates the number of TE-PATH-BINDING TLV to be configured. + - NumberOfXroSubObjects (number): Value that indicates the number of XRO Sub Objects to be configured. + + Returns + ------- + - self: This instance with matching pceDetailedRsvpSyncLspUpdateParams resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of pceDetailedRsvpSyncLspUpdateParams data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the pceDetailedRsvpSyncLspUpdateParams resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) + + def SendPcUpdate(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the sendPcUpdate operation on the server. + + Counts property changes created by the user. + + sendPcUpdate(Arg2=list, async_operation=bool)list + ------------------------------------------------- + - Arg2 (list(number)): List of indices into the learned information corresponding to trigger data. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("sendPcUpdate", payload=payload, response_object=None) + + def SendReturnDelegation(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the sendReturnDelegation operation on the server. + + Counts property changes created by the user. + + sendReturnDelegation(Arg2=list, async_operation=bool)list + --------------------------------------------------------- + - Arg2 (list(number)): List of indices into the learned information corresponding to trigger data. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute( + "sendReturnDelegation", payload=payload, response_object=None + ) + + def get_device_ids( + self, + PortNames=None, + AssociationId=None, + Bandwidth=None, + BindingType=None, + Bos=None, + ConfigureAssociation=None, + ConfigureBandwidth=None, + ConfigureEro=None, + ConfigureLsp=None, + ConfigureLspa=None, + ConfigureMetric=None, + ExcludeAny=None, + HoldingPriority=None, + IncludeAll=None, + IncludeAny=None, + IncludeAssociation=None, + IncludeConfiguredERO=None, + IncludeSrp=None, + IncludeSymbolicPathName=None, + IncludeTEPathBindingTLV=None, + IncludeXro=None, + LocalProtection=None, + MplsLabel=None, + OverridePLSPID=None, + OverrideSrpId=None, + PceTriggersChoiceList=None, + PlspIdTriggerParam=None, + ProtectionLsp=None, + RemoveAssociation=None, + SendEmptyTLV=None, + SetupPriority=None, + SrpId=None, + Srv6SID=None, + StandbyMode=None, + Tc=None, + Ttl=None, + XroFailBit=None, + ): + """Base class infrastructure that gets a list of pceDetailedRsvpSyncLspUpdateParams device ids encapsulated by this object. + + Use the optional regex parameters in the method to refine the list of device ids encapsulated by this object. + + Args + ---- + - PortNames (str): optional regex of port names + - AssociationId (str): optional regex of associationId + - Bandwidth (str): optional regex of bandwidth + - BindingType (str): optional regex of bindingType + - Bos (str): optional regex of bos + - ConfigureAssociation (str): optional regex of configureAssociation + - ConfigureBandwidth (str): optional regex of configureBandwidth + - ConfigureEro (str): optional regex of configureEro + - ConfigureLsp (str): optional regex of configureLsp + - ConfigureLspa (str): optional regex of configureLspa + - ConfigureMetric (str): optional regex of configureMetric + - ExcludeAny (str): optional regex of excludeAny + - HoldingPriority (str): optional regex of holdingPriority + - IncludeAll (str): optional regex of includeAll + - IncludeAny (str): optional regex of includeAny + - IncludeAssociation (str): optional regex of includeAssociation + - IncludeConfiguredERO (str): optional regex of includeConfiguredERO + - IncludeSrp (str): optional regex of includeSrp + - IncludeSymbolicPathName (str): optional regex of includeSymbolicPathName + - IncludeTEPathBindingTLV (str): optional regex of includeTEPathBindingTLV + - IncludeXro (str): optional regex of includeXro + - LocalProtection (str): optional regex of localProtection + - MplsLabel (str): optional regex of mplsLabel + - OverridePLSPID (str): optional regex of overridePLSPID + - OverrideSrpId (str): optional regex of overrideSrpId + - PceTriggersChoiceList (str): optional regex of pceTriggersChoiceList + - PlspIdTriggerParam (str): optional regex of plspIdTriggerParam + - ProtectionLsp (str): optional regex of protectionLsp + - RemoveAssociation (str): optional regex of removeAssociation + - SendEmptyTLV (str): optional regex of sendEmptyTLV + - SetupPriority (str): optional regex of setupPriority + - SrpId (str): optional regex of srpId + - Srv6SID (str): optional regex of srv6SID + - StandbyMode (str): optional regex of standbyMode + - Tc (str): optional regex of tc + - Ttl (str): optional regex of ttl + - XroFailBit (str): optional regex of xroFailBit + + Returns + ------- + - list(int): A list of device ids that meets the regex criteria provided in the method parameters + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._get_ngpf_device_ids(locals()) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcedetailedsrsynclspupdateparams_951cdbe14befd4ee3c5048628bfc6d65.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcedetailedsrsynclspupdateparams_951cdbe14befd4ee3c5048628bfc6d65.py new file mode 100644 index 000000000..bffa366eb --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcedetailedsrsynclspupdateparams_951cdbe14befd4ee3c5048628bfc6d65.py @@ -0,0 +1,969 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class PceDetailedSrSyncLspUpdateParams(Base): + """PCE Learned LSPs Information Database + The PceDetailedSrSyncLspUpdateParams class encapsulates a list of pceDetailedSrSyncLspUpdateParams resources that are managed by the system. + A list of resources can be retrieved from the server using the PceDetailedSrSyncLspUpdateParams.find() method. + """ + + __slots__ = () + _SDM_NAME = "pceDetailedSrSyncLspUpdateParams" + _SDM_ATT_MAP = { + "AssociationId": "associationId", + "Bandwidth": "bandwidth", + "BindingType": "bindingType", + "Bos": "bos", + "ConfigureAssociation": "configureAssociation", + "ConfigureBandwidth": "configureBandwidth", + "ConfigureEro": "configureEro", + "ConfigureLsp": "configureLsp", + "ConfigureLspa": "configureLspa", + "ConfigureMetric": "configureMetric", + "ExcludeAny": "excludeAny", + "HoldingPriority": "holdingPriority", + "IncludeAll": "includeAll", + "IncludeAny": "includeAny", + "IncludeAssociation": "includeAssociation", + "IncludeConfiguredERO": "includeConfiguredERO", + "IncludeSrp": "includeSrp", + "IncludeSymbolicPathName": "includeSymbolicPathName", + "IncludeTEPathBindingTLV": "includeTEPathBindingTLV", + "IncludeXro": "includeXro", + "LocalProtection": "localProtection", + "MplsLabel": "mplsLabel", + "NumberOfAssociationObjects": "numberOfAssociationObjects", + "NumberOfEroSubObjects": "numberOfEroSubObjects", + "NumberOfMetricSubObjects": "numberOfMetricSubObjects", + "NumberOfTEPathBindingTLV": "numberOfTEPathBindingTLV", + "NumberOfXroSubObjects": "numberOfXroSubObjects", + "OverridePLSPID": "overridePLSPID", + "OverrideSrpId": "overrideSrpId", + "PceTriggersChoiceList": "pceTriggersChoiceList", + "PlspIdTriggerParam": "plspIdTriggerParam", + "ProtectionLsp": "protectionLsp", + "RemoveAssociation": "removeAssociation", + "SendEmptyTLV": "sendEmptyTLV", + "SetupPriority": "setupPriority", + "SrpId": "srpId", + "Srv6SID": "srv6SID", + "StandbyMode": "standbyMode", + "Tc": "tc", + "Ttl": "ttl", + "XroFailBit": "xroFailBit", + } + _SDM_ENUM_MAP = {} + + def __init__(self, parent, list_op=False): + super(PceDetailedSrSyncLspUpdateParams, self).__init__(parent, list_op) + + @property + def PceUpdateAssociationObjectList(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceupdateassociationobjectlist_067a0a0a0d8b8dbf8239b459127bf201.PceUpdateAssociationObjectList): An instance of the PceUpdateAssociationObjectList class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceupdateassociationobjectlist_067a0a0a0d8b8dbf8239b459127bf201 import ( + PceUpdateAssociationObjectList, + ) + + if len(self._object_properties) > 0: + if self._properties.get("PceUpdateAssociationObjectList", None) is not None: + return self._properties.get("PceUpdateAssociationObjectList") + return PceUpdateAssociationObjectList(self) + + @property + def PceUpdateSrEroSubObjectList(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceupdatesrerosubobjectlist_d9e41e4990a041fcca2fc6fd076cf303.PceUpdateSrEroSubObjectList): An instance of the PceUpdateSrEroSubObjectList class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceupdatesrerosubobjectlist_d9e41e4990a041fcca2fc6fd076cf303 import ( + PceUpdateSrEroSubObjectList, + ) + + if len(self._object_properties) > 0: + if self._properties.get("PceUpdateSrEroSubObjectList", None) is not None: + return self._properties.get("PceUpdateSrEroSubObjectList") + return PceUpdateSrEroSubObjectList(self) + + @property + def PceUpdateSrMetricSubObjectList(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceupdatesrmetricsubobjectlist_161f8505e21b0db145157226f5332ddd.PceUpdateSrMetricSubObjectList): An instance of the PceUpdateSrMetricSubObjectList class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceupdatesrmetricsubobjectlist_161f8505e21b0db145157226f5332ddd import ( + PceUpdateSrMetricSubObjectList, + ) + + if len(self._object_properties) > 0: + if self._properties.get("PceUpdateSrMetricSubObjectList", None) is not None: + return self._properties.get("PceUpdateSrMetricSubObjectList") + return PceUpdateSrMetricSubObjectList(self) + + @property + def PceUpdateXroSubObjectList(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceupdatexrosubobjectlist_3cb16b2513bf72ff7ee4a5e0387625cf.PceUpdateXroSubObjectList): An instance of the PceUpdateXroSubObjectList class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceupdatexrosubobjectlist_3cb16b2513bf72ff7ee4a5e0387625cf import ( + PceUpdateXroSubObjectList, + ) + + if len(self._object_properties) > 0: + if self._properties.get("PceUpdateXroSubObjectList", None) is not None: + return self._properties.get("PceUpdateXroSubObjectList") + return PceUpdateXroSubObjectList(self) + + @property + def PcepTEPATHBINDINGTLVList(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceptepathbindingtlvlist_12acfda98ab8bf91c183199c30f2f953.PcepTEPATHBINDINGTLVList): An instance of the PcepTEPATHBINDINGTLVList class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceptepathbindingtlvlist_12acfda98ab8bf91c183199c30f2f953 import ( + PcepTEPATHBINDINGTLVList, + ) + + if len(self._object_properties) > 0: + if self._properties.get("PcepTEPATHBINDINGTLVList", None) is not None: + return self._properties.get("PcepTEPATHBINDINGTLVList") + return PcepTEPATHBINDINGTLVList(self) + + @property + def AssociationId(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Association ID + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["AssociationId"])) + + @property + def Bandwidth(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Bandwidth (bps) + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Bandwidth"])) + + @property + def BindingType(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates the type of binding included in the TLV. Types are as follows: 20bit MPLS Label 32bit MPLS Label SRv6 SID Default value is 20bit MPLS Label. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["BindingType"])) + + @property + def Bos(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This bit is set to True for the last entry in the label stack i.e., for the bottom of the stack, and False for all other label stack entries. This control will be editable only if Binding Type is MPLS Label 32bit. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Bos"])) + + @property + def ConfigureAssociation(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Configure Association + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["ConfigureAssociation"]) + ) + + @property + def ConfigureBandwidth(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Configure Bandwidth + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["ConfigureBandwidth"]) + ) + + @property + def ConfigureEro(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Configure ERO + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["ConfigureEro"])) + + @property + def ConfigureLsp(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Configure LSP + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["ConfigureLsp"])) + + @property + def ConfigureLspa(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Configure LSPA + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["ConfigureLspa"])) + + @property + def ConfigureMetric(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Configure Metric + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["ConfigureMetric"]) + ) + + @property + def ExcludeAny(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Exclude Any + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["ExcludeAny"])) + + @property + def HoldingPriority(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Holding Priority + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["HoldingPriority"]) + ) + + @property + def IncludeAll(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Include All + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["IncludeAll"])) + + @property + def IncludeAny(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Include Any + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["IncludeAny"])) + + @property + def IncludeAssociation(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates whether Association object will be included in a PcUpdate message. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["IncludeAssociation"]) + ) + + @property + def IncludeConfiguredERO(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): If this is enabled, entire ERO will be go out in packet even if there is Binding SID, meaning no SR-ERO/SRv6-ERO validation will be done. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["IncludeConfiguredERO"]) + ) + + @property + def IncludeSrp(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates whether SRP object will be included in a PCInitiate message. All other attributes in sub-tab-SRP would be editable only if this checkbox is enabled. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["IncludeSrp"])) + + @property + def IncludeSymbolicPathName(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates if Symbolic-Path-Name TLV is to be included in PCUpate trigger message. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["IncludeSymbolicPathName"]) + ) + + @property + def IncludeTEPathBindingTLV(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates if TE-PATH-BINDING TLV is to be included in PCUpate trigger message. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["IncludeTEPathBindingTLV"]) + ) + + @property + def IncludeXro(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates whether XRO object will be included in a PcUpdate message. All other attributes in sub-tab Update XRO would be editable only if this checkbox is enabled. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["IncludeXro"])) + + @property + def LocalProtection(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Local Protection + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["LocalProtection"]) + ) + + @property + def MplsLabel(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This control will be editable if the Binding Type is set to either 20bit or 32bit MPLS-Label. This field will take the 20bit value of the MPLS-Label + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["MplsLabel"])) + + @property + def NumberOfAssociationObjects(self): + # type: () -> int + """ + Returns + ------- + - number: Value that indicates the number of Association Objects to be configured. + """ + return self._get_attribute(self._SDM_ATT_MAP["NumberOfAssociationObjects"]) + + @NumberOfAssociationObjects.setter + def NumberOfAssociationObjects(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["NumberOfAssociationObjects"], value) + + @property + def NumberOfEroSubObjects(self): + # type: () -> int + """ + Returns + ------- + - number: Value that indicates the number of ERO Sub Objects to be configured. + """ + return self._get_attribute(self._SDM_ATT_MAP["NumberOfEroSubObjects"]) + + @NumberOfEroSubObjects.setter + def NumberOfEroSubObjects(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["NumberOfEroSubObjects"], value) + + @property + def NumberOfMetricSubObjects(self): + # type: () -> int + """ + Returns + ------- + - number: Value that indicates the number of Metric Objects to be configured. + """ + return self._get_attribute(self._SDM_ATT_MAP["NumberOfMetricSubObjects"]) + + @NumberOfMetricSubObjects.setter + def NumberOfMetricSubObjects(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["NumberOfMetricSubObjects"], value) + + @property + def NumberOfTEPathBindingTLV(self): + # type: () -> int + """ + Returns + ------- + - number: Value that indicates the number of TE-PATH-BINDING TLV to be configured. + """ + return self._get_attribute(self._SDM_ATT_MAP["NumberOfTEPathBindingTLV"]) + + @NumberOfTEPathBindingTLV.setter + def NumberOfTEPathBindingTLV(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["NumberOfTEPathBindingTLV"], value) + + @property + def NumberOfXroSubObjects(self): + # type: () -> int + """ + Returns + ------- + - number: Value that indicates the number of XRO Sub Objects to be configured. + """ + return self._get_attribute(self._SDM_ATT_MAP["NumberOfXroSubObjects"]) + + @NumberOfXroSubObjects.setter + def NumberOfXroSubObjects(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["NumberOfXroSubObjects"], value) + + @property + def OverridePLSPID(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Allows the user to Send PcUpdate with an unknown PLSP-ID + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["OverridePLSPID"]) + ) + + @property + def OverrideSrpId(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates whether SRP object will be included in a PCUpdate trigger parameters. All other attributes in sub-tab-SRP would be editable only if this checkbox is enabled. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["OverrideSrpId"])) + + @property + def PceTriggersChoiceList(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Based on options selected, IxNetwork sends information to PCPU and refreshes the statistical data in the corresponding tab of Learned Information + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["PceTriggersChoiceList"]) + ) + + @property + def PlspIdTriggerParam(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The value of PLSP-ID that should be put in the PcUpdate Message + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["PlspIdTriggerParam"]) + ) + + @property + def ProtectionLsp(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Protection LSP + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["ProtectionLsp"])) + + @property + def RemoveAssociation(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Remove Association + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["RemoveAssociation"]) + ) + + @property + def SendEmptyTLV(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): If enabled all fields after Binding Type will be grayed out. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["SendEmptyTLV"])) + + @property + def SetupPriority(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Setup Priority + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["SetupPriority"])) + + @property + def SrpId(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The SRP object is used to correlate between initiation requests sent by the PCE and the error reports and state reports sent by the PCC. This number is unique per PCEP session and is incremented per initiation. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["SrpId"])) + + @property + def Srv6SID(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): SRv6 SID with a format of a 16 byte IPv6 address. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Srv6SID"])) + + @property + def StandbyMode(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Standby Mode + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["StandbyMode"])) + + @property + def Tc(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This field is used to carry traffic class information. This control will be editable only if Binding Type is MPLS Label 32bit. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Tc"])) + + @property + def Ttl(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This field is used to encode a time-to-live value. This control will be editable only if Binding Type is MPLS Label 32bit. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Ttl"])) + + @property + def XroFailBit(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): XRO Fail bit + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["XroFailBit"])) + + def update( + self, + NumberOfAssociationObjects=None, + NumberOfEroSubObjects=None, + NumberOfMetricSubObjects=None, + NumberOfTEPathBindingTLV=None, + NumberOfXroSubObjects=None, + ): + # type: (int, int, int, int, int) -> PceDetailedSrSyncLspUpdateParams + """Updates pceDetailedSrSyncLspUpdateParams resource on the server. + + This method has some named parameters with a type: obj (Multivalue). + The Multivalue class has documentation that details the possible values for those named parameters. + + Args + ---- + - NumberOfAssociationObjects (number): Value that indicates the number of Association Objects to be configured. + - NumberOfEroSubObjects (number): Value that indicates the number of ERO Sub Objects to be configured. + - NumberOfMetricSubObjects (number): Value that indicates the number of Metric Objects to be configured. + - NumberOfTEPathBindingTLV (number): Value that indicates the number of TE-PATH-BINDING TLV to be configured. + - NumberOfXroSubObjects (number): Value that indicates the number of XRO Sub Objects to be configured. + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) + + def add( + self, + NumberOfAssociationObjects=None, + NumberOfEroSubObjects=None, + NumberOfMetricSubObjects=None, + NumberOfTEPathBindingTLV=None, + NumberOfXroSubObjects=None, + ): + # type: (int, int, int, int, int) -> PceDetailedSrSyncLspUpdateParams + """Adds a new pceDetailedSrSyncLspUpdateParams resource on the json, only valid with batch add utility + + Args + ---- + - NumberOfAssociationObjects (number): Value that indicates the number of Association Objects to be configured. + - NumberOfEroSubObjects (number): Value that indicates the number of ERO Sub Objects to be configured. + - NumberOfMetricSubObjects (number): Value that indicates the number of Metric Objects to be configured. + - NumberOfTEPathBindingTLV (number): Value that indicates the number of TE-PATH-BINDING TLV to be configured. + - NumberOfXroSubObjects (number): Value that indicates the number of XRO Sub Objects to be configured. + + Returns + ------- + - self: This instance with all currently retrieved pceDetailedSrSyncLspUpdateParams resources using find and the newly added pceDetailedSrSyncLspUpdateParams resources available through an iterator or index + + Raises + ------ + - Exception: if this function is not being used with config assistance + """ + return self._add_xpath(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find( + self, + NumberOfAssociationObjects=None, + NumberOfEroSubObjects=None, + NumberOfMetricSubObjects=None, + NumberOfTEPathBindingTLV=None, + NumberOfXroSubObjects=None, + ): + # type: (int, int, int, int, int) -> PceDetailedSrSyncLspUpdateParams + """Finds and retrieves pceDetailedSrSyncLspUpdateParams resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve pceDetailedSrSyncLspUpdateParams resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all pceDetailedSrSyncLspUpdateParams resources from the server. + + Args + ---- + - NumberOfAssociationObjects (number): Value that indicates the number of Association Objects to be configured. + - NumberOfEroSubObjects (number): Value that indicates the number of ERO Sub Objects to be configured. + - NumberOfMetricSubObjects (number): Value that indicates the number of Metric Objects to be configured. + - NumberOfTEPathBindingTLV (number): Value that indicates the number of TE-PATH-BINDING TLV to be configured. + - NumberOfXroSubObjects (number): Value that indicates the number of XRO Sub Objects to be configured. + + Returns + ------- + - self: This instance with matching pceDetailedSrSyncLspUpdateParams resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of pceDetailedSrSyncLspUpdateParams data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the pceDetailedSrSyncLspUpdateParams resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) + + def SendPcUpdate(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the sendPcUpdate operation on the server. + + Counts property changes created by the user. + + sendPcUpdate(Arg2=list, async_operation=bool)list + ------------------------------------------------- + - Arg2 (list(number)): List of indices into the learned information corresponding to trigger data. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("sendPcUpdate", payload=payload, response_object=None) + + def SendReturnDelegation(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the sendReturnDelegation operation on the server. + + Counts property changes created by the user. + + sendReturnDelegation(Arg2=list, async_operation=bool)list + --------------------------------------------------------- + - Arg2 (list(number)): List of indices into the learned information corresponding to trigger data. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute( + "sendReturnDelegation", payload=payload, response_object=None + ) + + def get_device_ids( + self, + PortNames=None, + AssociationId=None, + Bandwidth=None, + BindingType=None, + Bos=None, + ConfigureAssociation=None, + ConfigureBandwidth=None, + ConfigureEro=None, + ConfigureLsp=None, + ConfigureLspa=None, + ConfigureMetric=None, + ExcludeAny=None, + HoldingPriority=None, + IncludeAll=None, + IncludeAny=None, + IncludeAssociation=None, + IncludeConfiguredERO=None, + IncludeSrp=None, + IncludeSymbolicPathName=None, + IncludeTEPathBindingTLV=None, + IncludeXro=None, + LocalProtection=None, + MplsLabel=None, + OverridePLSPID=None, + OverrideSrpId=None, + PceTriggersChoiceList=None, + PlspIdTriggerParam=None, + ProtectionLsp=None, + RemoveAssociation=None, + SendEmptyTLV=None, + SetupPriority=None, + SrpId=None, + Srv6SID=None, + StandbyMode=None, + Tc=None, + Ttl=None, + XroFailBit=None, + ): + """Base class infrastructure that gets a list of pceDetailedSrSyncLspUpdateParams device ids encapsulated by this object. + + Use the optional regex parameters in the method to refine the list of device ids encapsulated by this object. + + Args + ---- + - PortNames (str): optional regex of port names + - AssociationId (str): optional regex of associationId + - Bandwidth (str): optional regex of bandwidth + - BindingType (str): optional regex of bindingType + - Bos (str): optional regex of bos + - ConfigureAssociation (str): optional regex of configureAssociation + - ConfigureBandwidth (str): optional regex of configureBandwidth + - ConfigureEro (str): optional regex of configureEro + - ConfigureLsp (str): optional regex of configureLsp + - ConfigureLspa (str): optional regex of configureLspa + - ConfigureMetric (str): optional regex of configureMetric + - ExcludeAny (str): optional regex of excludeAny + - HoldingPriority (str): optional regex of holdingPriority + - IncludeAll (str): optional regex of includeAll + - IncludeAny (str): optional regex of includeAny + - IncludeAssociation (str): optional regex of includeAssociation + - IncludeConfiguredERO (str): optional regex of includeConfiguredERO + - IncludeSrp (str): optional regex of includeSrp + - IncludeSymbolicPathName (str): optional regex of includeSymbolicPathName + - IncludeTEPathBindingTLV (str): optional regex of includeTEPathBindingTLV + - IncludeXro (str): optional regex of includeXro + - LocalProtection (str): optional regex of localProtection + - MplsLabel (str): optional regex of mplsLabel + - OverridePLSPID (str): optional regex of overridePLSPID + - OverrideSrpId (str): optional regex of overrideSrpId + - PceTriggersChoiceList (str): optional regex of pceTriggersChoiceList + - PlspIdTriggerParam (str): optional regex of plspIdTriggerParam + - ProtectionLsp (str): optional regex of protectionLsp + - RemoveAssociation (str): optional regex of removeAssociation + - SendEmptyTLV (str): optional regex of sendEmptyTLV + - SetupPriority (str): optional regex of setupPriority + - SrpId (str): optional regex of srpId + - Srv6SID (str): optional regex of srv6SID + - StandbyMode (str): optional regex of standbyMode + - Tc (str): optional regex of tc + - Ttl (str): optional regex of ttl + - XroFailBit (str): optional regex of xroFailBit + + Returns + ------- + - list(int): A list of device ids that meets the regex criteria provided in the method parameters + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._get_ngpf_device_ids(locals()) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcedetailedsrv6synclspupdateparams_914bb4f12b1f9c2014caf436b5fa2d28.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcedetailedsrv6synclspupdateparams_914bb4f12b1f9c2014caf436b5fa2d28.py new file mode 100644 index 000000000..117f64775 --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcedetailedsrv6synclspupdateparams_914bb4f12b1f9c2014caf436b5fa2d28.py @@ -0,0 +1,972 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class PceDetailedSrv6SyncLspUpdateParams(Base): + """PCE Learned LSPs Information Database + The PceDetailedSrv6SyncLspUpdateParams class encapsulates a list of pceDetailedSrv6SyncLspUpdateParams resources that are managed by the system. + A list of resources can be retrieved from the server using the PceDetailedSrv6SyncLspUpdateParams.find() method. + """ + + __slots__ = () + _SDM_NAME = "pceDetailedSrv6SyncLspUpdateParams" + _SDM_ATT_MAP = { + "AssociationId": "associationId", + "Bandwidth": "bandwidth", + "BindingType": "bindingType", + "Bos": "bos", + "ConfigureAssociation": "configureAssociation", + "ConfigureBandwidth": "configureBandwidth", + "ConfigureEro": "configureEro", + "ConfigureLsp": "configureLsp", + "ConfigureLspa": "configureLspa", + "ConfigureMetric": "configureMetric", + "ExcludeAny": "excludeAny", + "HoldingPriority": "holdingPriority", + "IncludeAll": "includeAll", + "IncludeAny": "includeAny", + "IncludeAssociation": "includeAssociation", + "IncludeConfiguredERO": "includeConfiguredERO", + "IncludeSrp": "includeSrp", + "IncludeSymbolicPathName": "includeSymbolicPathName", + "IncludeTEPathBindingTLV": "includeTEPathBindingTLV", + "IncludeXro": "includeXro", + "LocalProtection": "localProtection", + "MplsLabel": "mplsLabel", + "NumberOfAssociationObjects": "numberOfAssociationObjects", + "NumberOfEroSubObjects": "numberOfEroSubObjects", + "NumberOfMetricSubObjects": "numberOfMetricSubObjects", + "NumberOfTEPathBindingTLV": "numberOfTEPathBindingTLV", + "NumberOfXroSubObjects": "numberOfXroSubObjects", + "OverridePLSPID": "overridePLSPID", + "OverrideSrpId": "overrideSrpId", + "PceTriggersChoiceList": "pceTriggersChoiceList", + "PlspIdTriggerParam": "plspIdTriggerParam", + "ProtectionLsp": "protectionLsp", + "RemoveAssociation": "removeAssociation", + "SendEmptyTLV": "sendEmptyTLV", + "SetupPriority": "setupPriority", + "SrpId": "srpId", + "Srv6SID": "srv6SID", + "StandbyMode": "standbyMode", + "Tc": "tc", + "Ttl": "ttl", + "XroFailBit": "xroFailBit", + } + _SDM_ENUM_MAP = {} + + def __init__(self, parent, list_op=False): + super(PceDetailedSrv6SyncLspUpdateParams, self).__init__(parent, list_op) + + @property + def PceUpdateAssociationObjectList(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceupdateassociationobjectlist_067a0a0a0d8b8dbf8239b459127bf201.PceUpdateAssociationObjectList): An instance of the PceUpdateAssociationObjectList class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceupdateassociationobjectlist_067a0a0a0d8b8dbf8239b459127bf201 import ( + PceUpdateAssociationObjectList, + ) + + if len(self._object_properties) > 0: + if self._properties.get("PceUpdateAssociationObjectList", None) is not None: + return self._properties.get("PceUpdateAssociationObjectList") + return PceUpdateAssociationObjectList(self) + + @property + def PceUpdateSrv6EroSubObjectList(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceupdatesrv6erosubobjectlist_bbcc97d115dea1f934b86dd3b1d0e7e2.PceUpdateSrv6EroSubObjectList): An instance of the PceUpdateSrv6EroSubObjectList class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceupdatesrv6erosubobjectlist_bbcc97d115dea1f934b86dd3b1d0e7e2 import ( + PceUpdateSrv6EroSubObjectList, + ) + + if len(self._object_properties) > 0: + if self._properties.get("PceUpdateSrv6EroSubObjectList", None) is not None: + return self._properties.get("PceUpdateSrv6EroSubObjectList") + return PceUpdateSrv6EroSubObjectList(self) + + @property + def PceUpdateSrv6MetricSubObjectList(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceupdatesrv6metricsubobjectlist_39e8f2176cc00efc53dbcdedfed0385e.PceUpdateSrv6MetricSubObjectList): An instance of the PceUpdateSrv6MetricSubObjectList class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceupdatesrv6metricsubobjectlist_39e8f2176cc00efc53dbcdedfed0385e import ( + PceUpdateSrv6MetricSubObjectList, + ) + + if len(self._object_properties) > 0: + if ( + self._properties.get("PceUpdateSrv6MetricSubObjectList", None) + is not None + ): + return self._properties.get("PceUpdateSrv6MetricSubObjectList") + return PceUpdateSrv6MetricSubObjectList(self) + + @property + def PceUpdateXroSubObjectList(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceupdatexrosubobjectlist_3cb16b2513bf72ff7ee4a5e0387625cf.PceUpdateXroSubObjectList): An instance of the PceUpdateXroSubObjectList class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceupdatexrosubobjectlist_3cb16b2513bf72ff7ee4a5e0387625cf import ( + PceUpdateXroSubObjectList, + ) + + if len(self._object_properties) > 0: + if self._properties.get("PceUpdateXroSubObjectList", None) is not None: + return self._properties.get("PceUpdateXroSubObjectList") + return PceUpdateXroSubObjectList(self) + + @property + def PcepTEPATHBINDINGTLVList(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceptepathbindingtlvlist_12acfda98ab8bf91c183199c30f2f953.PcepTEPATHBINDINGTLVList): An instance of the PcepTEPATHBINDINGTLVList class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.pceptepathbindingtlvlist_12acfda98ab8bf91c183199c30f2f953 import ( + PcepTEPATHBINDINGTLVList, + ) + + if len(self._object_properties) > 0: + if self._properties.get("PcepTEPATHBINDINGTLVList", None) is not None: + return self._properties.get("PcepTEPATHBINDINGTLVList") + return PcepTEPATHBINDINGTLVList(self) + + @property + def AssociationId(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Association ID + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["AssociationId"])) + + @property + def Bandwidth(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Bandwidth (bps) + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Bandwidth"])) + + @property + def BindingType(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates the type of binding included in the TLV. Types are as follows: 20bit MPLS Label 32bit MPLS Label SRv6 SID Default value is 20bit MPLS Label. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["BindingType"])) + + @property + def Bos(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This bit is set to True for the last entry in the label stack i.e., for the bottom of the stack, and False for all other label stack entries. This control will be editable only if Binding Type is MPLS Label 32bit. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Bos"])) + + @property + def ConfigureAssociation(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Configure Association + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["ConfigureAssociation"]) + ) + + @property + def ConfigureBandwidth(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Configure Bandwidth + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["ConfigureBandwidth"]) + ) + + @property + def ConfigureEro(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Configure ERO + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["ConfigureEro"])) + + @property + def ConfigureLsp(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Configure LSP + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["ConfigureLsp"])) + + @property + def ConfigureLspa(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Configure LSPA + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["ConfigureLspa"])) + + @property + def ConfigureMetric(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Configure Metric + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["ConfigureMetric"]) + ) + + @property + def ExcludeAny(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Exclude Any + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["ExcludeAny"])) + + @property + def HoldingPriority(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Holding Priority + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["HoldingPriority"]) + ) + + @property + def IncludeAll(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Include All + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["IncludeAll"])) + + @property + def IncludeAny(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Include Any + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["IncludeAny"])) + + @property + def IncludeAssociation(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates whether Association object will be included in a PcUpdate message. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["IncludeAssociation"]) + ) + + @property + def IncludeConfiguredERO(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): If this is enabled, entire ERO will be go out in packet even if there is Binding SID, meaning no SR-ERO/SRv6-ERO validation will be done. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["IncludeConfiguredERO"]) + ) + + @property + def IncludeSrp(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates whether SRP object will be included in a PCInitiate message. All other attributes in sub-tab-SRP would be editable only if this checkbox is enabled. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["IncludeSrp"])) + + @property + def IncludeSymbolicPathName(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates if Symbolic-Path-Name TLV is to be included in PCUpate trigger message. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["IncludeSymbolicPathName"]) + ) + + @property + def IncludeTEPathBindingTLV(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates if TE-PATH-BINDING TLV is to be included in PCUpate trigger message. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["IncludeTEPathBindingTLV"]) + ) + + @property + def IncludeXro(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates whether XRO object will be included in a PcUpdate message. All other attributes in sub-tab Update XRO would be editable only if this checkbox is enabled. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["IncludeXro"])) + + @property + def LocalProtection(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Local Protection + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["LocalProtection"]) + ) + + @property + def MplsLabel(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This control will be editable if the Binding Type is set to either 20bit or 32bit MPLS-Label. This field will take the 20bit value of the MPLS-Label + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["MplsLabel"])) + + @property + def NumberOfAssociationObjects(self): + # type: () -> int + """ + Returns + ------- + - number: Value that indicates the number of Association Objects to be configured. + """ + return self._get_attribute(self._SDM_ATT_MAP["NumberOfAssociationObjects"]) + + @NumberOfAssociationObjects.setter + def NumberOfAssociationObjects(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["NumberOfAssociationObjects"], value) + + @property + def NumberOfEroSubObjects(self): + # type: () -> int + """ + Returns + ------- + - number: Value that indicates the number of ERO Sub Objects to be configured. + """ + return self._get_attribute(self._SDM_ATT_MAP["NumberOfEroSubObjects"]) + + @NumberOfEroSubObjects.setter + def NumberOfEroSubObjects(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["NumberOfEroSubObjects"], value) + + @property + def NumberOfMetricSubObjects(self): + # type: () -> int + """ + Returns + ------- + - number: Value that indicates the number of Metric Objects to be configured. + """ + return self._get_attribute(self._SDM_ATT_MAP["NumberOfMetricSubObjects"]) + + @NumberOfMetricSubObjects.setter + def NumberOfMetricSubObjects(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["NumberOfMetricSubObjects"], value) + + @property + def NumberOfTEPathBindingTLV(self): + # type: () -> int + """ + Returns + ------- + - number: Value that indicates the number of TE-PATH-BINDING TLV to be configured. + """ + return self._get_attribute(self._SDM_ATT_MAP["NumberOfTEPathBindingTLV"]) + + @NumberOfTEPathBindingTLV.setter + def NumberOfTEPathBindingTLV(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["NumberOfTEPathBindingTLV"], value) + + @property + def NumberOfXroSubObjects(self): + # type: () -> int + """ + Returns + ------- + - number: Value that indicates the number of XRO Sub Objects to be configured. + """ + return self._get_attribute(self._SDM_ATT_MAP["NumberOfXroSubObjects"]) + + @NumberOfXroSubObjects.setter + def NumberOfXroSubObjects(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["NumberOfXroSubObjects"], value) + + @property + def OverridePLSPID(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Allows the user to Send PcUpdate with an unknown PLSP-ID + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["OverridePLSPID"]) + ) + + @property + def OverrideSrpId(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates whether SRP object will be included in a PCUpdate trigger parameters. All other attributes in sub-tab-SRP would be editable only if this checkbox is enabled. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["OverrideSrpId"])) + + @property + def PceTriggersChoiceList(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Based on options selected, IxNetwork sends information to PCPU and refreshes the statistical data in the corresponding tab of Learned Information + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["PceTriggersChoiceList"]) + ) + + @property + def PlspIdTriggerParam(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The value of PLSP-ID that should be put in the PcUpdate Message + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["PlspIdTriggerParam"]) + ) + + @property + def ProtectionLsp(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Protection LSP + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["ProtectionLsp"])) + + @property + def RemoveAssociation(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Remove Association + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["RemoveAssociation"]) + ) + + @property + def SendEmptyTLV(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): If enabled all fields after Binding Type will be grayed out. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["SendEmptyTLV"])) + + @property + def SetupPriority(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Setup Priority + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["SetupPriority"])) + + @property + def SrpId(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The SRP object is used to correlate between initiation requests sent by the PCE and the error reports and state reports sent by the PCC. This number is unique per PCEP session and is incremented per initiation. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["SrpId"])) + + @property + def Srv6SID(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): SRv6 SID with a format of a 16 byte IPv6 address. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Srv6SID"])) + + @property + def StandbyMode(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Standby Mode + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["StandbyMode"])) + + @property + def Tc(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This field is used to carry traffic class information. This control will be editable only if Binding Type is MPLS Label 32bit. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Tc"])) + + @property + def Ttl(self): + # type: () -> 'Multivalue' + """DEPRECATED + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This field is used to encode a time-to-live value. This control will be editable only if Binding Type is MPLS Label 32bit. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Ttl"])) + + @property + def XroFailBit(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): XRO Fail bit + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["XroFailBit"])) + + def update( + self, + NumberOfAssociationObjects=None, + NumberOfEroSubObjects=None, + NumberOfMetricSubObjects=None, + NumberOfTEPathBindingTLV=None, + NumberOfXroSubObjects=None, + ): + # type: (int, int, int, int, int) -> PceDetailedSrv6SyncLspUpdateParams + """Updates pceDetailedSrv6SyncLspUpdateParams resource on the server. + + This method has some named parameters with a type: obj (Multivalue). + The Multivalue class has documentation that details the possible values for those named parameters. + + Args + ---- + - NumberOfAssociationObjects (number): Value that indicates the number of Association Objects to be configured. + - NumberOfEroSubObjects (number): Value that indicates the number of ERO Sub Objects to be configured. + - NumberOfMetricSubObjects (number): Value that indicates the number of Metric Objects to be configured. + - NumberOfTEPathBindingTLV (number): Value that indicates the number of TE-PATH-BINDING TLV to be configured. + - NumberOfXroSubObjects (number): Value that indicates the number of XRO Sub Objects to be configured. + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) + + def add( + self, + NumberOfAssociationObjects=None, + NumberOfEroSubObjects=None, + NumberOfMetricSubObjects=None, + NumberOfTEPathBindingTLV=None, + NumberOfXroSubObjects=None, + ): + # type: (int, int, int, int, int) -> PceDetailedSrv6SyncLspUpdateParams + """Adds a new pceDetailedSrv6SyncLspUpdateParams resource on the json, only valid with batch add utility + + Args + ---- + - NumberOfAssociationObjects (number): Value that indicates the number of Association Objects to be configured. + - NumberOfEroSubObjects (number): Value that indicates the number of ERO Sub Objects to be configured. + - NumberOfMetricSubObjects (number): Value that indicates the number of Metric Objects to be configured. + - NumberOfTEPathBindingTLV (number): Value that indicates the number of TE-PATH-BINDING TLV to be configured. + - NumberOfXroSubObjects (number): Value that indicates the number of XRO Sub Objects to be configured. + + Returns + ------- + - self: This instance with all currently retrieved pceDetailedSrv6SyncLspUpdateParams resources using find and the newly added pceDetailedSrv6SyncLspUpdateParams resources available through an iterator or index + + Raises + ------ + - Exception: if this function is not being used with config assistance + """ + return self._add_xpath(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find( + self, + NumberOfAssociationObjects=None, + NumberOfEroSubObjects=None, + NumberOfMetricSubObjects=None, + NumberOfTEPathBindingTLV=None, + NumberOfXroSubObjects=None, + ): + # type: (int, int, int, int, int) -> PceDetailedSrv6SyncLspUpdateParams + """Finds and retrieves pceDetailedSrv6SyncLspUpdateParams resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve pceDetailedSrv6SyncLspUpdateParams resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all pceDetailedSrv6SyncLspUpdateParams resources from the server. + + Args + ---- + - NumberOfAssociationObjects (number): Value that indicates the number of Association Objects to be configured. + - NumberOfEroSubObjects (number): Value that indicates the number of ERO Sub Objects to be configured. + - NumberOfMetricSubObjects (number): Value that indicates the number of Metric Objects to be configured. + - NumberOfTEPathBindingTLV (number): Value that indicates the number of TE-PATH-BINDING TLV to be configured. + - NumberOfXroSubObjects (number): Value that indicates the number of XRO Sub Objects to be configured. + + Returns + ------- + - self: This instance with matching pceDetailedSrv6SyncLspUpdateParams resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of pceDetailedSrv6SyncLspUpdateParams data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the pceDetailedSrv6SyncLspUpdateParams resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) + + def SendPcUpdate(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the sendPcUpdate operation on the server. + + Counts property changes created by the user. + + sendPcUpdate(Arg2=list, async_operation=bool)list + ------------------------------------------------- + - Arg2 (list(number)): List of indices into the learned information corresponding to trigger data. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute("sendPcUpdate", payload=payload, response_object=None) + + def SendReturnDelegation(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the sendReturnDelegation operation on the server. + + Counts property changes created by the user. + + sendReturnDelegation(Arg2=list, async_operation=bool)list + --------------------------------------------------------- + - Arg2 (list(number)): List of indices into the learned information corresponding to trigger data. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = {"Arg1": self.href} + for i in range(len(args)): + payload["Arg%s" % (i + 2)] = args[i] + for item in kwargs.items(): + payload[item[0]] = item[1] + return self._execute( + "sendReturnDelegation", payload=payload, response_object=None + ) + + def get_device_ids( + self, + PortNames=None, + AssociationId=None, + Bandwidth=None, + BindingType=None, + Bos=None, + ConfigureAssociation=None, + ConfigureBandwidth=None, + ConfigureEro=None, + ConfigureLsp=None, + ConfigureLspa=None, + ConfigureMetric=None, + ExcludeAny=None, + HoldingPriority=None, + IncludeAll=None, + IncludeAny=None, + IncludeAssociation=None, + IncludeConfiguredERO=None, + IncludeSrp=None, + IncludeSymbolicPathName=None, + IncludeTEPathBindingTLV=None, + IncludeXro=None, + LocalProtection=None, + MplsLabel=None, + OverridePLSPID=None, + OverrideSrpId=None, + PceTriggersChoiceList=None, + PlspIdTriggerParam=None, + ProtectionLsp=None, + RemoveAssociation=None, + SendEmptyTLV=None, + SetupPriority=None, + SrpId=None, + Srv6SID=None, + StandbyMode=None, + Tc=None, + Ttl=None, + XroFailBit=None, + ): + """Base class infrastructure that gets a list of pceDetailedSrv6SyncLspUpdateParams device ids encapsulated by this object. + + Use the optional regex parameters in the method to refine the list of device ids encapsulated by this object. + + Args + ---- + - PortNames (str): optional regex of port names + - AssociationId (str): optional regex of associationId + - Bandwidth (str): optional regex of bandwidth + - BindingType (str): optional regex of bindingType + - Bos (str): optional regex of bos + - ConfigureAssociation (str): optional regex of configureAssociation + - ConfigureBandwidth (str): optional regex of configureBandwidth + - ConfigureEro (str): optional regex of configureEro + - ConfigureLsp (str): optional regex of configureLsp + - ConfigureLspa (str): optional regex of configureLspa + - ConfigureMetric (str): optional regex of configureMetric + - ExcludeAny (str): optional regex of excludeAny + - HoldingPriority (str): optional regex of holdingPriority + - IncludeAll (str): optional regex of includeAll + - IncludeAny (str): optional regex of includeAny + - IncludeAssociation (str): optional regex of includeAssociation + - IncludeConfiguredERO (str): optional regex of includeConfiguredERO + - IncludeSrp (str): optional regex of includeSrp + - IncludeSymbolicPathName (str): optional regex of includeSymbolicPathName + - IncludeTEPathBindingTLV (str): optional regex of includeTEPathBindingTLV + - IncludeXro (str): optional regex of includeXro + - LocalProtection (str): optional regex of localProtection + - MplsLabel (str): optional regex of mplsLabel + - OverridePLSPID (str): optional regex of overridePLSPID + - OverrideSrpId (str): optional regex of overrideSrpId + - PceTriggersChoiceList (str): optional regex of pceTriggersChoiceList + - PlspIdTriggerParam (str): optional regex of plspIdTriggerParam + - ProtectionLsp (str): optional regex of protectionLsp + - RemoveAssociation (str): optional regex of removeAssociation + - SendEmptyTLV (str): optional regex of sendEmptyTLV + - SetupPriority (str): optional regex of setupPriority + - SrpId (str): optional regex of srpId + - Srv6SID (str): optional regex of srv6SID + - StandbyMode (str): optional regex of standbyMode + - Tc (str): optional regex of tc + - Ttl (str): optional regex of ttl + - XroFailBit (str): optional regex of xroFailBit + + Returns + ------- + - list(int): A list of device ids that meets the regex criteria provided in the method parameters + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._get_ngpf_device_ids(locals()) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceptepathbindingtlvlist_12acfda98ab8bf91c183199c30f2f953.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceptepathbindingtlvlist_12acfda98ab8bf91c183199c30f2f953.py new file mode 100644 index 000000000..207e03ba3 --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceptepathbindingtlvlist_12acfda98ab8bf91c183199c30f2f953.py @@ -0,0 +1,337 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class PcepTEPATHBINDINGTLVList(Base): + """ + The PcepTEPATHBINDINGTLVList class encapsulates a list of pcepTEPATHBINDINGTLVList resources that are managed by the system. + A list of resources can be retrieved from the server using the PcepTEPATHBINDINGTLVList.find() method. + """ + + __slots__ = () + _SDM_NAME = "pcepTEPATHBINDINGTLVList" + _SDM_ATT_MAP = { + "ActiveThisTEPathBindingTLV": "activeThisTEPathBindingTLV", + "BindingType": "bindingType", + "Bos": "bos", + "EndpointBehavior": "endpointBehavior", + "LocatorBlockLength": "locatorBlockLength", + "LocatorNodeLength": "locatorNodeLength", + "MplsLabel": "mplsLabel", + "RemovebindingValue": "removebindingValue", + "SendEmptyTLV": "sendEmptyTLV", + "SidArgumentLength": "sidArgumentLength", + "SidFunctionLength": "sidFunctionLength", + "Srv6SID": "srv6SID", + "Tc": "tc", + "Ttl": "ttl", + } + _SDM_ENUM_MAP = {} + + def __init__(self, parent, list_op=False): + super(PcepTEPATHBINDINGTLVList, self).__init__(parent, list_op) + + @property + def ActiveThisTEPathBindingTLV(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Controls whether the ERO sub-object will be sent in the PCInitiate message. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["ActiveThisTEPathBindingTLV"]) + ) + + @property + def BindingType(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates the type of binding included in the TLV. Types are as follows:20bit MPLS Label32bit MPLS LabelSRv6 SIDSRv6 SID with SRv6 Endpoint Behavior and SID StructureDefault value is 20bit MPLS Label. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["BindingType"])) + + @property + def Bos(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This bit is set to True for the last entry in the label stack i.e., for the bottom of the stack, and False for all other label stack entries.This control will be editable only if Binding Type is MPLS Label 32bit. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Bos"])) + + @property + def EndpointBehavior(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): A 16 bit field representing the behavior associated with the SRv6 SIDs. This information is optional andplays no role in the fields in SRH imposed on the packet. It could be used for maintainability and diagnostic purpose. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["EndpointBehavior"]) + ) + + @property + def LocatorBlockLength(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): SRv6 SID Locator Block length in bits. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["LocatorBlockLength"]) + ) + + @property + def LocatorNodeLength(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): SRv6 SID Locator Node length in bits. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["LocatorNodeLength"]) + ) + + @property + def MplsLabel(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This control will be editable if the Binding Type is set to either 20bit or 32bit MPLS-Label. This field will take the 20bit value of the MPLS-Label + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["MplsLabel"])) + + @property + def RemovebindingValue(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): If this is enabled Binding SID will go out with Remove Flag set. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["RemovebindingValue"]) + ) + + @property + def SendEmptyTLV(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): If enabled all fields after Binding Type will be grayed out. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["SendEmptyTLV"])) + + @property + def SidArgumentLength(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): SRv6 SID Arguments length in bits. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["SidArgumentLength"]) + ) + + @property + def SidFunctionLength(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): SRv6 SID Function length in bits. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["SidFunctionLength"]) + ) + + @property + def Srv6SID(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): SRv6 SID with a format of a 16 byte IPv6 address. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Srv6SID"])) + + @property + def Tc(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This field is used to carry traffic class information. This control will be editable only if Binding Type is MPLS Label 32bit. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Tc"])) + + @property + def Ttl(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This field is used to encode a time-to-live value. This control will be editable only if Binding Type is MPLS Label 32bit. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Ttl"])) + + def add(self): + """Adds a new pcepTEPATHBINDINGTLVList resource on the json, only valid with batch add utility + + Returns + ------- + - self: This instance with all currently retrieved pcepTEPATHBINDINGTLVList resources using find and the newly added pcepTEPATHBINDINGTLVList resources available through an iterator or index + + Raises + ------ + - Exception: if this function is not being used with config assistance + """ + return self._add_xpath(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find(self): + """Finds and retrieves pcepTEPATHBINDINGTLVList resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve pcepTEPATHBINDINGTLVList resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all pcepTEPATHBINDINGTLVList resources from the server. + + Returns + ------- + - self: This instance with matching pcepTEPATHBINDINGTLVList resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of pcepTEPATHBINDINGTLVList data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the pcepTEPATHBINDINGTLVList resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) + + def get_device_ids( + self, + PortNames=None, + ActiveThisTEPathBindingTLV=None, + BindingType=None, + Bos=None, + EndpointBehavior=None, + LocatorBlockLength=None, + LocatorNodeLength=None, + MplsLabel=None, + RemovebindingValue=None, + SendEmptyTLV=None, + SidArgumentLength=None, + SidFunctionLength=None, + Srv6SID=None, + Tc=None, + Ttl=None, + ): + """Base class infrastructure that gets a list of pcepTEPATHBINDINGTLVList device ids encapsulated by this object. + + Use the optional regex parameters in the method to refine the list of device ids encapsulated by this object. + + Args + ---- + - PortNames (str): optional regex of port names + - ActiveThisTEPathBindingTLV (str): optional regex of activeThisTEPathBindingTLV + - BindingType (str): optional regex of bindingType + - Bos (str): optional regex of bos + - EndpointBehavior (str): optional regex of endpointBehavior + - LocatorBlockLength (str): optional regex of locatorBlockLength + - LocatorNodeLength (str): optional regex of locatorNodeLength + - MplsLabel (str): optional regex of mplsLabel + - RemovebindingValue (str): optional regex of removebindingValue + - SendEmptyTLV (str): optional regex of sendEmptyTLV + - SidArgumentLength (str): optional regex of sidArgumentLength + - SidFunctionLength (str): optional regex of sidFunctionLength + - Srv6SID (str): optional regex of srv6SID + - Tc (str): optional regex of tc + - Ttl (str): optional regex of ttl + + Returns + ------- + - list(int): A list of device ids that meets the regex criteria provided in the method parameters + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._get_ngpf_device_ids(locals()) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdateassociationobjectlist_067a0a0a0d8b8dbf8239b459127bf201.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdateassociationobjectlist_067a0a0a0d8b8dbf8239b459127bf201.py new file mode 100644 index 000000000..91598e74f --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdateassociationobjectlist_067a0a0a0d8b8dbf8239b459127bf201.py @@ -0,0 +1,573 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class PceUpdateAssociationObjectList(Base): + """ + The PceUpdateAssociationObjectList class encapsulates a list of pceUpdateAssociationObjectList resources that are managed by the system. + A list of resources can be retrieved from the server using the PceUpdateAssociationObjectList.find() method. + """ + + __slots__ = () + _SDM_NAME = "pceUpdateAssociationObjectList" + _SDM_ATT_MAP = { + "ActiveThisAssociation": "activeThisAssociation", + "AssocType": "assocType", + "AssociationId": "associationId", + "AssociationObjectType": "associationObjectType", + "Color": "color", + "Discriminator": "discriminator", + "EndpointIPv4Address": "endpointIPv4Address", + "EndpointIPv6Address": "endpointIPv6Address", + "IncludeExtAssocIDTLV": "includeExtAssocIDTLV", + "IncludePPAGTLV": "includePPAGTLV", + "IncludeSRPolicyCPathIDTLV": "includeSRPolicyCPathIDTLV", + "IncludeSRPolicyCPathNameTLV": "includeSRPolicyCPathNameTLV", + "IncludeSRPolicyCPathPrefTLV": "includeSRPolicyCPathPrefTLV", + "IncludeSRPolicyPolNameTLV": "includeSRPolicyPolNameTLV", + "Ipv4AssociationSrc": "ipv4AssociationSrc", + "Ipv6AssociationSrc": "ipv6AssociationSrc", + "OriginatorASN": "originatorASN", + "OriginatorIPVersion": "originatorIPVersion", + "OriginatorIPv4Address": "originatorIPv4Address", + "OriginatorIPv6Address": "originatorIPv6Address", + "PolicyEndpointType": "policyEndpointType", + "Preference": "preference", + "ProtectionLspBit": "protectionLspBit", + "ProtocolOrigin": "protocolOrigin", + "RemoveAssociation": "removeAssociation", + "SrPolicyCPathName": "srPolicyCPathName", + "SrPolicyName": "srPolicyName", + "StandbyLspBit": "standbyLspBit", + } + _SDM_ENUM_MAP = {} + + def __init__(self, parent, list_op=False): + super(PceUpdateAssociationObjectList, self).__init__(parent, list_op) + + @property + def ActiveThisAssociation(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Controls whether the Association object will be sent in the pcep message. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["ActiveThisAssociation"]) + ) + + @property + def AssocType(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Association Type code point identifier. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["AssocType"])) + + @property + def AssociationId(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The Association ID of this LSP. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["AssociationId"])) + + @property + def AssociationObjectType(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Denotes the Association Object Type. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["AssociationObjectType"]) + ) + + @property + def Color(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Denotes the SR Policy color value. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Color"])) + + @property + def Discriminator(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Discriminator of the candidate path. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Discriminator"])) + + @property + def EndpointIPv4Address(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Denotes the SR Policy endpoint IPv4 address. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["EndpointIPv4Address"]) + ) + + @property + def EndpointIPv6Address(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Denotes the SR Policy endpoint IPv6 address. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["EndpointIPv6Address"]) + ) + + @property + def IncludeExtAssocIDTLV(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates if Extended Association ID TLV is to be included in PCC Sync LSP. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["IncludeExtAssocIDTLV"]) + ) + + @property + def IncludePPAGTLV(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates if Path Protection Association TLV is to be included in PCEP message. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["IncludePPAGTLV"]) + ) + + @property + def IncludeSRPolicyCPathIDTLV(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates if SRPOLICY-CPATH-ID TLV is to be included in PCC Sync LSP. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["IncludeSRPolicyCPathIDTLV"]) + ) + + @property + def IncludeSRPolicyCPathNameTLV(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates if SRPOLICY-CPATH-NAME TLV is to be included in PCC Sync LSP. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["IncludeSRPolicyCPathNameTLV"]) + ) + + @property + def IncludeSRPolicyCPathPrefTLV(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates if SRPOLICY-CPATH-PREFERENCE TLV is to be included in PCC Sync LSP. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["IncludeSRPolicyCPathPrefTLV"]) + ) + + @property + def IncludeSRPolicyPolNameTLV(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates if SRPOLICY-POL-NAME TLV is to be included in PCC Sync LSP. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["IncludeSRPolicyPolNameTLV"]) + ) + + @property + def Ipv4AssociationSrc(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Association Source IPv4 address that will be set to the headend IPv4 address. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["Ipv4AssociationSrc"]) + ) + + @property + def Ipv6AssociationSrc(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Association Source IPv6 address that will be set to the headend IPv6 address. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["Ipv6AssociationSrc"]) + ) + + @property + def OriginatorASN(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Denotes the 4 byte Originator ASN. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["OriginatorASN"])) + + @property + def OriginatorIPVersion(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Denotes the Originator IP Version. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["OriginatorIPVersion"]) + ) + + @property + def OriginatorIPv4Address(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Denotes the Originator IPv4 address. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["OriginatorIPv4Address"]) + ) + + @property + def OriginatorIPv6Address(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Denotes the Originator IPv6 address. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["OriginatorIPv6Address"]) + ) + + @property + def PolicyEndpointType(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Denotes the Policy Endpoint Type. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["PolicyEndpointType"]) + ) + + @property + def Preference(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Denotes the Preference of the candidate path. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Preference"])) + + @property + def ProtectionLspBit(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates whether Protection LSP Bit is On. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["ProtectionLspBit"]) + ) + + @property + def ProtocolOrigin(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Denotes the protocol origin. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["ProtocolOrigin"]) + ) + + @property + def RemoveAssociation(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Removes the Association. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["RemoveAssociation"]) + ) + + @property + def SrPolicyCPathName(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Denotes the SR Policy Candidate Path Name. It SHOULD be a string of printable ASCII characters, without a NULL terminator. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["SrPolicyCPathName"]) + ) + + @property + def SrPolicyName(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Denote sthe SR Policy Name. It SHOULD be a string of printable ASCII characters, without a NULL terminator. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["SrPolicyName"])) + + @property + def StandbyLspBit(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates whether Standby LSP Bit is On. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["StandbyLspBit"])) + + def add(self): + """Adds a new pceUpdateAssociationObjectList resource on the json, only valid with batch add utility + + Returns + ------- + - self: This instance with all currently retrieved pceUpdateAssociationObjectList resources using find and the newly added pceUpdateAssociationObjectList resources available through an iterator or index + + Raises + ------ + - Exception: if this function is not being used with config assistance + """ + return self._add_xpath(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find(self): + """Finds and retrieves pceUpdateAssociationObjectList resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve pceUpdateAssociationObjectList resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all pceUpdateAssociationObjectList resources from the server. + + Returns + ------- + - self: This instance with matching pceUpdateAssociationObjectList resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of pceUpdateAssociationObjectList data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the pceUpdateAssociationObjectList resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) + + def get_device_ids( + self, + PortNames=None, + ActiveThisAssociation=None, + AssocType=None, + AssociationId=None, + AssociationObjectType=None, + Color=None, + Discriminator=None, + EndpointIPv4Address=None, + EndpointIPv6Address=None, + IncludeExtAssocIDTLV=None, + IncludePPAGTLV=None, + IncludeSRPolicyCPathIDTLV=None, + IncludeSRPolicyCPathNameTLV=None, + IncludeSRPolicyCPathPrefTLV=None, + IncludeSRPolicyPolNameTLV=None, + Ipv4AssociationSrc=None, + Ipv6AssociationSrc=None, + OriginatorASN=None, + OriginatorIPVersion=None, + OriginatorIPv4Address=None, + OriginatorIPv6Address=None, + PolicyEndpointType=None, + Preference=None, + ProtectionLspBit=None, + ProtocolOrigin=None, + RemoveAssociation=None, + SrPolicyCPathName=None, + SrPolicyName=None, + StandbyLspBit=None, + ): + """Base class infrastructure that gets a list of pceUpdateAssociationObjectList device ids encapsulated by this object. + + Use the optional regex parameters in the method to refine the list of device ids encapsulated by this object. + + Args + ---- + - PortNames (str): optional regex of port names + - ActiveThisAssociation (str): optional regex of activeThisAssociation + - AssocType (str): optional regex of assocType + - AssociationId (str): optional regex of associationId + - AssociationObjectType (str): optional regex of associationObjectType + - Color (str): optional regex of color + - Discriminator (str): optional regex of discriminator + - EndpointIPv4Address (str): optional regex of endpointIPv4Address + - EndpointIPv6Address (str): optional regex of endpointIPv6Address + - IncludeExtAssocIDTLV (str): optional regex of includeExtAssocIDTLV + - IncludePPAGTLV (str): optional regex of includePPAGTLV + - IncludeSRPolicyCPathIDTLV (str): optional regex of includeSRPolicyCPathIDTLV + - IncludeSRPolicyCPathNameTLV (str): optional regex of includeSRPolicyCPathNameTLV + - IncludeSRPolicyCPathPrefTLV (str): optional regex of includeSRPolicyCPathPrefTLV + - IncludeSRPolicyPolNameTLV (str): optional regex of includeSRPolicyPolNameTLV + - Ipv4AssociationSrc (str): optional regex of ipv4AssociationSrc + - Ipv6AssociationSrc (str): optional regex of ipv6AssociationSrc + - OriginatorASN (str): optional regex of originatorASN + - OriginatorIPVersion (str): optional regex of originatorIPVersion + - OriginatorIPv4Address (str): optional regex of originatorIPv4Address + - OriginatorIPv6Address (str): optional regex of originatorIPv6Address + - PolicyEndpointType (str): optional regex of policyEndpointType + - Preference (str): optional regex of preference + - ProtectionLspBit (str): optional regex of protectionLspBit + - ProtocolOrigin (str): optional regex of protocolOrigin + - RemoveAssociation (str): optional regex of removeAssociation + - SrPolicyCPathName (str): optional regex of srPolicyCPathName + - SrPolicyName (str): optional regex of srPolicyName + - StandbyLspBit (str): optional regex of standbyLspBit + + Returns + ------- + - list(int): A list of device ids that meets the regex criteria provided in the method parameters + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._get_ngpf_device_ids(locals()) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatersvperosubobjectlist_f72a62fe60fa1ddf919cc7fba7858d6e.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatersvperosubobjectlist_f72a62fe60fa1ddf919cc7fba7858d6e.py new file mode 100644 index 000000000..3d3c11c89 --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatersvperosubobjectlist_f72a62fe60fa1ddf919cc7fba7858d6e.py @@ -0,0 +1,218 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class PceUpdateRsvpEroSubObjectList(Base): + """ + The PceUpdateRsvpEroSubObjectList class encapsulates a list of pceUpdateRsvpEroSubObjectList resources that are managed by the system. + A list of resources can be retrieved from the server using the PceUpdateRsvpEroSubObjectList.find() method. + """ + + __slots__ = () + _SDM_NAME = "pceUpdateRsvpEroSubObjectList" + _SDM_ATT_MAP = { + "ActiveThisEro": "activeThisEro", + "AsNumber": "asNumber", + "Ipv4Prefix": "ipv4Prefix", + "Ipv6Prefix": "ipv6Prefix", + "LooseHop": "looseHop", + "PrefixLength": "prefixLength", + "SubObjectType": "subObjectType", + } + _SDM_ENUM_MAP = {} + + def __init__(self, parent, list_op=False): + super(PceUpdateRsvpEroSubObjectList, self).__init__(parent, list_op) + + @property + def ActiveThisEro(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Controls whether the ERO sub-object will be sent in the PCInitiate message. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["ActiveThisEro"])) + + @property + def AsNumber(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): AS Number + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["AsNumber"])) + + @property + def Ipv4Prefix(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): IPv4 Prefix is specified as an IPv4 address. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Ipv4Prefix"])) + + @property + def Ipv6Prefix(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): IPv6 Prefix is specified as an IPv6 address. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Ipv6Prefix"])) + + @property + def LooseHop(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates if user wants to represent a loose-hop sub object in the LSP + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["LooseHop"])) + + @property + def PrefixLength(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Prefix Length + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["PrefixLength"])) + + @property + def SubObjectType(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Using the Sub Object Type control user can configure which sub object needs to be included from the following options: Not Applicable IPv4 Prefix IPv6 Prefix AS Number. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["SubObjectType"])) + + def add(self): + """Adds a new pceUpdateRsvpEroSubObjectList resource on the json, only valid with batch add utility + + Returns + ------- + - self: This instance with all currently retrieved pceUpdateRsvpEroSubObjectList resources using find and the newly added pceUpdateRsvpEroSubObjectList resources available through an iterator or index + + Raises + ------ + - Exception: if this function is not being used with config assistance + """ + return self._add_xpath(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find(self): + """Finds and retrieves pceUpdateRsvpEroSubObjectList resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve pceUpdateRsvpEroSubObjectList resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all pceUpdateRsvpEroSubObjectList resources from the server. + + Returns + ------- + - self: This instance with matching pceUpdateRsvpEroSubObjectList resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of pceUpdateRsvpEroSubObjectList data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the pceUpdateRsvpEroSubObjectList resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) + + def get_device_ids( + self, + PortNames=None, + ActiveThisEro=None, + AsNumber=None, + Ipv4Prefix=None, + Ipv6Prefix=None, + LooseHop=None, + PrefixLength=None, + SubObjectType=None, + ): + """Base class infrastructure that gets a list of pceUpdateRsvpEroSubObjectList device ids encapsulated by this object. + + Use the optional regex parameters in the method to refine the list of device ids encapsulated by this object. + + Args + ---- + - PortNames (str): optional regex of port names + - ActiveThisEro (str): optional regex of activeThisEro + - AsNumber (str): optional regex of asNumber + - Ipv4Prefix (str): optional regex of ipv4Prefix + - Ipv6Prefix (str): optional regex of ipv6Prefix + - LooseHop (str): optional regex of looseHop + - PrefixLength (str): optional regex of prefixLength + - SubObjectType (str): optional regex of subObjectType + + Returns + ------- + - list(int): A list of device ids that meets the regex criteria provided in the method parameters + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._get_ngpf_device_ids(locals()) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatersvpmetricsubobjectlist_fd8fa1e77098fa6f4bc87b12a1ed3fcb.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatersvpmetricsubobjectlist_fd8fa1e77098fa6f4bc87b12a1ed3fcb.py new file mode 100644 index 000000000..89dd55fab --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatersvpmetricsubobjectlist_fd8fa1e77098fa6f4bc87b12a1ed3fcb.py @@ -0,0 +1,175 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class PceUpdateRsvpMetricSubObjectList(Base): + """ + The PceUpdateRsvpMetricSubObjectList class encapsulates a list of pceUpdateRsvpMetricSubObjectList resources that are managed by the system. + A list of resources can be retrieved from the server using the PceUpdateRsvpMetricSubObjectList.find() method. + """ + + __slots__ = () + _SDM_NAME = "pceUpdateRsvpMetricSubObjectList" + _SDM_ATT_MAP = { + "ActiveThisMetric": "activeThisMetric", + "BFlag": "bFlag", + "MetricType": "metricType", + "MetricValue": "metricValue", + } + _SDM_ENUM_MAP = {} + + def __init__(self, parent, list_op=False): + super(PceUpdateRsvpMetricSubObjectList, self).__init__(parent, list_op) + + @property + def ActiveThisMetric(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Specifies whether the corresponding metric object is active or not. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["ActiveThisMetric"]) + ) + + @property + def BFlag(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): B (bound) flag MUST be set in the METRIC object, which specifies that the SID depth for the computed path MUST NOT exceed the metric-value. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["BFlag"])) + + @property + def MetricType(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This is a drop down which has 4 choices: IGP/ TE/ Hop count/ MSD. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["MetricType"])) + + @property + def MetricValue(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): User can specify the metric value corresponding to the metric type selected. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["MetricValue"])) + + def add(self): + """Adds a new pceUpdateRsvpMetricSubObjectList resource on the json, only valid with batch add utility + + Returns + ------- + - self: This instance with all currently retrieved pceUpdateRsvpMetricSubObjectList resources using find and the newly added pceUpdateRsvpMetricSubObjectList resources available through an iterator or index + + Raises + ------ + - Exception: if this function is not being used with config assistance + """ + return self._add_xpath(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find(self): + """Finds and retrieves pceUpdateRsvpMetricSubObjectList resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve pceUpdateRsvpMetricSubObjectList resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all pceUpdateRsvpMetricSubObjectList resources from the server. + + Returns + ------- + - self: This instance with matching pceUpdateRsvpMetricSubObjectList resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of pceUpdateRsvpMetricSubObjectList data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the pceUpdateRsvpMetricSubObjectList resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) + + def get_device_ids( + self, + PortNames=None, + ActiveThisMetric=None, + BFlag=None, + MetricType=None, + MetricValue=None, + ): + """Base class infrastructure that gets a list of pceUpdateRsvpMetricSubObjectList device ids encapsulated by this object. + + Use the optional regex parameters in the method to refine the list of device ids encapsulated by this object. + + Args + ---- + - PortNames (str): optional regex of port names + - ActiveThisMetric (str): optional regex of activeThisMetric + - BFlag (str): optional regex of bFlag + - MetricType (str): optional regex of metricType + - MetricValue (str): optional regex of metricValue + + Returns + ------- + - list(int): A list of device ids that meets the regex criteria provided in the method parameters + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._get_ngpf_device_ids(locals()) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatesrerosubobjectlist_d9e41e4990a041fcca2fc6fd076cf303.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatesrerosubobjectlist_d9e41e4990a041fcca2fc6fd076cf303.py new file mode 100644 index 000000000..82dcd5f0a --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatesrerosubobjectlist_d9e41e4990a041fcca2fc6fd076cf303.py @@ -0,0 +1,440 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class PceUpdateSrEroSubObjectList(Base): + """ + The PceUpdateSrEroSubObjectList class encapsulates a list of pceUpdateSrEroSubObjectList resources that are managed by the system. + A list of resources can be retrieved from the server using the PceUpdateSrEroSubObjectList.find() method. + """ + + __slots__ = () + _SDM_NAME = "pceUpdateSrEroSubObjectList" + _SDM_ATT_MAP = { + "ActiveThisEro": "activeThisEro", + "Bos": "bos", + "FBit": "fBit", + "Ipv4NodeId": "ipv4NodeId", + "Ipv6NodeId": "ipv6NodeId", + "LocalInterfaceId": "localInterfaceId", + "LocalIpv4Address": "localIpv4Address", + "LocalIpv6Address": "localIpv6Address", + "LocalNodeId": "localNodeId", + "LooseHop": "looseHop", + "MplsLabel": "mplsLabel", + "MplsLabel32": "mplsLabel32", + "NaiType": "naiType", + "RemoteInterfaceId": "remoteInterfaceId", + "RemoteIpv4Address": "remoteIpv4Address", + "RemoteIpv6Address": "remoteIpv6Address", + "RemoteNodeId": "remoteNodeId", + "Sid": "sid", + "SidType": "sidType", + "Tc": "tc", + "Ttl": "ttl", + } + _SDM_ENUM_MAP = {} + + def __init__(self, parent, list_op=False): + super(PceUpdateSrEroSubObjectList, self).__init__(parent, list_op) + + @property + def ActiveThisEro(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Controls whether the ERO sub-object will be sent in the PCInitiate message. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["ActiveThisEro"])) + + @property + def Bos(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This bit is set to true for the last entry in the label stack i.e., for the bottom of the stack, and false for all other label stack entries. This control will be editable only if SID Type is MPLS Label 32bit. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Bos"])) + + @property + def FBit(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): A Flag which is used to carry additional information pertaining to SID. When this bit is set, the NAI value in the subobject body is null. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["FBit"])) + + @property + def Ipv4NodeId(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): IPv4 Node ID is specified as an IPv4 address. This control can be configured if NAI Type is set to IPv4 Node ID and F bit is disabled. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Ipv4NodeId"])) + + @property + def Ipv6NodeId(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): IPv6 Node ID is specified as an IPv6 address. This control can be configured if NAI Type is set to IPv6 Node ID and F bit is disabled. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Ipv6NodeId"])) + + @property + def LocalInterfaceId(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This is the Local Interface ID of the Unnumbered Adjacency with IPv4 NodeIDs which is specified as a pair of Node ID / Interface ID tuples. This Control can be configured if NAI Type is set to Unnumbered Adjacency with IPv4 NodeIDs and F bit is disabled. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["LocalInterfaceId"]) + ) + + @property + def LocalIpv4Address(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This Control can be configured if NAI Type is set to IPv4 Adjacency and F bit is disabled. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["LocalIpv4Address"]) + ) + + @property + def LocalIpv6Address(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This Control can be configured if NAI Type is set to IPv6 Adjacency and F bit is disabled. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["LocalIpv6Address"]) + ) + + @property + def LocalNodeId(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This is the Local Node ID of the Unnumbered Adjacency with IPv4 NodeIDs which is specified as a pair of Node ID / Interface ID tuples. This Control can be configured if NAI Type is set to Unnumbered Adjacency with IPv4 NodeIDs and F bit is disabled. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["LocalNodeId"])) + + @property + def LooseHop(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates if user wants to represent a loose-hop sub object in the LSP + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["LooseHop"])) + + @property + def MplsLabel(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This control will be editable if the SID Type is set to either 20bit or 32bit MPLS-Label. This field will take the 20bit value of the MPLS-Label + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["MplsLabel"])) + + @property + def MplsLabel32(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): MPLS Label 32 Bit + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["MplsLabel32"])) + + @property + def NaiType(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): NAI (Node or Adjacency Identifier) contains the NAI associated with the SID. Depending on the value of SID Type, the NAI can have different formats such as, Not Applicable IPv4 Node ID IPv6 Node ID IPv4 Adjacency IPv6 Global Adjacency Unnumbered Adjacency with IPv4 NodeIDs IPv6 adjacency with link-local IPv6 addresses + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["NaiType"])) + + @property + def RemoteInterfaceId(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This is the Remote Interface ID of the Unnumbered Adjacency with IPv4 NodeIDs which is specified as a pair of Node ID / Interface ID tuples. This Control can be configured if NAI Type is set to Unnumbered Adjacency with IPv4 NodeIDs and F bit is disabled. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["RemoteInterfaceId"]) + ) + + @property + def RemoteIpv4Address(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This Control can be configured if NAI Type is set to IPv4 Adjacency and F bit is disabled. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["RemoteIpv4Address"]) + ) + + @property + def RemoteIpv6Address(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This Control can be configured if NAI Type is set to IPv6 Adjacency and F bit is disabled. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["RemoteIpv6Address"]) + ) + + @property + def RemoteNodeId(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This is the Remote Node ID of the Unnumbered Adjacency with IPv4 NodeIDs which is specified as a pair of Node ID / Interface ID tuples. This Control can be configured if NAI Type is set to Unnumbered Adjacency with IPv4 NodeIDs and F bit is disabled. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["RemoteNodeId"])) + + @property + def Sid(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): SID is the Segment Identifier + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Sid"])) + + @property + def SidType(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Using the Segment Identifier Type control user can configure whether to include SID or not and if included what is its type. Types are as follows: Null SID 20bit MPLS Label 32bit MPLS Label. If it is Null then S bit is set in the packet. Default value is 20bit MPLS Label. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["SidType"])) + + @property + def Tc(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This field is used to carry traffic class information. This control will be editable only if SID Type is MPLS Label 32bit. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Tc"])) + + @property + def Ttl(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This field is used to encode a time-to-live value. This control will be editable only if SID Type is MPLS Label 32bit. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Ttl"])) + + def add(self): + """Adds a new pceUpdateSrEroSubObjectList resource on the json, only valid with batch add utility + + Returns + ------- + - self: This instance with all currently retrieved pceUpdateSrEroSubObjectList resources using find and the newly added pceUpdateSrEroSubObjectList resources available through an iterator or index + + Raises + ------ + - Exception: if this function is not being used with config assistance + """ + return self._add_xpath(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find(self): + """Finds and retrieves pceUpdateSrEroSubObjectList resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve pceUpdateSrEroSubObjectList resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all pceUpdateSrEroSubObjectList resources from the server. + + Returns + ------- + - self: This instance with matching pceUpdateSrEroSubObjectList resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of pceUpdateSrEroSubObjectList data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the pceUpdateSrEroSubObjectList resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) + + def get_device_ids( + self, + PortNames=None, + ActiveThisEro=None, + Bos=None, + FBit=None, + Ipv4NodeId=None, + Ipv6NodeId=None, + LocalInterfaceId=None, + LocalIpv4Address=None, + LocalIpv6Address=None, + LocalNodeId=None, + LooseHop=None, + MplsLabel=None, + MplsLabel32=None, + NaiType=None, + RemoteInterfaceId=None, + RemoteIpv4Address=None, + RemoteIpv6Address=None, + RemoteNodeId=None, + Sid=None, + SidType=None, + Tc=None, + Ttl=None, + ): + """Base class infrastructure that gets a list of pceUpdateSrEroSubObjectList device ids encapsulated by this object. + + Use the optional regex parameters in the method to refine the list of device ids encapsulated by this object. + + Args + ---- + - PortNames (str): optional regex of port names + - ActiveThisEro (str): optional regex of activeThisEro + - Bos (str): optional regex of bos + - FBit (str): optional regex of fBit + - Ipv4NodeId (str): optional regex of ipv4NodeId + - Ipv6NodeId (str): optional regex of ipv6NodeId + - LocalInterfaceId (str): optional regex of localInterfaceId + - LocalIpv4Address (str): optional regex of localIpv4Address + - LocalIpv6Address (str): optional regex of localIpv6Address + - LocalNodeId (str): optional regex of localNodeId + - LooseHop (str): optional regex of looseHop + - MplsLabel (str): optional regex of mplsLabel + - MplsLabel32 (str): optional regex of mplsLabel32 + - NaiType (str): optional regex of naiType + - RemoteInterfaceId (str): optional regex of remoteInterfaceId + - RemoteIpv4Address (str): optional regex of remoteIpv4Address + - RemoteIpv6Address (str): optional regex of remoteIpv6Address + - RemoteNodeId (str): optional regex of remoteNodeId + - Sid (str): optional regex of sid + - SidType (str): optional regex of sidType + - Tc (str): optional regex of tc + - Ttl (str): optional regex of ttl + + Returns + ------- + - list(int): A list of device ids that meets the regex criteria provided in the method parameters + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._get_ngpf_device_ids(locals()) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatesrmetricsubobjectlist_161f8505e21b0db145157226f5332ddd.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatesrmetricsubobjectlist_161f8505e21b0db145157226f5332ddd.py new file mode 100644 index 000000000..6e281ea61 --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatesrmetricsubobjectlist_161f8505e21b0db145157226f5332ddd.py @@ -0,0 +1,175 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class PceUpdateSrMetricSubObjectList(Base): + """ + The PceUpdateSrMetricSubObjectList class encapsulates a list of pceUpdateSrMetricSubObjectList resources that are managed by the system. + A list of resources can be retrieved from the server using the PceUpdateSrMetricSubObjectList.find() method. + """ + + __slots__ = () + _SDM_NAME = "pceUpdateSrMetricSubObjectList" + _SDM_ATT_MAP = { + "ActiveThisMetric": "activeThisMetric", + "BFlag": "bFlag", + "MetricType": "metricType", + "MetricValue": "metricValue", + } + _SDM_ENUM_MAP = {} + + def __init__(self, parent, list_op=False): + super(PceUpdateSrMetricSubObjectList, self).__init__(parent, list_op) + + @property + def ActiveThisMetric(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Specifies whether the corresponding metric object is active or not. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["ActiveThisMetric"]) + ) + + @property + def BFlag(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): B (bound) flag MUST be set in the METRIC object, which specifies that the SID depth for the computed path MUST NOT exceed the metric-value. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["BFlag"])) + + @property + def MetricType(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This is a drop down which has 4 choices: IGP/ TE/ Hop count/ MSD. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["MetricType"])) + + @property + def MetricValue(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): User can specify the metric value corresponding to the metric type selected. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["MetricValue"])) + + def add(self): + """Adds a new pceUpdateSrMetricSubObjectList resource on the json, only valid with batch add utility + + Returns + ------- + - self: This instance with all currently retrieved pceUpdateSrMetricSubObjectList resources using find and the newly added pceUpdateSrMetricSubObjectList resources available through an iterator or index + + Raises + ------ + - Exception: if this function is not being used with config assistance + """ + return self._add_xpath(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find(self): + """Finds and retrieves pceUpdateSrMetricSubObjectList resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve pceUpdateSrMetricSubObjectList resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all pceUpdateSrMetricSubObjectList resources from the server. + + Returns + ------- + - self: This instance with matching pceUpdateSrMetricSubObjectList resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of pceUpdateSrMetricSubObjectList data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the pceUpdateSrMetricSubObjectList resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) + + def get_device_ids( + self, + PortNames=None, + ActiveThisMetric=None, + BFlag=None, + MetricType=None, + MetricValue=None, + ): + """Base class infrastructure that gets a list of pceUpdateSrMetricSubObjectList device ids encapsulated by this object. + + Use the optional regex parameters in the method to refine the list of device ids encapsulated by this object. + + Args + ---- + - PortNames (str): optional regex of port names + - ActiveThisMetric (str): optional regex of activeThisMetric + - BFlag (str): optional regex of bFlag + - MetricType (str): optional regex of metricType + - MetricValue (str): optional regex of metricValue + + Returns + ------- + - list(int): A list of device ids that meets the regex criteria provided in the method parameters + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._get_ngpf_device_ids(locals()) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatesrv6erosubobjectlist_bbcc97d115dea1f934b86dd3b1d0e7e2.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatesrv6erosubobjectlist_bbcc97d115dea1f934b86dd3b1d0e7e2.py new file mode 100644 index 000000000..95adeb35a --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatesrv6erosubobjectlist_bbcc97d115dea1f934b86dd3b1d0e7e2.py @@ -0,0 +1,407 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class PceUpdateSrv6EroSubObjectList(Base): + """ + The PceUpdateSrv6EroSubObjectList class encapsulates a list of pceUpdateSrv6EroSubObjectList resources that are managed by the system. + A list of resources can be retrieved from the server using the PceUpdateSrv6EroSubObjectList.find() method. + """ + + __slots__ = () + _SDM_NAME = "pceUpdateSrv6EroSubObjectList" + _SDM_ATT_MAP = { + "LooseHop": "looseHop", + "Srv6ActiveThisEro": "srv6ActiveThisEro", + "Srv6Identifier": "srv6Identifier", + "Srv6LocalIPv6address": "srv6LocalIPv6address", + "Srv6LocalInterfaceId": "srv6LocalInterfaceId", + "Srv6NaiType": "srv6NaiType", + "Srv6RemoteIPv6address": "srv6RemoteIPv6address", + "Srv6RemoteInterfaceId": "srv6RemoteInterfaceId", + "Srv6endpointBehavior": "srv6endpointBehavior", + "Srv6fBit": "srv6fBit", + "Srv6ipv6NodeId": "srv6ipv6NodeId", + "Srv6locatorBlockLength": "srv6locatorBlockLength", + "Srv6locatorNodeLength": "srv6locatorNodeLength", + "Srv6sBit": "srv6sBit", + "Srv6sidArgumentLength": "srv6sidArgumentLength", + "Srv6sidFunctionLength": "srv6sidFunctionLength", + "Srv6tBit": "srv6tBit", + "Srv6vBit": "srv6vBit", + } + _SDM_ENUM_MAP = {} + + def __init__(self, parent, list_op=False): + super(PceUpdateSrv6EroSubObjectList, self).__init__(parent, list_op) + + @property + def LooseHop(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates if user wants to represent a loose-hop sub object in the LSP + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["LooseHop"])) + + @property + def Srv6ActiveThisEro(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Controls whether the ERO sub-object will be sent in the PCInitiate message. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["Srv6ActiveThisEro"]) + ) + + @property + def Srv6Identifier(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): SRv6 Identifier is the 128 bit IPv6 addresses representing SRv6 segment. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["Srv6Identifier"]) + ) + + @property + def Srv6LocalIPv6address(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This Control can be configured if NAI Type is set to IPv6 Adjacency and F bit is disabled. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["Srv6LocalIPv6address"]) + ) + + @property + def Srv6LocalInterfaceId(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This is the Local Interface ID of the IPv6 adjacency with link-local IPv6 addresses which is specified as a pair of Node ID / Interface ID tuples.This Control can be configured if NAI Type is set to IPv6 adjacency with link-local IPv6 addresses and F bit is disabled. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["Srv6LocalInterfaceId"]) + ) + + @property + def Srv6NaiType(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): The SRv6 NAI Type which indicates the interpretation for NAI (Node or Adjacency Identifier). + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Srv6NaiType"])) + + @property + def Srv6RemoteIPv6address(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This Control can be configured if NAI Type is set to IPv6 Adjacency and F bit is disabled. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["Srv6RemoteIPv6address"]) + ) + + @property + def Srv6RemoteInterfaceId(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This is the Remote Interface ID of the IPv6 adjacency with link-local IPv6 addresses which is specified as a pair of Node ID / Interface ID tuples.This Control can be configured if NAI Type is set to IPv6 adjacency with link-local IPv6 addresses and F bit is disabled. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["Srv6RemoteInterfaceId"]) + ) + + @property + def Srv6endpointBehavior(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): A 16 bit field representing the behavior associated with the SRv6 SIDs. This information is optional andplays no role in the fields in SRH imposed on the packet. It could be used for maintainability and diagnostic purpose. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["Srv6endpointBehavior"]) + ) + + @property + def Srv6fBit(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): A Flag which is used to carry additional information pertaining to SID. When this bit is set, the NAI value in the subobject body is null. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Srv6fBit"])) + + @property + def Srv6ipv6NodeId(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): IPv6 Node ID is specified as an IPv6 address. This control can be configured if NAI Type is set to IPv6 Node ID and F bit is disabled. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["Srv6ipv6NodeId"]) + ) + + @property + def Srv6locatorBlockLength(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): SRv6 SID Locator Block length in bits. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["Srv6locatorBlockLength"]) + ) + + @property + def Srv6locatorNodeLength(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): SRv6 SID Locator Node length in bits. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["Srv6locatorNodeLength"]) + ) + + @property + def Srv6sBit(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): A Flag which is used to carry additional information pertaining to SID. When this bit is set, the NAI value in the subobject body is null. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Srv6sBit"])) + + @property + def Srv6sidArgumentLength(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): SRv6 SID Arguments length in bits. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["Srv6sidArgumentLength"]) + ) + + @property + def Srv6sidFunctionLength(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): SRv6 SID Function length in bits. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["Srv6sidFunctionLength"]) + ) + + @property + def Srv6tBit(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): A Flag which is used to carry additional information pertaining to SID. When this bit is set, the NAI value in the subobject body is null. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Srv6tBit"])) + + @property + def Srv6vBit(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): A Flag which is used to carry additional information pertaining to SID. When this bit is set, the NAI value in the subobject body is null. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Srv6vBit"])) + + def add(self): + """Adds a new pceUpdateSrv6EroSubObjectList resource on the json, only valid with batch add utility + + Returns + ------- + - self: This instance with all currently retrieved pceUpdateSrv6EroSubObjectList resources using find and the newly added pceUpdateSrv6EroSubObjectList resources available through an iterator or index + + Raises + ------ + - Exception: if this function is not being used with config assistance + """ + return self._add_xpath(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find(self): + """Finds and retrieves pceUpdateSrv6EroSubObjectList resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve pceUpdateSrv6EroSubObjectList resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all pceUpdateSrv6EroSubObjectList resources from the server. + + Returns + ------- + - self: This instance with matching pceUpdateSrv6EroSubObjectList resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of pceUpdateSrv6EroSubObjectList data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the pceUpdateSrv6EroSubObjectList resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) + + def get_device_ids( + self, + PortNames=None, + LooseHop=None, + Srv6ActiveThisEro=None, + Srv6Identifier=None, + Srv6LocalIPv6address=None, + Srv6LocalInterfaceId=None, + Srv6NaiType=None, + Srv6RemoteIPv6address=None, + Srv6RemoteInterfaceId=None, + Srv6endpointBehavior=None, + Srv6fBit=None, + Srv6ipv6NodeId=None, + Srv6locatorBlockLength=None, + Srv6locatorNodeLength=None, + Srv6sBit=None, + Srv6sidArgumentLength=None, + Srv6sidFunctionLength=None, + Srv6tBit=None, + Srv6vBit=None, + ): + """Base class infrastructure that gets a list of pceUpdateSrv6EroSubObjectList device ids encapsulated by this object. + + Use the optional regex parameters in the method to refine the list of device ids encapsulated by this object. + + Args + ---- + - PortNames (str): optional regex of port names + - LooseHop (str): optional regex of looseHop + - Srv6ActiveThisEro (str): optional regex of srv6ActiveThisEro + - Srv6Identifier (str): optional regex of srv6Identifier + - Srv6LocalIPv6address (str): optional regex of srv6LocalIPv6address + - Srv6LocalInterfaceId (str): optional regex of srv6LocalInterfaceId + - Srv6NaiType (str): optional regex of srv6NaiType + - Srv6RemoteIPv6address (str): optional regex of srv6RemoteIPv6address + - Srv6RemoteInterfaceId (str): optional regex of srv6RemoteInterfaceId + - Srv6endpointBehavior (str): optional regex of srv6endpointBehavior + - Srv6fBit (str): optional regex of srv6fBit + - Srv6ipv6NodeId (str): optional regex of srv6ipv6NodeId + - Srv6locatorBlockLength (str): optional regex of srv6locatorBlockLength + - Srv6locatorNodeLength (str): optional regex of srv6locatorNodeLength + - Srv6sBit (str): optional regex of srv6sBit + - Srv6sidArgumentLength (str): optional regex of srv6sidArgumentLength + - Srv6sidFunctionLength (str): optional regex of srv6sidFunctionLength + - Srv6tBit (str): optional regex of srv6tBit + - Srv6vBit (str): optional regex of srv6vBit + + Returns + ------- + - list(int): A list of device ids that meets the regex criteria provided in the method parameters + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._get_ngpf_device_ids(locals()) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatesrv6metricsubobjectlist_39e8f2176cc00efc53dbcdedfed0385e.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatesrv6metricsubobjectlist_39e8f2176cc00efc53dbcdedfed0385e.py new file mode 100644 index 000000000..735ce8ed3 --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatesrv6metricsubobjectlist_39e8f2176cc00efc53dbcdedfed0385e.py @@ -0,0 +1,175 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class PceUpdateSrv6MetricSubObjectList(Base): + """ + The PceUpdateSrv6MetricSubObjectList class encapsulates a list of pceUpdateSrv6MetricSubObjectList resources that are managed by the system. + A list of resources can be retrieved from the server using the PceUpdateSrv6MetricSubObjectList.find() method. + """ + + __slots__ = () + _SDM_NAME = "pceUpdateSrv6MetricSubObjectList" + _SDM_ATT_MAP = { + "ActiveThisMetric": "activeThisMetric", + "BFlag": "bFlag", + "MetricType": "metricType", + "MetricValue": "metricValue", + } + _SDM_ENUM_MAP = {} + + def __init__(self, parent, list_op=False): + super(PceUpdateSrv6MetricSubObjectList, self).__init__(parent, list_op) + + @property + def ActiveThisMetric(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Specifies whether the corresponding metric object is active or not. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["ActiveThisMetric"]) + ) + + @property + def BFlag(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): B (bound) flag MUST be set in the METRIC object, which specifies that the SID depth for the computed path MUST NOT exceed the metric-value. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["BFlag"])) + + @property + def MetricType(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This is a drop down which has 4 choices: IGP/ TE/ Hop count/ MSD. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["MetricType"])) + + @property + def MetricValue(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): User can specify the metric value corresponding to the metric type selected. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["MetricValue"])) + + def add(self): + """Adds a new pceUpdateSrv6MetricSubObjectList resource on the json, only valid with batch add utility + + Returns + ------- + - self: This instance with all currently retrieved pceUpdateSrv6MetricSubObjectList resources using find and the newly added pceUpdateSrv6MetricSubObjectList resources available through an iterator or index + + Raises + ------ + - Exception: if this function is not being used with config assistance + """ + return self._add_xpath(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find(self): + """Finds and retrieves pceUpdateSrv6MetricSubObjectList resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve pceUpdateSrv6MetricSubObjectList resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all pceUpdateSrv6MetricSubObjectList resources from the server. + + Returns + ------- + - self: This instance with matching pceUpdateSrv6MetricSubObjectList resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of pceUpdateSrv6MetricSubObjectList data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the pceUpdateSrv6MetricSubObjectList resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) + + def get_device_ids( + self, + PortNames=None, + ActiveThisMetric=None, + BFlag=None, + MetricType=None, + MetricValue=None, + ): + """Base class infrastructure that gets a list of pceUpdateSrv6MetricSubObjectList device ids encapsulated by this object. + + Use the optional regex parameters in the method to refine the list of device ids encapsulated by this object. + + Args + ---- + - PortNames (str): optional regex of port names + - ActiveThisMetric (str): optional regex of activeThisMetric + - BFlag (str): optional regex of bFlag + - MetricType (str): optional regex of metricType + - MetricValue (str): optional regex of metricValue + + Returns + ------- + - list(int): A list of device ids that meets the regex criteria provided in the method parameters + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._get_ngpf_device_ids(locals()) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatexrosubobjectlist_3cb16b2513bf72ff7ee4a5e0387625cf.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatexrosubobjectlist_3cb16b2513bf72ff7ee4a5e0387625cf.py new file mode 100644 index 000000000..a3a0e3f06 --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pceupdatexrosubobjectlist_3cb16b2513bf72ff7ee4a5e0387625cf.py @@ -0,0 +1,323 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class PceUpdateXroSubObjectList(Base): + """ + The PceUpdateXroSubObjectList class encapsulates a list of pceUpdateXroSubObjectList resources that are managed by the system. + A list of resources can be retrieved from the server using the PceUpdateXroSubObjectList.find() method. + """ + + __slots__ = () + _SDM_NAME = "pceUpdateXroSubObjectList" + _SDM_ATT_MAP = { + "ActiveXRO": "activeXRO", + "AsNumber": "asNumber", + "Attribute": "attribute", + "InterfaceId": "interfaceId", + "Ipv4Address": "ipv4Address", + "Ipv6Address": "ipv6Address", + "PFlagXro": "pFlagXro", + "PceId128": "pceId128", + "PceId32": "pceId32", + "PrefixLength": "prefixLength", + "RouterId": "routerId", + "SrlgId": "srlgId", + "SubObjectType": "subObjectType", + "XBit": "xBit", + } + _SDM_ENUM_MAP = {} + + def __init__(self, parent, list_op=False): + super(PceUpdateXroSubObjectList, self).__init__(parent, list_op) + + @property + def ActiveXRO(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Controls whether the XRO sub-object will be sent in the PCRequest message. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["ActiveXRO"])) + + @property + def AsNumber(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): AS Number + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["AsNumber"])) + + @property + def Attribute(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates how the exclusion subobject is to be indicated + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Attribute"])) + + @property + def InterfaceId(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Interface ID + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["InterfaceId"])) + + @property + def Ipv4Address(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): IPv4 Address + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Ipv4Address"])) + + @property + def Ipv6Address(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): IPv6 Address + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Ipv6Address"])) + + @property + def PFlagXro(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): XRO P Flag + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["PFlagXro"])) + + @property + def PceId128(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): 128 bit PKS ID + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["PceId128"])) + + @property + def PceId32(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): 32 bit PKS ID + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["PceId32"])) + + @property + def PrefixLength(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Prefix Length + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["PrefixLength"])) + + @property + def RouterId(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Router ID + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["RouterId"])) + + @property + def SrlgId(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): SRLG ID + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["SrlgId"])) + + @property + def SubObjectType(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Using the Sub Object Type control user can configure which sub object needs to be included from the following options: IPv4 Prefix IPv6 Prefix Unnumbered Interface ID AS Number. SRLG + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["SubObjectType"])) + + @property + def XBit(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates whether the exclusion is mandatory or desired. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["XBit"])) + + def add(self): + """Adds a new pceUpdateXroSubObjectList resource on the json, only valid with batch add utility + + Returns + ------- + - self: This instance with all currently retrieved pceUpdateXroSubObjectList resources using find and the newly added pceUpdateXroSubObjectList resources available through an iterator or index + + Raises + ------ + - Exception: if this function is not being used with config assistance + """ + return self._add_xpath(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find(self): + """Finds and retrieves pceUpdateXroSubObjectList resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve pceUpdateXroSubObjectList resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all pceUpdateXroSubObjectList resources from the server. + + Returns + ------- + - self: This instance with matching pceUpdateXroSubObjectList resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of pceUpdateXroSubObjectList data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the pceUpdateXroSubObjectList resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) + + def get_device_ids( + self, + PortNames=None, + ActiveXRO=None, + AsNumber=None, + Attribute=None, + InterfaceId=None, + Ipv4Address=None, + Ipv6Address=None, + PFlagXro=None, + PceId128=None, + PceId32=None, + PrefixLength=None, + RouterId=None, + SrlgId=None, + SubObjectType=None, + XBit=None, + ): + """Base class infrastructure that gets a list of pceUpdateXroSubObjectList device ids encapsulated by this object. + + Use the optional regex parameters in the method to refine the list of device ids encapsulated by this object. + + Args + ---- + - PortNames (str): optional regex of port names + - ActiveXRO (str): optional regex of activeXRO + - AsNumber (str): optional regex of asNumber + - Attribute (str): optional regex of attribute + - InterfaceId (str): optional regex of interfaceId + - Ipv4Address (str): optional regex of ipv4Address + - Ipv6Address (str): optional regex of ipv6Address + - PFlagXro (str): optional regex of pFlagXro + - PceId128 (str): optional regex of pceId128 + - PceId32 (str): optional regex of pceId32 + - PrefixLength (str): optional regex of prefixLength + - RouterId (str): optional regex of routerId + - SrlgId (str): optional regex of srlgId + - SubObjectType (str): optional regex of subObjectType + - XBit (str): optional regex of xBit + + Returns + ------- + - list(int): A list of device ids that meets the regex criteria provided in the method parameters + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._get_ngpf_device_ids(locals()) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/lightweightdhcp6relaytlvprofile_987f303b51886f2a61c9c1388518f037.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/lightweightdhcp6relaytlvprofile_987f303b51886f2a61c9c1388518f037.py index 10f948f7b..40619219d 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/lightweightdhcp6relaytlvprofile_987f303b51886f2a61c9c1388518f037.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/lightweightdhcp6relaytlvprofile_987f303b51886f2a61c9c1388518f037.py @@ -49,13 +49,13 @@ def TlvProfile(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c.TlvProfile): An instance of the TlvProfile class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26.TlvProfile): An instance of the TlvProfile class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26 import ( TlvProfile, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/macpools_414597218f17eaa9c882bf703e2d0bdd.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/macpools_414597218f17eaa9c882bf703e2d0bdd.py index bdd87da05..a1df09fe9 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/macpools_414597218f17eaa9c882bf703e2d0bdd.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/macpools_414597218f17eaa9c882bf703e2d0bdd.py @@ -59,13 +59,13 @@ def CMacProperties(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f.CMacProperties): An instance of the CMacProperties class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2.CMacProperties): An instance of the CMacProperties class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2 import ( CMacProperties, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/mplsoam_e01bb6affe899a4731aa60619f4aeadc.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/mplsoam_e01bb6affe899a4731aa60619f4aeadc.py index e43dc948b..4418160fc 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/mplsoam_e01bb6affe899a4731aa60619f4aeadc.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/mplsoam_e01bb6affe899a4731aa60619f4aeadc.py @@ -118,13 +118,13 @@ def LearnedInfoUpdate(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.learnedinfoupdate_b6503122c0a4a58877467964920e27b5.LearnedInfoUpdate): An instance of the LearnedInfoUpdate class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.learnedinfoupdate_f0f5d88734eb95208b4f723819a57481.LearnedInfoUpdate): An instance of the LearnedInfoUpdate class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.learnedinfoupdate_b6503122c0a4a58877467964920e27b5 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.learnedinfoupdate_f0f5d88734eb95208b4f723819a57481 import ( LearnedInfoUpdate, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/networkgroup_4a63874e791827c3a0361c2d201dbc0c.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/networkgroup_4a63874e791827c3a0361c2d201dbc0c.py index 3cdf1f1da..a6c47b81b 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/networkgroup_4a63874e791827c3a0361c2d201dbc0c.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/networkgroup_4a63874e791827c3a0361c2d201dbc0c.py @@ -215,13 +215,13 @@ def CMacProperties(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f.CMacProperties): An instance of the CMacProperties class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2.CMacProperties): An instance of the CMacProperties class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2 import ( CMacProperties, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/networkrangeinfo_cbb1e7fa358c353ee8fd62246a36a824.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/networkrangeinfo_cbb1e7fa358c353ee8fd62246a36a824.py index 3439c8842..5664cf3dd 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/networkrangeinfo_cbb1e7fa358c353ee8fd62246a36a824.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/networkrangeinfo_cbb1e7fa358c353ee8fd62246a36a824.py @@ -62,13 +62,13 @@ def CMacProperties(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f.CMacProperties): An instance of the CMacProperties class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2.CMacProperties): An instance of the CMacProperties class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2 import ( CMacProperties, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/openflowcontroller_855b90b006cc4c874a779dee4d2b3eb2.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/openflowcontroller_855b90b006cc4c874a779dee4d2b3eb2.py index 8a11e5214..c89156cd2 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/openflowcontroller_855b90b006cc4c874a779dee4d2b3eb2.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/openflowcontroller_855b90b006cc4c874a779dee4d2b3eb2.py @@ -126,13 +126,13 @@ def LearnedInfoUpdate(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.learnedinfoupdate_b6503122c0a4a58877467964920e27b5.LearnedInfoUpdate): An instance of the LearnedInfoUpdate class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.learnedinfoupdate_c16222bcf67d5a605c480c375e0fa938.LearnedInfoUpdate): An instance of the LearnedInfoUpdate class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.learnedinfoupdate_b6503122c0a4a58877467964920e27b5 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.learnedinfoupdate_c16222bcf67d5a605c480c375e0fa938 import ( LearnedInfoUpdate, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfrouteproperty_d69371739e1874a63feb0c8493c3f052.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfrouteproperty_d69371739e1874a63feb0c8493c3f052.py index d7cbf0302..817890bec 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfrouteproperty_d69371739e1874a63feb0c8493c3f052.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfrouteproperty_d69371739e1874a63feb0c8493c3f052.py @@ -81,13 +81,13 @@ def CMacProperties(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f.CMacProperties): An instance of the CMacProperties class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2.CMacProperties): An instance of the CMacProperties class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2 import ( CMacProperties, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3routeproperty_daf6d024b6ece255d2d043618b13bae5.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3routeproperty_daf6d024b6ece255d2d043618b13bae5.py index 614078c34..b726f7e92 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3routeproperty_daf6d024b6ece255d2d043618b13bae5.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/ospfv3routeproperty_daf6d024b6ece255d2d043618b13bae5.py @@ -65,13 +65,13 @@ def CMacProperties(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f.CMacProperties): An instance of the CMacProperties class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2.CMacProperties): An instance of the CMacProperties class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_2f1fa60d20894ec3fe809175e33e024f import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.cmacproperties_ecb45bfaef4008cb27346c98c45748b2 import ( CMacProperties, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcc_b3b58700330e49a2ac7fa39dc4a695a3.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcc_b3b58700330e49a2ac7fa39dc4a695a3.py index 80e094b57..555caceb3 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcc_b3b58700330e49a2ac7fa39dc4a695a3.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcc_b3b58700330e49a2ac7fa39dc4a695a3.py @@ -224,13 +224,13 @@ def PreEstablishedSrLsps(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.preestablishedsrlsps_95c5549c90184bfff112fd02cc41c84f.PreEstablishedSrLsps): An instance of the PreEstablishedSrLsps class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.preestablishedsrlsps_967b2455bf37443139cbc5750c81086f.PreEstablishedSrLsps): An instance of the PreEstablishedSrLsps class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.preestablishedsrlsps_95c5549c90184bfff112fd02cc41c84f import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.preestablishedsrlsps_967b2455bf37443139cbc5750c81086f import ( PreEstablishedSrLsps, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pccgroup_3a89d1f1ba6aab73452ad7597ec4a74f.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pccgroup_3a89d1f1ba6aab73452ad7597ec4a74f.py index 707dae9bc..44b8d3c4d 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pccgroup_3a89d1f1ba6aab73452ad7597ec4a74f.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pccgroup_3a89d1f1ba6aab73452ad7597ec4a74f.py @@ -130,13 +130,13 @@ def LearnedInfoUpdate(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.learnedinfoupdate_b6503122c0a4a58877467964920e27b5.LearnedInfoUpdate): An instance of the LearnedInfoUpdate class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.learnedinfoupdate_dd43ce3af7af258dc032dc87aa945c8b.LearnedInfoUpdate): An instance of the LearnedInfoUpdate class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.learnedinfoupdate_b6503122c0a4a58877467964920e27b5 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.learnedinfoupdate_dd43ce3af7af258dc032dc87aa945c8b import ( LearnedInfoUpdate, ) @@ -150,13 +150,13 @@ def PcReplyLspParameters(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.pcreplylspparameters_73031069954bcd625c2f1df5c90abae7.PcReplyLspParameters): An instance of the PcReplyLspParameters class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.pcreplylspparameters_20e35ff81e20c98310382047d3d57147.PcReplyLspParameters): An instance of the PcReplyLspParameters class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.pcreplylspparameters_73031069954bcd625c2f1df5c90abae7 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.pcreplylspparameters_20e35ff81e20c98310382047d3d57147 import ( PcReplyLspParameters, ) @@ -190,13 +190,13 @@ def PceInitiateLSPParameters(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.pceinitiatelspparameters_54a195f4ec5b73428b4ada028429f546.PceInitiateLSPParameters): An instance of the PceInitiateLSPParameters class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.pceinitiatelspparameters_1c9b366144f491bf4e7b932c68a9f208.PceInitiateLSPParameters): An instance of the PceInitiateLSPParameters class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.pceinitiatelspparameters_54a195f4ec5b73428b4ada028429f546 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.pceinitiatelspparameters_1c9b366144f491bf4e7b932c68a9f208 import ( PceInitiateLSPParameters, ) @@ -210,13 +210,13 @@ def PceTriggerParamList(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.pcetriggerparamlist_390e56e0c3749ff467ab98b9abba9e70.PceTriggerParamList): An instance of the PceTriggerParamList class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.pcetriggerparamlist_f73e78368b17b6d0af989167da955078.PceTriggerParamList): An instance of the PceTriggerParamList class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.pcetriggerparamlist_390e56e0c3749ff467ab98b9abba9e70 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.pcetriggerparamlist_f73e78368b17b6d0af989167da955078 import ( PceTriggerParamList, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pceinitiatelspparameters_54a195f4ec5b73428b4ada028429f546.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pceinitiatelspparameters_1c9b366144f491bf4e7b932c68a9f208.py similarity index 95% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pceinitiatelspparameters_54a195f4ec5b73428b4ada028429f546.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pceinitiatelspparameters_1c9b366144f491bf4e7b932c68a9f208.py index 99ecf15d2..b732bf7f9 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pceinitiatelspparameters_54a195f4ec5b73428b4ada028429f546.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pceinitiatelspparameters_1c9b366144f491bf4e7b932c68a9f208.py @@ -68,6 +68,7 @@ class PceInitiateLSPParameters(Base): "NumberOfAssociationObjects": "numberOfAssociationObjects", "NumberOfEroSubObjects": "numberOfEroSubObjects", "NumberOfMetricSubObject": "numberOfMetricSubObject", + "NumberOfTEPathBindingTLV": "numberOfTEPathBindingTLV", "NumberOfXroSubObjects": "numberOfXroSubObjects", "OverridePlspId": "overridePlspId", "OverrideSrpIdNumber": "overrideSrpIdNumber", @@ -191,6 +192,26 @@ def PcepSRv6EROObjectsList(self): return self._properties.get("PcepSRv6EROObjectsList") return PcepSRv6EROObjectsList(self) + @property + def PcepTEPATHBINDINGTLVList(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.pceptepathbindingtlvlist_f4c1df238c92bb045645b2a65159e09e.PcepTEPATHBINDINGTLVList): An instance of the PcepTEPATHBINDINGTLVList class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.pceptepathbindingtlvlist_f4c1df238c92bb045645b2a65159e09e import ( + PcepTEPATHBINDINGTLVList, + ) + + if len(self._object_properties) > 0: + if self._properties.get("PcepTEPATHBINDINGTLVList", None) is not None: + return self._properties.get("PcepTEPATHBINDINGTLVList") + return PcepTEPATHBINDINGTLVList(self) + @property def Active(self): # type: () -> 'Multivalue' @@ -230,10 +251,10 @@ def Bandwidth(self): @property def BindingType(self): # type: () -> 'Multivalue' - """ + """DEPRECATED Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates the type of binding included in the TLV. Types are as follows:20bit MPLS Label32bit MPLS LabelSRv6 SIDDefault value is 20bit MPLS Label. + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates the type of binding included in the TLV. Types are as follows:20bit MPLS Label32bit MPLS LabelSRv6 SIDSRv6 SID with SRv6 Endpoint Behavior and SID StructureDefault value is 20bit MPLS Label. """ from ixnetwork_restpy.multivalue import Multivalue @@ -242,7 +263,7 @@ def BindingType(self): @property def Bos(self): # type: () -> 'Multivalue' - """ + """DEPRECATED Returns ------- - obj(ixnetwork_restpy.multivalue.Multivalue): This bit is set to True for the last entry in the label stack i.e., for the bottom of the stack, and False for all other label stack entries.This control will be editable only if Binding Type is MPLS Label 32bit. @@ -404,7 +425,7 @@ def IncludeBandwidth(self): @property def IncludeConfiguredERO(self): # type: () -> 'Multivalue' - """ + """DEPRECATED Returns ------- - obj(ixnetwork_restpy.multivalue.Multivalue): If this is enabled, entire ERO will go out in packet even if there is Binding SID,which means no SR-ERO/SRv6-ERO validation will be done. @@ -546,7 +567,7 @@ def LocalProtection(self): @property def MplsLabel(self): # type: () -> 'Multivalue' - """ + """DEPRECATED Returns ------- - obj(ixnetwork_restpy.multivalue.Multivalue): This control will be editable if the Binding Type is set to either 20bit or 32bit MPLS-Label. This field will take the 20bit value of the MPLS-Label @@ -615,6 +636,21 @@ def NumberOfMetricSubObject(self, value): # type: (int) -> None self._set_attribute(self._SDM_ATT_MAP["NumberOfMetricSubObject"], value) + @property + def NumberOfTEPathBindingTLV(self): + # type: () -> int + """ + Returns + ------- + - number: Value that indicates the number of TE-PATH-BINDING TLV to be configured. + """ + return self._get_attribute(self._SDM_ATT_MAP["NumberOfTEPathBindingTLV"]) + + @NumberOfTEPathBindingTLV.setter + def NumberOfTEPathBindingTLV(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["NumberOfTEPathBindingTLV"], value) + @property def NumberOfXroSubObjects(self): # type: () -> int @@ -699,7 +735,7 @@ def ProtectionLsp(self): @property def SendEmptyTLV(self): # type: () -> 'Multivalue' - """ + """DEPRECATED Returns ------- - obj(ixnetwork_restpy.multivalue.Multivalue): If enabled all fields after Binding Type will be grayed out. @@ -773,7 +809,7 @@ def SrpIdNumber(self): @property def Srv6SID(self): # type: () -> 'Multivalue' - """ + """DEPRECATED Returns ------- - obj(ixnetwork_restpy.multivalue.Multivalue): SRv6 SID with a format of a 16 byte IPv6 address. @@ -811,7 +847,7 @@ def SymbolicPathName(self): @property def Tc(self): # type: () -> 'Multivalue' - """ + """DEPRECATED Returns ------- - obj(ixnetwork_restpy.multivalue.Multivalue): This field is used to carry traffic class information. This control will be editable only if Binding Type is MPLS Label 32bit. @@ -823,7 +859,7 @@ def Tc(self): @property def Ttl(self): # type: () -> 'Multivalue' - """ + """DEPRECATED Returns ------- - obj(ixnetwork_restpy.multivalue.Multivalue): This field is used to encode a time-to-live value. This control will be editable only if Binding Type is MPLS Label 32bit. @@ -838,11 +874,12 @@ def update( NumberOfAssociationObjects=None, NumberOfEroSubObjects=None, NumberOfMetricSubObject=None, + NumberOfTEPathBindingTLV=None, NumberOfXroSubObjects=None, OverridePlspId=None, OverrideSrpIdNumber=None, ): - # type: (str, int, int, int, int, bool, bool) -> PceInitiateLSPParameters + # type: (str, int, int, int, int, int, bool, bool) -> PceInitiateLSPParameters """Updates pceInitiateLSPParameters resource on the server. This method has some named parameters with a type: obj (Multivalue). @@ -854,6 +891,7 @@ def update( - NumberOfAssociationObjects (number): Value that indicates the number of Association Objects to be configured. - NumberOfEroSubObjects (number): Value that indicates the number of ERO Sub Objects to be configured. - NumberOfMetricSubObject (number): Value that indicates the number of Metric Objects to be configured. + - NumberOfTEPathBindingTLV (number): Value that indicates the number of TE-PATH-BINDING TLV to be configured. - NumberOfXroSubObjects (number): Number of XRO Sub Objects - OverridePlspId (bool): Indicates if PLSP-ID will be set by the state machine or user. If disabled user wont have the control and state machine will set it. - OverrideSrpIdNumber (bool): Indicates whether SRP ID Number is overridable. @@ -872,12 +910,13 @@ def find( NumberOfAssociationObjects=None, NumberOfEroSubObjects=None, NumberOfMetricSubObject=None, + NumberOfTEPathBindingTLV=None, NumberOfXroSubObjects=None, OverridePlspId=None, OverrideSrpIdNumber=None, SessionInfo=None, ): - # type: (int, str, str, int, int, int, int, bool, bool, List[str]) -> PceInitiateLSPParameters + # type: (int, str, str, int, int, int, int, int, bool, bool, List[str]) -> PceInitiateLSPParameters """Finds and retrieves pceInitiateLSPParameters resources from the server. All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve pceInitiateLSPParameters resources from the server. @@ -892,6 +931,7 @@ def find( - NumberOfAssociationObjects (number): Value that indicates the number of Association Objects to be configured. - NumberOfEroSubObjects (number): Value that indicates the number of ERO Sub Objects to be configured. - NumberOfMetricSubObject (number): Value that indicates the number of Metric Objects to be configured. + - NumberOfTEPathBindingTLV (number): Value that indicates the number of TE-PATH-BINDING TLV to be configured. - NumberOfXroSubObjects (number): Number of XRO Sub Objects - OverridePlspId (bool): Indicates if PLSP-ID will be set by the state machine or user. If disabled user wont have the control and state machine will set it. - OverrideSrpIdNumber (bool): Indicates whether SRP ID Number is overridable. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pceptepathbindingtlvlist_a446e2f09315dac50332432f39dfd53a.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pceptepathbindingtlvlist_a446e2f09315dac50332432f39dfd53a.py new file mode 100644 index 000000000..d85d99f6b --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pceptepathbindingtlvlist_a446e2f09315dac50332432f39dfd53a.py @@ -0,0 +1,387 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class PcepTEPATHBINDINGTLVList(Base): + """ + The PcepTEPATHBINDINGTLVList class encapsulates a list of pcepTEPATHBINDINGTLVList resources that are managed by the system. + A list of resources can be retrieved from the server using the PcepTEPATHBINDINGTLVList.find() method. + """ + + __slots__ = () + _SDM_NAME = "pcepTEPATHBINDINGTLVList" + _SDM_ATT_MAP = { + "Active": "active", + "BindingType": "bindingType", + "Bos": "bos", + "Count": "count", + "DescriptiveName": "descriptiveName", + "EndpointBehavior": "endpointBehavior", + "LocatorBlockLength": "locatorBlockLength", + "LocatorNodeLength": "locatorNodeLength", + "MplsLabel": "mplsLabel", + "Name": "name", + "RemovebindingValue": "removebindingValue", + "SidArgumentLength": "sidArgumentLength", + "SidFunctionLength": "sidFunctionLength", + "Srv6SID": "srv6SID", + "Tc": "tc", + "Ttl": "ttl", + } + _SDM_ENUM_MAP = {} + + def __init__(self, parent, list_op=False): + super(PcepTEPATHBINDINGTLVList, self).__init__(parent, list_op) + + @property + def Active(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Controls whether this Path Binding TLV will go out in packet. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Active"])) + + @property + def BindingType(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates the type of binding included in the TLV. Types are as follows:20bit MPLS Label32bit MPLS LabelSRv6 SIDSRv6 SID with SRv6 Endpoint Behavior and SID StructureDefault value is 20bit MPLS Label. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["BindingType"])) + + @property + def Bos(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This bit is set to True for the last entry in the label stack i.e., for the bottom of the stack, and False for all other label stack entries.This control will be editable only if Binding Type is MPLS Label 32bit. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Bos"])) + + @property + def Count(self): + # type: () -> int + """ + Returns + ------- + - number: Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. + """ + return self._get_attribute(self._SDM_ATT_MAP["Count"]) + + @property + def DescriptiveName(self): + # type: () -> str + """ + Returns + ------- + - str: Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. + """ + return self._get_attribute(self._SDM_ATT_MAP["DescriptiveName"]) + + @property + def EndpointBehavior(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): A 16 bit field representing the behavior associated with the SRv6 SIDs. This information is optional andplays no role in the fields in SRH imposed on the packet. It could be used for maintainability and diagnostic purpose. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["EndpointBehavior"]) + ) + + @property + def LocatorBlockLength(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): SRv6 SID Locator Block length in bits. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["LocatorBlockLength"]) + ) + + @property + def LocatorNodeLength(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): SRv6 SID Locator Node length in bits. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["LocatorNodeLength"]) + ) + + @property + def MplsLabel(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This control will be editable if the Binding Type is set to either 20bit or 32bit MPLS-Label. This field will take the 20bit value of the MPLS-Label + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["MplsLabel"])) + + @property + def Name(self): + # type: () -> str + """ + Returns + ------- + - str: Name of NGPF element, guaranteed to be unique in Scenario + """ + return self._get_attribute(self._SDM_ATT_MAP["Name"]) + + @Name.setter + def Name(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["Name"], value) + + @property + def RemovebindingValue(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): If this is enabled Binding SID will go out with Remove Flag set. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["RemovebindingValue"]) + ) + + @property + def SidArgumentLength(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): SRv6 SID Arguments length in bits. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["SidArgumentLength"]) + ) + + @property + def SidFunctionLength(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): SRv6 SID Function length in bits. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["SidFunctionLength"]) + ) + + @property + def Srv6SID(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): SRv6 SID with a format of a 16 byte IPv6 address. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Srv6SID"])) + + @property + def Tc(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This field is used to carry traffic class information. This control will be editable only if Binding Type is MPLS Label 32bit. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Tc"])) + + @property + def Ttl(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This field is used to encode a time-to-live value. This control will be editable only if Binding Type is MPLS Label 32bit. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Ttl"])) + + def update(self, Name=None): + # type: (str) -> PcepTEPATHBINDINGTLVList + """Updates pcepTEPATHBINDINGTLVList resource on the server. + + This method has some named parameters with a type: obj (Multivalue). + The Multivalue class has documentation that details the possible values for those named parameters. + + Args + ---- + - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) + + def add(self, Name=None): + # type: (str) -> PcepTEPATHBINDINGTLVList + """Adds a new pcepTEPATHBINDINGTLVList resource on the json, only valid with batch add utility + + Args + ---- + - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + + Returns + ------- + - self: This instance with all currently retrieved pcepTEPATHBINDINGTLVList resources using find and the newly added pcepTEPATHBINDINGTLVList resources available through an iterator or index + + Raises + ------ + - Exception: if this function is not being used with config assistance + """ + return self._add_xpath(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find(self, Count=None, DescriptiveName=None, Name=None): + # type: (int, str, str) -> PcepTEPATHBINDINGTLVList + """Finds and retrieves pcepTEPATHBINDINGTLVList resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve pcepTEPATHBINDINGTLVList resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all pcepTEPATHBINDINGTLVList resources from the server. + + Args + ---- + - Count (number): Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. + - DescriptiveName (str): Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. + - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + + Returns + ------- + - self: This instance with matching pcepTEPATHBINDINGTLVList resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of pcepTEPATHBINDINGTLVList data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the pcepTEPATHBINDINGTLVList resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) + + def get_device_ids( + self, + PortNames=None, + Active=None, + BindingType=None, + Bos=None, + EndpointBehavior=None, + LocatorBlockLength=None, + LocatorNodeLength=None, + MplsLabel=None, + RemovebindingValue=None, + SidArgumentLength=None, + SidFunctionLength=None, + Srv6SID=None, + Tc=None, + Ttl=None, + ): + """Base class infrastructure that gets a list of pcepTEPATHBINDINGTLVList device ids encapsulated by this object. + + Use the optional regex parameters in the method to refine the list of device ids encapsulated by this object. + + Args + ---- + - PortNames (str): optional regex of port names + - Active (str): optional regex of active + - BindingType (str): optional regex of bindingType + - Bos (str): optional regex of bos + - EndpointBehavior (str): optional regex of endpointBehavior + - LocatorBlockLength (str): optional regex of locatorBlockLength + - LocatorNodeLength (str): optional regex of locatorNodeLength + - MplsLabel (str): optional regex of mplsLabel + - RemovebindingValue (str): optional regex of removebindingValue + - SidArgumentLength (str): optional regex of sidArgumentLength + - SidFunctionLength (str): optional regex of sidFunctionLength + - Srv6SID (str): optional regex of srv6SID + - Tc (str): optional regex of tc + - Ttl (str): optional regex of ttl + + Returns + ------- + - list(int): A list of device ids that meets the regex criteria provided in the method parameters + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._get_ngpf_device_ids(locals()) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pceptepathbindingtlvlist_f4c1df238c92bb045645b2a65159e09e.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pceptepathbindingtlvlist_f4c1df238c92bb045645b2a65159e09e.py new file mode 100644 index 000000000..6a4659820 --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pceptepathbindingtlvlist_f4c1df238c92bb045645b2a65159e09e.py @@ -0,0 +1,402 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class PcepTEPATHBINDINGTLVList(Base): + """ + The PcepTEPATHBINDINGTLVList class encapsulates a list of pcepTEPATHBINDINGTLVList resources that are managed by the system. + A list of resources can be retrieved from the server using the PcepTEPATHBINDINGTLVList.find() method. + """ + + __slots__ = () + _SDM_NAME = "pcepTEPATHBINDINGTLVList" + _SDM_ATT_MAP = { + "Active": "active", + "BindingType": "bindingType", + "Bos": "bos", + "Count": "count", + "DescriptiveName": "descriptiveName", + "EndpointBehavior": "endpointBehavior", + "LocatorBlockLength": "locatorBlockLength", + "LocatorNodeLength": "locatorNodeLength", + "MplsLabel": "mplsLabel", + "Name": "name", + "RemovebindingValue": "removebindingValue", + "SendEmptyTLV": "sendEmptyTLV", + "SidArgumentLength": "sidArgumentLength", + "SidFunctionLength": "sidFunctionLength", + "Srv6SID": "srv6SID", + "Tc": "tc", + "Ttl": "ttl", + } + _SDM_ENUM_MAP = {} + + def __init__(self, parent, list_op=False): + super(PcepTEPATHBINDINGTLVList, self).__init__(parent, list_op) + + @property + def Active(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Controls whether this Path Binding TLV will go out in packet. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Active"])) + + @property + def BindingType(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates the type of binding included in the TLV. Types are as follows:20bit MPLS Label32bit MPLS LabelSRv6 SIDSRv6 SID with SRv6 Endpoint Behavior and SID StructureDefault value is 20bit MPLS Label. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["BindingType"])) + + @property + def Bos(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This bit is set to True for the last entry in the label stack i.e., for the bottom of the stack, and False for all other label stack entries.This control will be editable only if Binding Type is MPLS Label 32bit. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Bos"])) + + @property + def Count(self): + # type: () -> int + """ + Returns + ------- + - number: Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. + """ + return self._get_attribute(self._SDM_ATT_MAP["Count"]) + + @property + def DescriptiveName(self): + # type: () -> str + """ + Returns + ------- + - str: Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. + """ + return self._get_attribute(self._SDM_ATT_MAP["DescriptiveName"]) + + @property + def EndpointBehavior(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): A 16 bit field representing the behavior associated with the SRv6 SIDs. This information is optional andplays no role in the fields in SRH imposed on the packet. It could be used for maintainability and diagnostic purpose. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["EndpointBehavior"]) + ) + + @property + def LocatorBlockLength(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): SRv6 SID Locator Block length in bits. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["LocatorBlockLength"]) + ) + + @property + def LocatorNodeLength(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): SRv6 SID Locator Node length in bits. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["LocatorNodeLength"]) + ) + + @property + def MplsLabel(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This control will be editable if the Binding Type is set to either 20bit or 32bit MPLS-Label. This field will take the 20bit value of the MPLS-Label + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["MplsLabel"])) + + @property + def Name(self): + # type: () -> str + """ + Returns + ------- + - str: Name of NGPF element, guaranteed to be unique in Scenario + """ + return self._get_attribute(self._SDM_ATT_MAP["Name"]) + + @Name.setter + def Name(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["Name"], value) + + @property + def RemovebindingValue(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): If this is enabled Binding SID will go out with Remove Flag set. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["RemovebindingValue"]) + ) + + @property + def SendEmptyTLV(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): If enabled all fields after Binding Type will be grayed out. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["SendEmptyTLV"])) + + @property + def SidArgumentLength(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): SRv6 SID Arguments length in bits. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["SidArgumentLength"]) + ) + + @property + def SidFunctionLength(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): SRv6 SID Function length in bits. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["SidFunctionLength"]) + ) + + @property + def Srv6SID(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): SRv6 SID with a format of a 16 byte IPv6 address. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Srv6SID"])) + + @property + def Tc(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This field is used to carry traffic class information. This control will be editable only if Binding Type is MPLS Label 32bit. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Tc"])) + + @property + def Ttl(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This field is used to encode a time-to-live value. This control will be editable only if Binding Type is MPLS Label 32bit. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Ttl"])) + + def update(self, Name=None): + # type: (str) -> PcepTEPATHBINDINGTLVList + """Updates pcepTEPATHBINDINGTLVList resource on the server. + + This method has some named parameters with a type: obj (Multivalue). + The Multivalue class has documentation that details the possible values for those named parameters. + + Args + ---- + - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) + + def add(self, Name=None): + # type: (str) -> PcepTEPATHBINDINGTLVList + """Adds a new pcepTEPATHBINDINGTLVList resource on the json, only valid with batch add utility + + Args + ---- + - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + + Returns + ------- + - self: This instance with all currently retrieved pcepTEPATHBINDINGTLVList resources using find and the newly added pcepTEPATHBINDINGTLVList resources available through an iterator or index + + Raises + ------ + - Exception: if this function is not being used with config assistance + """ + return self._add_xpath(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find(self, Count=None, DescriptiveName=None, Name=None): + # type: (int, str, str) -> PcepTEPATHBINDINGTLVList + """Finds and retrieves pcepTEPATHBINDINGTLVList resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve pcepTEPATHBINDINGTLVList resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all pcepTEPATHBINDINGTLVList resources from the server. + + Args + ---- + - Count (number): Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. + - DescriptiveName (str): Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. + - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + + Returns + ------- + - self: This instance with matching pcepTEPATHBINDINGTLVList resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of pcepTEPATHBINDINGTLVList data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the pcepTEPATHBINDINGTLVList resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) + + def get_device_ids( + self, + PortNames=None, + Active=None, + BindingType=None, + Bos=None, + EndpointBehavior=None, + LocatorBlockLength=None, + LocatorNodeLength=None, + MplsLabel=None, + RemovebindingValue=None, + SendEmptyTLV=None, + SidArgumentLength=None, + SidFunctionLength=None, + Srv6SID=None, + Tc=None, + Ttl=None, + ): + """Base class infrastructure that gets a list of pcepTEPATHBINDINGTLVList device ids encapsulated by this object. + + Use the optional regex parameters in the method to refine the list of device ids encapsulated by this object. + + Args + ---- + - PortNames (str): optional regex of port names + - Active (str): optional regex of active + - BindingType (str): optional regex of bindingType + - Bos (str): optional regex of bos + - EndpointBehavior (str): optional regex of endpointBehavior + - LocatorBlockLength (str): optional regex of locatorBlockLength + - LocatorNodeLength (str): optional regex of locatorNodeLength + - MplsLabel (str): optional regex of mplsLabel + - RemovebindingValue (str): optional regex of removebindingValue + - SendEmptyTLV (str): optional regex of sendEmptyTLV + - SidArgumentLength (str): optional regex of sidArgumentLength + - SidFunctionLength (str): optional regex of sidFunctionLength + - Srv6SID (str): optional regex of srv6SID + - Tc (str): optional regex of tc + - Ttl (str): optional regex of ttl + + Returns + ------- + - list(int): A list of device ids that meets the regex criteria provided in the method parameters + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._get_ngpf_device_ids(locals()) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pceptepathbindingtlvlisttriggerparam_73209d05e577378a56b9722352f1235b.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pceptepathbindingtlvlisttriggerparam_73209d05e577378a56b9722352f1235b.py new file mode 100644 index 000000000..c1afc9495 --- /dev/null +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pceptepathbindingtlvlisttriggerparam_73209d05e577378a56b9722352f1235b.py @@ -0,0 +1,415 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from ixnetwork_restpy.base import Base +from ixnetwork_restpy.files import Files + +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class PcepTEPATHBINDINGTLVListTriggerParam(Base): + """ + The PcepTEPATHBINDINGTLVListTriggerParam class encapsulates a list of pcepTEPATHBINDINGTLVListTriggerParam resources that are managed by the user. + A list of resources can be retrieved from the server using the PcepTEPATHBINDINGTLVListTriggerParam.find() method. + The list can be managed by using the PcepTEPATHBINDINGTLVListTriggerParam.add() and PcepTEPATHBINDINGTLVListTriggerParam.remove() methods. + """ + + __slots__ = () + _SDM_NAME = "pcepTEPATHBINDINGTLVListTriggerParam" + _SDM_ATT_MAP = { + "ActiveThisTEPathBindingTLV": "activeThisTEPathBindingTLV", + "BindingType": "bindingType", + "Bos": "bos", + "Count": "count", + "DescriptiveName": "descriptiveName", + "EndpointBehavior": "endpointBehavior", + "LocatorBlockLength": "locatorBlockLength", + "LocatorNodeLength": "locatorNodeLength", + "MplsLabel": "mplsLabel", + "Name": "name", + "RemovebindingValue": "removebindingValue", + "SendEmptyTLV": "sendEmptyTLV", + "SidArgumentLength": "sidArgumentLength", + "SidFunctionLength": "sidFunctionLength", + "Srv6SID": "srv6SID", + "Tc": "tc", + "Ttl": "ttl", + } + _SDM_ENUM_MAP = {} + + def __init__(self, parent, list_op=False): + super(PcepTEPATHBINDINGTLVListTriggerParam, self).__init__(parent, list_op) + + @property + def ActiveThisTEPathBindingTLV(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Controls whether the ERO sub-object will be sent in the PCInitiate message. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["ActiveThisTEPathBindingTLV"]) + ) + + @property + def BindingType(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates the type of binding included in the TLV. Types are as follows:20bit MPLS Label32bit MPLS LabelSRv6 SIDSRv6 SID with SRv6 Endpoint Behavior and SID StructureDefault value is 20bit MPLS Label. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["BindingType"])) + + @property + def Bos(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This bit is set to True for the last entry in the label stack i.e., for the bottom of the stack, and False for all other label stack entries.This control will be editable only if Binding Type is MPLS Label 32bit. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Bos"])) + + @property + def Count(self): + # type: () -> int + """ + Returns + ------- + - number: Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. + """ + return self._get_attribute(self._SDM_ATT_MAP["Count"]) + + @property + def DescriptiveName(self): + # type: () -> str + """ + Returns + ------- + - str: Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. + """ + return self._get_attribute(self._SDM_ATT_MAP["DescriptiveName"]) + + @property + def EndpointBehavior(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): A 16 bit field representing the behavior associated with the SRv6 SIDs. This information is optional andplays no role in the fields in SRH imposed on the packet. It could be used for maintainability and diagnostic purpose. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["EndpointBehavior"]) + ) + + @property + def LocatorBlockLength(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): SRv6 SID Locator Block length in bits. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["LocatorBlockLength"]) + ) + + @property + def LocatorNodeLength(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): SRv6 SID Locator Node length in bits. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["LocatorNodeLength"]) + ) + + @property + def MplsLabel(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This control will be editable if the Binding Type is set to either 20bit or 32bit MPLS-Label. This field will take the 20bit value of the MPLS-Label + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["MplsLabel"])) + + @property + def Name(self): + # type: () -> str + """ + Returns + ------- + - str: Name of NGPF element, guaranteed to be unique in Scenario + """ + return self._get_attribute(self._SDM_ATT_MAP["Name"]) + + @Name.setter + def Name(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP["Name"], value) + + @property + def RemovebindingValue(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): If this is enabled Binding SID will go out with Remove Flag set. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["RemovebindingValue"]) + ) + + @property + def SendEmptyTLV(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): If enabled all fields after Binding Type will be grayed out. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["SendEmptyTLV"])) + + @property + def SidArgumentLength(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): SRv6 SID Arguments length in bits. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["SidArgumentLength"]) + ) + + @property + def SidFunctionLength(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): SRv6 SID Function length in bits. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["SidFunctionLength"]) + ) + + @property + def Srv6SID(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): SRv6 SID with a format of a 16 byte IPv6 address. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Srv6SID"])) + + @property + def Tc(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This field is used to carry traffic class information. This control will be editable only if Binding Type is MPLS Label 32bit. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Tc"])) + + @property + def Ttl(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(ixnetwork_restpy.multivalue.Multivalue): This field is used to encode a time-to-live value. This control will be editable only if Binding Type is MPLS Label 32bit. + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP["Ttl"])) + + def update(self, Name=None): + # type: (str) -> PcepTEPATHBINDINGTLVListTriggerParam + """Updates pcepTEPATHBINDINGTLVListTriggerParam resource on the server. + + This method has some named parameters with a type: obj (Multivalue). + The Multivalue class has documentation that details the possible values for those named parameters. + + Args + ---- + - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) + + def add(self, Name=None): + # type: (str) -> PcepTEPATHBINDINGTLVListTriggerParam + """Adds a new pcepTEPATHBINDINGTLVListTriggerParam resource on the server and adds it to the container. + + Args + ---- + - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + + Returns + ------- + - self: This instance with all currently retrieved pcepTEPATHBINDINGTLVListTriggerParam resources using find and the newly added pcepTEPATHBINDINGTLVListTriggerParam resources available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._create(self._map_locals(self._SDM_ATT_MAP, locals())) + + def remove(self): + """Deletes all the contained pcepTEPATHBINDINGTLVListTriggerParam resources in this instance from the server. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + self._delete() + + def find(self, Count=None, DescriptiveName=None, Name=None): + # type: (int, str, str) -> PcepTEPATHBINDINGTLVListTriggerParam + """Finds and retrieves pcepTEPATHBINDINGTLVListTriggerParam resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve pcepTEPATHBINDINGTLVListTriggerParam resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all pcepTEPATHBINDINGTLVListTriggerParam resources from the server. + + Args + ---- + - Count (number): Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. + - DescriptiveName (str): Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. + - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + + Returns + ------- + - self: This instance with matching pcepTEPATHBINDINGTLVListTriggerParam resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of pcepTEPATHBINDINGTLVListTriggerParam data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the pcepTEPATHBINDINGTLVListTriggerParam resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) + + def get_device_ids( + self, + PortNames=None, + ActiveThisTEPathBindingTLV=None, + BindingType=None, + Bos=None, + EndpointBehavior=None, + LocatorBlockLength=None, + LocatorNodeLength=None, + MplsLabel=None, + RemovebindingValue=None, + SendEmptyTLV=None, + SidArgumentLength=None, + SidFunctionLength=None, + Srv6SID=None, + Tc=None, + Ttl=None, + ): + """Base class infrastructure that gets a list of pcepTEPATHBINDINGTLVListTriggerParam device ids encapsulated by this object. + + Use the optional regex parameters in the method to refine the list of device ids encapsulated by this object. + + Args + ---- + - PortNames (str): optional regex of port names + - ActiveThisTEPathBindingTLV (str): optional regex of activeThisTEPathBindingTLV + - BindingType (str): optional regex of bindingType + - Bos (str): optional regex of bos + - EndpointBehavior (str): optional regex of endpointBehavior + - LocatorBlockLength (str): optional regex of locatorBlockLength + - LocatorNodeLength (str): optional regex of locatorNodeLength + - MplsLabel (str): optional regex of mplsLabel + - RemovebindingValue (str): optional regex of removebindingValue + - SendEmptyTLV (str): optional regex of sendEmptyTLV + - SidArgumentLength (str): optional regex of sidArgumentLength + - SidFunctionLength (str): optional regex of sidFunctionLength + - Srv6SID (str): optional regex of srv6SID + - Tc (str): optional regex of tc + - Ttl (str): optional regex of ttl + + Returns + ------- + - list(int): A list of device ids that meets the regex criteria provided in the method parameters + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._get_ngpf_device_ids(locals()) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcetriggerparamlist_390e56e0c3749ff467ab98b9abba9e70.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcetriggerparamlist_f73e78368b17b6d0af989167da955078.py similarity index 93% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcetriggerparamlist_390e56e0c3749ff467ab98b9abba9e70.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcetriggerparamlist_f73e78368b17b6d0af989167da955078.py index 9cb6dec27..aac86ba98 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcetriggerparamlist_390e56e0c3749ff467ab98b9abba9e70.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcetriggerparamlist_f73e78368b17b6d0af989167da955078.py @@ -57,7 +57,7 @@ class PceTriggerParamList(Base): "IncludeConfiguredERO_TriggerParam": "includeConfiguredERO_TriggerParam", "IncludeSrp": "includeSrp", "IncludeSymbolicPathNameTlvTriggerParam": "includeSymbolicPathNameTlvTriggerParam", - "IncludeTEPathBindingTLVTriggerParam": "includeTEPathBindingTLVTriggerParam", + "IncludeTEPathBindingTLV": "includeTEPathBindingTLV", "IncludeXro": "includeXro", "LearnedPlspId": "learnedPlspId", "LearnedSymbolicPathName": "learnedSymbolicPathName", @@ -67,6 +67,7 @@ class PceTriggerParamList(Base): "NumberOfAssociationObjectsTriggerParam": "numberOfAssociationObjectsTriggerParam", "NumberOfEroSubObjectsTriggerParam": "numberOfEroSubObjectsTriggerParam", "NumberOfMetricSubObjectTriggerParam": "numberOfMetricSubObjectTriggerParam", + "NumberOfTEPathBindingTLVTriggerParam": "numberOfTEPathBindingTLVTriggerParam", "NumberOfXroSubObjectsTriggerParam": "numberOfXroSubObjectsTriggerParam", "OverridePLSPID": "overridePLSPID", "OverrideSrpId": "overrideSrpId", @@ -153,6 +154,29 @@ def PcepMetricSubObjectsListTriggerParam(self): return self._properties.get("PcepMetricSubObjectsListTriggerParam") return PcepMetricSubObjectsListTriggerParam(self) + @property + def PcepTEPATHBINDINGTLVListTriggerParam(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.pceptepathbindingtlvlisttriggerparam_73209d05e577378a56b9722352f1235b.PcepTEPATHBINDINGTLVListTriggerParam): An instance of the PcepTEPATHBINDINGTLVListTriggerParam class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.pceptepathbindingtlvlisttriggerparam_73209d05e577378a56b9722352f1235b import ( + PcepTEPATHBINDINGTLVListTriggerParam, + ) + + if len(self._object_properties) > 0: + if ( + self._properties.get("PcepTEPATHBINDINGTLVListTriggerParam", None) + is not None + ): + return self._properties.get("PcepTEPATHBINDINGTLVListTriggerParam") + return PcepTEPATHBINDINGTLVListTriggerParam(self) + @property def PcepXROObjectsListTriggerParam(self): """ @@ -202,7 +226,7 @@ def Bandwidth(self): @property def BindingTypeTriggerParam(self): # type: () -> 'Multivalue' - """ + """DEPRECATED Returns ------- - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates the type of binding included in the TLV. Types are as follows: 20bit MPLS Label 32bit MPLS Label SRv6 SID Default value is 20bit MPLS Label. @@ -216,7 +240,7 @@ def BindingTypeTriggerParam(self): @property def Bos_TriggerParam(self): # type: () -> 'Multivalue' - """ + """DEPRECATED Returns ------- - obj(ixnetwork_restpy.multivalue.Multivalue): This bit is set to True for the last entry in the label stack i.e., for the bottom of the stack, and False for all other label stack entries. This control will be editable only if Binding Type is MPLS Label 32bit. @@ -421,7 +445,7 @@ def IncludeAssociation(self): @property def IncludeConfiguredERO_TriggerParam(self): # type: () -> 'Multivalue' - """ + """DEPRECATED Returns ------- - obj(ixnetwork_restpy.multivalue.Multivalue): If this is enabled, entire ERO will be go out in packet even if there is Binding SID, meaning no SR-ERO/SRv6-ERO validation will be done. @@ -463,7 +487,7 @@ def IncludeSymbolicPathNameTlvTriggerParam(self): ) @property - def IncludeTEPathBindingTLVTriggerParam(self): + def IncludeTEPathBindingTLV(self): # type: () -> 'Multivalue' """ Returns @@ -473,10 +497,7 @@ def IncludeTEPathBindingTLVTriggerParam(self): from ixnetwork_restpy.multivalue import Multivalue return Multivalue( - self, - self._get_attribute( - self._SDM_ATT_MAP["IncludeTEPathBindingTLVTriggerParam"] - ), + self, self._get_attribute(self._SDM_ATT_MAP["IncludeTEPathBindingTLV"]) ) @property @@ -535,7 +556,7 @@ def LocalProtectionForTriggerParam(self): @property def Mpls_label_20_TriggerParam(self): # type: () -> 'Multivalue' - """ + """DEPRECATED Returns ------- - obj(ixnetwork_restpy.multivalue.Multivalue): This control will be editable if the Binding Type is set to either 20bit or 32bit MPLS-Label. This field will take the 20bit value of the MPLS-Label @@ -618,6 +639,25 @@ def NumberOfMetricSubObjectTriggerParam(self, value): self._SDM_ATT_MAP["NumberOfMetricSubObjectTriggerParam"], value ) + @property + def NumberOfTEPathBindingTLVTriggerParam(self): + # type: () -> int + """ + Returns + ------- + - number: Value that indicates the number of TE-PATH-BINDING TLV to be configured. + """ + return self._get_attribute( + self._SDM_ATT_MAP["NumberOfTEPathBindingTLVTriggerParam"] + ) + + @NumberOfTEPathBindingTLVTriggerParam.setter + def NumberOfTEPathBindingTLVTriggerParam(self, value): + # type: (int) -> None + self._set_attribute( + self._SDM_ATT_MAP["NumberOfTEPathBindingTLVTriggerParam"], value + ) + @property def NumberOfXroSubObjectsTriggerParam(self): # type: () -> int @@ -714,7 +754,7 @@ def RemoveAssociationStatusForTriggerParam(self): @property def SendEmptyTLVTriggerParam(self): # type: () -> 'Multivalue' - """ + """DEPRECATED Returns ------- - obj(ixnetwork_restpy.multivalue.Multivalue): If enabled all fields after Binding Type will be grayed out. @@ -754,7 +794,7 @@ def SrpId(self): @property def Srv6SID_TriggerParam(self): # type: () -> 'Multivalue' - """ + """DEPRECATED Returns ------- - obj(ixnetwork_restpy.multivalue.Multivalue): SRv6 SID with a format of a 16 byte IPv6 address. @@ -783,7 +823,7 @@ def StandbyModeStatusForTriggerParam(self): @property def Tos_TriggerParam(self): # type: () -> 'Multivalue' - """ + """DEPRECATED Returns ------- - obj(ixnetwork_restpy.multivalue.Multivalue): This field is used to carry traffic class information. This control will be editable only if Binding Type is MPLS Label 32bit. @@ -797,7 +837,7 @@ def Tos_TriggerParam(self): @property def Ttl_TriggerParam(self): # type: () -> 'Multivalue' - """ + """DEPRECATED Returns ------- - obj(ixnetwork_restpy.multivalue.Multivalue): This field is used to encode a time-to-live value. This control will be editable only if Binding Type is MPLS Label 32bit. @@ -827,9 +867,10 @@ def update( NumberOfAssociationObjectsTriggerParam=None, NumberOfEroSubObjectsTriggerParam=None, NumberOfMetricSubObjectTriggerParam=None, + NumberOfTEPathBindingTLVTriggerParam=None, NumberOfXroSubObjectsTriggerParam=None, ): - # type: (int, str, int, int, int, int) -> PceTriggerParamList + # type: (int, str, int, int, int, int, int) -> PceTriggerParamList """Updates pceTriggerParamList resource on the server. This method has some named parameters with a type: obj (Multivalue). @@ -842,6 +883,7 @@ def update( - NumberOfAssociationObjectsTriggerParam (number): Value that indicates the number of Association Objects to be configured. - NumberOfEroSubObjectsTriggerParam (number): Value that indicates the number of ERO Sub Objects to be configured. - NumberOfMetricSubObjectTriggerParam (number): Value that indicates the number of Metric Objects to be configured. + - NumberOfTEPathBindingTLVTriggerParam (number): Value that indicates the number of TE-PATH-BINDING TLV to be configured. - NumberOfXroSubObjectsTriggerParam (number): Value that indicates the number of XRO Sub Objects to be configured. Raises @@ -857,9 +899,10 @@ def add( NumberOfAssociationObjectsTriggerParam=None, NumberOfEroSubObjectsTriggerParam=None, NumberOfMetricSubObjectTriggerParam=None, + NumberOfTEPathBindingTLVTriggerParam=None, NumberOfXroSubObjectsTriggerParam=None, ): - # type: (int, str, int, int, int, int) -> PceTriggerParamList + # type: (int, str, int, int, int, int, int) -> PceTriggerParamList """Adds a new pceTriggerParamList resource on the server and adds it to the container. Args @@ -869,6 +912,7 @@ def add( - NumberOfAssociationObjectsTriggerParam (number): Value that indicates the number of Association Objects to be configured. - NumberOfEroSubObjectsTriggerParam (number): Value that indicates the number of ERO Sub Objects to be configured. - NumberOfMetricSubObjectTriggerParam (number): Value that indicates the number of Metric Objects to be configured. + - NumberOfTEPathBindingTLVTriggerParam (number): Value that indicates the number of TE-PATH-BINDING TLV to be configured. - NumberOfXroSubObjectsTriggerParam (number): Value that indicates the number of XRO Sub Objects to be configured. Returns @@ -900,9 +944,10 @@ def find( NumberOfAssociationObjectsTriggerParam=None, NumberOfEroSubObjectsTriggerParam=None, NumberOfMetricSubObjectTriggerParam=None, + NumberOfTEPathBindingTLVTriggerParam=None, NumberOfXroSubObjectsTriggerParam=None, ): - # type: (int, str, int, str, int, int, int, int) -> PceTriggerParamList + # type: (int, str, int, str, int, int, int, int, int) -> PceTriggerParamList """Finds and retrieves pceTriggerParamList resources from the server. All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve pceTriggerParamList resources from the server. @@ -918,6 +963,7 @@ def find( - NumberOfAssociationObjectsTriggerParam (number): Value that indicates the number of Association Objects to be configured. - NumberOfEroSubObjectsTriggerParam (number): Value that indicates the number of ERO Sub Objects to be configured. - NumberOfMetricSubObjectTriggerParam (number): Value that indicates the number of Metric Objects to be configured. + - NumberOfTEPathBindingTLVTriggerParam (number): Value that indicates the number of TE-PATH-BINDING TLV to be configured. - NumberOfXroSubObjectsTriggerParam (number): Value that indicates the number of XRO Sub Objects to be configured. Returns @@ -968,7 +1014,7 @@ def get_device_ids( IncludeConfiguredERO_TriggerParam=None, IncludeSrp=None, IncludeSymbolicPathNameTlvTriggerParam=None, - IncludeTEPathBindingTLVTriggerParam=None, + IncludeTEPathBindingTLV=None, IncludeXro=None, LearnedPlspId=None, LearnedSymbolicPathName=None, @@ -1012,7 +1058,7 @@ def get_device_ids( - IncludeConfiguredERO_TriggerParam (str): optional regex of includeConfiguredERO_TriggerParam - IncludeSrp (str): optional regex of includeSrp - IncludeSymbolicPathNameTlvTriggerParam (str): optional regex of includeSymbolicPathNameTlvTriggerParam - - IncludeTEPathBindingTLVTriggerParam (str): optional regex of includeTEPathBindingTLVTriggerParam + - IncludeTEPathBindingTLV (str): optional regex of includeTEPathBindingTLV - IncludeXro (str): optional regex of includeXro - LearnedPlspId (str): optional regex of learnedPlspId - LearnedSymbolicPathName (str): optional regex of learnedSymbolicPathName diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcreplylspparameters_73031069954bcd625c2f1df5c90abae7.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcreplylspparameters_20e35ff81e20c98310382047d3d57147.py similarity index 94% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcreplylspparameters_73031069954bcd625c2f1df5c90abae7.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcreplylspparameters_20e35ff81e20c98310382047d3d57147.py index e500eed5c..cc2240521 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcreplylspparameters_73031069954bcd625c2f1df5c90abae7.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcreplylspparameters_20e35ff81e20c98310382047d3d57147.py @@ -65,6 +65,7 @@ class PcReplyLspParameters(Base): "NatureOfIssue": "natureOfIssue", "NumberOfEroSubObjects": "numberOfEroSubObjects", "NumberOfMetricSubObject": "numberOfMetricSubObject", + "NumberOfTEPathBindingTLV": "numberOfTEPathBindingTLV", "NumberOfXroSubObjects": "numberOfXroSubObjects", "PlspId": "plspId", "PriorityValue": "priorityValue", @@ -170,6 +171,26 @@ def PcepSRv6EROObjectsList(self): return self._properties.get("PcepSRv6EROObjectsList") return PcepSRv6EROObjectsList(self) + @property + def PcepTEPATHBINDINGTLVList(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.pceptepathbindingtlvlist_f4c1df238c92bb045645b2a65159e09e.PcepTEPATHBINDINGTLVList): An instance of the PcepTEPATHBINDINGTLVList class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.pceptepathbindingtlvlist_f4c1df238c92bb045645b2a65159e09e import ( + PcepTEPATHBINDINGTLVList, + ) + + if len(self._object_properties) > 0: + if self._properties.get("PcepTEPATHBINDINGTLVList", None) is not None: + return self._properties.get("PcepTEPATHBINDINGTLVList") + return PcepTEPATHBINDINGTLVList(self) + @property def Active(self): # type: () -> 'Multivalue' @@ -209,7 +230,7 @@ def BiDirectional(self): @property def BindingType(self): # type: () -> 'Multivalue' - """ + """DEPRECATED Returns ------- - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates the type of binding included in the TLV. Types are as follows: 20bit MPLS Label 32bit MPLS Label. SRv6 SID Default value is 20bit MPLS Label. @@ -221,7 +242,7 @@ def BindingType(self): @property def Bos(self): # type: () -> 'Multivalue' - """ + """DEPRECATED Returns ------- - obj(ixnetwork_restpy.multivalue.Multivalue): This bit is set to True for the last entry in the label stack i.e., for the bottom of the stack, and False for all other label stack entries. This control will be editable only if Binding Type is MPLS Label 32bit. @@ -377,7 +398,7 @@ def IncludeBandwidth(self): @property def IncludeConfiguredERO(self): # type: () -> 'Multivalue' - """ + """DEPRECATED Returns ------- - obj(ixnetwork_restpy.multivalue.Multivalue): If this is enabled, entire ERO will go out in packet even if there is Binding SID, which means no SR-ERO/SRv6-ERO validation will be done. @@ -481,7 +502,7 @@ def LocalProtection(self): @property def MplsLabel(self): # type: () -> 'Multivalue' - """ + """DEPRECATED Returns ------- - obj(ixnetwork_restpy.multivalue.Multivalue): This control will be editable if the Binding Type is set to either 20bit or 32bit MPLS-Label. This field will take the 20bit value of the MPLS-Label @@ -547,6 +568,21 @@ def NumberOfMetricSubObject(self, value): # type: (int) -> None self._set_attribute(self._SDM_ATT_MAP["NumberOfMetricSubObject"], value) + @property + def NumberOfTEPathBindingTLV(self): + # type: () -> int + """ + Returns + ------- + - number: Value that indicates the number of TE-PATH-BINDING TLV to be configured. + """ + return self._get_attribute(self._SDM_ATT_MAP["NumberOfTEPathBindingTLV"]) + + @NumberOfTEPathBindingTLV.setter + def NumberOfTEPathBindingTLV(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["NumberOfTEPathBindingTLV"], value) + @property def NumberOfXroSubObjects(self): # type: () -> int @@ -699,7 +735,7 @@ def ResponsePathType(self): @property def SendEmptyTLV(self): # type: () -> 'Multivalue' - """ + """DEPRECATED Returns ------- - obj(ixnetwork_restpy.multivalue.Multivalue): If enabled all fields after Binding Type will be grayed out. @@ -733,7 +769,7 @@ def SetupPriority(self): @property def Srv6SID(self): # type: () -> 'Multivalue' - """ + """DEPRECATED Returns ------- - obj(ixnetwork_restpy.multivalue.Multivalue): SRv6 SID with a format of a 16 byte IPv6 address. @@ -759,7 +795,7 @@ def SymbolicPathName(self): @property def Tc(self): # type: () -> 'Multivalue' - """ + """DEPRECATED Returns ------- - obj(ixnetwork_restpy.multivalue.Multivalue): This field is used to carry traffic class information. This control will be editable only if Binding Type is MPLS Label 32bit. @@ -771,7 +807,7 @@ def Tc(self): @property def Ttl(self): # type: () -> 'Multivalue' - """ + """DEPRECATED Returns ------- - obj(ixnetwork_restpy.multivalue.Multivalue): This field is used to encode a time-to-live value. This control will be editable only if Binding Type is MPLS Label 32bit. @@ -785,9 +821,10 @@ def update( Name=None, NumberOfEroSubObjects=None, NumberOfMetricSubObject=None, + NumberOfTEPathBindingTLV=None, NumberOfXroSubObjects=None, ): - # type: (str, int, int, int) -> PcReplyLspParameters + # type: (str, int, int, int, int) -> PcReplyLspParameters """Updates pcReplyLspParameters resource on the server. This method has some named parameters with a type: obj (Multivalue). @@ -798,6 +835,7 @@ def update( - Name (str): Name of NGPF element, guaranteed to be unique in Scenario - NumberOfEroSubObjects (number): Number of ERO Sub Objects - NumberOfMetricSubObject (number): Number of Metric + - NumberOfTEPathBindingTLV (number): Value that indicates the number of TE-PATH-BINDING TLV to be configured. - NumberOfXroSubObjects (number): Number of XRO Sub Objects Raises @@ -813,12 +851,13 @@ def find( Name=None, NumberOfEroSubObjects=None, NumberOfMetricSubObject=None, + NumberOfTEPathBindingTLV=None, NumberOfXroSubObjects=None, ReceivedPLSPID=None, ReceivedSymbolicPath=None, SessionInfo=None, ): - # type: (int, str, str, int, int, int, List[int], List[str], List[str]) -> PcReplyLspParameters + # type: (int, str, str, int, int, int, int, List[int], List[str], List[str]) -> PcReplyLspParameters """Finds and retrieves pcReplyLspParameters resources from the server. All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve pcReplyLspParameters resources from the server. @@ -832,6 +871,7 @@ def find( - Name (str): Name of NGPF element, guaranteed to be unique in Scenario - NumberOfEroSubObjects (number): Number of ERO Sub Objects - NumberOfMetricSubObject (number): Number of Metric + - NumberOfTEPathBindingTLV (number): Value that indicates the number of TE-PATH-BINDING TLV to be configured. - NumberOfXroSubObjects (number): Number of XRO Sub Objects - ReceivedPLSPID (list(number)): Received PLSP-ID in PcRequest - ReceivedSymbolicPath (list(str)): Received Symbolic Path Name in PcRequest diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pppoxclient_f43b198156c11196dbbd8c4dbee2af9d.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pppoxclient_f43b198156c11196dbbd8c4dbee2af9d.py index d6dcacd71..768cc6879 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pppoxclient_f43b198156c11196dbbd8c4dbee2af9d.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pppoxclient_f43b198156c11196dbbd8c4dbee2af9d.py @@ -648,13 +648,13 @@ def TlvProfile(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c.TlvProfile): An instance of the TlvProfile class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26.TlvProfile): An instance of the TlvProfile class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26 import ( TlvProfile, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/preestablishedsrlsps_95c5549c90184bfff112fd02cc41c84f.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/preestablishedsrlsps_967b2455bf37443139cbc5750c81086f.py similarity index 95% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/preestablishedsrlsps_95c5549c90184bfff112fd02cc41c84f.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/preestablishedsrlsps_967b2455bf37443139cbc5750c81086f.py index 1e8b8bbe9..17e2884a3 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/preestablishedsrlsps_95c5549c90184bfff112fd02cc41c84f.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/preestablishedsrlsps_967b2455bf37443139cbc5750c81086f.py @@ -69,6 +69,7 @@ class PreEstablishedSrLsps(Base): "NumberOfAssociationObjects": "numberOfAssociationObjects", "NumberOfEroSubObjects": "numberOfEroSubObjects", "NumberOfMetricSubObject": "numberOfMetricSubObject", + "NumberOfTEPathBindingTLV": "numberOfTEPathBindingTLV", "OverridePlspId": "overridePlspId", "PathSetupType": "pathSetupType", "PlspId": "plspId", @@ -172,6 +173,26 @@ def PcepSRv6EROObjectsList(self): return self._properties.get("PcepSRv6EROObjectsList") return PcepSRv6EROObjectsList(self) + @property + def PcepTEPATHBINDINGTLVList(self): + """ + Returns + ------- + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.pceptepathbindingtlvlist_a446e2f09315dac50332432f39dfd53a.PcepTEPATHBINDINGTLVList): An instance of the PcepTEPATHBINDINGTLVList class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.pceptepathbindingtlvlist_a446e2f09315dac50332432f39dfd53a import ( + PcepTEPATHBINDINGTLVList, + ) + + if len(self._object_properties) > 0: + if self._properties.get("PcepTEPATHBINDINGTLVList", None) is not None: + return self._properties.get("PcepTEPATHBINDINGTLVList") + return PcepTEPATHBINDINGTLVList(self) + @property def Tag(self): """ @@ -245,10 +266,10 @@ def Bandwidth(self): @property def BindingType(self): # type: () -> 'Multivalue' - """ + """DEPRECATED Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates the type of binding included in the TLV. Types are as follows: 20bit MPLS Label 32bit MPLS Label. SRv6 SID Default value is 20bit MPLS Label. + - obj(ixnetwork_restpy.multivalue.Multivalue): Indicates the type of binding included in the TLV. Types are as follows:20bit MPLS Label32bit MPLS Label.SRv6 SIDSRv6 SID with SRv6 Endpoint Behavior and SID StructureDefault value is 20bit MPLS Label. """ from ixnetwork_restpy.multivalue import Multivalue @@ -257,7 +278,7 @@ def BindingType(self): @property def Bos(self): # type: () -> 'Multivalue' - """ + """DEPRECATED Returns ------- - obj(ixnetwork_restpy.multivalue.Multivalue): This bit is set to True for the last entry in the label stack i.e., for the bottom of the stack, and False for all other label stack entries. This control will be editable only if Binding Type is MPLS Label 32bit. @@ -395,7 +416,7 @@ def IncludeBandwidth(self): @property def IncludeConfiguredERO(self): # type: () -> 'Multivalue' - """ + """DEPRECATED Returns ------- - obj(ixnetwork_restpy.multivalue.Multivalue): If this is enabled, entire ERO will go out in packet even if there is Binding SID, which means no SR-ERO/SRv6-ERO validation will be done. @@ -562,7 +583,7 @@ def LspDelegationState(self): @property def MplsLabel(self): # type: () -> 'Multivalue' - """ + """DEPRECATED Returns ------- - obj(ixnetwork_restpy.multivalue.Multivalue): This control will be editable if the Binding Type is set to either 20bit or 32bit MPLS-Label. This field will take the 20bit value of the MPLS-Label @@ -631,6 +652,21 @@ def NumberOfMetricSubObject(self, value): # type: (int) -> None self._set_attribute(self._SDM_ATT_MAP["NumberOfMetricSubObject"], value) + @property + def NumberOfTEPathBindingTLV(self): + # type: () -> int + """ + Returns + ------- + - number: Value that indicates the number of TE-PATH-BINDING TLV to be configured. + """ + return self._get_attribute(self._SDM_ATT_MAP["NumberOfTEPathBindingTLV"]) + + @NumberOfTEPathBindingTLV.setter + def NumberOfTEPathBindingTLV(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["NumberOfTEPathBindingTLV"], value) + @property def OverridePlspId(self): # type: () -> bool @@ -766,7 +802,7 @@ def SrcIpv4(self): @property def Srv6SID(self): # type: () -> 'Multivalue' - """ + """DEPRECATED Returns ------- - obj(ixnetwork_restpy.multivalue.Multivalue): SRv6 SID with a format of a 16 byte IPv6 address. @@ -804,7 +840,7 @@ def SymbolicPathName(self): @property def Tc(self): # type: () -> 'Multivalue' - """ + """DEPRECATED Returns ------- - obj(ixnetwork_restpy.multivalue.Multivalue): This field is used to carry traffic class information. This control will be editable only if Binding Type is MPLS Label 32bit. @@ -816,7 +852,7 @@ def Tc(self): @property def Ttl(self): # type: () -> 'Multivalue' - """ + """DEPRECATED Returns ------- - obj(ixnetwork_restpy.multivalue.Multivalue): This field is used to encode a time-to-live value. This control will be editable only if Binding Type is MPLS Label 32bit. @@ -832,10 +868,11 @@ def update( NumberOfAssociationObjects=None, NumberOfEroSubObjects=None, NumberOfMetricSubObject=None, + NumberOfTEPathBindingTLV=None, OverridePlspId=None, PathSetupType=None, ): - # type: (bool, str, int, int, int, bool, str) -> PreEstablishedSrLsps + # type: (bool, str, int, int, int, int, bool, str) -> PreEstablishedSrLsps """Updates preEstablishedSrLsps resource on the server. This method has some named parameters with a type: obj (Multivalue). @@ -848,6 +885,7 @@ def update( - NumberOfAssociationObjects (number): Value that indicates the number of Association Objects to be configured. - NumberOfEroSubObjects (number): Value that indicates the number of ERO Sub Objects to be configured. - NumberOfMetricSubObject (number): Value that indicates the number of Metric Objects to be configured. + - NumberOfTEPathBindingTLV (number): Value that indicates the number of TE-PATH-BINDING TLV to be configured. - OverridePlspId (bool): Indicates if PLSP-ID will be set by the state machine or user. If disabled user wont have the control and state machine will set it. - PathSetupType (str(sR | sRv6)): Indicates the type of LSP that will be sent in the PcReport for Pre-Established LSPs. @@ -867,11 +905,12 @@ def find( NumberOfAssociationObjects=None, NumberOfEroSubObjects=None, NumberOfMetricSubObject=None, + NumberOfTEPathBindingTLV=None, OverridePlspId=None, PathSetupType=None, ReDelegationTimerStatus=None, ): - # type: (int, str, bool, List[str], str, int, int, int, bool, str, List[str]) -> PreEstablishedSrLsps + # type: (int, str, bool, List[str], str, int, int, int, int, bool, str, List[str]) -> PreEstablishedSrLsps """Finds and retrieves preEstablishedSrLsps resources from the server. All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve preEstablishedSrLsps resources from the server. @@ -888,6 +927,7 @@ def find( - NumberOfAssociationObjects (number): Value that indicates the number of Association Objects to be configured. - NumberOfEroSubObjects (number): Value that indicates the number of ERO Sub Objects to be configured. - NumberOfMetricSubObject (number): Value that indicates the number of Metric Objects to be configured. + - NumberOfTEPathBindingTLV (number): Value that indicates the number of TE-PATH-BINDING TLV to be configured. - OverridePlspId (bool): Indicates if PLSP-ID will be set by the state machine or user. If disabled user wont have the control and state machine will set it. - PathSetupType (str(sR | sRv6)): Indicates the type of LSP that will be sent in the PcReport for Pre-Established LSPs. - ReDelegationTimerStatus (list(str[expired | none | notStarted | running | stopped])): Re-Delegation Timer Status diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/simrouter_6b838313b6104e3f157ae2656c6afbb1.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/simrouter_6b838313b6104e3f157ae2656c6afbb1.py index e00c80488..0cb7398e6 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/simrouter_6b838313b6104e3f157ae2656c6afbb1.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/simrouter_6b838313b6104e3f157ae2656c6afbb1.py @@ -73,13 +73,13 @@ def IsisL3PseudoRouter(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.isisl3pseudorouter_5715ca59d18252d03e32609350922ccb.IsisL3PseudoRouter): An instance of the IsisL3PseudoRouter class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.isisl3pseudorouter_cc48b213b1c82a8d7545254aacd48ebb.IsisL3PseudoRouter): An instance of the IsisL3PseudoRouter class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.isisl3pseudorouter_5715ca59d18252d03e32609350922ccb import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.isisl3pseudorouter_cc48b213b1c82a8d7545254aacd48ebb import ( IsisL3PseudoRouter, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/srv6oam_222b2d34be60272a50cccc049cada4ef.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/srv6oam_222b2d34be60272a50cccc049cada4ef.py index 85e5e5819..7ecb8aabb 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/srv6oam_222b2d34be60272a50cccc049cada4ef.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/srv6oam_222b2d34be60272a50cccc049cada4ef.py @@ -98,13 +98,13 @@ def LearnedInfoUpdate(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.learnedinfoupdate_b6503122c0a4a58877467964920e27b5.LearnedInfoUpdate): An instance of the LearnedInfoUpdate class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.learnedinfoupdate_0f2cd377c44f7dfc2c15b68516dc2707.LearnedInfoUpdate): An instance of the LearnedInfoUpdate class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.learnedinfoupdate_b6503122c0a4a58877467964920e27b5 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.learnedinfoupdate_0f2cd377c44f7dfc2c15b68516dc2707 import ( LearnedInfoUpdate, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/srv6oamdestination_4c1ece21781b682b07f8d26d61f2b8b6.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/srv6oamdestination_4c1ece21781b682b07f8d26d61f2b8b6.py index 8aeb82f8b..17fc9e7b2 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/srv6oamdestination_4c1ece21781b682b07f8d26d61f2b8b6.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/srv6oamdestination_4c1ece21781b682b07f8d26d61f2b8b6.py @@ -422,7 +422,7 @@ def PayloadLen(self): """ Returns ------- - - obj(ixnetwork_restpy.multivalue.Multivalue): ICMPv6/UDP payload length, min 0 and max 1500 bytes. + - obj(ixnetwork_restpy.multivalue.Multivalue): ICMPv6/UDP payload length, min 0 and max 8900 bytes. Message size must be less than or equal to MTU size including payload. """ from ixnetwork_restpy.multivalue import Multivalue diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/tlvprofile_69db000d3ef3b060f5edc387b878736c.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/tlvprofile_421be1db953efaf826fe146cf9700e26.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/tlvprofile_69db000d3ef3b060f5edc387b878736c.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/tlvprofile_421be1db953efaf826fe146cf9700e26.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/traffic.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/traffic.py index fc61515e6..92e57498c 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/traffic.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/traffic.py @@ -82,6 +82,7 @@ class Traffic(Base): "PreventDataPlaneToCpu": "preventDataPlaneToCpu", "RefreshLearnedInfoBeforeApply": "refreshLearnedInfoBeforeApply", "State": "state", + "TrafficItemsChanged": "trafficItemsChanged", "UseRfc5952": "useRfc5952", "UseScheduledStartTransmit": "useScheduledStartTransmit", "UseTxRxSync": "useTxRxSync", @@ -955,6 +956,16 @@ def State(self): """ return self._get_attribute(self._SDM_ATT_MAP["State"]) + @property + def TrafficItemsChanged(self): + # type: () -> int + """ + Returns + ------- + - number: Keeps track if traffic has changed + """ + return self._get_attribute(self._SDM_ATT_MAP["TrafficItemsChanged"]) + @property def UseRfc5952(self): # type: () -> bool @@ -1171,12 +1182,13 @@ def find( PreventDataPlaneToCpu=None, RefreshLearnedInfoBeforeApply=None, State=None, + TrafficItemsChanged=None, UseRfc5952=None, UseScheduledStartTransmit=None, UseTxRxSync=None, WaitTime=None, ): - # type: (bool, int, str, int, str, str, int, int, int, bool, bool, bool, str, int, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, str, str, int, bool, bool, bool, int, int, int, int, bool, int, int, int, int, bool, bool, str, bool, bool, bool, int) -> Traffic + # type: (bool, int, str, int, str, str, int, int, int, bool, bool, bool, str, int, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, str, str, int, bool, bool, bool, int, int, int, int, bool, int, int, int, int, bool, bool, str, int, bool, bool, bool, int) -> Traffic """Finds and retrieves traffic resources from the server. All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve traffic resources from the server. @@ -1232,6 +1244,7 @@ def find( - PreventDataPlaneToCpu (bool): Prevent all data plane packets from being forwarded to Port CPU (disabling this option requires Port CPU reboot) - RefreshLearnedInfoBeforeApply (bool): This field refreshes the learned information from the DUT. - State (str(error | locked | started | startedWaitingForStats | startedWaitingForStreams | stopped | stoppedWaitingForStats | txStopWatchExpected | unapplied)): Denotes the current state of traffic. + - TrafficItemsChanged (number): Keeps track if traffic has changed - UseRfc5952 (bool): Use RFC 5952 for formatting IPv6 addresses (:ffff:1.2.3.4) - UseScheduledStartTransmit (bool): Use Scheduled Start Transmit - UseTxRxSync (bool): If true, enables the transmit/receive port synchronization algorithm. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/configelement/stack/macsec_template.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/configelement/stack/macsec_template.py index 9d885c5b0..8b2a6c5f7 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/configelement/stack/macsec_template.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/configelement/stack/macsec_template.py @@ -19,17 +19,19 @@ class Macsec(Base): "AesXpn256SaltXpn256": "macsec.secTag.metadata.cipherSuite.aesXpn256.saltXpn256-11", "MetadataConfEnabled": "macsec.secTag.metadata.confEnabled-12", "MetadataConfOffset": "macsec.secTag.metadata.confOffset-13", - "TciVer": "macsec.secTag.tci.ver-14", - "TciEs": "macsec.secTag.tci.es-15", - "TciSc": "macsec.secTag.tci.sc-16", - "TciScb": "macsec.secTag.tci.scb-17", - "TciE": "macsec.secTag.tci.e-18", - "TciC": "macsec.secTag.tci.c-19", - "SecTagAn": "macsec.secTag.an-20", - "SecTagSl": "macsec.secTag.sl-21", - "SecTagPn": "macsec.secTag.pn-22", - "SciSysid": "macsec.secTag.sci.sysid-23", - "SciPortid": "macsec.secTag.sci.portid-24", + "MetadataSysidMeta": "macsec.secTag.metadata.sysidMeta-14", + "MetadataPortidMeta": "macsec.secTag.metadata.portidMeta-15", + "TciVer": "macsec.secTag.tci.ver-16", + "TciEs": "macsec.secTag.tci.es-17", + "TciSc": "macsec.secTag.tci.sc-18", + "TciScb": "macsec.secTag.tci.scb-19", + "TciE": "macsec.secTag.tci.e-20", + "TciC": "macsec.secTag.tci.c-21", + "SecTagAn": "macsec.secTag.an-22", + "SecTagSl": "macsec.secTag.sl-23", + "SecTagPn": "macsec.secTag.pn-24", + "SciSysid": "macsec.secTag.sci.sysid-25", + "SciPortid": "macsec.secTag.sci.portid-26", } def __init__(self, parent, list_op=False): @@ -202,6 +204,32 @@ def MetadataConfOffset(self): self, self._get_attribute(self._SDM_ATT_MAP["MetadataConfOffset"]) ) + @property + def MetadataSysidMeta(self): + """ + Display Name: System Identifier + Default Value: 00:11:01:00:00:01 + Value Format: mAC + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["MetadataSysidMeta"]) + ) + + @property + def MetadataPortidMeta(self): + """ + Display Name: Port Identifier + Default Value: 1 + Value Format: decimal + """ + from ixnetwork_restpy.multivalue import Multivalue + + return Multivalue( + self, self._get_attribute(self._SDM_ATT_MAP["MetadataPortidMeta"]) + ) + @property def TciVer(self): """ diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/capture/capture.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/capture/capture.py index 9bfcb07e0..abc8faeb5 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/capture/capture.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/capture/capture.py @@ -52,6 +52,9 @@ class Capture(Base): "ControlPacketCounter": "controlPacketCounter", "ControlSliceSize": "controlSliceSize", "DataActiveCapture": "dataActiveCapture", + "DataCapturePacketWindowEnabled": "dataCapturePacketWindowEnabled", + "DataCapturePacketWindowEndIndex": "dataCapturePacketWindowEndIndex", + "DataCapturePacketWindowStartIndex": "dataCapturePacketWindowStartIndex", "DataCaptureState": "dataCaptureState", "DataCapturedPacketCounter": "dataCapturedPacketCounter", "DataCaptures": "dataCaptures", @@ -409,6 +412,55 @@ def DataActiveCapture(self, value): # type: (str) -> None self._set_attribute(self._SDM_ATT_MAP["DataActiveCapture"], value) + @property + def DataCapturePacketWindowEnabled(self): + # type: () -> bool + """ + Returns + ------- + - bool: Indicates if the packet window is enabled for the current capture. + """ + return self._get_attribute(self._SDM_ATT_MAP["DataCapturePacketWindowEnabled"]) + + @DataCapturePacketWindowEnabled.setter + def DataCapturePacketWindowEnabled(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP["DataCapturePacketWindowEnabled"], value) + + @property + def DataCapturePacketWindowEndIndex(self): + # type: () -> int + """ + Returns + ------- + - number: Sets the end index of the packet window. + """ + return self._get_attribute(self._SDM_ATT_MAP["DataCapturePacketWindowEndIndex"]) + + @DataCapturePacketWindowEndIndex.setter + def DataCapturePacketWindowEndIndex(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP["DataCapturePacketWindowEndIndex"], value) + + @property + def DataCapturePacketWindowStartIndex(self): + # type: () -> int + """ + Returns + ------- + - number: Sets the start index of the packet window. + """ + return self._get_attribute( + self._SDM_ATT_MAP["DataCapturePacketWindowStartIndex"] + ) + + @DataCapturePacketWindowStartIndex.setter + def DataCapturePacketWindowStartIndex(self, value): + # type: (int) -> None + self._set_attribute( + self._SDM_ATT_MAP["DataCapturePacketWindowStartIndex"], value + ) + @property def DataCaptureState(self): # type: () -> str @@ -638,6 +690,9 @@ def update( ControlInterfaceType=None, ControlSliceSize=None, DataActiveCapture=None, + DataCapturePacketWindowEnabled=None, + DataCapturePacketWindowEndIndex=None, + DataCapturePacketWindowStartIndex=None, DataReceiveTimestamp=None, DisplayFiltersControlCapture=None, DisplayFiltersDataCapture=None, @@ -646,7 +701,7 @@ def update( SoftwareEnabled=None, TriggerPosition=None, ): - # type: (str, str, str, str, str, str, int, str, str, str, int, str, str, str, str, bool, int, bool, int) -> Capture + # type: (str, str, str, str, str, str, int, str, str, str, int, str, bool, int, int, str, str, str, bool, int, bool, int) -> Capture """Updates capture resource on the server. Args @@ -663,6 +718,9 @@ def update( - ControlInterfaceType (str(anyInterface | specificInterface)): Enables control capture on the desired interfaces. - ControlSliceSize (number): Sets the size of the control capture slices. - DataActiveCapture (str): The name of the active data capture (if any). The active data capture is the last one made on the port by default; but the user can change it using this attribute. + - DataCapturePacketWindowEnabled (bool): Indicates if the packet window is enabled for the current capture. + - DataCapturePacketWindowEndIndex (number): Sets the end index of the packet window. + - DataCapturePacketWindowStartIndex (number): Sets the start index of the packet window. - DataReceiveTimestamp (str(chassisUtcTime | hwTimestamp)): Controls whether the data capture packets timestamp are using the chassis UTC time or the HW timestamp. - DisplayFiltersControlCapture (str): Displays the packet filter set inside the control capture that is used to filter the already captured packets - DisplayFiltersDataCapture (str): Displays the packet filter set inside the data capture that is used to filter the already captured packets @@ -696,6 +754,9 @@ def find( ControlPacketCounter=None, ControlSliceSize=None, DataActiveCapture=None, + DataCapturePacketWindowEnabled=None, + DataCapturePacketWindowEndIndex=None, + DataCapturePacketWindowStartIndex=None, DataCaptureState=None, DataCapturedPacketCounter=None, DataCaptures=None, @@ -715,7 +776,7 @@ def find( SoftwareEnabled=None, TriggerPosition=None, ): - # type: (str, str, str, str, str, str, int, str, str, str, int, str, str, str, int, int, str, str, int, str, str, int, str, List[str], List[str], List[str], str, str, bool, bool, bool, bool, int, bool, int) -> Capture + # type: (str, str, str, str, str, str, int, str, str, str, int, str, str, str, int, int, str, bool, int, int, str, int, str, str, int, str, List[str], List[str], List[str], str, str, bool, bool, bool, bool, int, bool, int) -> Capture """Finds and retrieves capture resources from the server. All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve capture resources from the server. @@ -741,6 +802,9 @@ def find( - ControlPacketCounter (number): Shows the number of control capture packets. - ControlSliceSize (number): Sets the size of the control capture slices. - DataActiveCapture (str): The name of the active data capture (if any). The active data capture is the last one made on the port by default; but the user can change it using this attribute. + - DataCapturePacketWindowEnabled (bool): Indicates if the packet window is enabled for the current capture. + - DataCapturePacketWindowEndIndex (number): Sets the end index of the packet window. + - DataCapturePacketWindowStartIndex (number): Sets the start index of the packet window. - DataCaptureState (str(notReady | ready)): Current state of the data capture; ready if all packets have been uploaded on client or notReady if packet uploading is in progress. - DataCapturedPacketCounter (number): - DataCaptures (str): The list of data captures which are available for the port. diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/applysetfield_6b54e7b16ba9baf0b2a20fe04e8667fc.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/applysetfield_7affd1e09afce28a240867653ece2b1a.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/applysetfield_6b54e7b16ba9baf0b2a20fe04e8667fc.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/applysetfield_7affd1e09afce28a240867653ece2b1a.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/bridge_f5eb213292554c87fbba0896618d8189.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/bridge_f5eb213292554c87fbba0896618d8189.py index 98f078dc8..af84dde43 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/bridge_f5eb213292554c87fbba0896618d8189.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/bridge_f5eb213292554c87fbba0896618d8189.py @@ -192,13 +192,13 @@ def Cist(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocols.cist_7c0c7d81a93f9c4eb25c40a47dfbc2af.Cist): An instance of the Cist class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocols.cist_68f0971c9777c68c74462bca49dfbc28.Cist): An instance of the Cist class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocols.cist_7c0c7d81a93f9c4eb25c40a47dfbc2af import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocols.cist_68f0971c9777c68c74462bca49dfbc28 import ( Cist, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/cist_7c0c7d81a93f9c4eb25c40a47dfbc2af.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/cist_68f0971c9777c68c74462bca49dfbc28.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/cist_7c0c7d81a93f9c4eb25c40a47dfbc2af.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/cist_68f0971c9777c68c74462bca49dfbc28.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/hosttopologylearnedinformation_4110abe6bc708b97f65a28c397fa159a.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/hosttopologylearnedinformation_a15e8f019af7bb51517582abe5420f9e.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/hosttopologylearnedinformation_4110abe6bc708b97f65a28c397fa159a.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/hosttopologylearnedinformation_a15e8f019af7bb51517582abe5420f9e.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/learnedinformation_0f99cbd8f68676519789d627dcbdf3bd.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/learnedinformation_bc2e368143330cd32a96af7ea8b5bb3a.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/learnedinformation_0f99cbd8f68676519789d627dcbdf3bd.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/learnedinformation_bc2e368143330cd32a96af7ea8b5bb3a.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/openflow_81b0892fb793919c2b8ec714a09eb3dc.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/openflow_81b0892fb793919c2b8ec714a09eb3dc.py index 699085beb..dd81578a7 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/openflow_81b0892fb793919c2b8ec714a09eb3dc.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/openflow_81b0892fb793919c2b8ec714a09eb3dc.py @@ -92,13 +92,13 @@ def HostTopologyLearnedInformation(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocols.hosttopologylearnedinformation_4110abe6bc708b97f65a28c397fa159a.HostTopologyLearnedInformation): An instance of the HostTopologyLearnedInformation class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocols.hosttopologylearnedinformation_a15e8f019af7bb51517582abe5420f9e.HostTopologyLearnedInformation): An instance of the HostTopologyLearnedInformation class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocols.hosttopologylearnedinformation_4110abe6bc708b97f65a28c397fa159a import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocols.hosttopologylearnedinformation_a15e8f019af7bb51517582abe5420f9e import ( HostTopologyLearnedInformation, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/protocols.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/protocols.py index 6a7e2e72a..cd6dd28fc 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/protocols.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/protocols.py @@ -508,13 +508,13 @@ def Static(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocols.static_5795de030fada71c167436cb330786b5.Static): An instance of the Static class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocols.static_e79f48c67dc04c4349a4bfc7549f0778.Static): An instance of the Static class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocols.static_5795de030fada71c167436cb330786b5 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocols.static_e79f48c67dc04c4349a4bfc7549f0778 import ( Static, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/router_320e1c5c099823f4ba100b7eaf8bb8d9.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/router_320e1c5c099823f4ba100b7eaf8bb8d9.py index 549825336..945ef80a0 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/router_320e1c5c099823f4ba100b7eaf8bb8d9.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/router_320e1c5c099823f4ba100b7eaf8bb8d9.py @@ -276,13 +276,13 @@ def LearnedInformation(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocols.learnedinformation_0f99cbd8f68676519789d627dcbdf3bd.LearnedInformation): An instance of the LearnedInformation class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocols.learnedinformation_bc2e368143330cd32a96af7ea8b5bb3a.LearnedInformation): An instance of the LearnedInformation class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocols.learnedinformation_0f99cbd8f68676519789d627dcbdf3bd import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocols.learnedinformation_bc2e368143330cd32a96af7ea8b5bb3a import ( LearnedInformation, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/static_5795de030fada71c167436cb330786b5.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/static_e79f48c67dc04c4349a4bfc7549f0778.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/static_5795de030fada71c167436cb330786b5.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/static_e79f48c67dc04c4349a4bfc7549f0778.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/tablefeaturepropertiestrigger_159cbb76bc90f1cb0a06dd89e98757fa.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/tablefeaturepropertiestrigger_159cbb76bc90f1cb0a06dd89e98757fa.py index ab6ed0737..cc66ddc2f 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/tablefeaturepropertiestrigger_159cbb76bc90f1cb0a06dd89e98757fa.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/tablefeaturepropertiestrigger_159cbb76bc90f1cb0a06dd89e98757fa.py @@ -83,13 +83,13 @@ def ApplySetField(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocols.applysetfield_6b54e7b16ba9baf0b2a20fe04e8667fc.ApplySetField): An instance of the ApplySetField class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocols.applysetfield_7affd1e09afce28a240867653ece2b1a.ApplySetField): An instance of the ApplySetField class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocols.applysetfield_6b54e7b16ba9baf0b2a20fe04e8667fc import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocols.applysetfield_7affd1e09afce28a240867653ece2b1a import ( ApplySetField, ) @@ -223,13 +223,13 @@ def WriteSetField(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocols.writesetfield_dfdf63f4b03a4c586826f4e2a45d55f1.WriteSetField): An instance of the WriteSetField class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocols.writesetfield_f6680032f23d081fe60174c0337b285b.WriteSetField): An instance of the WriteSetField class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocols.writesetfield_dfdf63f4b03a4c586826f4e2a45d55f1 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocols.writesetfield_f6680032f23d081fe60174c0337b285b import ( WriteSetField, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/writesetfield_dfdf63f4b03a4c586826f4e2a45d55f1.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/writesetfield_f6680032f23d081fe60174c0337b285b.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/writesetfield_dfdf63f4b03a4c586826f4e2a45d55f1.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/writesetfield_f6680032f23d081fe60174c0337b285b.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/dcbxendpoint_dee40c23795c99236356679505ae3c70.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/dcbxendpoint_dee40c23795c99236356679505ae3c70.py index 9499db4ed..11604c183 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/dcbxendpoint_dee40c23795c99236356679505ae3c70.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/dcbxendpoint_dee40c23795c99236356679505ae3c70.py @@ -50,13 +50,13 @@ def Range(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_a7f3df3a59cb83eafc373f5661bd4ebe.Range): An instance of the Range class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_452ecf1d98c87e07f8f03da6a0e36b6f.Range): An instance of the Range class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_a7f3df3a59cb83eafc373f5661bd4ebe import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_452ecf1d98c87e07f8f03da6a0e36b6f import ( Range, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/dhcpendpoint_9b50c3d9e2a9ed98449cf2fa82da0253.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/dhcpendpoint_9b50c3d9e2a9ed98449cf2fa82da0253.py index ed0fa5040..1ad2142ba 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/dhcpendpoint_9b50c3d9e2a9ed98449cf2fa82da0253.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/dhcpendpoint_9b50c3d9e2a9ed98449cf2fa82da0253.py @@ -132,13 +132,13 @@ def Range(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_5cfd498c2fae57b1ff8c1e39981ef498.Range): An instance of the Range class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_d61e93d7563d8598caec37751d5cd60f.Range): An instance of the Range class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_5cfd498c2fae57b1ff8c1e39981ef498 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_d61e93d7563d8598caec37751d5cd60f import ( Range, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/dhcpendpoint_d83734cfeb988490446d1c9ad6c4af09.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/dhcpendpoint_d83734cfeb988490446d1c9ad6c4af09.py index 1e094951b..685da5d41 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/dhcpendpoint_d83734cfeb988490446d1c9ad6c4af09.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/dhcpendpoint_d83734cfeb988490446d1c9ad6c4af09.py @@ -132,13 +132,13 @@ def Range(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_9867684aa353d6d6ae01074fe35b5995.Range): An instance of the Range class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_04de051b3ba760081d0b9991bf7dbc4e.Range): An instance of the Range class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_9867684aa353d6d6ae01074fe35b5995 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_04de051b3ba760081d0b9991bf7dbc4e import ( Range, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/dhcpolacendpoint_6a2e5d6ed8f697899ea34096e99b027f.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/dhcpolacendpoint_6a2e5d6ed8f697899ea34096e99b027f.py index cf9c24582..511998c24 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/dhcpolacendpoint_6a2e5d6ed8f697899ea34096e99b027f.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/dhcpolacendpoint_6a2e5d6ed8f697899ea34096e99b027f.py @@ -50,13 +50,13 @@ def Range(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_6ea3285a57ccc51a93d37bb8121e1ff3.Range): An instance of the Range class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_44e80520706c08bd8257ac4642152b35.Range): An instance of the Range class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_6ea3285a57ccc51a93d37bb8121e1ff3 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_44e80520706c08bd8257ac4642152b35 import ( Range, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/dhcpolacendpoint_a22b09963ab2b0ca7a14248b711c35e1.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/dhcpolacendpoint_a22b09963ab2b0ca7a14248b711c35e1.py index a6900d19d..173ec5a13 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/dhcpolacendpoint_a22b09963ab2b0ca7a14248b711c35e1.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/dhcpolacendpoint_a22b09963ab2b0ca7a14248b711c35e1.py @@ -50,13 +50,13 @@ def Range(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_33d31ce7374f2673af98a0ca3280e78c.Range): An instance of the Range class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_c1b928af51855ee016e9fa55b623620d.Range): An instance of the Range class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_33d31ce7374f2673af98a0ca3280e78c import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_c1b928af51855ee016e9fa55b623620d import ( Range, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/dhcpolnsendpoint_5115610c6cd826a379e6cbdaee2b875e.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/dhcpolnsendpoint_5115610c6cd826a379e6cbdaee2b875e.py index a1b498c66..cf35067f0 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/dhcpolnsendpoint_5115610c6cd826a379e6cbdaee2b875e.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/dhcpolnsendpoint_5115610c6cd826a379e6cbdaee2b875e.py @@ -50,13 +50,13 @@ def Range(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_9a2b37b1364ba2623cb7c320fb347e14.Range): An instance of the Range class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_976079d965d28dabb2ddc5ac04ca4622.Range): An instance of the Range class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_9a2b37b1364ba2623cb7c320fb347e14 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_976079d965d28dabb2ddc5ac04ca4622 import ( Range, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/dhcpolnsendpoint_d436e2d19fffb91e2889195980d1760e.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/dhcpolnsendpoint_d436e2d19fffb91e2889195980d1760e.py index 6a3d47fc5..239943b49 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/dhcpolnsendpoint_d436e2d19fffb91e2889195980d1760e.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/dhcpolnsendpoint_d436e2d19fffb91e2889195980d1760e.py @@ -50,13 +50,13 @@ def Range(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_09dc7347dbd516238fa2d36665eaadcb.Range): An instance of the Range class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_e59851be16b3aa8c14c7fa65e4557e23.Range): An instance of the Range class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_09dc7347dbd516238fa2d36665eaadcb import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_e59851be16b3aa8c14c7fa65e4557e23 import ( Range, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/dhcpopppclientendpoint_1ab3a0ce17d84b001c866b1120706b8f.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/dhcpopppclientendpoint_1ab3a0ce17d84b001c866b1120706b8f.py index afa964be5..ec49e9949 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/dhcpopppclientendpoint_1ab3a0ce17d84b001c866b1120706b8f.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/dhcpopppclientendpoint_1ab3a0ce17d84b001c866b1120706b8f.py @@ -50,13 +50,13 @@ def Range(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_3caa865884288691781b66a0f7f613d9.Range): An instance of the Range class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_9d890958a285636b6a8f974eb82514e9.Range): An instance of the Range class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_3caa865884288691781b66a0f7f613d9 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_9d890958a285636b6a8f974eb82514e9 import ( Range, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/dhcpopppserverendpoint_a4e17e1071a2084830e8218141d4f437.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/dhcpopppserverendpoint_a4e17e1071a2084830e8218141d4f437.py index 5107d6922..60827b2ea 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/dhcpopppserverendpoint_a4e17e1071a2084830e8218141d4f437.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/dhcpopppserverendpoint_a4e17e1071a2084830e8218141d4f437.py @@ -50,13 +50,13 @@ def Range(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_881781d0895b8f33f2d6d38231109252.Range): An instance of the Range class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_e3e612b996a0f507e56f66b90ba5768b.Range): An instance of the Range class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_881781d0895b8f33f2d6d38231109252 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_e3e612b996a0f507e56f66b90ba5768b import ( Range, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/dhcpserverendpoint_03e90bb95a88ea6deed782925554ca79.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/dhcpserverendpoint_03e90bb95a88ea6deed782925554ca79.py index 823a40573..541fc0fad 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/dhcpserverendpoint_03e90bb95a88ea6deed782925554ca79.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/dhcpserverendpoint_03e90bb95a88ea6deed782925554ca79.py @@ -70,13 +70,13 @@ def Range(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_549553ed24104468985381169727d59d.Range): An instance of the Range class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_d5c0ea39818d101c2ff062e575aab5f6.Range): An instance of the Range class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_549553ed24104468985381169727d59d import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_d5c0ea39818d101c2ff062e575aab5f6 import ( Range, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/dhcpserverendpoint_9d22862f79a4153c07540ad31eb9bdd2.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/dhcpserverendpoint_9d22862f79a4153c07540ad31eb9bdd2.py index ec82e678e..436f08f5f 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/dhcpserverendpoint_9d22862f79a4153c07540ad31eb9bdd2.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/dhcpserverendpoint_9d22862f79a4153c07540ad31eb9bdd2.py @@ -70,13 +70,13 @@ def Range(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_3fc512600508a1c56061b9a7cd612138.Range): An instance of the Range class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_4e8e50d35a33109542ff440c8d2d02ac.Range): An instance of the Range class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_3fc512600508a1c56061b9a7cd612138 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_4e8e50d35a33109542ff440c8d2d02ac import ( Range, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtppcrfendpoint_598cc4f35c801a1526ed4421e2e570a2.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtppcrfendpoint_598cc4f35c801a1526ed4421e2e570a2.py index 01289b681..82016b150 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtppcrfendpoint_598cc4f35c801a1526ed4421e2e570a2.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtppcrfendpoint_598cc4f35c801a1526ed4421e2e570a2.py @@ -50,13 +50,13 @@ def Range(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_e8ab79ad2ff12fb20ff328358cb3fd41.Range): An instance of the Range class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_4559f7e54e195c97b0eba74d635feab0.Range): An instance of the Range class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_e8ab79ad2ff12fb20ff328358cb3fd41 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_4559f7e54e195c97b0eba74d635feab0 import ( Range, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtppcrfendpoint_a9d945476d24ef6194b0b0ec5916ee36.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtppcrfendpoint_a9d945476d24ef6194b0b0ec5916ee36.py index 7adafd1d9..947d0fa93 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtppcrfendpoint_a9d945476d24ef6194b0b0ec5916ee36.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtppcrfendpoint_a9d945476d24ef6194b0b0ec5916ee36.py @@ -50,13 +50,13 @@ def Range(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_5edced5097fd8263907e8017a6eb4b4b.Range): An instance of the Range class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_61cac03b8738925a787df0eb06885a34.Range): An instance of the Range class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_5edced5097fd8263907e8017a6eb4b4b import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_61cac03b8738925a787df0eb06885a34 import ( Range, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtppcrfs5s8sgwendpoint_4ec354c151f9cab9f07c2bff48a4a83d.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtppcrfs5s8sgwendpoint_4ec354c151f9cab9f07c2bff48a4a83d.py index e6b5a786c..19dd7f2f2 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtppcrfs5s8sgwendpoint_4ec354c151f9cab9f07c2bff48a4a83d.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtppcrfs5s8sgwendpoint_4ec354c151f9cab9f07c2bff48a4a83d.py @@ -50,13 +50,13 @@ def Range(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_283f1fd188d0947f4e374b4b665585bb.Range): An instance of the Range class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_2b29151aeff3fe5ab69e9964c2e0b99f.Range): An instance of the Range class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_283f1fd188d0947f4e374b4b665585bb import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_2b29151aeff3fe5ab69e9964c2e0b99f import ( Range, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtppcrfs5s8sgwendpoint_dc7cfbbccaf798a51cdd9eada3c220d6.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtppcrfs5s8sgwendpoint_dc7cfbbccaf798a51cdd9eada3c220d6.py index c0a3235c4..a0c9de091 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtppcrfs5s8sgwendpoint_dc7cfbbccaf798a51cdd9eada3c220d6.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtppcrfs5s8sgwendpoint_dc7cfbbccaf798a51cdd9eada3c220d6.py @@ -50,13 +50,13 @@ def Range(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_b6d50385f93178bc54ab80eec4319b05.Range): An instance of the Range class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_d98ed43d27728e182795c7cd6b5cdf59.Range): An instance of the Range class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_b6d50385f93178bc54ab80eec4319b05 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_d98ed43d27728e182795c7cd6b5cdf59 import ( Range, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtps5s8pgwendpoint_18dd9f3fe9145af8ca5184848784e855.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtps5s8pgwendpoint_18dd9f3fe9145af8ca5184848784e855.py index 8495536c5..1c770a65f 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtps5s8pgwendpoint_18dd9f3fe9145af8ca5184848784e855.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtps5s8pgwendpoint_18dd9f3fe9145af8ca5184848784e855.py @@ -50,13 +50,13 @@ def PgwS5S8PcrfSecondaryRange(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.pgws5s8pcrfsecondaryrange_3939f27c5e981cdfdc4b57e3fc161030.PgwS5S8PcrfSecondaryRange): An instance of the PgwS5S8PcrfSecondaryRange class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.pgws5s8pcrfsecondaryrange_2cbab7713df96d4df30a781454f602a7.PgwS5S8PcrfSecondaryRange): An instance of the PgwS5S8PcrfSecondaryRange class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.pgws5s8pcrfsecondaryrange_3939f27c5e981cdfdc4b57e3fc161030 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.pgws5s8pcrfsecondaryrange_2cbab7713df96d4df30a781454f602a7 import ( PgwS5S8PcrfSecondaryRange, ) @@ -70,13 +70,13 @@ def Range(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_830e0b0312fde61efeb8d03e51c3becc.Range): An instance of the Range class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_bf57dc35591d632e5376e709022f5f46.Range): An instance of the Range class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_830e0b0312fde61efeb8d03e51c3becc import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_bf57dc35591d632e5376e709022f5f46 import ( Range, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtps5s8pgwendpoint_cc368073476d4f637e3ba925742e65d1.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtps5s8pgwendpoint_cc368073476d4f637e3ba925742e65d1.py index f342874ac..8580d5a13 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtps5s8pgwendpoint_cc368073476d4f637e3ba925742e65d1.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtps5s8pgwendpoint_cc368073476d4f637e3ba925742e65d1.py @@ -50,13 +50,13 @@ def PgwS5S8PcrfSecondaryRange(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.pgws5s8pcrfsecondaryrange_a25dc4da1331e10f5f32ef3de77cd631.PgwS5S8PcrfSecondaryRange): An instance of the PgwS5S8PcrfSecondaryRange class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.pgws5s8pcrfsecondaryrange_edf0603e83bd15a31fa955a1d0751128.PgwS5S8PcrfSecondaryRange): An instance of the PgwS5S8PcrfSecondaryRange class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.pgws5s8pcrfsecondaryrange_a25dc4da1331e10f5f32ef3de77cd631 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.pgws5s8pcrfsecondaryrange_edf0603e83bd15a31fa955a1d0751128 import ( PgwS5S8PcrfSecondaryRange, ) @@ -70,13 +70,13 @@ def Range(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_4da6c5fe6f51a6658a489c0914d5e356.Range): An instance of the Range class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_f573006ce8cded3d52938da7d7fd7457.Range): An instance of the Range class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_4da6c5fe6f51a6658a489c0914d5e356 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_f573006ce8cded3d52938da7d7fd7457 import ( Range, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtps5s8sgwendpoint_47a953c08f5047f18356c1879562bf55.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtps5s8sgwendpoint_47a953c08f5047f18356c1879562bf55.py index 3191f873f..5c2b7cd94 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtps5s8sgwendpoint_47a953c08f5047f18356c1879562bf55.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtps5s8sgwendpoint_47a953c08f5047f18356c1879562bf55.py @@ -50,13 +50,13 @@ def EnbS5S8SecondaryRange(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.enbs5s8secondaryrange_d38feb87b2d8802982f3358945f10f5a.EnbS5S8SecondaryRange): An instance of the EnbS5S8SecondaryRange class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.enbs5s8secondaryrange_ce5b2d23036a43323926376f1f97b62c.EnbS5S8SecondaryRange): An instance of the EnbS5S8SecondaryRange class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.enbs5s8secondaryrange_d38feb87b2d8802982f3358945f10f5a import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.enbs5s8secondaryrange_ce5b2d23036a43323926376f1f97b62c import ( EnbS5S8SecondaryRange, ) @@ -70,13 +70,13 @@ def MmeS5S8SecondaryRange(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.mmes5s8secondaryrange_8e42fb0111222b63e5a97e03ee0bf819.MmeS5S8SecondaryRange): An instance of the MmeS5S8SecondaryRange class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.mmes5s8secondaryrange_e604674ecdd0b4fe2df4605db27a1b53.MmeS5S8SecondaryRange): An instance of the MmeS5S8SecondaryRange class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.mmes5s8secondaryrange_8e42fb0111222b63e5a97e03ee0bf819 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.mmes5s8secondaryrange_e604674ecdd0b4fe2df4605db27a1b53 import ( MmeS5S8SecondaryRange, ) @@ -90,13 +90,13 @@ def Range(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_b87256b85dcd5af249d46cedbd0827d5.Range): An instance of the Range class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_bef839061ad240410e3ef6359d892ad3.Range): An instance of the Range class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_b87256b85dcd5af249d46cedbd0827d5 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_bef839061ad240410e3ef6359d892ad3 import ( Range, ) @@ -110,13 +110,13 @@ def UeS5S8SecondaryRange(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.ues5s8secondaryrange_fa3921bfe2878f4cd48bff2e981fec2b.UeS5S8SecondaryRange): An instance of the UeS5S8SecondaryRange class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.ues5s8secondaryrange_bf1dc9a5f8fc818499e853f990a4d224.UeS5S8SecondaryRange): An instance of the UeS5S8SecondaryRange class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.ues5s8secondaryrange_fa3921bfe2878f4cd48bff2e981fec2b import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.ues5s8secondaryrange_bf1dc9a5f8fc818499e853f990a4d224 import ( UeS5S8SecondaryRange, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtps5s8sgwendpoint_c55c424d3e7aaccbd64dbf81e53ddd47.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtps5s8sgwendpoint_c55c424d3e7aaccbd64dbf81e53ddd47.py index ad079401c..6c72d4de5 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtps5s8sgwendpoint_c55c424d3e7aaccbd64dbf81e53ddd47.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtps5s8sgwendpoint_c55c424d3e7aaccbd64dbf81e53ddd47.py @@ -50,13 +50,13 @@ def EnbS5S8SecondaryRange(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.enbs5s8secondaryrange_6979f95efc6dcd8ca32adc922489910e.EnbS5S8SecondaryRange): An instance of the EnbS5S8SecondaryRange class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.enbs5s8secondaryrange_8a9723bda9b47f712adf16ebd9da25d1.EnbS5S8SecondaryRange): An instance of the EnbS5S8SecondaryRange class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.enbs5s8secondaryrange_6979f95efc6dcd8ca32adc922489910e import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.enbs5s8secondaryrange_8a9723bda9b47f712adf16ebd9da25d1 import ( EnbS5S8SecondaryRange, ) @@ -70,13 +70,13 @@ def MmeS5S8SecondaryRange(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.mmes5s8secondaryrange_073ddb851415ef28f2860ea76af84eed.MmeS5S8SecondaryRange): An instance of the MmeS5S8SecondaryRange class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.mmes5s8secondaryrange_852b3778e51e94b8b3582c4a1117becf.MmeS5S8SecondaryRange): An instance of the MmeS5S8SecondaryRange class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.mmes5s8secondaryrange_073ddb851415ef28f2860ea76af84eed import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.mmes5s8secondaryrange_852b3778e51e94b8b3582c4a1117becf import ( MmeS5S8SecondaryRange, ) @@ -90,13 +90,13 @@ def Range(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_681650f32cd095378011b8a1d7315111.Range): An instance of the Range class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_3e88999ba7ecd3f4ed17f238744103e6.Range): An instance of the Range class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_681650f32cd095378011b8a1d7315111 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_3e88999ba7ecd3f4ed17f238744103e6 import ( Range, ) @@ -110,13 +110,13 @@ def UeS5S8SecondaryRange(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.ues5s8secondaryrange_4978b0a72b2e82b39ac864e27f32a1a5.UeS5S8SecondaryRange): An instance of the UeS5S8SecondaryRange class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.ues5s8secondaryrange_5eacd6d4523a5dcc9278eb67a74a249d.UeS5S8SecondaryRange): An instance of the UeS5S8SecondaryRange class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.ues5s8secondaryrange_4978b0a72b2e82b39ac864e27f32a1a5 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.ues5s8secondaryrange_5eacd6d4523a5dcc9278eb67a74a249d import ( UeS5S8SecondaryRange, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtpsgwendpoint_857004064b943fadd99742db0b749ada.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtpsgwendpoint_857004064b943fadd99742db0b749ada.py index d0bb0227a..39607cce4 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtpsgwendpoint_857004064b943fadd99742db0b749ada.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtpsgwendpoint_857004064b943fadd99742db0b749ada.py @@ -50,13 +50,13 @@ def PcrfSecondaryRange(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.pcrfsecondaryrange_59a76d211358161fb8069e57ddf1e776.PcrfSecondaryRange): An instance of the PcrfSecondaryRange class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.pcrfsecondaryrange_ae0efcc659d603f0eb8549457012f29f.PcrfSecondaryRange): An instance of the PcrfSecondaryRange class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.pcrfsecondaryrange_59a76d211358161fb8069e57ddf1e776 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.pcrfsecondaryrange_ae0efcc659d603f0eb8549457012f29f import ( PcrfSecondaryRange, ) @@ -70,13 +70,13 @@ def Range(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_df00990042a2a47c758f0dbbc73df127.Range): An instance of the Range class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_58ef2d157378f1fc5409888ddd475c8e.Range): An instance of the Range class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_df00990042a2a47c758f0dbbc73df127 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_58ef2d157378f1fc5409888ddd475c8e import ( Range, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtpsgwendpoint_975195d26c2f46a16239455b71a20edc.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtpsgwendpoint_975195d26c2f46a16239455b71a20edc.py index 216524a9d..82649491c 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtpsgwendpoint_975195d26c2f46a16239455b71a20edc.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtpsgwendpoint_975195d26c2f46a16239455b71a20edc.py @@ -50,13 +50,13 @@ def PcrfSecondaryRange(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.pcrfsecondaryrange_bbcc6ef67e8b1c4ad0f758de9ed54e58.PcrfSecondaryRange): An instance of the PcrfSecondaryRange class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.pcrfsecondaryrange_e8f79538072041791458aac3b3075b7a.PcrfSecondaryRange): An instance of the PcrfSecondaryRange class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.pcrfsecondaryrange_bbcc6ef67e8b1c4ad0f758de9ed54e58 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.pcrfsecondaryrange_e8f79538072041791458aac3b3075b7a import ( PcrfSecondaryRange, ) @@ -70,13 +70,13 @@ def Range(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_d647122d38f8050f3f2facda96175ffa.Range): An instance of the Range class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_bd1825ace0b6ab3cecc730fc747aa4ff.Range): An instance of the Range class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_d647122d38f8050f3f2facda96175ffa import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_bd1825ace0b6ab3cecc730fc747aa4ff import ( Range, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtpues5s8sgwendpoint_aae7f5ee4462ed8975fee38ecfdd86d1.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtpues5s8sgwendpoint_aae7f5ee4462ed8975fee38ecfdd86d1.py index 62674b430..5abca9f84 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtpues5s8sgwendpoint_aae7f5ee4462ed8975fee38ecfdd86d1.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtpues5s8sgwendpoint_aae7f5ee4462ed8975fee38ecfdd86d1.py @@ -50,13 +50,13 @@ def Range(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_c665a8d838236b4755228dbd857e637e.Range): An instance of the Range class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_833d9f4a0e2faf013368ba23995f6380.Range): An instance of the Range class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_c665a8d838236b4755228dbd857e637e import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_833d9f4a0e2faf013368ba23995f6380 import ( Range, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtpues5s8sgwendpoint_e2791f7a41f10821550e2e652f36792e.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtpues5s8sgwendpoint_e2791f7a41f10821550e2e652f36792e.py index f7ddcaa98..33c0096c2 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtpues5s8sgwendpoint_e2791f7a41f10821550e2e652f36792e.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtpues5s8sgwendpoint_e2791f7a41f10821550e2e652f36792e.py @@ -50,13 +50,13 @@ def Range(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_2498533715f22883132c456ee618ea74.Range): An instance of the Range class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_6300ad5e3933498261c9e5c17e3a5b6c.Range): An instance of the Range class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_2498533715f22883132c456ee618ea74 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_6300ad5e3933498261c9e5c17e3a5b6c import ( Range, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/emulatedrouterendpoint_88df8cdf84e98f0da406a58b7c2e745a.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/emulatedrouterendpoint_88df8cdf84e98f0da406a58b7c2e745a.py index 0b0cbd98d..faba84628 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/emulatedrouterendpoint_88df8cdf84e98f0da406a58b7c2e745a.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/emulatedrouterendpoint_88df8cdf84e98f0da406a58b7c2e745a.py @@ -74,13 +74,13 @@ def Range(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_510810c6c0995cd31bbb44065c36ba0d.Range): An instance of the Range class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_a7a46bda5e8d78ca64430290c03c2491.Range): An instance of the Range class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_510810c6c0995cd31bbb44065c36ba0d import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_a7a46bda5e8d78ca64430290c03c2491 import ( Range, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/enbs5s8secondaryrange_6979f95efc6dcd8ca32adc922489910e.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/enbs5s8secondaryrange_8a9723bda9b47f712adf16ebd9da25d1.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/enbs5s8secondaryrange_6979f95efc6dcd8ca32adc922489910e.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/enbs5s8secondaryrange_8a9723bda9b47f712adf16ebd9da25d1.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/enbs5s8secondaryrange_d38feb87b2d8802982f3358945f10f5a.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/enbs5s8secondaryrange_ce5b2d23036a43323926376f1f97b62c.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/enbs5s8secondaryrange_d38feb87b2d8802982f3358945f10f5a.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/enbs5s8secondaryrange_ce5b2d23036a43323926376f1f97b62c.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/ethernetendpoint_07ba999c5a07ba0fd133662d8bd1eae1.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/ethernetendpoint_07ba999c5a07ba0fd133662d8bd1eae1.py index 02be00bfd..ae692e690 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/ethernetendpoint_07ba999c5a07ba0fd133662d8bd1eae1.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/ethernetendpoint_07ba999c5a07ba0fd133662d8bd1eae1.py @@ -110,13 +110,13 @@ def Range(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_092d943b2a13c1e5470555b58a77a0f1.Range): An instance of the Range class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_5adad680fef8d3f19c2ad437037acf5b.Range): An instance of the Range class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_092d943b2a13c1e5470555b58a77a0f1 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_5adad680fef8d3f19c2ad437037acf5b import ( Range, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/fcclientendpoint_0bb27e24785b640285fd4c28890701c0.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/fcclientendpoint_0bb27e24785b640285fd4c28890701c0.py index a123de525..2e02a54ce 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/fcclientendpoint_0bb27e24785b640285fd4c28890701c0.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/fcclientendpoint_0bb27e24785b640285fd4c28890701c0.py @@ -50,13 +50,13 @@ def Range(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_03b268adfe6a6c87bd90b5ff6f14c6c6.Range): An instance of the Range class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_281818a593efb61b2f6fffd1f9da6a6f.Range): An instance of the Range class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_03b268adfe6a6c87bd90b5ff6f14c6c6 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_281818a593efb61b2f6fffd1f9da6a6f import ( Range, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/fcfportfwdendpoint_a42123f17fd448b552a019e1e0aaa650.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/fcfportfwdendpoint_a42123f17fd448b552a019e1e0aaa650.py index a23696952..311941e30 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/fcfportfwdendpoint_a42123f17fd448b552a019e1e0aaa650.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/fcfportfwdendpoint_a42123f17fd448b552a019e1e0aaa650.py @@ -50,13 +50,13 @@ def Range(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_c0d35fd45e0530a2c7877a48114c649b.Range): An instance of the Range class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_5251d4fee6fd7b476180b66ee4a3a820.Range): An instance of the Range class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_c0d35fd45e0530a2c7877a48114c649b import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_5251d4fee6fd7b476180b66ee4a3a820 import ( Range, ) @@ -70,13 +70,13 @@ def SecondaryRange(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.secondaryrange_7c7b92287c088d58d42f4b62e744e045.SecondaryRange): An instance of the SecondaryRange class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.secondaryrange_7fc8d2489719eb1630e53e48fa7a83b0.SecondaryRange): An instance of the SecondaryRange class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.secondaryrange_7c7b92287c088d58d42f4b62e744e045 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.secondaryrange_7fc8d2489719eb1630e53e48fa7a83b0 import ( SecondaryRange, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/fcoeclientendpoint_9255cba3c6a958f51058e288c4d5d575.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/fcoeclientendpoint_9255cba3c6a958f51058e288c4d5d575.py index eac8a4e20..7edf12181 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/fcoeclientendpoint_9255cba3c6a958f51058e288c4d5d575.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/fcoeclientendpoint_9255cba3c6a958f51058e288c4d5d575.py @@ -50,13 +50,13 @@ def Range(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_14ccbefe0f412abdbca5a78418fdfd2c.Range): An instance of the Range class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_031a023bb071f0ca2e45a5074ee567a9.Range): An instance of the Range class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_14ccbefe0f412abdbca5a78418fdfd2c import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_031a023bb071f0ca2e45a5074ee567a9 import ( Range, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/fcoefwdendpoint_572db692c1afc7eaf3ffbc2d091b2388.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/fcoefwdendpoint_572db692c1afc7eaf3ffbc2d091b2388.py index e56bfd72f..7709aca88 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/fcoefwdendpoint_572db692c1afc7eaf3ffbc2d091b2388.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/fcoefwdendpoint_572db692c1afc7eaf3ffbc2d091b2388.py @@ -50,13 +50,13 @@ def Range(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_f09751c9d3e1d386601fd6ebbf0f6a2d.Range): An instance of the Range class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_55ae589bddacfef0ef123ca6ae1ea201.Range): An instance of the Range class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_f09751c9d3e1d386601fd6ebbf0f6a2d import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_55ae589bddacfef0ef123ca6ae1ea201 import ( Range, ) @@ -70,13 +70,13 @@ def SecondaryRange(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.secondaryrange_9b8748d7b9ae8321b5d034d9a94992cc.SecondaryRange): An instance of the SecondaryRange class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.secondaryrange_4cf2251e12acb0aada8899dd10e43b12.SecondaryRange): An instance of the SecondaryRange class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.secondaryrange_9b8748d7b9ae8321b5d034d9a94992cc import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.secondaryrange_4cf2251e12acb0aada8899dd10e43b12 import ( SecondaryRange, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/ipendpoint_4c21073b5655bdd8f2c6cf4b0418152b.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/ipendpoint_4c21073b5655bdd8f2c6cf4b0418152b.py index c9d44468b..58f6b2460 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/ipendpoint_4c21073b5655bdd8f2c6cf4b0418152b.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/ipendpoint_4c21073b5655bdd8f2c6cf4b0418152b.py @@ -192,13 +192,13 @@ def Range(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_0b8d3bee9ea43ad27a688d5c37dca672.Range): An instance of the Range class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_4d5da9ae260e7e6f9afdb936e93ad220.Range): An instance of the Range class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_0b8d3bee9ea43ad27a688d5c37dca672 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_4d5da9ae260e7e6f9afdb936e93ad220 import ( Range, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/ipendpoint_4da9c5c153153e3473d042a065dec6c2.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/ipendpoint_4da9c5c153153e3473d042a065dec6c2.py index f968fb0a7..f0b76bc16 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/ipendpoint_4da9c5c153153e3473d042a065dec6c2.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/ipendpoint_4da9c5c153153e3473d042a065dec6c2.py @@ -192,13 +192,13 @@ def Range(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_72dac4775ff6d41063ff207981c5fae4.Range): An instance of the Range class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_dec9ab7508460d52ce0d7fb05e5b3f8c.Range): An instance of the Range class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_72dac4775ff6d41063ff207981c5fae4 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_dec9ab7508460d52ce0d7fb05e5b3f8c import ( Range, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/l2tpendpoint_0e456c41e5e499ee1a2324aa82ebd37b.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/l2tpendpoint_0e456c41e5e499ee1a2324aa82ebd37b.py index 149a8f83c..b25e0ae76 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/l2tpendpoint_0e456c41e5e499ee1a2324aa82ebd37b.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/l2tpendpoint_0e456c41e5e499ee1a2324aa82ebd37b.py @@ -131,13 +131,13 @@ def Range(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_c6ba8b5c4a24569f583fb0fe8b04375c.Range): An instance of the Range class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_ecf077012ebaa523127793af2f85163c.Range): An instance of the Range class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_c6ba8b5c4a24569f583fb0fe8b04375c import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_ecf077012ebaa523127793af2f85163c import ( Range, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/l2tpendpoint_2f8a5399d139504946039cbf9a9f8c7f.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/l2tpendpoint_2f8a5399d139504946039cbf9a9f8c7f.py index bb8982457..d675d1098 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/l2tpendpoint_2f8a5399d139504946039cbf9a9f8c7f.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/l2tpendpoint_2f8a5399d139504946039cbf9a9f8c7f.py @@ -131,13 +131,13 @@ def Range(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_3ffe67ceb6821a0f1e1246eb5813ce2e.Range): An instance of the Range class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_927d4482b1911432ead9711bbde2ec30.Range): An instance of the Range class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_3ffe67ceb6821a0f1e1246eb5813ce2e import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_927d4482b1911432ead9711bbde2ec30 import ( Range, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/mmes5s8secondaryrange_073ddb851415ef28f2860ea76af84eed.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/mmes5s8secondaryrange_852b3778e51e94b8b3582c4a1117becf.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/mmes5s8secondaryrange_073ddb851415ef28f2860ea76af84eed.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/mmes5s8secondaryrange_852b3778e51e94b8b3582c4a1117becf.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/mmes5s8secondaryrange_8e42fb0111222b63e5a97e03ee0bf819.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/mmes5s8secondaryrange_e604674ecdd0b4fe2df4605db27a1b53.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/mmes5s8secondaryrange_8e42fb0111222b63e5a97e03ee0bf819.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/mmes5s8secondaryrange_e604674ecdd0b4fe2df4605db27a1b53.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/pcrfsecondaryrange_59a76d211358161fb8069e57ddf1e776.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/pcrfsecondaryrange_ae0efcc659d603f0eb8549457012f29f.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/pcrfsecondaryrange_59a76d211358161fb8069e57ddf1e776.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/pcrfsecondaryrange_ae0efcc659d603f0eb8549457012f29f.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/pcrfsecondaryrange_bbcc6ef67e8b1c4ad0f758de9ed54e58.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/pcrfsecondaryrange_e8f79538072041791458aac3b3075b7a.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/pcrfsecondaryrange_bbcc6ef67e8b1c4ad0f758de9ed54e58.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/pcrfsecondaryrange_e8f79538072041791458aac3b3075b7a.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/pgws5s8pcrfsecondaryrange_3939f27c5e981cdfdc4b57e3fc161030.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/pgws5s8pcrfsecondaryrange_2cbab7713df96d4df30a781454f602a7.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/pgws5s8pcrfsecondaryrange_3939f27c5e981cdfdc4b57e3fc161030.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/pgws5s8pcrfsecondaryrange_2cbab7713df96d4df30a781454f602a7.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/pgws5s8pcrfsecondaryrange_a25dc4da1331e10f5f32ef3de77cd631.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/pgws5s8pcrfsecondaryrange_edf0603e83bd15a31fa955a1d0751128.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/pgws5s8pcrfsecondaryrange_a25dc4da1331e10f5f32ef3de77cd631.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/pgws5s8pcrfsecondaryrange_edf0603e83bd15a31fa955a1d0751128.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/pppoxendpoint_894fab4afae2dd31b0f787867fd3aba9.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/pppoxendpoint_894fab4afae2dd31b0f787867fd3aba9.py index 79fdab25d..796dedd5e 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/pppoxendpoint_894fab4afae2dd31b0f787867fd3aba9.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/pppoxendpoint_894fab4afae2dd31b0f787867fd3aba9.py @@ -191,13 +191,13 @@ def Range(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_9ecefbd1639215458ad6cad8355e64be.Range): An instance of the Range class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_ed51d487e5d4c037a59eb05c074e14aa.Range): An instance of the Range class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_9ecefbd1639215458ad6cad8355e64be import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_ed51d487e5d4c037a59eb05c074e14aa import ( Range, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_14ccbefe0f412abdbca5a78418fdfd2c.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_031a023bb071f0ca2e45a5074ee567a9.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_14ccbefe0f412abdbca5a78418fdfd2c.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_031a023bb071f0ca2e45a5074ee567a9.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_9867684aa353d6d6ae01074fe35b5995.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_04de051b3ba760081d0b9991bf7dbc4e.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_9867684aa353d6d6ae01074fe35b5995.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_04de051b3ba760081d0b9991bf7dbc4e.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_e418bcf85af6390119a5dd5d472305ba.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_25b4e49ecd8aec113da4fdc82aeeeaab.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_e418bcf85af6390119a5dd5d472305ba.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_25b4e49ecd8aec113da4fdc82aeeeaab.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_03b268adfe6a6c87bd90b5ff6f14c6c6.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_281818a593efb61b2f6fffd1f9da6a6f.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_03b268adfe6a6c87bd90b5ff6f14c6c6.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_281818a593efb61b2f6fffd1f9da6a6f.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_01a910a4c80c6da7a2f64bf8e2f6d7c0.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_29b01b5e636d92d63e9f0b43f4682cb2.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_01a910a4c80c6da7a2f64bf8e2f6d7c0.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_29b01b5e636d92d63e9f0b43f4682cb2.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_283f1fd188d0947f4e374b4b665585bb.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_2b29151aeff3fe5ab69e9964c2e0b99f.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_283f1fd188d0947f4e374b4b665585bb.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_2b29151aeff3fe5ab69e9964c2e0b99f.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_681650f32cd095378011b8a1d7315111.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_3e88999ba7ecd3f4ed17f238744103e6.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_681650f32cd095378011b8a1d7315111.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_3e88999ba7ecd3f4ed17f238744103e6.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_784857e7a54775901ce0ca4dcb81ecc6.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_3ee7bc0118b2324bb2fb187c15600d9c.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_784857e7a54775901ce0ca4dcb81ecc6.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_3ee7bc0118b2324bb2fb187c15600d9c.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_6ea3285a57ccc51a93d37bb8121e1ff3.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_44e80520706c08bd8257ac4642152b35.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_6ea3285a57ccc51a93d37bb8121e1ff3.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_44e80520706c08bd8257ac4642152b35.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_a7f3df3a59cb83eafc373f5661bd4ebe.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_452ecf1d98c87e07f8f03da6a0e36b6f.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_a7f3df3a59cb83eafc373f5661bd4ebe.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_452ecf1d98c87e07f8f03da6a0e36b6f.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_e8ab79ad2ff12fb20ff328358cb3fd41.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_4559f7e54e195c97b0eba74d635feab0.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_e8ab79ad2ff12fb20ff328358cb3fd41.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_4559f7e54e195c97b0eba74d635feab0.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_0b8d3bee9ea43ad27a688d5c37dca672.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_4d5da9ae260e7e6f9afdb936e93ad220.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_0b8d3bee9ea43ad27a688d5c37dca672.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_4d5da9ae260e7e6f9afdb936e93ad220.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_3fc512600508a1c56061b9a7cd612138.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_4e8e50d35a33109542ff440c8d2d02ac.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_3fc512600508a1c56061b9a7cd612138.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_4e8e50d35a33109542ff440c8d2d02ac.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_c0d35fd45e0530a2c7877a48114c649b.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_5251d4fee6fd7b476180b66ee4a3a820.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_c0d35fd45e0530a2c7877a48114c649b.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_5251d4fee6fd7b476180b66ee4a3a820.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_f09751c9d3e1d386601fd6ebbf0f6a2d.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_55ae589bddacfef0ef123ca6ae1ea201.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_f09751c9d3e1d386601fd6ebbf0f6a2d.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_55ae589bddacfef0ef123ca6ae1ea201.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_df00990042a2a47c758f0dbbc73df127.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_58ef2d157378f1fc5409888ddd475c8e.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_df00990042a2a47c758f0dbbc73df127.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_58ef2d157378f1fc5409888ddd475c8e.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_092d943b2a13c1e5470555b58a77a0f1.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_5adad680fef8d3f19c2ad437037acf5b.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_092d943b2a13c1e5470555b58a77a0f1.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_5adad680fef8d3f19c2ad437037acf5b.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_5edced5097fd8263907e8017a6eb4b4b.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_61cac03b8738925a787df0eb06885a34.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_5edced5097fd8263907e8017a6eb4b4b.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_61cac03b8738925a787df0eb06885a34.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_2498533715f22883132c456ee618ea74.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_6300ad5e3933498261c9e5c17e3a5b6c.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_2498533715f22883132c456ee618ea74.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_6300ad5e3933498261c9e5c17e3a5b6c.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_c665a8d838236b4755228dbd857e637e.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_833d9f4a0e2faf013368ba23995f6380.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_c665a8d838236b4755228dbd857e637e.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_833d9f4a0e2faf013368ba23995f6380.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_3ffe67ceb6821a0f1e1246eb5813ce2e.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_927d4482b1911432ead9711bbde2ec30.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_3ffe67ceb6821a0f1e1246eb5813ce2e.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_927d4482b1911432ead9711bbde2ec30.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_9a2b37b1364ba2623cb7c320fb347e14.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_976079d965d28dabb2ddc5ac04ca4622.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_9a2b37b1364ba2623cb7c320fb347e14.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_976079d965d28dabb2ddc5ac04ca4622.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_3caa865884288691781b66a0f7f613d9.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_9d890958a285636b6a8f974eb82514e9.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_3caa865884288691781b66a0f7f613d9.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_9d890958a285636b6a8f974eb82514e9.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_510810c6c0995cd31bbb44065c36ba0d.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_a7a46bda5e8d78ca64430290c03c2491.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_510810c6c0995cd31bbb44065c36ba0d.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_a7a46bda5e8d78ca64430290c03c2491.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_d647122d38f8050f3f2facda96175ffa.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_bd1825ace0b6ab3cecc730fc747aa4ff.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_d647122d38f8050f3f2facda96175ffa.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_bd1825ace0b6ab3cecc730fc747aa4ff.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_b87256b85dcd5af249d46cedbd0827d5.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_bef839061ad240410e3ef6359d892ad3.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_b87256b85dcd5af249d46cedbd0827d5.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_bef839061ad240410e3ef6359d892ad3.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_830e0b0312fde61efeb8d03e51c3becc.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_bf57dc35591d632e5376e709022f5f46.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_830e0b0312fde61efeb8d03e51c3becc.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_bf57dc35591d632e5376e709022f5f46.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_33d31ce7374f2673af98a0ca3280e78c.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_c1b928af51855ee016e9fa55b623620d.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_33d31ce7374f2673af98a0ca3280e78c.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_c1b928af51855ee016e9fa55b623620d.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_549553ed24104468985381169727d59d.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_d5c0ea39818d101c2ff062e575aab5f6.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_549553ed24104468985381169727d59d.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_d5c0ea39818d101c2ff062e575aab5f6.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_5cfd498c2fae57b1ff8c1e39981ef498.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_d61e93d7563d8598caec37751d5cd60f.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_5cfd498c2fae57b1ff8c1e39981ef498.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_d61e93d7563d8598caec37751d5cd60f.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_b6d50385f93178bc54ab80eec4319b05.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_d98ed43d27728e182795c7cd6b5cdf59.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_b6d50385f93178bc54ab80eec4319b05.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_d98ed43d27728e182795c7cd6b5cdf59.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_72dac4775ff6d41063ff207981c5fae4.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_dec9ab7508460d52ce0d7fb05e5b3f8c.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_72dac4775ff6d41063ff207981c5fae4.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_dec9ab7508460d52ce0d7fb05e5b3f8c.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_881781d0895b8f33f2d6d38231109252.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_e3e612b996a0f507e56f66b90ba5768b.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_881781d0895b8f33f2d6d38231109252.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_e3e612b996a0f507e56f66b90ba5768b.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_09dc7347dbd516238fa2d36665eaadcb.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_e59851be16b3aa8c14c7fa65e4557e23.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_09dc7347dbd516238fa2d36665eaadcb.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_e59851be16b3aa8c14c7fa65e4557e23.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_c6ba8b5c4a24569f583fb0fe8b04375c.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_ecf077012ebaa523127793af2f85163c.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_c6ba8b5c4a24569f583fb0fe8b04375c.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_ecf077012ebaa523127793af2f85163c.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_9ecefbd1639215458ad6cad8355e64be.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_ed51d487e5d4c037a59eb05c074e14aa.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_9ecefbd1639215458ad6cad8355e64be.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_ed51d487e5d4c037a59eb05c074e14aa.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_4da6c5fe6f51a6658a489c0914d5e356.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_f573006ce8cded3d52938da7d7fd7457.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_4da6c5fe6f51a6658a489c0914d5e356.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_f573006ce8cded3d52938da7d7fd7457.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/secondaryrange_9b8748d7b9ae8321b5d034d9a94992cc.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/secondaryrange_4cf2251e12acb0aada8899dd10e43b12.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/secondaryrange_9b8748d7b9ae8321b5d034d9a94992cc.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/secondaryrange_4cf2251e12acb0aada8899dd10e43b12.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/secondaryrange_7c7b92287c088d58d42f4b62e744e045.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/secondaryrange_7fc8d2489719eb1630e53e48fa7a83b0.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/secondaryrange_7c7b92287c088d58d42f4b62e744e045.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/secondaryrange_7fc8d2489719eb1630e53e48fa7a83b0.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/smdnsendpoint_7545788a3cf6a084962dc626f26041f6.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/smdnsendpoint_7545788a3cf6a084962dc626f26041f6.py index f8b63a4a5..154ff0c67 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/smdnsendpoint_7545788a3cf6a084962dc626f26041f6.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/smdnsendpoint_7545788a3cf6a084962dc626f26041f6.py @@ -50,13 +50,13 @@ def Range(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_e418bcf85af6390119a5dd5d472305ba.Range): An instance of the Range class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_25b4e49ecd8aec113da4fdc82aeeeaab.Range): An instance of the Range class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_e418bcf85af6390119a5dd5d472305ba import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_25b4e49ecd8aec113da4fdc82aeeeaab import ( Range, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/smdnsendpoint_cf5847749d4644629c13ef171e44352c.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/smdnsendpoint_cf5847749d4644629c13ef171e44352c.py index 135433d67..b9b86b3c1 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/smdnsendpoint_cf5847749d4644629c13ef171e44352c.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/smdnsendpoint_cf5847749d4644629c13ef171e44352c.py @@ -50,13 +50,13 @@ def Range(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_784857e7a54775901ce0ca4dcb81ecc6.Range): An instance of the Range class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_3ee7bc0118b2324bb2fb187c15600d9c.Range): An instance of the Range class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_784857e7a54775901ce0ca4dcb81ecc6 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_3ee7bc0118b2324bb2fb187c15600d9c import ( Range, ) diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/ues5s8secondaryrange_4978b0a72b2e82b39ac864e27f32a1a5.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/ues5s8secondaryrange_5eacd6d4523a5dcc9278eb67a74a249d.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/ues5s8secondaryrange_4978b0a72b2e82b39ac864e27f32a1a5.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/ues5s8secondaryrange_5eacd6d4523a5dcc9278eb67a74a249d.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/ues5s8secondaryrange_fa3921bfe2878f4cd48bff2e981fec2b.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/ues5s8secondaryrange_bf1dc9a5f8fc818499e853f990a4d224.py similarity index 100% rename from ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/ues5s8secondaryrange_fa3921bfe2878f4cd48bff2e981fec2b.py rename to ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/ues5s8secondaryrange_bf1dc9a5f8fc818499e853f990a4d224.py diff --git a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/vepaendpoint_27164b31df54a9faa69c1190fe14c0ed.py b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/vepaendpoint_27164b31df54a9faa69c1190fe14c0ed.py index 493301f63..47f04d263 100644 --- a/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/vepaendpoint_27164b31df54a9faa69c1190fe14c0ed.py +++ b/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/vepaendpoint_27164b31df54a9faa69c1190fe14c0ed.py @@ -50,13 +50,13 @@ def Range(self): """ Returns ------- - - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_01a910a4c80c6da7a2f64bf8e2f6d7c0.Range): An instance of the Range class + - obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_29b01b5e636d92d63e9f0b43f4682cb2.Range): An instance of the Range class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_01a910a4c80c6da7a2f64bf8e2f6d7c0 import ( + from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.range_29b01b5e636d92d63e9f0b43f4682cb2 import ( Range, ) diff --git a/ixnetwork_restpy/testplatform/sessions/sessions.py b/ixnetwork_restpy/testplatform/sessions/sessions.py index ed498ce38..7909f2ed3 100644 --- a/ixnetwork_restpy/testplatform/sessions/sessions.py +++ b/ixnetwork_restpy/testplatform/sessions/sessions.py @@ -154,7 +154,7 @@ def Name(self, value): elif self._connection.platform == "linux" and "name" not in self._properties: if "sessionName" in self._properties: self._properties["name"] = self._properties["sessionName"] - else: + elif "configName" in self._properties: self._properties["name"] = self._properties["configName"] def Start(self): diff --git a/ixnetwork_restpy/testplatform/testplatform.py b/ixnetwork_restpy/testplatform/testplatform.py index b195bfcbb..b022da78b 100644 --- a/ixnetwork_restpy/testplatform/testplatform.py +++ b/ixnetwork_restpy/testplatform/testplatform.py @@ -52,6 +52,7 @@ def __init__( verify_cert=False, trace=TRACE_NONE, script_watch=True, + url_prefix=None, ): """Establishes an initial connection to an IxNetwork test tool platform. Currently supported platforms are Linux API Server, Windows GUI and ConnectionManager. @@ -69,6 +70,7 @@ def __init__( - verify_cert (bool): enable this flag to verify the certificate - trace (str(none|info|warning|request|request_response|all)): set the tracing level of requests and responses. - script_watch (bool): disable this to not have REST API requests logged with the server script watch + - url_prefix (str): Some appliances (like novus-mini) needs url prefix in their rest url nomenclature Raises ------ @@ -84,6 +86,7 @@ def __init__( verify_cert, trace, script_watch, + url_prefix, ) self._uid = "" self._set_default_href() @@ -102,13 +105,14 @@ def _set_default_href(self, href="/api/v1"): } self._set_properties(properties, clear=True) - def Authenticate(self, uid, pwd): + def Authenticate(self, uid, pwd, ignore_policy=True): """Set the X-Api-Key by authenticating against the connected TestPlatform Args ---- - uid (str): The userid to be authenticated - pwd (str): The password to be authenticated + - ignore_policy (bool): The flag to ignore strong password policy, default value is True Raises ------ @@ -116,7 +120,10 @@ def Authenticate(self, uid, pwd): - ServerError: The server has encountered an uncategorized error condition """ self._set_default_href("/api/v1/auth/session") - response = self._execute(None, payload={"username": uid, "password": pwd}) + response = self._execute( + None, + payload={"username": uid, "password": pwd, "ignorePolicy": ignore_policy}, + ) self.ApiKey = response["apiKey"] self._uid = uid self._set_default_href() diff --git a/uhd_restpy/assistants/ports/portmapassistant.py b/uhd_restpy/assistants/ports/portmapassistant.py index 4e1800879..d1cebb53d 100644 --- a/uhd_restpy/assistants/ports/portmapassistant.py +++ b/uhd_restpy/assistants/ports/portmapassistant.py @@ -154,15 +154,34 @@ def _add_hosts(self, HostReadyTimeout): if ";" in map["location"]: chassis_address = map["location"].split(";")[0] ip_addresses.append(chassis_address) - ip_addresses = set(ip_addresses) + ip_addresses = list(set(ip_addresses)) if len(ip_addresses) > 0: - self._IxNetwork.info( - "Adding test port hosts [%s]..." % ", ".join(ip_addresses) - ) + ip_str = ", ".join(ip_addresses) + self._IxNetwork.info("Adding test port hosts [%s]..." % ip_str) + + # check if chassis is already added + res = self._select_chassis("") + ips_not_ready = [] + if "chassis" in res: + for chassis_info in res["chassis"]: + ip = chassis_info["hostname"] + if ip in ip_addresses: + if chassis_info["state"] != "ready": + ips_not_ready.append(ip) + ip_addresses.remove(ip) + + if len(ip_addresses) == 0: + self._IxNetwork.info("[%s] is already added." % ip_str) + url = self._IxNetwork.href + "/availableHardware/chassis" for ip_address in ip_addresses: payload = {"hostname": ip_address} self._IxNetwork._connection._create(url, payload) + + ip_addresses = ip_addresses + ips_not_ready + if len(ip_addresses) == 0: + return + start_time = time.time() while True: select = self._select_chassis("^(%s)$" % "|".join(ip_addresses)) diff --git a/uhd_restpy/assistants/sessions/sessionassistant.py b/uhd_restpy/assistants/sessions/sessionassistant.py index fcff5bbe0..c259374fd 100644 --- a/uhd_restpy/assistants/sessions/sessionassistant.py +++ b/uhd_restpy/assistants/sessions/sessionassistant.py @@ -41,6 +41,8 @@ def __init__( SessionName=None, ApplicationType=APP_TYPE_IXNETWORK, ClearConfig=False, + UrlPrefix=None, + IgnoreStrongPasswordPolicy=True, ): """Create a session or connect to an existing session. Provides access to the TestPlatform, Sessions, Ixnetwork, PortMapAssistant and StatViewAssistant classes. @@ -68,6 +70,8 @@ def __init__( - SessionName (str): The name of the session to connect to. - ApplicationType (str(APP_TYPE_IXNETWORK|APP_TYPE_QUICKTEST)): The type of IxNetwork middleware test session to create - ClearConfig (bool): Clear the current configuration + - UrlPrefix (str): Some appliances (like novus-mini) needs url prefix in their rest url nomenclature + - IgnoreStrongPasswordPolicy (bool): By default True, it rejects authentication with server if password is weak. Raises ------ @@ -83,11 +87,12 @@ def __init__( ignore_env_proxy=IgnoreEnvProxy, verify_cert=VerifyCertificates, trace=LogLevel, + url_prefix=UrlPrefix, ) if ApiKey is not None: testplatform.ApiKey = ApiKey elif UserName is not None and Password is not None: - testplatform.Authenticate(UserName, Password) + testplatform.Authenticate(UserName, Password, IgnoreStrongPasswordPolicy) session = None if SessionId is not None: session = testplatform.Sessions.find(Id=SessionId) diff --git a/uhd_restpy/connection.py b/uhd_restpy/connection.py index 0087993c0..c2efd0375 100644 --- a/uhd_restpy/connection.py +++ b/uhd_restpy/connection.py @@ -62,7 +62,7 @@ class Connection(object): TRACE_ALL = "all" PLATFORMS = { "Jetty": "linux", - "nginx/1.17.8": "linux", + "nginx": "linux", "SelfHost": "windows", "Kestrel": "windows", "Microsoft-HTTPAPI/2.0": "connection_manager", @@ -78,6 +78,7 @@ def __init__( verify_cert=False, trace="none", script_watch=True, + url_prefix=None, ): """Set the connection parameters to a rest server @@ -89,6 +90,7 @@ def __init__( ignore_env_proxy (bool): verify_cert (bool): script_watch (bool): + url_prefix (str): the prefix that needs to added in the rest url """ self.trace = trace if len(logging.getLogger(__name__).handlers) == 0: @@ -135,6 +137,7 @@ def __init__( if ignore_env_proxy is True: os.environ["no_proxy"] = "*" self._hostname = hostname + self._url_prefix = url_prefix if ":" in self._hostname and "[" not in self._hostname: self._hostname = "[%s]" % self._hostname self._rest_port = rest_port @@ -162,11 +165,19 @@ def _determine_test_tool_platform(self, platform): for rest_port in rest_ports: for scheme in ["http", "https"]: try: - url = "%s://%s:%s/api/v1/auth/session" % ( - scheme, - self._hostname, - rest_port, - ) + if self._url_prefix is not None: + url = "%s://%s:%s/%s/api/v1/auth/session" % ( + scheme, + self._hostname, + rest_port, + self._url_prefix, + ) + else: + url = "%s://%s:%s/api/v1/auth/session" % ( + scheme, + self._hostname, + rest_port, + ) payload = json.dumps({"username": "", "password": ""}) headers = self._headers headers["content-type"] = "application/json" @@ -328,6 +339,8 @@ def _normalize_url(self, url): if ":" in hostname and "[" not in hostname: hostname = "[%s]" % hostname connection = "%s://%s:%s" % (self._scheme, hostname, self._rest_port) + if self._url_prefix is not None: + connection += "/" + self._url_prefix if url.startswith(self._scheme) == False: url = "%s/%s" % (connection, url.strip("/")) path_start = url.find("://") + 3 @@ -553,7 +566,13 @@ def _send_recv(self, method, url, payload=None): self._async_operation.poll_headers = headers.copy() self._async_operation.async_response = response if self._async_operation.request is None: - return self._poll() + try: + return self._poll() + finally: + self._async_operation.request = None + self._async_operation.async_response = None + self._async_operation.poll_url = None + self._async_operation.poll_headers = None while response.status_code == 409: time.sleep(6) diff --git a/uhd_restpy/multivalue.py b/uhd_restpy/multivalue.py index 605a9bd6a..269cca9ab 100644 --- a/uhd_restpy/multivalue.py +++ b/uhd_restpy/multivalue.py @@ -749,7 +749,7 @@ def _custom_select(self): self._set_properties(self._connection._execute(url, payload)[0], clear=True) return self - def Overlay(self, index, value): + def Overlay(self, index, value, count=1): """Add an overlay at a specific device index in a pattern. This is meant to overwrite an existing pattern with a few non-contiguous, random values. @@ -760,20 +760,9 @@ def Overlay(self, index, value): ---- - index (int): 1 based device index - value (str): the overlay value + - count (int): the number of indices to update with the overlay value starting from index attribute, default: 1 """ if self._parent._mode[0] == "config": - # if self.parent._properties.get('OverlayIndex', None) is not None: - # self._overlay_index = self.parent._properties.get('OverlayIndex') - # multivalue_dict = dict() - # self._overlay_index += 1 - # pattern = 'overlay[' + str(self._overlay_index) + ']' - # multivalue_dict['xpath'] = self._get_multivalue_xpath(self._href, pattern) - # multivalue_dict['count'] = '1' - # multivalue_dict['index'] = index - # multivalue_dict['indexStep'] = '1' - # multivalue_dict['value'] = value - # self._xpathObj._config.append(multivalue_dict) - # self.parent._properties['OverlayIndex'] = self._overlay_index attribute_present = False for multivaute_attr in self.parent._properties["multiValue"]: if self._href in multivaute_attr: @@ -793,7 +782,7 @@ def Overlay(self, index, value): ) else: href = "%s/overlay" % (self._href) - payload = {"count": 1, "index": index, "indexStep": 1, "value": value} + payload = {"count": count, "index": index, "indexStep": 1, "value": value} self._connection._create(href, payload) def ClearOverlays(self): diff --git a/uhd_restpy/testplatform/sessions/ixnetwork/globals/topology/bgpipv4peer/bgpipv4peer_439a44dd340bf6fd724df996ab26569d.py b/uhd_restpy/testplatform/sessions/ixnetwork/globals/topology/bgpipv4peer/bgpipv4peer_439a44dd340bf6fd724df996ab26569d.py index 206ea2ca5..84a0f95fd 100644 --- a/uhd_restpy/testplatform/sessions/ixnetwork/globals/topology/bgpipv4peer/bgpipv4peer_439a44dd340bf6fd724df996ab26569d.py +++ b/uhd_restpy/testplatform/sessions/ixnetwork/globals/topology/bgpipv4peer/bgpipv4peer_439a44dd340bf6fd724df996ab26569d.py @@ -132,13 +132,13 @@ def TlvEditor(self): """ Returns ------- - - obj(uhd_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_d66c1061f4b3bb902b0e5e76ee632657.TlvEditor): An instance of the TlvEditor class + - obj(uhd_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_9737bec75dbac826009c3374be76c5f7.TlvEditor): An instance of the TlvEditor class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from uhd_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_d66c1061f4b3bb902b0e5e76ee632657 import TlvEditor + from uhd_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_9737bec75dbac826009c3374be76c5f7 import TlvEditor if len(self._object_properties) > 0: if self._properties.get('TlvEditor', None) is not None: return self._properties.get('TlvEditor') diff --git a/uhd_restpy/testplatform/sessions/ixnetwork/globals/topology/bgpipv6peer/bgpipv6peer_7e5e36454dedaa483fd7dd20abef422b.py b/uhd_restpy/testplatform/sessions/ixnetwork/globals/topology/bgpipv6peer/bgpipv6peer_7e5e36454dedaa483fd7dd20abef422b.py index e50d04260..6aad6c8fa 100644 --- a/uhd_restpy/testplatform/sessions/ixnetwork/globals/topology/bgpipv6peer/bgpipv6peer_7e5e36454dedaa483fd7dd20abef422b.py +++ b/uhd_restpy/testplatform/sessions/ixnetwork/globals/topology/bgpipv6peer/bgpipv6peer_7e5e36454dedaa483fd7dd20abef422b.py @@ -132,13 +132,13 @@ def TlvEditor(self): """ Returns ------- - - obj(uhd_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_d66c1061f4b3bb902b0e5e76ee632657.TlvEditor): An instance of the TlvEditor class + - obj(uhd_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_9737bec75dbac826009c3374be76c5f7.TlvEditor): An instance of the TlvEditor class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from uhd_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_d66c1061f4b3bb902b0e5e76ee632657 import TlvEditor + from uhd_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.tlveditor_9737bec75dbac826009c3374be76c5f7 import TlvEditor if len(self._object_properties) > 0: if self._properties.get('TlvEditor', None) is not None: return self._properties.get('TlvEditor') diff --git a/uhd_restpy/testplatform/sessions/ixnetwork/globals/topology/tlveditor/defaults_6da4efbc0f60f2cba8351f92d98fdc75.py b/uhd_restpy/testplatform/sessions/ixnetwork/globals/topology/tlveditor/defaults_357155246025eaca693ddd1bd09a2c58.py similarity index 100% rename from uhd_restpy/testplatform/sessions/ixnetwork/globals/topology/tlveditor/defaults_6da4efbc0f60f2cba8351f92d98fdc75.py rename to uhd_restpy/testplatform/sessions/ixnetwork/globals/topology/tlveditor/defaults_357155246025eaca693ddd1bd09a2c58.py diff --git a/uhd_restpy/testplatform/sessions/ixnetwork/globals/topology/tlveditor/tlveditor_d66c1061f4b3bb902b0e5e76ee632657.py b/uhd_restpy/testplatform/sessions/ixnetwork/globals/topology/tlveditor/tlveditor_9737bec75dbac826009c3374be76c5f7.py similarity index 97% rename from uhd_restpy/testplatform/sessions/ixnetwork/globals/topology/tlveditor/tlveditor_d66c1061f4b3bb902b0e5e76ee632657.py rename to uhd_restpy/testplatform/sessions/ixnetwork/globals/topology/tlveditor/tlveditor_9737bec75dbac826009c3374be76c5f7.py index fef17b699..7e16ae5b6 100644 --- a/uhd_restpy/testplatform/sessions/ixnetwork/globals/topology/tlveditor/tlveditor_d66c1061f4b3bb902b0e5e76ee632657.py +++ b/uhd_restpy/testplatform/sessions/ixnetwork/globals/topology/tlveditor/tlveditor_9737bec75dbac826009c3374be76c5f7.py @@ -47,13 +47,13 @@ def Defaults(self): """ Returns ------- - - obj(uhd_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.defaults_6da4efbc0f60f2cba8351f92d98fdc75.Defaults): An instance of the Defaults class + - obj(uhd_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.defaults_357155246025eaca693ddd1bd09a2c58.Defaults): An instance of the Defaults class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from uhd_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.defaults_6da4efbc0f60f2cba8351f92d98fdc75 import Defaults + from uhd_restpy.testplatform.sessions.ixnetwork.globals.topology.tlveditor.defaults_357155246025eaca693ddd1bd09a2c58 import Defaults if len(self._object_properties) > 0: if self._properties.get('Defaults', None) is not None: return self._properties.get('Defaults') diff --git a/uhd_restpy/testplatform/sessions/ixnetwork/topology/bgpepepeerlinklist_64989e297b3e27479937928bcec9cd7f.py b/uhd_restpy/testplatform/sessions/ixnetwork/topology/bgpepepeerlinklist_64989e297b3e27479937928bcec9cd7f.py index 46a3778dc..d70434c9f 100644 --- a/uhd_restpy/testplatform/sessions/ixnetwork/topology/bgpepepeerlinklist_64989e297b3e27479937928bcec9cd7f.py +++ b/uhd_restpy/testplatform/sessions/ixnetwork/topology/bgpepepeerlinklist_64989e297b3e27479937928bcec9cd7f.py @@ -71,13 +71,13 @@ def TlvProfile(self): """ Returns ------- - - obj(uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c.TlvProfile): An instance of the TlvProfile class + - obj(uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26.TlvProfile): An instance of the TlvProfile class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c import TlvProfile + from uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26 import TlvProfile if len(self._object_properties) > 0: if self._properties.get('TlvProfile', None) is not None: return self._properties.get('TlvProfile') diff --git a/uhd_restpy/testplatform/sessions/ixnetwork/topology/bgpipv4peer_9dd9eddcf2bd784d82d8a016e392f035.py b/uhd_restpy/testplatform/sessions/ixnetwork/topology/bgpipv4peer_9dd9eddcf2bd784d82d8a016e392f035.py index eeedb72ee..0f15705bc 100644 --- a/uhd_restpy/testplatform/sessions/ixnetwork/topology/bgpipv4peer_9dd9eddcf2bd784d82d8a016e392f035.py +++ b/uhd_restpy/testplatform/sessions/ixnetwork/topology/bgpipv4peer_9dd9eddcf2bd784d82d8a016e392f035.py @@ -596,13 +596,13 @@ def TlvProfile(self): """ Returns ------- - - obj(uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c.TlvProfile): An instance of the TlvProfile class + - obj(uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26.TlvProfile): An instance of the TlvProfile class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c import TlvProfile + from uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26 import TlvProfile if len(self._object_properties) > 0: if self._properties.get('TlvProfile', None) is not None: return self._properties.get('TlvProfile') diff --git a/uhd_restpy/testplatform/sessions/ixnetwork/topology/bgpipv6peer_d4ac277d9da759fd5a152b8e6eb0ab20.py b/uhd_restpy/testplatform/sessions/ixnetwork/topology/bgpipv6peer_d4ac277d9da759fd5a152b8e6eb0ab20.py index 3a3fe2998..efd540c02 100644 --- a/uhd_restpy/testplatform/sessions/ixnetwork/topology/bgpipv6peer_d4ac277d9da759fd5a152b8e6eb0ab20.py +++ b/uhd_restpy/testplatform/sessions/ixnetwork/topology/bgpipv6peer_d4ac277d9da759fd5a152b8e6eb0ab20.py @@ -620,13 +620,13 @@ def TlvProfile(self): """ Returns ------- - - obj(uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c.TlvProfile): An instance of the TlvProfile class + - obj(uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26.TlvProfile): An instance of the TlvProfile class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c import TlvProfile + from uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26 import TlvProfile if len(self._object_properties) > 0: if self._properties.get('TlvProfile', None) is not None: return self._properties.get('TlvProfile') diff --git a/uhd_restpy/testplatform/sessions/ixnetwork/topology/bondedgre_09eda4ea678bfaf1026122797df45443.py b/uhd_restpy/testplatform/sessions/ixnetwork/topology/bondedgre_09eda4ea678bfaf1026122797df45443.py index 8f738c0e2..5e8a2d700 100644 --- a/uhd_restpy/testplatform/sessions/ixnetwork/topology/bondedgre_09eda4ea678bfaf1026122797df45443.py +++ b/uhd_restpy/testplatform/sessions/ixnetwork/topology/bondedgre_09eda4ea678bfaf1026122797df45443.py @@ -89,13 +89,13 @@ def TlvProfile(self): """ Returns ------- - - obj(uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c.TlvProfile): An instance of the TlvProfile class + - obj(uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26.TlvProfile): An instance of the TlvProfile class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c import TlvProfile + from uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26 import TlvProfile if len(self._object_properties) > 0: if self._properties.get('TlvProfile', None) is not None: return self._properties.get('TlvProfile') diff --git a/uhd_restpy/testplatform/sessions/ixnetwork/topology/dhcp4relayagenttlvprofile_1f5a4a0853366dc50313b9b3e8f6e68d.py b/uhd_restpy/testplatform/sessions/ixnetwork/topology/dhcp4relayagenttlvprofile_1f5a4a0853366dc50313b9b3e8f6e68d.py index 7049d1aec..d243ea3f5 100644 --- a/uhd_restpy/testplatform/sessions/ixnetwork/topology/dhcp4relayagenttlvprofile_1f5a4a0853366dc50313b9b3e8f6e68d.py +++ b/uhd_restpy/testplatform/sessions/ixnetwork/topology/dhcp4relayagenttlvprofile_1f5a4a0853366dc50313b9b3e8f6e68d.py @@ -49,13 +49,13 @@ def TlvProfile(self): """ Returns ------- - - obj(uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c.TlvProfile): An instance of the TlvProfile class + - obj(uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26.TlvProfile): An instance of the TlvProfile class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c import TlvProfile + from uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26 import TlvProfile if len(self._object_properties) > 0: if self._properties.get('TlvProfile', None) is not None: return self._properties.get('TlvProfile') diff --git a/uhd_restpy/testplatform/sessions/ixnetwork/topology/dhcp6relaytlvprofile_26571057903c7fcd2a20eb10f55be22f.py b/uhd_restpy/testplatform/sessions/ixnetwork/topology/dhcp6relaytlvprofile_26571057903c7fcd2a20eb10f55be22f.py index f45b97e9f..3373093fc 100644 --- a/uhd_restpy/testplatform/sessions/ixnetwork/topology/dhcp6relaytlvprofile_26571057903c7fcd2a20eb10f55be22f.py +++ b/uhd_restpy/testplatform/sessions/ixnetwork/topology/dhcp6relaytlvprofile_26571057903c7fcd2a20eb10f55be22f.py @@ -49,13 +49,13 @@ def TlvProfile(self): """ Returns ------- - - obj(uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c.TlvProfile): An instance of the TlvProfile class + - obj(uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26.TlvProfile): An instance of the TlvProfile class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c import TlvProfile + from uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26 import TlvProfile if len(self._object_properties) > 0: if self._properties.get('TlvProfile', None) is not None: return self._properties.get('TlvProfile') diff --git a/uhd_restpy/testplatform/sessions/ixnetwork/topology/dhcpv4client_cfcdda8db5004b679a441f92193405ea.py b/uhd_restpy/testplatform/sessions/ixnetwork/topology/dhcpv4client_cfcdda8db5004b679a441f92193405ea.py index 721795c5d..987086b21 100644 --- a/uhd_restpy/testplatform/sessions/ixnetwork/topology/dhcpv4client_cfcdda8db5004b679a441f92193405ea.py +++ b/uhd_restpy/testplatform/sessions/ixnetwork/topology/dhcpv4client_cfcdda8db5004b679a441f92193405ea.py @@ -325,13 +325,13 @@ def TlvProfile(self): """ Returns ------- - - obj(uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c.TlvProfile): An instance of the TlvProfile class + - obj(uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26.TlvProfile): An instance of the TlvProfile class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c import TlvProfile + from uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26 import TlvProfile if len(self._object_properties) > 0: if self._properties.get('TlvProfile', None) is not None: return self._properties.get('TlvProfile') diff --git a/uhd_restpy/testplatform/sessions/ixnetwork/topology/dhcpv4server_a0d174266d4c9a35774364ccc4dfccb3.py b/uhd_restpy/testplatform/sessions/ixnetwork/topology/dhcpv4server_a0d174266d4c9a35774364ccc4dfccb3.py index 8fb91879b..0132809b3 100644 --- a/uhd_restpy/testplatform/sessions/ixnetwork/topology/dhcpv4server_a0d174266d4c9a35774364ccc4dfccb3.py +++ b/uhd_restpy/testplatform/sessions/ixnetwork/topology/dhcpv4server_a0d174266d4c9a35774364ccc4dfccb3.py @@ -82,13 +82,13 @@ def TlvProfile(self): """ Returns ------- - - obj(uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c.TlvProfile): An instance of the TlvProfile class + - obj(uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26.TlvProfile): An instance of the TlvProfile class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c import TlvProfile + from uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26 import TlvProfile if len(self._object_properties) > 0: if self._properties.get('TlvProfile', None) is not None: return self._properties.get('TlvProfile') diff --git a/uhd_restpy/testplatform/sessions/ixnetwork/topology/dhcpv6client_355391ba11ab3c1555c827e2e4ac3c4c.py b/uhd_restpy/testplatform/sessions/ixnetwork/topology/dhcpv6client_355391ba11ab3c1555c827e2e4ac3c4c.py index e79552644..989145784 100644 --- a/uhd_restpy/testplatform/sessions/ixnetwork/topology/dhcpv6client_355391ba11ab3c1555c827e2e4ac3c4c.py +++ b/uhd_restpy/testplatform/sessions/ixnetwork/topology/dhcpv6client_355391ba11ab3c1555c827e2e4ac3c4c.py @@ -494,13 +494,13 @@ def TlvProfile(self): """ Returns ------- - - obj(uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c.TlvProfile): An instance of the TlvProfile class + - obj(uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26.TlvProfile): An instance of the TlvProfile class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c import TlvProfile + from uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26 import TlvProfile if len(self._object_properties) > 0: if self._properties.get('TlvProfile', None) is not None: return self._properties.get('TlvProfile') diff --git a/uhd_restpy/testplatform/sessions/ixnetwork/topology/dhcpv6server_df745f3926c8653c96b69175854d0c80.py b/uhd_restpy/testplatform/sessions/ixnetwork/topology/dhcpv6server_df745f3926c8653c96b69175854d0c80.py index 35dffd7f3..a35016fa8 100644 --- a/uhd_restpy/testplatform/sessions/ixnetwork/topology/dhcpv6server_df745f3926c8653c96b69175854d0c80.py +++ b/uhd_restpy/testplatform/sessions/ixnetwork/topology/dhcpv6server_df745f3926c8653c96b69175854d0c80.py @@ -84,13 +84,13 @@ def TlvProfile(self): """ Returns ------- - - obj(uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c.TlvProfile): An instance of the TlvProfile class + - obj(uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26.TlvProfile): An instance of the TlvProfile class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c import TlvProfile + from uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26 import TlvProfile if len(self._object_properties) > 0: if self._properties.get('TlvProfile', None) is not None: return self._properties.get('TlvProfile') diff --git a/uhd_restpy/testplatform/sessions/ixnetwork/topology/dslpools_d9b929e10c822a015fb7026b5bad393a.py b/uhd_restpy/testplatform/sessions/ixnetwork/topology/dslpools_d9b929e10c822a015fb7026b5bad393a.py index 3c508fa7f..e740a4b54 100644 --- a/uhd_restpy/testplatform/sessions/ixnetwork/topology/dslpools_d9b929e10c822a015fb7026b5bad393a.py +++ b/uhd_restpy/testplatform/sessions/ixnetwork/topology/dslpools_d9b929e10c822a015fb7026b5bad393a.py @@ -93,13 +93,13 @@ def TlvProfile(self): """ Returns ------- - - obj(uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c.TlvProfile): An instance of the TlvProfile class + - obj(uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26.TlvProfile): An instance of the TlvProfile class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c import TlvProfile + from uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26 import TlvProfile if len(self._object_properties) > 0: if self._properties.get('TlvProfile', None) is not None: return self._properties.get('TlvProfile') diff --git a/uhd_restpy/testplatform/sessions/ixnetwork/topology/geneve_14ab6f140956b4fc77d1d0f03c5e7514.py b/uhd_restpy/testplatform/sessions/ixnetwork/topology/geneve_14ab6f140956b4fc77d1d0f03c5e7514.py index 6acb78134..6fe2020c3 100644 --- a/uhd_restpy/testplatform/sessions/ixnetwork/topology/geneve_14ab6f140956b4fc77d1d0f03c5e7514.py +++ b/uhd_restpy/testplatform/sessions/ixnetwork/topology/geneve_14ab6f140956b4fc77d1d0f03c5e7514.py @@ -199,13 +199,13 @@ def TlvProfile(self): """ Returns ------- - - obj(uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c.TlvProfile): An instance of the TlvProfile class + - obj(uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26.TlvProfile): An instance of the TlvProfile class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c import TlvProfile + from uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26 import TlvProfile if len(self._object_properties) > 0: if self._properties.get('TlvProfile', None) is not None: return self._properties.get('TlvProfile') diff --git a/uhd_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/actionlist_57354c012aa6110e6483c4eaf33a2438.py b/uhd_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/actionlist_57354c012aa6110e6483c4eaf33a2438.py new file mode 100644 index 000000000..e684db1b9 --- /dev/null +++ b/uhd_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/actionlist_57354c012aa6110e6483c4eaf33a2438.py @@ -0,0 +1,261 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from uhd_restpy.base import Base +from uhd_restpy.files import Files +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class ActionList(Base): + """Multiple Actions + The ActionList class encapsulates a list of actionList resources that are managed by the system. + A list of resources can be retrieved from the server using the ActionList.find() method. + """ + + __slots__ = () + _SDM_NAME = 'actionList' + _SDM_ATT_MAP = { + 'Count': 'count', + 'Description': 'description', + 'DisplayName': 'displayName', + 'IsEditable': 'isEditable', + 'IsEnabled': 'isEnabled', + 'IsRequired': 'isRequired', + 'ListCount': 'listCount', + 'Name': 'name', + } + _SDM_ENUM_MAP = { + } + + def __init__(self, parent, list_op=False): + super(ActionList, self).__init__(parent, list_op) + + @property + def Action(self): + """ + Returns + ------- + - obj(uhd_restpy.testplatform.sessions.ixnetwork.topology.action_910bcbfd3b7898385321127395ab1bd5.Action): An instance of the Action class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from uhd_restpy.testplatform.sessions.ixnetwork.topology.action_910bcbfd3b7898385321127395ab1bd5 import Action + if len(self._object_properties) > 0: + if self._properties.get('Action', None) is not None: + return self._properties.get('Action') + return Action(self) + + @property + def Count(self): + # type: () -> int + """ + Returns + ------- + - number: Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. + """ + return self._get_attribute(self._SDM_ATT_MAP['Count']) + + @property + def Description(self): + # type: () -> str + """ + Returns + ------- + - str: Description of the field. + """ + return self._get_attribute(self._SDM_ATT_MAP['Description']) + @Description.setter + def Description(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP['Description'], value) + + @property + def DisplayName(self): + # type: () -> str + """ + Returns + ------- + - str: Display name used by GUI. + """ + return self._get_attribute(self._SDM_ATT_MAP['DisplayName']) + + @property + def IsEditable(self): + # type: () -> bool + """ + Returns + ------- + - bool: Information on the requirement of the field. + """ + return self._get_attribute(self._SDM_ATT_MAP['IsEditable']) + @IsEditable.setter + def IsEditable(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP['IsEditable'], value) + + @property + def IsEnabled(self): + # type: () -> bool + """ + Returns + ------- + - bool: Enables disables the field. + """ + return self._get_attribute(self._SDM_ATT_MAP['IsEnabled']) + @IsEnabled.setter + def IsEnabled(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP['IsEnabled'], value) + + @property + def IsRequired(self): + # type: () -> bool + """ + Returns + ------- + - bool: Information on the requirement of the field. + """ + return self._get_attribute(self._SDM_ATT_MAP['IsRequired']) + @IsRequired.setter + def IsRequired(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP['IsRequired'], value) + + @property + def ListCount(self): + # type: () -> int + """ + Returns + ------- + - number: The number of times the main field is repeated. + """ + return self._get_attribute(self._SDM_ATT_MAP['ListCount']) + @ListCount.setter + def ListCount(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP['ListCount'], value) + + @property + def Name(self): + # type: () -> str + """ + Returns + ------- + - str: Name of packet field + """ + return self._get_attribute(self._SDM_ATT_MAP['Name']) + @Name.setter + def Name(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP['Name'], value) + + def update(self, Description=None, IsEditable=None, IsEnabled=None, IsRequired=None, ListCount=None, Name=None): + # type: (str, bool, bool, bool, int, str) -> ActionList + """Updates actionList resource on the server. + + Args + ---- + - Description (str): Description of the field. + - IsEditable (bool): Information on the requirement of the field. + - IsEnabled (bool): Enables disables the field. + - IsRequired (bool): Information on the requirement of the field. + - ListCount (number): The number of times the main field is repeated. + - Name (str): Name of packet field + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) + + def add(self, Description=None, IsEditable=None, IsEnabled=None, IsRequired=None, ListCount=None, Name=None): + # type: (str, bool, bool, bool, int, str) -> ActionList + """Adds a new actionList resource on the json, only valid with batch add utility + + Args + ---- + - Description (str): Description of the field. + - IsEditable (bool): Information on the requirement of the field. + - IsEnabled (bool): Enables disables the field. + - IsRequired (bool): Information on the requirement of the field. + - ListCount (number): The number of times the main field is repeated. + - Name (str): Name of packet field + + Returns + ------- + - self: This instance with all currently retrieved actionList resources using find and the newly added actionList resources available through an iterator or index + + Raises + ------ + - Exception: if this function is not being used with config assistance + """ + return self._add_xpath(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find(self, Count=None, Description=None, DisplayName=None, IsEditable=None, IsEnabled=None, IsRequired=None, ListCount=None, Name=None): + # type: (int, str, str, bool, bool, bool, int, str) -> ActionList + """Finds and retrieves actionList resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve actionList resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all actionList resources from the server. + + Args + ---- + - Count (number): Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. + - Description (str): Description of the field. + - DisplayName (str): Display name used by GUI. + - IsEditable (bool): Information on the requirement of the field. + - IsEnabled (bool): Enables disables the field. + - IsRequired (bool): Information on the requirement of the field. + - ListCount (number): The number of times the main field is repeated. + - Name (str): Name of packet field + + Returns + ------- + - self: This instance with matching actionList resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of actionList data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the actionList resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) diff --git a/uhd_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/flowaggrmatchprofile_2ba597be74523b48fa398c0fe5ce3acf.py b/uhd_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/flowaggrmatchprofile_2ba597be74523b48fa398c0fe5ce3acf.py new file mode 100644 index 000000000..49d8e682f --- /dev/null +++ b/uhd_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/flowaggrmatchprofile_2ba597be74523b48fa398c0fe5ce3acf.py @@ -0,0 +1,213 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from uhd_restpy.base import Base +from uhd_restpy.files import Files +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class FlowAggrMatchProfile(Base): + """Flow Stat Aggregated Match Profile + The FlowAggrMatchProfile class encapsulates a list of flowAggrMatchProfile resources that are managed by the system. + A list of resources can be retrieved from the server using the FlowAggrMatchProfile.find() method. + """ + + __slots__ = () + _SDM_NAME = 'flowAggrMatchProfile' + _SDM_ATT_MAP = { + 'Count': 'count', + 'DescriptiveName': 'descriptiveName', + 'Name': 'name', + } + _SDM_ENUM_MAP = { + } + + def __init__(self, parent, list_op=False): + super(FlowAggrMatchProfile, self).__init__(parent, list_op) + + @property + def MatchCriteria(self): + """ + Returns + ------- + - obj(uhd_restpy.testplatform.sessions.ixnetwork.topology.matchcriteria_0cfbf8546f5ee9d503c47b3a37bded66.MatchCriteria): An instance of the MatchCriteria class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from uhd_restpy.testplatform.sessions.ixnetwork.topology.matchcriteria_0cfbf8546f5ee9d503c47b3a37bded66 import MatchCriteria + if len(self._object_properties) > 0: + if self._properties.get('MatchCriteria', None) is not None: + return self._properties.get('MatchCriteria') + return MatchCriteria(self)._select() + + @property + def Count(self): + # type: () -> int + """ + Returns + ------- + - number: Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. + """ + return self._get_attribute(self._SDM_ATT_MAP['Count']) + + @property + def DescriptiveName(self): + # type: () -> str + """ + Returns + ------- + - str: Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. + """ + return self._get_attribute(self._SDM_ATT_MAP['DescriptiveName']) + + @property + def Name(self): + # type: () -> str + """ + Returns + ------- + - str: Name of NGPF element, guaranteed to be unique in Scenario + """ + return self._get_attribute(self._SDM_ATT_MAP['Name']) + @Name.setter + def Name(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP['Name'], value) + + def update(self, Name=None): + # type: (str) -> FlowAggrMatchProfile + """Updates flowAggrMatchProfile resource on the server. + + Args + ---- + - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) + + def add(self, Name=None): + # type: (str) -> FlowAggrMatchProfile + """Adds a new flowAggrMatchProfile resource on the json, only valid with batch add utility + + Args + ---- + - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + + Returns + ------- + - self: This instance with all currently retrieved flowAggrMatchProfile resources using find and the newly added flowAggrMatchProfile resources available through an iterator or index + + Raises + ------ + - Exception: if this function is not being used with config assistance + """ + return self._add_xpath(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find(self, Count=None, DescriptiveName=None, Name=None): + # type: (int, str, str) -> FlowAggrMatchProfile + """Finds and retrieves flowAggrMatchProfile resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve flowAggrMatchProfile resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all flowAggrMatchProfile resources from the server. + + Args + ---- + - Count (number): Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. + - DescriptiveName (str): Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. + - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + + Returns + ------- + - self: This instance with matching flowAggrMatchProfile resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of flowAggrMatchProfile data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the flowAggrMatchProfile resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) + + def AddFromTemplate(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addFromTemplate operation on the server. + + Creates a Match Action prototype supported by the template. + + addFromTemplate(Arg2=href, async_operation=bool) + ------------------------------------------------ + - Arg2 (str(None | /api/v1/sessions/1/ixnetwork//.../*)): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = { "Arg1": self.href } + for i in range(len(args)): payload['Arg%s' % (i + 2)] = args[i] + for item in kwargs.items(): payload[item[0]] = item[1] + return self._execute('addFromTemplate', payload=payload, response_object=None) + + def Remove(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the remove operation on the server. + + Creates a Match Action prototype supported by the template. + + remove(Arg2=href, async_operation=bool) + --------------------------------------- + - Arg2 (str(None | /api/v1/sessions/1/ixnetwork//.../*)): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = { "Arg1": self.href } + for i in range(len(args)): payload['Arg%s' % (i + 2)] = args[i] + for item in kwargs.items(): payload[item[0]] = item[1] + return self._execute('remove', payload=payload, response_object=None) diff --git a/uhd_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/flowstatmatchprofile_d56a9c24805ae788ef01a9b7a86babf1.py b/uhd_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/flowstatmatchprofile_d56a9c24805ae788ef01a9b7a86babf1.py new file mode 100644 index 000000000..e35ee7931 --- /dev/null +++ b/uhd_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/flowstatmatchprofile_d56a9c24805ae788ef01a9b7a86babf1.py @@ -0,0 +1,213 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from uhd_restpy.base import Base +from uhd_restpy.files import Files +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class FlowStatMatchProfile(Base): + """Flow Match Profile + The FlowStatMatchProfile class encapsulates a list of flowStatMatchProfile resources that are managed by the system. + A list of resources can be retrieved from the server using the FlowStatMatchProfile.find() method. + """ + + __slots__ = () + _SDM_NAME = 'flowStatMatchProfile' + _SDM_ATT_MAP = { + 'Count': 'count', + 'DescriptiveName': 'descriptiveName', + 'Name': 'name', + } + _SDM_ENUM_MAP = { + } + + def __init__(self, parent, list_op=False): + super(FlowStatMatchProfile, self).__init__(parent, list_op) + + @property + def MatchCriteria(self): + """ + Returns + ------- + - obj(uhd_restpy.testplatform.sessions.ixnetwork.topology.matchcriteria_0cfbf8546f5ee9d503c47b3a37bded66.MatchCriteria): An instance of the MatchCriteria class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from uhd_restpy.testplatform.sessions.ixnetwork.topology.matchcriteria_0cfbf8546f5ee9d503c47b3a37bded66 import MatchCriteria + if len(self._object_properties) > 0: + if self._properties.get('MatchCriteria', None) is not None: + return self._properties.get('MatchCriteria') + return MatchCriteria(self)._select() + + @property + def Count(self): + # type: () -> int + """ + Returns + ------- + - number: Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. + """ + return self._get_attribute(self._SDM_ATT_MAP['Count']) + + @property + def DescriptiveName(self): + # type: () -> str + """ + Returns + ------- + - str: Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. + """ + return self._get_attribute(self._SDM_ATT_MAP['DescriptiveName']) + + @property + def Name(self): + # type: () -> str + """ + Returns + ------- + - str: Name of NGPF element, guaranteed to be unique in Scenario + """ + return self._get_attribute(self._SDM_ATT_MAP['Name']) + @Name.setter + def Name(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP['Name'], value) + + def update(self, Name=None): + # type: (str) -> FlowStatMatchProfile + """Updates flowStatMatchProfile resource on the server. + + Args + ---- + - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) + + def add(self, Name=None): + # type: (str) -> FlowStatMatchProfile + """Adds a new flowStatMatchProfile resource on the json, only valid with batch add utility + + Args + ---- + - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + + Returns + ------- + - self: This instance with all currently retrieved flowStatMatchProfile resources using find and the newly added flowStatMatchProfile resources available through an iterator or index + + Raises + ------ + - Exception: if this function is not being used with config assistance + """ + return self._add_xpath(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find(self, Count=None, DescriptiveName=None, Name=None): + # type: (int, str, str) -> FlowStatMatchProfile + """Finds and retrieves flowStatMatchProfile resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve flowStatMatchProfile resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all flowStatMatchProfile resources from the server. + + Args + ---- + - Count (number): Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. + - DescriptiveName (str): Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. + - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + + Returns + ------- + - self: This instance with matching flowStatMatchProfile resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of flowStatMatchProfile data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the flowStatMatchProfile resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) + + def AddFromTemplate(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addFromTemplate operation on the server. + + Creates a Match Action prototype supported by the template. + + addFromTemplate(Arg2=href, async_operation=bool) + ------------------------------------------------ + - Arg2 (str(None | /api/v1/sessions/1/ixnetwork//.../*)): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = { "Arg1": self.href } + for i in range(len(args)): payload['Arg%s' % (i + 2)] = args[i] + for item in kwargs.items(): payload[item[0]] = item[1] + return self._execute('addFromTemplate', payload=payload, response_object=None) + + def Remove(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the remove operation on the server. + + Creates a Match Action prototype supported by the template. + + remove(Arg2=href, async_operation=bool) + --------------------------------------- + - Arg2 (str(None | /api/v1/sessions/1/ixnetwork//.../*)): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = { "Arg1": self.href } + for i in range(len(args)): payload['Arg%s' % (i + 2)] = args[i] + for item in kwargs.items(): payload[item[0]] = item[1] + return self._execute('remove', payload=payload, response_object=None) diff --git a/uhd_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/learnedinfoupdate_c16222bcf67d5a605c480c375e0fa938.py b/uhd_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/learnedinfoupdate_c16222bcf67d5a605c480c375e0fa938.py new file mode 100644 index 000000000..c5c3e4d26 --- /dev/null +++ b/uhd_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/learnedinfoupdate_c16222bcf67d5a605c480c375e0fa938.py @@ -0,0 +1,108 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from uhd_restpy.base import Base +from uhd_restpy.files import Files +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class LearnedInfoUpdate(Base): + """The learned information trigger node that contains trigger tables of learned information. + The LearnedInfoUpdate class encapsulates a list of learnedInfoUpdate resources that are managed by the system. + A list of resources can be retrieved from the server using the LearnedInfoUpdate.find() method. + """ + + __slots__ = () + _SDM_NAME = 'learnedInfoUpdate' + _SDM_ATT_MAP = { + } + _SDM_ENUM_MAP = { + } + + def __init__(self, parent, list_op=False): + super(LearnedInfoUpdate, self).__init__(parent, list_op) + + @property + def OFChannelLearnedInfo(self): + """ + Returns + ------- + - obj(uhd_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.ofchannellearnedinfo_dc0fb9c204191e64878422c6a8604d01.OFChannelLearnedInfo): An instance of the OFChannelLearnedInfo class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from uhd_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.ofchannellearnedinfo_dc0fb9c204191e64878422c6a8604d01 import OFChannelLearnedInfo + if len(self._object_properties) > 0: + if self._properties.get('OFChannelLearnedInfo', None) is not None: + return self._properties.get('OFChannelLearnedInfo') + return OFChannelLearnedInfo(self) + + def add(self): + """Adds a new learnedInfoUpdate resource on the json, only valid with batch add utility + + Returns + ------- + - self: This instance with all currently retrieved learnedInfoUpdate resources using find and the newly added learnedInfoUpdate resources available through an iterator or index + + Raises + ------ + - Exception: if this function is not being used with config assistance + """ + return self._add_xpath(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find(self): + """Finds and retrieves learnedInfoUpdate resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve learnedInfoUpdate resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all learnedInfoUpdate resources from the server. + + Returns + ------- + - self: This instance with matching learnedInfoUpdate resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of learnedInfoUpdate data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the learnedInfoUpdate resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) diff --git a/uhd_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/learnedinfoupdate_b6503122c0a4a58877467964920e27b5.py b/uhd_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/learnedinfoupdate_dd43ce3af7af258dc032dc87aa945c8b.py similarity index 100% rename from uhd_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/learnedinfoupdate_b6503122c0a4a58877467964920e27b5.py rename to uhd_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/learnedinfoupdate_dd43ce3af7af258dc032dc87aa945c8b.py diff --git a/uhd_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/learnedinfoupdate_f0f5d88734eb95208b4f723819a57481.py b/uhd_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/learnedinfoupdate_f0f5d88734eb95208b4f723819a57481.py new file mode 100644 index 000000000..3c5d3c283 --- /dev/null +++ b/uhd_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/learnedinfoupdate_f0f5d88734eb95208b4f723819a57481.py @@ -0,0 +1,108 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from uhd_restpy.base import Base +from uhd_restpy.files import Files +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class LearnedInfoUpdate(Base): + """The learned information trigger node that contains trigger tables of learned information. + The LearnedInfoUpdate class encapsulates a list of learnedInfoUpdate resources that are managed by the system. + A list of resources can be retrieved from the server using the LearnedInfoUpdate.find() method. + """ + + __slots__ = () + _SDM_NAME = 'learnedInfoUpdate' + _SDM_ATT_MAP = { + } + _SDM_ENUM_MAP = { + } + + def __init__(self, parent, list_op=False): + super(LearnedInfoUpdate, self).__init__(parent, list_op) + + @property + def MplsoamSbfdResponderLearnedInfo(self): + """ + Returns + ------- + - obj(uhd_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.mplsoamsbfdresponderlearnedinfo_2e820550fd3f57d4f0b6d57e32ffa0df.MplsoamSbfdResponderLearnedInfo): An instance of the MplsoamSbfdResponderLearnedInfo class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from uhd_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.mplsoamsbfdresponderlearnedinfo_2e820550fd3f57d4f0b6d57e32ffa0df import MplsoamSbfdResponderLearnedInfo + if len(self._object_properties) > 0: + if self._properties.get('MplsoamSbfdResponderLearnedInfo', None) is not None: + return self._properties.get('MplsoamSbfdResponderLearnedInfo') + return MplsoamSbfdResponderLearnedInfo(self) + + def add(self): + """Adds a new learnedInfoUpdate resource on the json, only valid with batch add utility + + Returns + ------- + - self: This instance with all currently retrieved learnedInfoUpdate resources using find and the newly added learnedInfoUpdate resources available through an iterator or index + + Raises + ------ + - Exception: if this function is not being used with config assistance + """ + return self._add_xpath(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find(self): + """Finds and retrieves learnedInfoUpdate resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve learnedInfoUpdate resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all learnedInfoUpdate resources from the server. + + Returns + ------- + - self: This instance with matching learnedInfoUpdate resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of learnedInfoUpdate data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the learnedInfoUpdate resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) diff --git a/uhd_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/mplsoamsbfdresponderlearnedinfo_2e820550fd3f57d4f0b6d57e32ffa0df.py b/uhd_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/mplsoamsbfdresponderlearnedinfo_2e820550fd3f57d4f0b6d57e32ffa0df.py new file mode 100644 index 000000000..de6885494 --- /dev/null +++ b/uhd_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/mplsoamsbfdresponderlearnedinfo_2e820550fd3f57d4f0b6d57e32ffa0df.py @@ -0,0 +1,135 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from uhd_restpy.base import Base +from uhd_restpy.files import Files +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class MplsoamSbfdResponderLearnedInfo(Base): + """GUI columns and TCL attributes for SBFD Responder Learned Information + The MplsoamSbfdResponderLearnedInfo class encapsulates a list of mplsoamSbfdResponderLearnedInfo resources that are managed by the system. + A list of resources can be retrieved from the server using the MplsoamSbfdResponderLearnedInfo.find() method. + """ + + __slots__ = () + _SDM_NAME = 'mplsoamSbfdResponderLearnedInfo' + _SDM_ATT_MAP = { + } + _SDM_ENUM_MAP = { + } + + def __init__(self, parent, list_op=False): + super(MplsoamSbfdResponderLearnedInfo, self).__init__(parent, list_op) + + def add(self): + """Adds a new mplsoamSbfdResponderLearnedInfo resource on the json, only valid with batch add utility + + Returns + ------- + - self: This instance with all currently retrieved mplsoamSbfdResponderLearnedInfo resources using find and the newly added mplsoamSbfdResponderLearnedInfo resources available through an iterator or index + + Raises + ------ + - Exception: if this function is not being used with config assistance + """ + return self._add_xpath(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find(self): + """Finds and retrieves mplsoamSbfdResponderLearnedInfo resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve mplsoamSbfdResponderLearnedInfo resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all mplsoamSbfdResponderLearnedInfo resources from the server. + + Returns + ------- + - self: This instance with matching mplsoamSbfdResponderLearnedInfo resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of mplsoamSbfdResponderLearnedInfo data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the mplsoamSbfdResponderLearnedInfo resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) + + def PauseSessions(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the pauseSessions operation on the server. + + Pause selected learned SBFD sessions at Responder e.g. to allow data to switch to backup path at the ingress.Only applicable for sessions not already in Paused state. + + pauseSessions(Arg2=list, async_operation=bool)list + -------------------------------------------------- + - Arg2 (list(number)): List of indices of the learned sessions from SBFD Initiator which has to be paused. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = { "Arg1": self.href } + for i in range(len(args)): payload['Arg%s' % (i + 2)] = args[i] + for item in kwargs.items(): payload[item[0]] = item[1] + return self._execute('pauseSessions', payload=payload, response_object=None) + + def ResumeSessions(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the resumeSessions operation on the server. + + Resume selected learned SBFD sessions at Responder e.g. to allow data to switch to primary path at the ingress.Only applicable for sessions in Paused state. + + resumeSessions(Arg2=list, async_operation=bool)list + --------------------------------------------------- + - Arg2 (list(number)): List of indices of the learned sessions from SBFD Initiator which has to be resumed. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = { "Arg1": self.href } + for i in range(len(args)): payload['Arg%s' % (i + 2)] = args[i] + for item in kwargs.items(): payload[item[0]] = item[1] + return self._execute('resumeSessions', payload=payload, response_object=None) diff --git a/uhd_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/ofchannellearnedinfo_dc0fb9c204191e64878422c6a8604d01.py b/uhd_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/ofchannellearnedinfo_dc0fb9c204191e64878422c6a8604d01.py new file mode 100644 index 000000000..cc30b6741 --- /dev/null +++ b/uhd_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/ofchannellearnedinfo_dc0fb9c204191e64878422c6a8604d01.py @@ -0,0 +1,1624 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from uhd_restpy.base import Base +from uhd_restpy.files import Files +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class OFChannelLearnedInfo(Base): + """OF channel learned info + The OFChannelLearnedInfo class encapsulates a list of oFChannelLearnedInfo resources that are managed by the system. + A list of resources can be retrieved from the server using the OFChannelLearnedInfo.find() method. + """ + + __slots__ = () + _SDM_NAME = 'oFChannelLearnedInfo' + _SDM_ATT_MAP = { + 'AsyncConfigFlowRemovedMaster': 'asyncConfigFlowRemovedMaster', + 'AsyncConfigFlowRemovedSlave': 'asyncConfigFlowRemovedSlave', + 'AsyncConfigPktInMaster': 'asyncConfigPktInMaster', + 'AsyncConfigPktInSlave': 'asyncConfigPktInSlave', + 'AsyncConfigPortStatusMaster': 'asyncConfigPortStatusMaster', + 'AsyncConfigPortStatusSlave': 'asyncConfigPortStatusSlave', + 'AsyncConfigResTimeOut': 'asyncConfigResTimeOut', + 'DescriptionStatResponseTimeOut': 'descriptionStatResponseTimeOut', + 'FlowAggrStatCookie': 'flowAggrStatCookie', + 'FlowAggrStatCookieMask': 'flowAggrStatCookieMask', + 'FlowAggrStatMatchCap': 'flowAggrStatMatchCap', + 'FlowAggrStatOutGroup': 'flowAggrStatOutGroup', + 'FlowAggrStatOutGroupValue': 'flowAggrStatOutGroupValue', + 'FlowAggrStatOutPort': 'flowAggrStatOutPort', + 'FlowAggrStatOutPortValue': 'flowAggrStatOutPortValue', + 'FlowAggrStatResTimeOut': 'flowAggrStatResTimeOut', + 'FlowAggrStatTableId': 'flowAggrStatTableId', + 'FlowAggrStatTableIdValue': 'flowAggrStatTableIdValue', + 'FlowStatCookie': 'flowStatCookie', + 'FlowStatCookieMask': 'flowStatCookieMask', + 'FlowStatMatchCap': 'flowStatMatchCap', + 'FlowStatOutGroup': 'flowStatOutGroup', + 'FlowStatOutGroupValue': 'flowStatOutGroupValue', + 'FlowStatOutPort': 'flowStatOutPort', + 'FlowStatOutPortValue': 'flowStatOutPortValue', + 'FlowStatResTimeOut': 'flowStatResTimeOut', + 'FlowStatTableId': 'flowStatTableId', + 'FlowStatTableIdValue': 'flowStatTableIdValue', + 'GenerationId': 'generationId', + 'GroupDescResponseTimeOut': 'groupDescResponseTimeOut', + 'GroupFeatureResponseTimeOut': 'groupFeatureResponseTimeOut', + 'GroupStatIDType': 'groupStatIDType', + 'GroupStatIDValue': 'groupStatIDValue', + 'GroupStatMatchCapability': 'groupStatMatchCapability', + 'GroupStatResponseTimeOut': 'groupStatResponseTimeOut', + 'MeterConfigMeterID': 'meterConfigMeterID', + 'MeterConfigMeterIDManual': 'meterConfigMeterIDManual', + 'MeterConfigResponseTimeOut': 'meterConfigResponseTimeOut', + 'MeterFeatureStatResponseTimeOut': 'meterFeatureStatResponseTimeOut', + 'MeterStatMeterID': 'meterStatMeterID', + 'MeterStatMeterIDType': 'meterStatMeterIDType', + 'MeterStatResponseTimeOut': 'meterStatResponseTimeOut', + 'OnDemandMessages': 'onDemandMessages', + 'PacketOutAuxiliaryID': 'packetOutAuxiliaryID', + 'PacketOutBufferID': 'packetOutBufferID', + 'PacketOutBufferIDType': 'packetOutBufferIDType', + 'PacketOutData': 'packetOutData', + 'PacketOutInPort': 'packetOutInPort', + 'PacketOutInPortType': 'packetOutInPortType', + 'PacketOutSendData': 'packetOutSendData', + 'PortFeaturesResponseTimeOut': 'portFeaturesResponseTimeOut', + 'PortStatMatchCapability': 'portStatMatchCapability', + 'PortStatPortNumberType': 'portStatPortNumberType', + 'PortStatPortNumberValue': 'portStatPortNumberValue', + 'PortStatResponseTimeOut': 'portStatResponseTimeOut', + 'QueueConfigPortNumberType': 'queueConfigPortNumberType', + 'QueueConfigPortNumberValue': 'queueConfigPortNumberValue', + 'QueueConfigResponseTimeOut': 'queueConfigResponseTimeOut', + 'QueueStatIDType': 'queueStatIDType', + 'QueueStatIDValue': 'queueStatIDValue', + 'QueueStatMatchCapability': 'queueStatMatchCapability', + 'QueueStatPortNumberType': 'queueStatPortNumberType', + 'QueueStatPortNumberValue': 'queueStatPortNumberValue', + 'QueueStatResponseTimeOut': 'queueStatResponseTimeOut', + 'RoleType': 'roleType', + 'SetAsyncConfig': 'setAsyncConfig', + 'SetSwitchConfig': 'setSwitchConfig', + 'SwitchConfigDropFragments': 'switchConfigDropFragments', + 'SwitchConfigMissSendLength': 'switchConfigMissSendLength', + 'SwitchConfigReassembleFragments': 'switchConfigReassembleFragments', + 'SwitchConfigResTimeOut': 'switchConfigResTimeOut', + 'TableStatMatchCap': 'tableStatMatchCap', + 'TableStatResTimeOut': 'tableStatResTimeOut', + 'VendorMsgExpType': 'vendorMsgExpType', + 'VendorMsgId': 'vendorMsgId', + 'VendorMsgMessage': 'vendorMsgMessage', + 'VendorMsgSendData': 'vendorMsgSendData', + 'VendorStatExpType': 'vendorStatExpType', + 'VendorStatId': 'vendorStatId', + 'VendorStatMessage': 'vendorStatMessage', + 'VendorStatResponseTimeOut': 'vendorStatResponseTimeOut', + 'VendorStatSendData': 'vendorStatSendData', + } + _SDM_ENUM_MAP = { + 'flowAggrStatOutGroup': ['oFPGALL', 'oFPGANY', 'outGroupCustom'], + 'flowAggrStatOutPort': ['oFPP_IN_PORT', 'oFPP_NORMAL', 'oFPP_FLOOD', 'oFPP_ALL', 'oFPP_CONTROLLER', 'oFPP_LOCAL', 'oFPP_ANY', 'outPortCustom'], + 'flowAggrStatTableId': ['tableIdAllTables', 'tableIdCustom'], + 'flowStatOutGroup': ['oFPGALL', 'oFPGANY', 'outGroupCustom'], + 'flowStatOutPort': ['oFPP_IN_PORT', 'oFPP_NORMAL', 'oFPP_FLOOD', 'oFPP_ALL', 'oFPP_CONTROLLER', 'oFPP_LOCAL', 'oFPP_ANY', 'outPortCustom'], + 'flowStatTableId': ['tableIdAllTables', 'tableIdCustom'], + 'groupStatIDType': ['oFPG_ALL', 'oFPG_ANY', 'manual'], + 'meterConfigMeterID': ['oFPM_CONTROLLER', 'oFPM_SLOWPATH', 'all', 'manual'], + 'meterStatMeterIDType': ['oFPM_CONTROLLER', 'oFPM_SLOWPATH', 'all', 'manual'], + 'packetOutBufferIDType': ['oPF_NO_BUFFER', 'manual'], + 'packetOutInPortType': ['oFPP_CONTROLLER', 'oFPP_LOCAL', 'manual'], + 'portStatPortNumberType': ['oFPP_ANY', 'portNumberCustom'], + 'queueConfigPortNumberType': ['oFPP_ANY', 'manual'], + 'queueStatIDType': ['oFPQ_ALL', 'manual'], + 'queueStatPortNumberType': ['oFPP_ANY', 'manual'], + 'roleType': ['noChange', 'equal', 'master', 'slave'], + } + + def __init__(self, parent, list_op=False): + super(OFChannelLearnedInfo, self).__init__(parent, list_op) + + @property + def FlowAggrMatchProfile(self): + """ + Returns + ------- + - obj(uhd_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.flowaggrmatchprofile_2ba597be74523b48fa398c0fe5ce3acf.FlowAggrMatchProfile): An instance of the FlowAggrMatchProfile class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from uhd_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.flowaggrmatchprofile_2ba597be74523b48fa398c0fe5ce3acf import FlowAggrMatchProfile + if len(self._object_properties) > 0: + if self._properties.get('FlowAggrMatchProfile', None) is not None: + return self._properties.get('FlowAggrMatchProfile') + return FlowAggrMatchProfile(self) + + @property + def FlowStatMatchProfile(self): + """ + Returns + ------- + - obj(uhd_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.flowstatmatchprofile_d56a9c24805ae788ef01a9b7a86babf1.FlowStatMatchProfile): An instance of the FlowStatMatchProfile class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from uhd_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.flowstatmatchprofile_d56a9c24805ae788ef01a9b7a86babf1 import FlowStatMatchProfile + if len(self._object_properties) > 0: + if self._properties.get('FlowStatMatchProfile', None) is not None: + return self._properties.get('FlowStatMatchProfile') + return FlowStatMatchProfile(self) + + @property + def PacketOutActionProfile(self): + """ + Returns + ------- + - obj(uhd_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.packetoutactionprofile_7087734f0df99cfe7bfd9afab773a120.PacketOutActionProfile): An instance of the PacketOutActionProfile class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from uhd_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.packetoutactionprofile_7087734f0df99cfe7bfd9afab773a120 import PacketOutActionProfile + if len(self._object_properties) > 0: + if self._properties.get('PacketOutActionProfile', None) is not None: + return self._properties.get('PacketOutActionProfile') + return PacketOutActionProfile(self) + + @property + def AsyncConfigFlowRemovedMaster(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(uhd_restpy.multivalue.Multivalue): Select the flow removed message types that can be configured in the asynchronous messages when the controller has the Master/Equal role. Options include: 1) Flow Idle Time 2) Hard Timeout 3) Flow Delete 4) Group Delete + """ + from uhd_restpy.multivalue import Multivalue + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP['AsyncConfigFlowRemovedMaster'])) + + @property + def AsyncConfigFlowRemovedSlave(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(uhd_restpy.multivalue.Multivalue): Select the flow removed message types that can be configured in the asynchronous messages when the controller has the Slave role. Options include: 1) Flow Idle Time 2) Hard Timeout 3) Flow Delete 4) Group Delete + """ + from uhd_restpy.multivalue import Multivalue + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP['AsyncConfigFlowRemovedSlave'])) + + @property + def AsyncConfigPktInMaster(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(uhd_restpy.multivalue.Multivalue): Select the packet-in message types that will be received when the controller has the Master/Equal role. Options include: 1) No Match 2) Action Output 3) Invalid TTL + """ + from uhd_restpy.multivalue import Multivalue + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP['AsyncConfigPktInMaster'])) + + @property + def AsyncConfigPktInSlave(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(uhd_restpy.multivalue.Multivalue): Select the packet-in message types that will be received when the controller has the Slave role. Options include: 1) No Match 2) Action Output 3) Invalid TTL + """ + from uhd_restpy.multivalue import Multivalue + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP['AsyncConfigPktInSlave'])) + + @property + def AsyncConfigPortStatusMaster(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(uhd_restpy.multivalue.Multivalue): Select the port status types that can be a part of the asynchronous messages when the controller has the Master/Equal role. Options include: 1) Port Add 2) Port Delete 3) Port Modify + """ + from uhd_restpy.multivalue import Multivalue + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP['AsyncConfigPortStatusMaster'])) + + @property + def AsyncConfigPortStatusSlave(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(uhd_restpy.multivalue.Multivalue): Select the port status types that can be part of the asynchronous messages when the controller has the Slave role. Options include: 1) Port Add 2) Port Delete 3) Port Modify + """ + from uhd_restpy.multivalue import Multivalue + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP['AsyncConfigPortStatusSlave'])) + + @property + def AsyncConfigResTimeOut(self): + # type: () -> int + """ + Returns + ------- + - number: The time in milliseconds after which the trigger request times out, if no response is received. + """ + return self._get_attribute(self._SDM_ATT_MAP['AsyncConfigResTimeOut']) + @AsyncConfigResTimeOut.setter + def AsyncConfigResTimeOut(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP['AsyncConfigResTimeOut'], value) + + @property + def DescriptionStatResponseTimeOut(self): + # type: () -> int + """ + Returns + ------- + - number: The time in milliseconds after which the trigger request times out, if no response is received + """ + return self._get_attribute(self._SDM_ATT_MAP['DescriptionStatResponseTimeOut']) + @DescriptionStatResponseTimeOut.setter + def DescriptionStatResponseTimeOut(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP['DescriptionStatResponseTimeOut'], value) + + @property + def FlowAggrStatCookie(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(uhd_restpy.multivalue.Multivalue): Cookie of the flow entry that was looked up. + """ + from uhd_restpy.multivalue import Multivalue + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP['FlowAggrStatCookie'])) + + @property + def FlowAggrStatCookieMask(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(uhd_restpy.multivalue.Multivalue): The mask used to restrict the cookie bits. + """ + from uhd_restpy.multivalue import Multivalue + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP['FlowAggrStatCookieMask'])) + + @property + def FlowAggrStatMatchCap(self): + # type: () -> bool + """ + Returns + ------- + - bool: If selected, match capability is available. + """ + return self._get_attribute(self._SDM_ATT_MAP['FlowAggrStatMatchCap']) + @FlowAggrStatMatchCap.setter + def FlowAggrStatMatchCap(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP['FlowAggrStatMatchCap'], value) + + @property + def FlowAggrStatOutGroup(self): + # type: () -> str + """ + Returns + ------- + - str(oFPGALL | oFPGANY | outGroupCustom): Specify the Output Group Type. The options are: 1) All Groups 2) Any Group 3) Custom/Manual + """ + return self._get_attribute(self._SDM_ATT_MAP['FlowAggrStatOutGroup']) + @FlowAggrStatOutGroup.setter + def FlowAggrStatOutGroup(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP['FlowAggrStatOutGroup'], value) + + @property + def FlowAggrStatOutGroupValue(self): + # type: () -> int + """ + Returns + ------- + - number: If Out Group is Custom/Manual, type the output group value in the box provided + """ + return self._get_attribute(self._SDM_ATT_MAP['FlowAggrStatOutGroupValue']) + @FlowAggrStatOutGroupValue.setter + def FlowAggrStatOutGroupValue(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP['FlowAggrStatOutGroupValue'], value) + + @property + def FlowAggrStatOutPort(self): + # type: () -> str + """ + Returns + ------- + - str(oFPP_IN_PORT | oFPP_NORMAL | oFPP_FLOOD | oFPP_ALL | oFPP_CONTROLLER | oFPP_LOCAL | oFPP_ANY | outPortCustom): Specify the Output Port Type. The options are: 1) OFPP_IN_PORT 2) OFPP_NORMAL 3) OFPP_FLOOD 4) OFPP_ALL 5) OFPP_CONTROLLER 6) OFPP_LOCAL 7) OFPP_ANY 8) Custom/Manual + """ + return self._get_attribute(self._SDM_ATT_MAP['FlowAggrStatOutPort']) + @FlowAggrStatOutPort.setter + def FlowAggrStatOutPort(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP['FlowAggrStatOutPort'], value) + + @property + def FlowAggrStatOutPortValue(self): + # type: () -> int + """ + Returns + ------- + - number: If Out Port is Custom/Manual, type the output port value in the box provided. + """ + return self._get_attribute(self._SDM_ATT_MAP['FlowAggrStatOutPortValue']) + @FlowAggrStatOutPortValue.setter + def FlowAggrStatOutPortValue(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP['FlowAggrStatOutPortValue'], value) + + @property + def FlowAggrStatResTimeOut(self): + # type: () -> int + """ + Returns + ------- + - number: The time in milliseconds after which the trigger request times out, if no response is received. + """ + return self._get_attribute(self._SDM_ATT_MAP['FlowAggrStatResTimeOut']) + @FlowAggrStatResTimeOut.setter + def FlowAggrStatResTimeOut(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP['FlowAggrStatResTimeOut'], value) + + @property + def FlowAggrStatTableId(self): + # type: () -> str + """ + Returns + ------- + - str(tableIdAllTables | tableIdCustom): The identifier of the table. The options are: 1) All Tables 2) Custom/Manual + """ + return self._get_attribute(self._SDM_ATT_MAP['FlowAggrStatTableId']) + @FlowAggrStatTableId.setter + def FlowAggrStatTableId(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP['FlowAggrStatTableId'], value) + + @property + def FlowAggrStatTableIdValue(self): + # type: () -> int + """ + Returns + ------- + - number: If Table ID is Custom/ Manual, type the Table ID Number in the box given + """ + return self._get_attribute(self._SDM_ATT_MAP['FlowAggrStatTableIdValue']) + @FlowAggrStatTableIdValue.setter + def FlowAggrStatTableIdValue(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP['FlowAggrStatTableIdValue'], value) + + @property + def FlowStatCookie(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(uhd_restpy.multivalue.Multivalue): Cookie of the flow entry that was looked up. + """ + from uhd_restpy.multivalue import Multivalue + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP['FlowStatCookie'])) + + @property + def FlowStatCookieMask(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(uhd_restpy.multivalue.Multivalue): The mask used to restrict the cookie bits. + """ + from uhd_restpy.multivalue import Multivalue + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP['FlowStatCookieMask'])) + + @property + def FlowStatMatchCap(self): + # type: () -> bool + """ + Returns + ------- + - bool: If selected, match capability is available + """ + return self._get_attribute(self._SDM_ATT_MAP['FlowStatMatchCap']) + @FlowStatMatchCap.setter + def FlowStatMatchCap(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP['FlowStatMatchCap'], value) + + @property + def FlowStatOutGroup(self): + # type: () -> str + """ + Returns + ------- + - str(oFPGALL | oFPGANY | outGroupCustom): Specify the Output Group Type. The options are: 1) All Groups 2) Any Group 3) Custom/Manual + """ + return self._get_attribute(self._SDM_ATT_MAP['FlowStatOutGroup']) + @FlowStatOutGroup.setter + def FlowStatOutGroup(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP['FlowStatOutGroup'], value) + + @property + def FlowStatOutGroupValue(self): + # type: () -> int + """ + Returns + ------- + - number: If Out Group is Custom/Manual, type the output group value in the box provided + """ + return self._get_attribute(self._SDM_ATT_MAP['FlowStatOutGroupValue']) + @FlowStatOutGroupValue.setter + def FlowStatOutGroupValue(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP['FlowStatOutGroupValue'], value) + + @property + def FlowStatOutPort(self): + # type: () -> str + """ + Returns + ------- + - str(oFPP_IN_PORT | oFPP_NORMAL | oFPP_FLOOD | oFPP_ALL | oFPP_CONTROLLER | oFPP_LOCAL | oFPP_ANY | outPortCustom): Specify the Output Port Type. The options are: 1) OFPP_IN_PORT 2) OFPP_NORMAL 3) OFPP_FLOOD 4) OFPP_ALL 5) OFPP_CONTROLLER 6) OFPP_LOCAL 7) OFPP_ANY 8) Custom/Manual + """ + return self._get_attribute(self._SDM_ATT_MAP['FlowStatOutPort']) + @FlowStatOutPort.setter + def FlowStatOutPort(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP['FlowStatOutPort'], value) + + @property + def FlowStatOutPortValue(self): + # type: () -> int + """ + Returns + ------- + - number: If Out Port is Custom/Manual, type the output port value in the box provided. + """ + return self._get_attribute(self._SDM_ATT_MAP['FlowStatOutPortValue']) + @FlowStatOutPortValue.setter + def FlowStatOutPortValue(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP['FlowStatOutPortValue'], value) + + @property + def FlowStatResTimeOut(self): + # type: () -> int + """ + Returns + ------- + - number: The time in milliseconds after which the trigger request times out, if no response is received. + """ + return self._get_attribute(self._SDM_ATT_MAP['FlowStatResTimeOut']) + @FlowStatResTimeOut.setter + def FlowStatResTimeOut(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP['FlowStatResTimeOut'], value) + + @property + def FlowStatTableId(self): + # type: () -> str + """ + Returns + ------- + - str(tableIdAllTables | tableIdCustom): The identifier of the table. The options are: 1) All Tables 2) Custom/Manual + """ + return self._get_attribute(self._SDM_ATT_MAP['FlowStatTableId']) + @FlowStatTableId.setter + def FlowStatTableId(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP['FlowStatTableId'], value) + + @property + def FlowStatTableIdValue(self): + # type: () -> int + """ + Returns + ------- + - number: If Table ID is Custom/ Manual, type the Table ID Number in the box given + """ + return self._get_attribute(self._SDM_ATT_MAP['FlowStatTableIdValue']) + @FlowStatTableIdValue.setter + def FlowStatTableIdValue(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP['FlowStatTableIdValue'], value) + + @property + def GenerationId(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(uhd_restpy.multivalue.Multivalue): A 64-bit sequence number field that identifies a given mastership view. + """ + from uhd_restpy.multivalue import Multivalue + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP['GenerationId'])) + + @property + def GroupDescResponseTimeOut(self): + # type: () -> int + """ + Returns + ------- + - number: The time in milliseconds after which the trigger request times out, if no response is received + """ + return self._get_attribute(self._SDM_ATT_MAP['GroupDescResponseTimeOut']) + @GroupDescResponseTimeOut.setter + def GroupDescResponseTimeOut(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP['GroupDescResponseTimeOut'], value) + + @property + def GroupFeatureResponseTimeOut(self): + # type: () -> int + """ + Returns + ------- + - number: The time in milliseconds after which the trigger request times out, if no response is received + """ + return self._get_attribute(self._SDM_ATT_MAP['GroupFeatureResponseTimeOut']) + @GroupFeatureResponseTimeOut.setter + def GroupFeatureResponseTimeOut(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP['GroupFeatureResponseTimeOut'], value) + + @property + def GroupStatIDType(self): + # type: () -> str + """ + Returns + ------- + - str(oFPG_ALL | oFPG_ANY | manual): The ID of the group used. The options are: 1) OFPG_ALL 2) OFPG_ANY 3) Manual + """ + return self._get_attribute(self._SDM_ATT_MAP['GroupStatIDType']) + @GroupStatIDType.setter + def GroupStatIDType(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP['GroupStatIDType'], value) + + @property + def GroupStatIDValue(self): + # type: () -> int + """ + Returns + ------- + - number: If Group ID Type is selected as Manual, type the Group ID in the box provided + """ + return self._get_attribute(self._SDM_ATT_MAP['GroupStatIDValue']) + @GroupStatIDValue.setter + def GroupStatIDValue(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP['GroupStatIDValue'], value) + + @property + def GroupStatMatchCapability(self): + # type: () -> bool + """ + Returns + ------- + - bool: If selected, match capability is available + """ + return self._get_attribute(self._SDM_ATT_MAP['GroupStatMatchCapability']) + @GroupStatMatchCapability.setter + def GroupStatMatchCapability(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP['GroupStatMatchCapability'], value) + + @property + def GroupStatResponseTimeOut(self): + # type: () -> int + """ + Returns + ------- + - number: The time in milliseconds after which the trigger request times out, if no response is received + """ + return self._get_attribute(self._SDM_ATT_MAP['GroupStatResponseTimeOut']) + @GroupStatResponseTimeOut.setter + def GroupStatResponseTimeOut(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP['GroupStatResponseTimeOut'], value) + + @property + def MeterConfigMeterID(self): + # type: () -> str + """ + Returns + ------- + - str(oFPM_CONTROLLER | oFPM_SLOWPATH | all | manual): The ID of the meter used. The options are: 1) OFPM_SLOWPATH 2) OFPM_CONTROLLER 3) OFPM_All 4) Manual + """ + return self._get_attribute(self._SDM_ATT_MAP['MeterConfigMeterID']) + @MeterConfigMeterID.setter + def MeterConfigMeterID(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP['MeterConfigMeterID'], value) + + @property + def MeterConfigMeterIDManual(self): + # type: () -> int + """ + Returns + ------- + - number: If Meter ID Type is selected as Manual, type the meter ID in the box provided + """ + return self._get_attribute(self._SDM_ATT_MAP['MeterConfigMeterIDManual']) + @MeterConfigMeterIDManual.setter + def MeterConfigMeterIDManual(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP['MeterConfigMeterIDManual'], value) + + @property + def MeterConfigResponseTimeOut(self): + # type: () -> int + """ + Returns + ------- + - number: The time in milliseconds after which the trigger request times out, if no response is received. + """ + return self._get_attribute(self._SDM_ATT_MAP['MeterConfigResponseTimeOut']) + @MeterConfigResponseTimeOut.setter + def MeterConfigResponseTimeOut(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP['MeterConfigResponseTimeOut'], value) + + @property + def MeterFeatureStatResponseTimeOut(self): + # type: () -> int + """ + Returns + ------- + - number: The time in milliseconds after which the trigger request times out, if no response is received. + """ + return self._get_attribute(self._SDM_ATT_MAP['MeterFeatureStatResponseTimeOut']) + @MeterFeatureStatResponseTimeOut.setter + def MeterFeatureStatResponseTimeOut(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP['MeterFeatureStatResponseTimeOut'], value) + + @property + def MeterStatMeterID(self): + # type: () -> int + """ + Returns + ------- + - number: If Meter ID Type is selected as Manual, type the meter ID in the box provided + """ + return self._get_attribute(self._SDM_ATT_MAP['MeterStatMeterID']) + @MeterStatMeterID.setter + def MeterStatMeterID(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP['MeterStatMeterID'], value) + + @property + def MeterStatMeterIDType(self): + # type: () -> str + """ + Returns + ------- + - str(oFPM_CONTROLLER | oFPM_SLOWPATH | all | manual): The ID of the meter used. The options are: 1) OFPM_SLOWPATH 2) OFPM_CONTROLLER 3) OFPM_All 4) Manual + """ + return self._get_attribute(self._SDM_ATT_MAP['MeterStatMeterIDType']) + @MeterStatMeterIDType.setter + def MeterStatMeterIDType(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP['MeterStatMeterIDType'], value) + + @property + def MeterStatResponseTimeOut(self): + # type: () -> int + """ + Returns + ------- + - number: The time in milliseconds after which the trigger request times out, if no response is received. + """ + return self._get_attribute(self._SDM_ATT_MAP['MeterStatResponseTimeOut']) + @MeterStatResponseTimeOut.setter + def MeterStatResponseTimeOut(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP['MeterStatResponseTimeOut'], value) + + @property + def OnDemandMessages(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(uhd_restpy.multivalue.Multivalue): Based on options selected, IxNetwork sends information to PCPU and refreshes the statistical data in the corresponding tab of Learned Information + """ + from uhd_restpy.multivalue import Multivalue + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP['OnDemandMessages'])) + + @property + def PacketOutAuxiliaryID(self): + # type: () -> int + """ + Returns + ------- + - number: The identifier of the auxiliary connection. + """ + return self._get_attribute(self._SDM_ATT_MAP['PacketOutAuxiliaryID']) + @PacketOutAuxiliaryID.setter + def PacketOutAuxiliaryID(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP['PacketOutAuxiliaryID'], value) + + @property + def PacketOutBufferID(self): + # type: () -> int + """ + Returns + ------- + - number: If Buffer ID Type is selected as Manual, type the buffer ID in the box provided. + """ + return self._get_attribute(self._SDM_ATT_MAP['PacketOutBufferID']) + @PacketOutBufferID.setter + def PacketOutBufferID(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP['PacketOutBufferID'], value) + + @property + def PacketOutBufferIDType(self): + # type: () -> str + """ + Returns + ------- + - str(oPF_NO_BUFFER | manual): Specify the buffer identifier. The options are: 1) OPF_NO_BUFFER 2) Manual + """ + return self._get_attribute(self._SDM_ATT_MAP['PacketOutBufferIDType']) + @PacketOutBufferIDType.setter + def PacketOutBufferIDType(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP['PacketOutBufferIDType'], value) + + @property + def PacketOutData(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(uhd_restpy.multivalue.Multivalue): The data of the packet out message in hexadecimal format. + """ + from uhd_restpy.multivalue import Multivalue + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP['PacketOutData'])) + + @property + def PacketOutInPort(self): + # type: () -> int + """ + Returns + ------- + - number: If In Port Type is selected as Manual, type the input port type in the box provided. + """ + return self._get_attribute(self._SDM_ATT_MAP['PacketOutInPort']) + @PacketOutInPort.setter + def PacketOutInPort(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP['PacketOutInPort'], value) + + @property + def PacketOutInPortType(self): + # type: () -> str + """ + Returns + ------- + - str(oFPP_CONTROLLER | oFPP_LOCAL | manual): Specify the Input Port Type. The options are: 1) OFPP_CONTROLLER 2) OFPP_LOCAL 3) Manual + """ + return self._get_attribute(self._SDM_ATT_MAP['PacketOutInPortType']) + @PacketOutInPortType.setter + def PacketOutInPortType(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP['PacketOutInPortType'], value) + + @property + def PacketOutSendData(self): + # type: () -> bool + """ + Returns + ------- + - bool: If selected,the system sends packet out data. + """ + return self._get_attribute(self._SDM_ATT_MAP['PacketOutSendData']) + @PacketOutSendData.setter + def PacketOutSendData(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP['PacketOutSendData'], value) + + @property + def PortFeaturesResponseTimeOut(self): + # type: () -> int + """ + Returns + ------- + - number: The time in milliseconds after which the trigger request times out, if no response is received. + """ + return self._get_attribute(self._SDM_ATT_MAP['PortFeaturesResponseTimeOut']) + @PortFeaturesResponseTimeOut.setter + def PortFeaturesResponseTimeOut(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP['PortFeaturesResponseTimeOut'], value) + + @property + def PortStatMatchCapability(self): + # type: () -> bool + """ + Returns + ------- + - bool: If selected, match capability is available. + """ + return self._get_attribute(self._SDM_ATT_MAP['PortStatMatchCapability']) + @PortStatMatchCapability.setter + def PortStatMatchCapability(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP['PortStatMatchCapability'], value) + + @property + def PortStatPortNumberType(self): + # type: () -> str + """ + Returns + ------- + - str(oFPP_ANY | portNumberCustom): Specify the port number. Options include: 1) OFPP_ANY 2) Manual/Custom + """ + return self._get_attribute(self._SDM_ATT_MAP['PortStatPortNumberType']) + @PortStatPortNumberType.setter + def PortStatPortNumberType(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP['PortStatPortNumberType'], value) + + @property + def PortStatPortNumberValue(self): + # type: () -> int + """ + Returns + ------- + - number: If Port Number Type is selected as Custom/Manual, type the port number in the box provided + """ + return self._get_attribute(self._SDM_ATT_MAP['PortStatPortNumberValue']) + @PortStatPortNumberValue.setter + def PortStatPortNumberValue(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP['PortStatPortNumberValue'], value) + + @property + def PortStatResponseTimeOut(self): + # type: () -> int + """ + Returns + ------- + - number: The time in milliseconds after which the trigger request times out, if no response is received. + """ + return self._get_attribute(self._SDM_ATT_MAP['PortStatResponseTimeOut']) + @PortStatResponseTimeOut.setter + def PortStatResponseTimeOut(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP['PortStatResponseTimeOut'], value) + + @property + def QueueConfigPortNumberType(self): + # type: () -> str + """ + Returns + ------- + - str(oFPP_ANY | manual): The number of the port used. The options are: 1) OFPP_ANY 2) Manual + """ + return self._get_attribute(self._SDM_ATT_MAP['QueueConfigPortNumberType']) + @QueueConfigPortNumberType.setter + def QueueConfigPortNumberType(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP['QueueConfigPortNumberType'], value) + + @property + def QueueConfigPortNumberValue(self): + # type: () -> int + """ + Returns + ------- + - number: If Port Number Type is selected as Manual, type the port number in the box provided + """ + return self._get_attribute(self._SDM_ATT_MAP['QueueConfigPortNumberValue']) + @QueueConfigPortNumberValue.setter + def QueueConfigPortNumberValue(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP['QueueConfigPortNumberValue'], value) + + @property + def QueueConfigResponseTimeOut(self): + # type: () -> int + """ + Returns + ------- + - number: The time in milliseconds after which the trigger request times out, if no response is received + """ + return self._get_attribute(self._SDM_ATT_MAP['QueueConfigResponseTimeOut']) + @QueueConfigResponseTimeOut.setter + def QueueConfigResponseTimeOut(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP['QueueConfigResponseTimeOut'], value) + + @property + def QueueStatIDType(self): + # type: () -> str + """ + Returns + ------- + - str(oFPQ_ALL | manual): The unique queue identifier. The options are: 1) OFPQ_ALL 2) Manual + """ + return self._get_attribute(self._SDM_ATT_MAP['QueueStatIDType']) + @QueueStatIDType.setter + def QueueStatIDType(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP['QueueStatIDType'], value) + + @property + def QueueStatIDValue(self): + # type: () -> int + """ + Returns + ------- + - number: If Queue ID Type is selected as Manual, type the queue ID in the box provided + """ + return self._get_attribute(self._SDM_ATT_MAP['QueueStatIDValue']) + @QueueStatIDValue.setter + def QueueStatIDValue(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP['QueueStatIDValue'], value) + + @property + def QueueStatMatchCapability(self): + # type: () -> bool + """ + Returns + ------- + - bool: If selected, match capability is available. + """ + return self._get_attribute(self._SDM_ATT_MAP['QueueStatMatchCapability']) + @QueueStatMatchCapability.setter + def QueueStatMatchCapability(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP['QueueStatMatchCapability'], value) + + @property + def QueueStatPortNumberType(self): + # type: () -> str + """ + Returns + ------- + - str(oFPP_ANY | manual): The number of the port used. The options are: 1) OFPP_ANY 2) Manual + """ + return self._get_attribute(self._SDM_ATT_MAP['QueueStatPortNumberType']) + @QueueStatPortNumberType.setter + def QueueStatPortNumberType(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP['QueueStatPortNumberType'], value) + + @property + def QueueStatPortNumberValue(self): + # type: () -> int + """ + Returns + ------- + - number: If Port Number Type is selected as Manual, type the port number in the box provided + """ + return self._get_attribute(self._SDM_ATT_MAP['QueueStatPortNumberValue']) + @QueueStatPortNumberValue.setter + def QueueStatPortNumberValue(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP['QueueStatPortNumberValue'], value) + + @property + def QueueStatResponseTimeOut(self): + # type: () -> int + """ + Returns + ------- + - number: The time in milliseconds after which the trigger request times out, if no response is received. + """ + return self._get_attribute(self._SDM_ATT_MAP['QueueStatResponseTimeOut']) + @QueueStatResponseTimeOut.setter + def QueueStatResponseTimeOut(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP['QueueStatResponseTimeOut'], value) + + @property + def RoleType(self): + # type: () -> str + """ + Returns + ------- + - str(noChange | equal | master | slave): Specify the Role Type. The options are: 1) NoChange 2) Equal 3) Master 4) Slave + """ + return self._get_attribute(self._SDM_ATT_MAP['RoleType']) + @RoleType.setter + def RoleType(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP['RoleType'], value) + + @property + def SetAsyncConfig(self): + # type: () -> bool + """ + Returns + ------- + - bool: Un-checked state means getting the async config, Checked means setting asynchronous config with available parameters + """ + return self._get_attribute(self._SDM_ATT_MAP['SetAsyncConfig']) + @SetAsyncConfig.setter + def SetAsyncConfig(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP['SetAsyncConfig'], value) + + @property + def SetSwitchConfig(self): + # type: () -> bool + """ + Returns + ------- + - bool: If selected, the corresponding switch configuration parameters are available. This option is available only if Switch Config is selected. + """ + return self._get_attribute(self._SDM_ATT_MAP['SetSwitchConfig']) + @SetSwitchConfig.setter + def SetSwitchConfig(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP['SetSwitchConfig'], value) + + @property + def SwitchConfigDropFragments(self): + # type: () -> bool + """ + Returns + ------- + - bool: If selected, IP fragments are dropped. + """ + return self._get_attribute(self._SDM_ATT_MAP['SwitchConfigDropFragments']) + @SwitchConfigDropFragments.setter + def SwitchConfigDropFragments(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP['SwitchConfigDropFragments'], value) + + @property + def SwitchConfigMissSendLength(self): + # type: () -> int + """ + Returns + ------- + - number: The length of the table-miss message sent. + """ + return self._get_attribute(self._SDM_ATT_MAP['SwitchConfigMissSendLength']) + @SwitchConfigMissSendLength.setter + def SwitchConfigMissSendLength(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP['SwitchConfigMissSendLength'], value) + + @property + def SwitchConfigReassembleFragments(self): + # type: () -> bool + """ + Returns + ------- + - bool: If selected, IP fragments are reassembled. + """ + return self._get_attribute(self._SDM_ATT_MAP['SwitchConfigReassembleFragments']) + @SwitchConfigReassembleFragments.setter + def SwitchConfigReassembleFragments(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP['SwitchConfigReassembleFragments'], value) + + @property + def SwitchConfigResTimeOut(self): + # type: () -> int + """ + Returns + ------- + - number: The time in milliseconds after which the trigger request times out, if no response is received. + """ + return self._get_attribute(self._SDM_ATT_MAP['SwitchConfigResTimeOut']) + @SwitchConfigResTimeOut.setter + def SwitchConfigResTimeOut(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP['SwitchConfigResTimeOut'], value) + + @property + def TableStatMatchCap(self): + # type: () -> bool + """ + Returns + ------- + - bool: If selected, match capability is available + """ + return self._get_attribute(self._SDM_ATT_MAP['TableStatMatchCap']) + @TableStatMatchCap.setter + def TableStatMatchCap(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP['TableStatMatchCap'], value) + + @property + def TableStatResTimeOut(self): + # type: () -> int + """ + Returns + ------- + - number: The time in milliseconds after which the trigger request times out, if no response is received. + """ + return self._get_attribute(self._SDM_ATT_MAP['TableStatResTimeOut']) + @TableStatResTimeOut.setter + def TableStatResTimeOut(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP['TableStatResTimeOut'], value) + + @property + def VendorMsgExpType(self): + # type: () -> int + """ + Returns + ------- + - number: The type of Experimenter + """ + return self._get_attribute(self._SDM_ATT_MAP['VendorMsgExpType']) + @VendorMsgExpType.setter + def VendorMsgExpType(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP['VendorMsgExpType'], value) + + @property + def VendorMsgId(self): + # type: () -> int + """ + Returns + ------- + - number: The unique Vendor/Experimenter identifier + """ + return self._get_attribute(self._SDM_ATT_MAP['VendorMsgId']) + @VendorMsgId.setter + def VendorMsgId(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP['VendorMsgId'], value) + + @property + def VendorMsgMessage(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(uhd_restpy.multivalue.Multivalue): The Experimenter message value in hexadecimal format + """ + from uhd_restpy.multivalue import Multivalue + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP['VendorMsgMessage'])) + + @property + def VendorMsgSendData(self): + # type: () -> bool + """ + Returns + ------- + - bool: If selected,It sends vendor stat Data + """ + return self._get_attribute(self._SDM_ATT_MAP['VendorMsgSendData']) + @VendorMsgSendData.setter + def VendorMsgSendData(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP['VendorMsgSendData'], value) + + @property + def VendorStatExpType(self): + # type: () -> int + """ + Returns + ------- + - number: The type of Experimenter + """ + return self._get_attribute(self._SDM_ATT_MAP['VendorStatExpType']) + @VendorStatExpType.setter + def VendorStatExpType(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP['VendorStatExpType'], value) + + @property + def VendorStatId(self): + # type: () -> int + """ + Returns + ------- + - number: The unique Vendor/Experimenter identifier + """ + return self._get_attribute(self._SDM_ATT_MAP['VendorStatId']) + @VendorStatId.setter + def VendorStatId(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP['VendorStatId'], value) + + @property + def VendorStatMessage(self): + # type: () -> 'Multivalue' + """ + Returns + ------- + - obj(uhd_restpy.multivalue.Multivalue): The Experimenter message value in hexadecimal format + """ + from uhd_restpy.multivalue import Multivalue + return Multivalue(self, self._get_attribute(self._SDM_ATT_MAP['VendorStatMessage'])) + + @property + def VendorStatResponseTimeOut(self): + # type: () -> int + """ + Returns + ------- + - number: The time in milliseconds after which the trigger request times out if no response is received. + """ + return self._get_attribute(self._SDM_ATT_MAP['VendorStatResponseTimeOut']) + @VendorStatResponseTimeOut.setter + def VendorStatResponseTimeOut(self, value): + # type: (int) -> None + self._set_attribute(self._SDM_ATT_MAP['VendorStatResponseTimeOut'], value) + + @property + def VendorStatSendData(self): + # type: () -> bool + """ + Returns + ------- + - bool: If selected, the system sends vendor stat Data + """ + return self._get_attribute(self._SDM_ATT_MAP['VendorStatSendData']) + @VendorStatSendData.setter + def VendorStatSendData(self, value): + # type: (bool) -> None + self._set_attribute(self._SDM_ATT_MAP['VendorStatSendData'], value) + + def update(self, AsyncConfigResTimeOut=None, DescriptionStatResponseTimeOut=None, FlowAggrStatMatchCap=None, FlowAggrStatOutGroup=None, FlowAggrStatOutGroupValue=None, FlowAggrStatOutPort=None, FlowAggrStatOutPortValue=None, FlowAggrStatResTimeOut=None, FlowAggrStatTableId=None, FlowAggrStatTableIdValue=None, FlowStatMatchCap=None, FlowStatOutGroup=None, FlowStatOutGroupValue=None, FlowStatOutPort=None, FlowStatOutPortValue=None, FlowStatResTimeOut=None, FlowStatTableId=None, FlowStatTableIdValue=None, GroupDescResponseTimeOut=None, GroupFeatureResponseTimeOut=None, GroupStatIDType=None, GroupStatIDValue=None, GroupStatMatchCapability=None, GroupStatResponseTimeOut=None, MeterConfigMeterID=None, MeterConfigMeterIDManual=None, MeterConfigResponseTimeOut=None, MeterFeatureStatResponseTimeOut=None, MeterStatMeterID=None, MeterStatMeterIDType=None, MeterStatResponseTimeOut=None, PacketOutAuxiliaryID=None, PacketOutBufferID=None, PacketOutBufferIDType=None, PacketOutInPort=None, PacketOutInPortType=None, PacketOutSendData=None, PortFeaturesResponseTimeOut=None, PortStatMatchCapability=None, PortStatPortNumberType=None, PortStatPortNumberValue=None, PortStatResponseTimeOut=None, QueueConfigPortNumberType=None, QueueConfigPortNumberValue=None, QueueConfigResponseTimeOut=None, QueueStatIDType=None, QueueStatIDValue=None, QueueStatMatchCapability=None, QueueStatPortNumberType=None, QueueStatPortNumberValue=None, QueueStatResponseTimeOut=None, RoleType=None, SetAsyncConfig=None, SetSwitchConfig=None, SwitchConfigDropFragments=None, SwitchConfigMissSendLength=None, SwitchConfigReassembleFragments=None, SwitchConfigResTimeOut=None, TableStatMatchCap=None, TableStatResTimeOut=None, VendorMsgExpType=None, VendorMsgId=None, VendorMsgSendData=None, VendorStatExpType=None, VendorStatId=None, VendorStatResponseTimeOut=None, VendorStatSendData=None): + # type: (int, int, bool, str, int, str, int, int, str, int, bool, str, int, str, int, int, str, int, int, int, str, int, bool, int, str, int, int, int, int, str, int, int, int, str, int, str, bool, int, bool, str, int, int, str, int, int, str, int, bool, str, int, int, str, bool, bool, bool, int, bool, int, bool, int, int, int, bool, int, int, int, bool) -> OFChannelLearnedInfo + """Updates oFChannelLearnedInfo resource on the server. + + This method has some named parameters with a type: obj (Multivalue). + The Multivalue class has documentation that details the possible values for those named parameters. + + Args + ---- + - AsyncConfigResTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - DescriptionStatResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received + - FlowAggrStatMatchCap (bool): If selected, match capability is available. + - FlowAggrStatOutGroup (str(oFPGALL | oFPGANY | outGroupCustom)): Specify the Output Group Type. The options are: 1) All Groups 2) Any Group 3) Custom/Manual + - FlowAggrStatOutGroupValue (number): If Out Group is Custom/Manual, type the output group value in the box provided + - FlowAggrStatOutPort (str(oFPP_IN_PORT | oFPP_NORMAL | oFPP_FLOOD | oFPP_ALL | oFPP_CONTROLLER | oFPP_LOCAL | oFPP_ANY | outPortCustom)): Specify the Output Port Type. The options are: 1) OFPP_IN_PORT 2) OFPP_NORMAL 3) OFPP_FLOOD 4) OFPP_ALL 5) OFPP_CONTROLLER 6) OFPP_LOCAL 7) OFPP_ANY 8) Custom/Manual + - FlowAggrStatOutPortValue (number): If Out Port is Custom/Manual, type the output port value in the box provided. + - FlowAggrStatResTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - FlowAggrStatTableId (str(tableIdAllTables | tableIdCustom)): The identifier of the table. The options are: 1) All Tables 2) Custom/Manual + - FlowAggrStatTableIdValue (number): If Table ID is Custom/ Manual, type the Table ID Number in the box given + - FlowStatMatchCap (bool): If selected, match capability is available + - FlowStatOutGroup (str(oFPGALL | oFPGANY | outGroupCustom)): Specify the Output Group Type. The options are: 1) All Groups 2) Any Group 3) Custom/Manual + - FlowStatOutGroupValue (number): If Out Group is Custom/Manual, type the output group value in the box provided + - FlowStatOutPort (str(oFPP_IN_PORT | oFPP_NORMAL | oFPP_FLOOD | oFPP_ALL | oFPP_CONTROLLER | oFPP_LOCAL | oFPP_ANY | outPortCustom)): Specify the Output Port Type. The options are: 1) OFPP_IN_PORT 2) OFPP_NORMAL 3) OFPP_FLOOD 4) OFPP_ALL 5) OFPP_CONTROLLER 6) OFPP_LOCAL 7) OFPP_ANY 8) Custom/Manual + - FlowStatOutPortValue (number): If Out Port is Custom/Manual, type the output port value in the box provided. + - FlowStatResTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - FlowStatTableId (str(tableIdAllTables | tableIdCustom)): The identifier of the table. The options are: 1) All Tables 2) Custom/Manual + - FlowStatTableIdValue (number): If Table ID is Custom/ Manual, type the Table ID Number in the box given + - GroupDescResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received + - GroupFeatureResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received + - GroupStatIDType (str(oFPG_ALL | oFPG_ANY | manual)): The ID of the group used. The options are: 1) OFPG_ALL 2) OFPG_ANY 3) Manual + - GroupStatIDValue (number): If Group ID Type is selected as Manual, type the Group ID in the box provided + - GroupStatMatchCapability (bool): If selected, match capability is available + - GroupStatResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received + - MeterConfigMeterID (str(oFPM_CONTROLLER | oFPM_SLOWPATH | all | manual)): The ID of the meter used. The options are: 1) OFPM_SLOWPATH 2) OFPM_CONTROLLER 3) OFPM_All 4) Manual + - MeterConfigMeterIDManual (number): If Meter ID Type is selected as Manual, type the meter ID in the box provided + - MeterConfigResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - MeterFeatureStatResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - MeterStatMeterID (number): If Meter ID Type is selected as Manual, type the meter ID in the box provided + - MeterStatMeterIDType (str(oFPM_CONTROLLER | oFPM_SLOWPATH | all | manual)): The ID of the meter used. The options are: 1) OFPM_SLOWPATH 2) OFPM_CONTROLLER 3) OFPM_All 4) Manual + - MeterStatResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - PacketOutAuxiliaryID (number): The identifier of the auxiliary connection. + - PacketOutBufferID (number): If Buffer ID Type is selected as Manual, type the buffer ID in the box provided. + - PacketOutBufferIDType (str(oPF_NO_BUFFER | manual)): Specify the buffer identifier. The options are: 1) OPF_NO_BUFFER 2) Manual + - PacketOutInPort (number): If In Port Type is selected as Manual, type the input port type in the box provided. + - PacketOutInPortType (str(oFPP_CONTROLLER | oFPP_LOCAL | manual)): Specify the Input Port Type. The options are: 1) OFPP_CONTROLLER 2) OFPP_LOCAL 3) Manual + - PacketOutSendData (bool): If selected,the system sends packet out data. + - PortFeaturesResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - PortStatMatchCapability (bool): If selected, match capability is available. + - PortStatPortNumberType (str(oFPP_ANY | portNumberCustom)): Specify the port number. Options include: 1) OFPP_ANY 2) Manual/Custom + - PortStatPortNumberValue (number): If Port Number Type is selected as Custom/Manual, type the port number in the box provided + - PortStatResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - QueueConfigPortNumberType (str(oFPP_ANY | manual)): The number of the port used. The options are: 1) OFPP_ANY 2) Manual + - QueueConfigPortNumberValue (number): If Port Number Type is selected as Manual, type the port number in the box provided + - QueueConfigResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received + - QueueStatIDType (str(oFPQ_ALL | manual)): The unique queue identifier. The options are: 1) OFPQ_ALL 2) Manual + - QueueStatIDValue (number): If Queue ID Type is selected as Manual, type the queue ID in the box provided + - QueueStatMatchCapability (bool): If selected, match capability is available. + - QueueStatPortNumberType (str(oFPP_ANY | manual)): The number of the port used. The options are: 1) OFPP_ANY 2) Manual + - QueueStatPortNumberValue (number): If Port Number Type is selected as Manual, type the port number in the box provided + - QueueStatResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - RoleType (str(noChange | equal | master | slave)): Specify the Role Type. The options are: 1) NoChange 2) Equal 3) Master 4) Slave + - SetAsyncConfig (bool): Un-checked state means getting the async config, Checked means setting asynchronous config with available parameters + - SetSwitchConfig (bool): If selected, the corresponding switch configuration parameters are available. This option is available only if Switch Config is selected. + - SwitchConfigDropFragments (bool): If selected, IP fragments are dropped. + - SwitchConfigMissSendLength (number): The length of the table-miss message sent. + - SwitchConfigReassembleFragments (bool): If selected, IP fragments are reassembled. + - SwitchConfigResTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - TableStatMatchCap (bool): If selected, match capability is available + - TableStatResTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - VendorMsgExpType (number): The type of Experimenter + - VendorMsgId (number): The unique Vendor/Experimenter identifier + - VendorMsgSendData (bool): If selected,It sends vendor stat Data + - VendorStatExpType (number): The type of Experimenter + - VendorStatId (number): The unique Vendor/Experimenter identifier + - VendorStatResponseTimeOut (number): The time in milliseconds after which the trigger request times out if no response is received. + - VendorStatSendData (bool): If selected, the system sends vendor stat Data + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) + + def add(self, AsyncConfigResTimeOut=None, DescriptionStatResponseTimeOut=None, FlowAggrStatMatchCap=None, FlowAggrStatOutGroup=None, FlowAggrStatOutGroupValue=None, FlowAggrStatOutPort=None, FlowAggrStatOutPortValue=None, FlowAggrStatResTimeOut=None, FlowAggrStatTableId=None, FlowAggrStatTableIdValue=None, FlowStatMatchCap=None, FlowStatOutGroup=None, FlowStatOutGroupValue=None, FlowStatOutPort=None, FlowStatOutPortValue=None, FlowStatResTimeOut=None, FlowStatTableId=None, FlowStatTableIdValue=None, GroupDescResponseTimeOut=None, GroupFeatureResponseTimeOut=None, GroupStatIDType=None, GroupStatIDValue=None, GroupStatMatchCapability=None, GroupStatResponseTimeOut=None, MeterConfigMeterID=None, MeterConfigMeterIDManual=None, MeterConfigResponseTimeOut=None, MeterFeatureStatResponseTimeOut=None, MeterStatMeterID=None, MeterStatMeterIDType=None, MeterStatResponseTimeOut=None, PacketOutAuxiliaryID=None, PacketOutBufferID=None, PacketOutBufferIDType=None, PacketOutInPort=None, PacketOutInPortType=None, PacketOutSendData=None, PortFeaturesResponseTimeOut=None, PortStatMatchCapability=None, PortStatPortNumberType=None, PortStatPortNumberValue=None, PortStatResponseTimeOut=None, QueueConfigPortNumberType=None, QueueConfigPortNumberValue=None, QueueConfigResponseTimeOut=None, QueueStatIDType=None, QueueStatIDValue=None, QueueStatMatchCapability=None, QueueStatPortNumberType=None, QueueStatPortNumberValue=None, QueueStatResponseTimeOut=None, RoleType=None, SetAsyncConfig=None, SetSwitchConfig=None, SwitchConfigDropFragments=None, SwitchConfigMissSendLength=None, SwitchConfigReassembleFragments=None, SwitchConfigResTimeOut=None, TableStatMatchCap=None, TableStatResTimeOut=None, VendorMsgExpType=None, VendorMsgId=None, VendorMsgSendData=None, VendorStatExpType=None, VendorStatId=None, VendorStatResponseTimeOut=None, VendorStatSendData=None): + # type: (int, int, bool, str, int, str, int, int, str, int, bool, str, int, str, int, int, str, int, int, int, str, int, bool, int, str, int, int, int, int, str, int, int, int, str, int, str, bool, int, bool, str, int, int, str, int, int, str, int, bool, str, int, int, str, bool, bool, bool, int, bool, int, bool, int, int, int, bool, int, int, int, bool) -> OFChannelLearnedInfo + """Adds a new oFChannelLearnedInfo resource on the json, only valid with batch add utility + + Args + ---- + - AsyncConfigResTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - DescriptionStatResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received + - FlowAggrStatMatchCap (bool): If selected, match capability is available. + - FlowAggrStatOutGroup (str(oFPGALL | oFPGANY | outGroupCustom)): Specify the Output Group Type. The options are: 1) All Groups 2) Any Group 3) Custom/Manual + - FlowAggrStatOutGroupValue (number): If Out Group is Custom/Manual, type the output group value in the box provided + - FlowAggrStatOutPort (str(oFPP_IN_PORT | oFPP_NORMAL | oFPP_FLOOD | oFPP_ALL | oFPP_CONTROLLER | oFPP_LOCAL | oFPP_ANY | outPortCustom)): Specify the Output Port Type. The options are: 1) OFPP_IN_PORT 2) OFPP_NORMAL 3) OFPP_FLOOD 4) OFPP_ALL 5) OFPP_CONTROLLER 6) OFPP_LOCAL 7) OFPP_ANY 8) Custom/Manual + - FlowAggrStatOutPortValue (number): If Out Port is Custom/Manual, type the output port value in the box provided. + - FlowAggrStatResTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - FlowAggrStatTableId (str(tableIdAllTables | tableIdCustom)): The identifier of the table. The options are: 1) All Tables 2) Custom/Manual + - FlowAggrStatTableIdValue (number): If Table ID is Custom/ Manual, type the Table ID Number in the box given + - FlowStatMatchCap (bool): If selected, match capability is available + - FlowStatOutGroup (str(oFPGALL | oFPGANY | outGroupCustom)): Specify the Output Group Type. The options are: 1) All Groups 2) Any Group 3) Custom/Manual + - FlowStatOutGroupValue (number): If Out Group is Custom/Manual, type the output group value in the box provided + - FlowStatOutPort (str(oFPP_IN_PORT | oFPP_NORMAL | oFPP_FLOOD | oFPP_ALL | oFPP_CONTROLLER | oFPP_LOCAL | oFPP_ANY | outPortCustom)): Specify the Output Port Type. The options are: 1) OFPP_IN_PORT 2) OFPP_NORMAL 3) OFPP_FLOOD 4) OFPP_ALL 5) OFPP_CONTROLLER 6) OFPP_LOCAL 7) OFPP_ANY 8) Custom/Manual + - FlowStatOutPortValue (number): If Out Port is Custom/Manual, type the output port value in the box provided. + - FlowStatResTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - FlowStatTableId (str(tableIdAllTables | tableIdCustom)): The identifier of the table. The options are: 1) All Tables 2) Custom/Manual + - FlowStatTableIdValue (number): If Table ID is Custom/ Manual, type the Table ID Number in the box given + - GroupDescResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received + - GroupFeatureResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received + - GroupStatIDType (str(oFPG_ALL | oFPG_ANY | manual)): The ID of the group used. The options are: 1) OFPG_ALL 2) OFPG_ANY 3) Manual + - GroupStatIDValue (number): If Group ID Type is selected as Manual, type the Group ID in the box provided + - GroupStatMatchCapability (bool): If selected, match capability is available + - GroupStatResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received + - MeterConfigMeterID (str(oFPM_CONTROLLER | oFPM_SLOWPATH | all | manual)): The ID of the meter used. The options are: 1) OFPM_SLOWPATH 2) OFPM_CONTROLLER 3) OFPM_All 4) Manual + - MeterConfigMeterIDManual (number): If Meter ID Type is selected as Manual, type the meter ID in the box provided + - MeterConfigResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - MeterFeatureStatResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - MeterStatMeterID (number): If Meter ID Type is selected as Manual, type the meter ID in the box provided + - MeterStatMeterIDType (str(oFPM_CONTROLLER | oFPM_SLOWPATH | all | manual)): The ID of the meter used. The options are: 1) OFPM_SLOWPATH 2) OFPM_CONTROLLER 3) OFPM_All 4) Manual + - MeterStatResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - PacketOutAuxiliaryID (number): The identifier of the auxiliary connection. + - PacketOutBufferID (number): If Buffer ID Type is selected as Manual, type the buffer ID in the box provided. + - PacketOutBufferIDType (str(oPF_NO_BUFFER | manual)): Specify the buffer identifier. The options are: 1) OPF_NO_BUFFER 2) Manual + - PacketOutInPort (number): If In Port Type is selected as Manual, type the input port type in the box provided. + - PacketOutInPortType (str(oFPP_CONTROLLER | oFPP_LOCAL | manual)): Specify the Input Port Type. The options are: 1) OFPP_CONTROLLER 2) OFPP_LOCAL 3) Manual + - PacketOutSendData (bool): If selected,the system sends packet out data. + - PortFeaturesResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - PortStatMatchCapability (bool): If selected, match capability is available. + - PortStatPortNumberType (str(oFPP_ANY | portNumberCustom)): Specify the port number. Options include: 1) OFPP_ANY 2) Manual/Custom + - PortStatPortNumberValue (number): If Port Number Type is selected as Custom/Manual, type the port number in the box provided + - PortStatResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - QueueConfigPortNumberType (str(oFPP_ANY | manual)): The number of the port used. The options are: 1) OFPP_ANY 2) Manual + - QueueConfigPortNumberValue (number): If Port Number Type is selected as Manual, type the port number in the box provided + - QueueConfigResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received + - QueueStatIDType (str(oFPQ_ALL | manual)): The unique queue identifier. The options are: 1) OFPQ_ALL 2) Manual + - QueueStatIDValue (number): If Queue ID Type is selected as Manual, type the queue ID in the box provided + - QueueStatMatchCapability (bool): If selected, match capability is available. + - QueueStatPortNumberType (str(oFPP_ANY | manual)): The number of the port used. The options are: 1) OFPP_ANY 2) Manual + - QueueStatPortNumberValue (number): If Port Number Type is selected as Manual, type the port number in the box provided + - QueueStatResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - RoleType (str(noChange | equal | master | slave)): Specify the Role Type. The options are: 1) NoChange 2) Equal 3) Master 4) Slave + - SetAsyncConfig (bool): Un-checked state means getting the async config, Checked means setting asynchronous config with available parameters + - SetSwitchConfig (bool): If selected, the corresponding switch configuration parameters are available. This option is available only if Switch Config is selected. + - SwitchConfigDropFragments (bool): If selected, IP fragments are dropped. + - SwitchConfigMissSendLength (number): The length of the table-miss message sent. + - SwitchConfigReassembleFragments (bool): If selected, IP fragments are reassembled. + - SwitchConfigResTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - TableStatMatchCap (bool): If selected, match capability is available + - TableStatResTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - VendorMsgExpType (number): The type of Experimenter + - VendorMsgId (number): The unique Vendor/Experimenter identifier + - VendorMsgSendData (bool): If selected,It sends vendor stat Data + - VendorStatExpType (number): The type of Experimenter + - VendorStatId (number): The unique Vendor/Experimenter identifier + - VendorStatResponseTimeOut (number): The time in milliseconds after which the trigger request times out if no response is received. + - VendorStatSendData (bool): If selected, the system sends vendor stat Data + + Returns + ------- + - self: This instance with all currently retrieved oFChannelLearnedInfo resources using find and the newly added oFChannelLearnedInfo resources available through an iterator or index + + Raises + ------ + - Exception: if this function is not being used with config assistance + """ + return self._add_xpath(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find(self, AsyncConfigResTimeOut=None, DescriptionStatResponseTimeOut=None, FlowAggrStatMatchCap=None, FlowAggrStatOutGroup=None, FlowAggrStatOutGroupValue=None, FlowAggrStatOutPort=None, FlowAggrStatOutPortValue=None, FlowAggrStatResTimeOut=None, FlowAggrStatTableId=None, FlowAggrStatTableIdValue=None, FlowStatMatchCap=None, FlowStatOutGroup=None, FlowStatOutGroupValue=None, FlowStatOutPort=None, FlowStatOutPortValue=None, FlowStatResTimeOut=None, FlowStatTableId=None, FlowStatTableIdValue=None, GroupDescResponseTimeOut=None, GroupFeatureResponseTimeOut=None, GroupStatIDType=None, GroupStatIDValue=None, GroupStatMatchCapability=None, GroupStatResponseTimeOut=None, MeterConfigMeterID=None, MeterConfigMeterIDManual=None, MeterConfigResponseTimeOut=None, MeterFeatureStatResponseTimeOut=None, MeterStatMeterID=None, MeterStatMeterIDType=None, MeterStatResponseTimeOut=None, PacketOutAuxiliaryID=None, PacketOutBufferID=None, PacketOutBufferIDType=None, PacketOutInPort=None, PacketOutInPortType=None, PacketOutSendData=None, PortFeaturesResponseTimeOut=None, PortStatMatchCapability=None, PortStatPortNumberType=None, PortStatPortNumberValue=None, PortStatResponseTimeOut=None, QueueConfigPortNumberType=None, QueueConfigPortNumberValue=None, QueueConfigResponseTimeOut=None, QueueStatIDType=None, QueueStatIDValue=None, QueueStatMatchCapability=None, QueueStatPortNumberType=None, QueueStatPortNumberValue=None, QueueStatResponseTimeOut=None, RoleType=None, SetAsyncConfig=None, SetSwitchConfig=None, SwitchConfigDropFragments=None, SwitchConfigMissSendLength=None, SwitchConfigReassembleFragments=None, SwitchConfigResTimeOut=None, TableStatMatchCap=None, TableStatResTimeOut=None, VendorMsgExpType=None, VendorMsgId=None, VendorMsgSendData=None, VendorStatExpType=None, VendorStatId=None, VendorStatResponseTimeOut=None, VendorStatSendData=None): + # type: (int, int, bool, str, int, str, int, int, str, int, bool, str, int, str, int, int, str, int, int, int, str, int, bool, int, str, int, int, int, int, str, int, int, int, str, int, str, bool, int, bool, str, int, int, str, int, int, str, int, bool, str, int, int, str, bool, bool, bool, int, bool, int, bool, int, int, int, bool, int, int, int, bool) -> OFChannelLearnedInfo + """Finds and retrieves oFChannelLearnedInfo resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve oFChannelLearnedInfo resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all oFChannelLearnedInfo resources from the server. + + Args + ---- + - AsyncConfigResTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - DescriptionStatResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received + - FlowAggrStatMatchCap (bool): If selected, match capability is available. + - FlowAggrStatOutGroup (str(oFPGALL | oFPGANY | outGroupCustom)): Specify the Output Group Type. The options are: 1) All Groups 2) Any Group 3) Custom/Manual + - FlowAggrStatOutGroupValue (number): If Out Group is Custom/Manual, type the output group value in the box provided + - FlowAggrStatOutPort (str(oFPP_IN_PORT | oFPP_NORMAL | oFPP_FLOOD | oFPP_ALL | oFPP_CONTROLLER | oFPP_LOCAL | oFPP_ANY | outPortCustom)): Specify the Output Port Type. The options are: 1) OFPP_IN_PORT 2) OFPP_NORMAL 3) OFPP_FLOOD 4) OFPP_ALL 5) OFPP_CONTROLLER 6) OFPP_LOCAL 7) OFPP_ANY 8) Custom/Manual + - FlowAggrStatOutPortValue (number): If Out Port is Custom/Manual, type the output port value in the box provided. + - FlowAggrStatResTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - FlowAggrStatTableId (str(tableIdAllTables | tableIdCustom)): The identifier of the table. The options are: 1) All Tables 2) Custom/Manual + - FlowAggrStatTableIdValue (number): If Table ID is Custom/ Manual, type the Table ID Number in the box given + - FlowStatMatchCap (bool): If selected, match capability is available + - FlowStatOutGroup (str(oFPGALL | oFPGANY | outGroupCustom)): Specify the Output Group Type. The options are: 1) All Groups 2) Any Group 3) Custom/Manual + - FlowStatOutGroupValue (number): If Out Group is Custom/Manual, type the output group value in the box provided + - FlowStatOutPort (str(oFPP_IN_PORT | oFPP_NORMAL | oFPP_FLOOD | oFPP_ALL | oFPP_CONTROLLER | oFPP_LOCAL | oFPP_ANY | outPortCustom)): Specify the Output Port Type. The options are: 1) OFPP_IN_PORT 2) OFPP_NORMAL 3) OFPP_FLOOD 4) OFPP_ALL 5) OFPP_CONTROLLER 6) OFPP_LOCAL 7) OFPP_ANY 8) Custom/Manual + - FlowStatOutPortValue (number): If Out Port is Custom/Manual, type the output port value in the box provided. + - FlowStatResTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - FlowStatTableId (str(tableIdAllTables | tableIdCustom)): The identifier of the table. The options are: 1) All Tables 2) Custom/Manual + - FlowStatTableIdValue (number): If Table ID is Custom/ Manual, type the Table ID Number in the box given + - GroupDescResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received + - GroupFeatureResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received + - GroupStatIDType (str(oFPG_ALL | oFPG_ANY | manual)): The ID of the group used. The options are: 1) OFPG_ALL 2) OFPG_ANY 3) Manual + - GroupStatIDValue (number): If Group ID Type is selected as Manual, type the Group ID in the box provided + - GroupStatMatchCapability (bool): If selected, match capability is available + - GroupStatResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received + - MeterConfigMeterID (str(oFPM_CONTROLLER | oFPM_SLOWPATH | all | manual)): The ID of the meter used. The options are: 1) OFPM_SLOWPATH 2) OFPM_CONTROLLER 3) OFPM_All 4) Manual + - MeterConfigMeterIDManual (number): If Meter ID Type is selected as Manual, type the meter ID in the box provided + - MeterConfigResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - MeterFeatureStatResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - MeterStatMeterID (number): If Meter ID Type is selected as Manual, type the meter ID in the box provided + - MeterStatMeterIDType (str(oFPM_CONTROLLER | oFPM_SLOWPATH | all | manual)): The ID of the meter used. The options are: 1) OFPM_SLOWPATH 2) OFPM_CONTROLLER 3) OFPM_All 4) Manual + - MeterStatResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - PacketOutAuxiliaryID (number): The identifier of the auxiliary connection. + - PacketOutBufferID (number): If Buffer ID Type is selected as Manual, type the buffer ID in the box provided. + - PacketOutBufferIDType (str(oPF_NO_BUFFER | manual)): Specify the buffer identifier. The options are: 1) OPF_NO_BUFFER 2) Manual + - PacketOutInPort (number): If In Port Type is selected as Manual, type the input port type in the box provided. + - PacketOutInPortType (str(oFPP_CONTROLLER | oFPP_LOCAL | manual)): Specify the Input Port Type. The options are: 1) OFPP_CONTROLLER 2) OFPP_LOCAL 3) Manual + - PacketOutSendData (bool): If selected,the system sends packet out data. + - PortFeaturesResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - PortStatMatchCapability (bool): If selected, match capability is available. + - PortStatPortNumberType (str(oFPP_ANY | portNumberCustom)): Specify the port number. Options include: 1) OFPP_ANY 2) Manual/Custom + - PortStatPortNumberValue (number): If Port Number Type is selected as Custom/Manual, type the port number in the box provided + - PortStatResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - QueueConfigPortNumberType (str(oFPP_ANY | manual)): The number of the port used. The options are: 1) OFPP_ANY 2) Manual + - QueueConfigPortNumberValue (number): If Port Number Type is selected as Manual, type the port number in the box provided + - QueueConfigResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received + - QueueStatIDType (str(oFPQ_ALL | manual)): The unique queue identifier. The options are: 1) OFPQ_ALL 2) Manual + - QueueStatIDValue (number): If Queue ID Type is selected as Manual, type the queue ID in the box provided + - QueueStatMatchCapability (bool): If selected, match capability is available. + - QueueStatPortNumberType (str(oFPP_ANY | manual)): The number of the port used. The options are: 1) OFPP_ANY 2) Manual + - QueueStatPortNumberValue (number): If Port Number Type is selected as Manual, type the port number in the box provided + - QueueStatResponseTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - RoleType (str(noChange | equal | master | slave)): Specify the Role Type. The options are: 1) NoChange 2) Equal 3) Master 4) Slave + - SetAsyncConfig (bool): Un-checked state means getting the async config, Checked means setting asynchronous config with available parameters + - SetSwitchConfig (bool): If selected, the corresponding switch configuration parameters are available. This option is available only if Switch Config is selected. + - SwitchConfigDropFragments (bool): If selected, IP fragments are dropped. + - SwitchConfigMissSendLength (number): The length of the table-miss message sent. + - SwitchConfigReassembleFragments (bool): If selected, IP fragments are reassembled. + - SwitchConfigResTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - TableStatMatchCap (bool): If selected, match capability is available + - TableStatResTimeOut (number): The time in milliseconds after which the trigger request times out, if no response is received. + - VendorMsgExpType (number): The type of Experimenter + - VendorMsgId (number): The unique Vendor/Experimenter identifier + - VendorMsgSendData (bool): If selected,It sends vendor stat Data + - VendorStatExpType (number): The type of Experimenter + - VendorStatId (number): The unique Vendor/Experimenter identifier + - VendorStatResponseTimeOut (number): The time in milliseconds after which the trigger request times out if no response is received. + - VendorStatSendData (bool): If selected, the system sends vendor stat Data + + Returns + ------- + - self: This instance with matching oFChannelLearnedInfo resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of oFChannelLearnedInfo data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the oFChannelLearnedInfo resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) + + def SendOnDemandMessage(self, *args, **kwargs): + # type: (*Any, **Any) -> Union[List[str], None] + """Executes the sendOnDemandMessage operation on the server. + + Sends learned on demand messages for the OF Channels. + + sendOnDemandMessage(Arg2=list, async_operation=bool)list + -------------------------------------------------------- + - Arg2 (list(number)): List of OF Channels into the protocol plugin. An empty list indicates all instances in the plugin. + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + - Returns list(str): ID to associate each async action invocation + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = { "Arg1": self.href } + for i in range(len(args)): payload['Arg%s' % (i + 2)] = args[i] + for item in kwargs.items(): payload[item[0]] = item[1] + return self._execute('sendOnDemandMessage', payload=payload, response_object=None) + + def get_device_ids(self, PortNames=None, AsyncConfigFlowRemovedMaster=None, AsyncConfigFlowRemovedSlave=None, AsyncConfigPktInMaster=None, AsyncConfigPktInSlave=None, AsyncConfigPortStatusMaster=None, AsyncConfigPortStatusSlave=None, FlowAggrStatCookie=None, FlowAggrStatCookieMask=None, FlowStatCookie=None, FlowStatCookieMask=None, GenerationId=None, OnDemandMessages=None, PacketOutData=None, VendorMsgMessage=None, VendorStatMessage=None): + """Base class infrastructure that gets a list of oFChannelLearnedInfo device ids encapsulated by this object. + + Use the optional regex parameters in the method to refine the list of device ids encapsulated by this object. + + Args + ---- + - PortNames (str): optional regex of port names + - AsyncConfigFlowRemovedMaster (str): optional regex of asyncConfigFlowRemovedMaster + - AsyncConfigFlowRemovedSlave (str): optional regex of asyncConfigFlowRemovedSlave + - AsyncConfigPktInMaster (str): optional regex of asyncConfigPktInMaster + - AsyncConfigPktInSlave (str): optional regex of asyncConfigPktInSlave + - AsyncConfigPortStatusMaster (str): optional regex of asyncConfigPortStatusMaster + - AsyncConfigPortStatusSlave (str): optional regex of asyncConfigPortStatusSlave + - FlowAggrStatCookie (str): optional regex of flowAggrStatCookie + - FlowAggrStatCookieMask (str): optional regex of flowAggrStatCookieMask + - FlowStatCookie (str): optional regex of flowStatCookie + - FlowStatCookieMask (str): optional regex of flowStatCookieMask + - GenerationId (str): optional regex of generationId + - OnDemandMessages (str): optional regex of onDemandMessages + - PacketOutData (str): optional regex of packetOutData + - VendorMsgMessage (str): optional regex of vendorMsgMessage + - VendorStatMessage (str): optional regex of vendorStatMessage + + Returns + ------- + - list(int): A list of device ids that meets the regex criteria provided in the method parameters + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._get_ngpf_device_ids(locals()) diff --git a/uhd_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/packetoutactionprofile_7087734f0df99cfe7bfd9afab773a120.py b/uhd_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/packetoutactionprofile_7087734f0df99cfe7bfd9afab773a120.py new file mode 100644 index 000000000..7e7821363 --- /dev/null +++ b/uhd_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/packetoutactionprofile_7087734f0df99cfe7bfd9afab773a120.py @@ -0,0 +1,192 @@ +# MIT LICENSE +# +# Copyright 1997 - 2020 by IXIA Keysight +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +import sys +from uhd_restpy.base import Base +from uhd_restpy.files import Files +if sys.version_info >= (3, 5): + from typing import List, Any, Union + + +class PacketOutActionProfile(Base): + """Action Profile + The PacketOutActionProfile class encapsulates a list of packetOutActionProfile resources that are managed by the system. + A list of resources can be retrieved from the server using the PacketOutActionProfile.find() method. + """ + + __slots__ = () + _SDM_NAME = 'packetOutActionProfile' + _SDM_ATT_MAP = { + 'Count': 'count', + 'DescriptiveName': 'descriptiveName', + 'Name': 'name', + } + _SDM_ENUM_MAP = { + } + + def __init__(self, parent, list_op=False): + super(PacketOutActionProfile, self).__init__(parent, list_op) + + @property + def ActionList(self): + """ + Returns + ------- + - obj(uhd_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.actionlist_57354c012aa6110e6483c4eaf33a2438.ActionList): An instance of the ActionList class + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + from uhd_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.actionlist_57354c012aa6110e6483c4eaf33a2438 import ActionList + if len(self._object_properties) > 0: + if self._properties.get('ActionList', None) is not None: + return self._properties.get('ActionList') + return ActionList(self) + + @property + def Count(self): + # type: () -> int + """ + Returns + ------- + - number: Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. + """ + return self._get_attribute(self._SDM_ATT_MAP['Count']) + + @property + def DescriptiveName(self): + # type: () -> str + """ + Returns + ------- + - str: Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. + """ + return self._get_attribute(self._SDM_ATT_MAP['DescriptiveName']) + + @property + def Name(self): + # type: () -> str + """ + Returns + ------- + - str: Name of NGPF element, guaranteed to be unique in Scenario + """ + return self._get_attribute(self._SDM_ATT_MAP['Name']) + @Name.setter + def Name(self, value): + # type: (str) -> None + self._set_attribute(self._SDM_ATT_MAP['Name'], value) + + def update(self, Name=None): + # type: (str) -> PacketOutActionProfile + """Updates packetOutActionProfile resource on the server. + + Args + ---- + - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._update(self._map_locals(self._SDM_ATT_MAP, locals())) + + def add(self, Name=None): + # type: (str) -> PacketOutActionProfile + """Adds a new packetOutActionProfile resource on the json, only valid with batch add utility + + Args + ---- + - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + + Returns + ------- + - self: This instance with all currently retrieved packetOutActionProfile resources using find and the newly added packetOutActionProfile resources available through an iterator or index + + Raises + ------ + - Exception: if this function is not being used with config assistance + """ + return self._add_xpath(self._map_locals(self._SDM_ATT_MAP, locals())) + + def find(self, Count=None, DescriptiveName=None, Name=None): + # type: (int, str, str) -> PacketOutActionProfile + """Finds and retrieves packetOutActionProfile resources from the server. + + All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve packetOutActionProfile resources from the server. + To retrieve an exact match ensure the parameter value starts with ^ and ends with $ + By default the find method takes no parameters and will retrieve all packetOutActionProfile resources from the server. + + Args + ---- + - Count (number): Number of elements inside associated multiplier-scaled container object, e.g. number of devices inside a Device Group. + - DescriptiveName (str): Longer, more descriptive name for element. It's not guaranteed to be unique like -name-, but may offer more context. + - Name (str): Name of NGPF element, guaranteed to be unique in Scenario + + Returns + ------- + - self: This instance with matching packetOutActionProfile resources retrieved from the server available through an iterator or index + + Raises + ------ + - ServerError: The server has encountered an uncategorized error condition + """ + return self._select(self._map_locals(self._SDM_ATT_MAP, locals())) + + def read(self, href): + """Retrieves a single instance of packetOutActionProfile data from the server. + + Args + ---- + - href (str): An href to the instance to be retrieved + + Returns + ------- + - self: This instance with the packetOutActionProfile resources from the server available through an iterator or index + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + return self._read(href) + + def AddFromTemplate(self, *args, **kwargs): + # type: (*Any, **Any) -> None + """Executes the addFromTemplate operation on the server. + + Creates a Match Action prototype supported by the template. + + addFromTemplate(Arg2=href, async_operation=bool) + ------------------------------------------------ + - Arg2 (str(None | /api/v1/sessions/1/ixnetwork//.../*)): + - async_operation (bool=False): True to execute the operation asynchronously. Any subsequent rest api calls made through the Connection class will block until the operation is complete. + + Raises + ------ + - NotFoundError: The requested resource does not exist on the server + - ServerError: The server has encountered an uncategorized error condition + """ + payload = { "Arg1": self.href } + for i in range(len(args)): payload['Arg%s' % (i + 2)] = args[i] + for item in kwargs.items(): payload[item[0]] = item[1] + return self._execute('addFromTemplate', payload=payload, response_object=None) diff --git a/uhd_restpy/testplatform/sessions/ixnetwork/topology/lightweightdhcp6relaytlvprofile_987f303b51886f2a61c9c1388518f037.py b/uhd_restpy/testplatform/sessions/ixnetwork/topology/lightweightdhcp6relaytlvprofile_987f303b51886f2a61c9c1388518f037.py index 8d4294fcf..9777c61d5 100644 --- a/uhd_restpy/testplatform/sessions/ixnetwork/topology/lightweightdhcp6relaytlvprofile_987f303b51886f2a61c9c1388518f037.py +++ b/uhd_restpy/testplatform/sessions/ixnetwork/topology/lightweightdhcp6relaytlvprofile_987f303b51886f2a61c9c1388518f037.py @@ -49,13 +49,13 @@ def TlvProfile(self): """ Returns ------- - - obj(uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c.TlvProfile): An instance of the TlvProfile class + - obj(uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26.TlvProfile): An instance of the TlvProfile class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c import TlvProfile + from uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26 import TlvProfile if len(self._object_properties) > 0: if self._properties.get('TlvProfile', None) is not None: return self._properties.get('TlvProfile') diff --git a/uhd_restpy/testplatform/sessions/ixnetwork/topology/mplsoam_e01bb6affe899a4731aa60619f4aeadc.py b/uhd_restpy/testplatform/sessions/ixnetwork/topology/mplsoam_e01bb6affe899a4731aa60619f4aeadc.py index 482407668..957f28e5b 100644 --- a/uhd_restpy/testplatform/sessions/ixnetwork/topology/mplsoam_e01bb6affe899a4731aa60619f4aeadc.py +++ b/uhd_restpy/testplatform/sessions/ixnetwork/topology/mplsoam_e01bb6affe899a4731aa60619f4aeadc.py @@ -106,13 +106,13 @@ def LearnedInfoUpdate(self): """ Returns ------- - - obj(uhd_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.learnedinfoupdate_b6503122c0a4a58877467964920e27b5.LearnedInfoUpdate): An instance of the LearnedInfoUpdate class + - obj(uhd_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.learnedinfoupdate_f0f5d88734eb95208b4f723819a57481.LearnedInfoUpdate): An instance of the LearnedInfoUpdate class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from uhd_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.learnedinfoupdate_b6503122c0a4a58877467964920e27b5 import LearnedInfoUpdate + from uhd_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.learnedinfoupdate_f0f5d88734eb95208b4f723819a57481 import LearnedInfoUpdate if len(self._object_properties) > 0: if self._properties.get('LearnedInfoUpdate', None) is not None: return self._properties.get('LearnedInfoUpdate') diff --git a/uhd_restpy/testplatform/sessions/ixnetwork/topology/openflowcontroller_855b90b006cc4c874a779dee4d2b3eb2.py b/uhd_restpy/testplatform/sessions/ixnetwork/topology/openflowcontroller_855b90b006cc4c874a779dee4d2b3eb2.py index 595fad3fd..8b296b67d 100644 --- a/uhd_restpy/testplatform/sessions/ixnetwork/topology/openflowcontroller_855b90b006cc4c874a779dee4d2b3eb2.py +++ b/uhd_restpy/testplatform/sessions/ixnetwork/topology/openflowcontroller_855b90b006cc4c874a779dee4d2b3eb2.py @@ -114,13 +114,13 @@ def LearnedInfoUpdate(self): """ Returns ------- - - obj(uhd_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.learnedinfoupdate_b6503122c0a4a58877467964920e27b5.LearnedInfoUpdate): An instance of the LearnedInfoUpdate class + - obj(uhd_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.learnedinfoupdate_c16222bcf67d5a605c480c375e0fa938.LearnedInfoUpdate): An instance of the LearnedInfoUpdate class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from uhd_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.learnedinfoupdate_b6503122c0a4a58877467964920e27b5 import LearnedInfoUpdate + from uhd_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.learnedinfoupdate_c16222bcf67d5a605c480c375e0fa938 import LearnedInfoUpdate if len(self._object_properties) > 0: if self._properties.get('LearnedInfoUpdate', None) is not None: return self._properties.get('LearnedInfoUpdate') diff --git a/uhd_restpy/testplatform/sessions/ixnetwork/topology/pccgroup_38d4bb7f936743f9bf59e702af0766bb.py b/uhd_restpy/testplatform/sessions/ixnetwork/topology/pccgroup_38d4bb7f936743f9bf59e702af0766bb.py index 5b6d395d3..e63765036 100644 --- a/uhd_restpy/testplatform/sessions/ixnetwork/topology/pccgroup_38d4bb7f936743f9bf59e702af0766bb.py +++ b/uhd_restpy/testplatform/sessions/ixnetwork/topology/pccgroup_38d4bb7f936743f9bf59e702af0766bb.py @@ -96,13 +96,13 @@ def LearnedInfoUpdate(self): """ Returns ------- - - obj(uhd_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.learnedinfoupdate_b6503122c0a4a58877467964920e27b5.LearnedInfoUpdate): An instance of the LearnedInfoUpdate class + - obj(uhd_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.learnedinfoupdate_dd43ce3af7af258dc032dc87aa945c8b.LearnedInfoUpdate): An instance of the LearnedInfoUpdate class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from uhd_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.learnedinfoupdate_b6503122c0a4a58877467964920e27b5 import LearnedInfoUpdate + from uhd_restpy.testplatform.sessions.ixnetwork.topology.learnedinfo.learnedinfoupdate_dd43ce3af7af258dc032dc87aa945c8b import LearnedInfoUpdate if len(self._object_properties) > 0: if self._properties.get('LearnedInfoUpdate', None) is not None: return self._properties.get('LearnedInfoUpdate') diff --git a/uhd_restpy/testplatform/sessions/ixnetwork/topology/pppoxclient_57c51b5ca094121e33c3a9ba5033980f.py b/uhd_restpy/testplatform/sessions/ixnetwork/topology/pppoxclient_57c51b5ca094121e33c3a9ba5033980f.py index 1e97720da..d2b58aa40 100644 --- a/uhd_restpy/testplatform/sessions/ixnetwork/topology/pppoxclient_57c51b5ca094121e33c3a9ba5033980f.py +++ b/uhd_restpy/testplatform/sessions/ixnetwork/topology/pppoxclient_57c51b5ca094121e33c3a9ba5033980f.py @@ -538,13 +538,13 @@ def TlvProfile(self): """ Returns ------- - - obj(uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c.TlvProfile): An instance of the TlvProfile class + - obj(uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26.TlvProfile): An instance of the TlvProfile class Raises ------ - ServerError: The server has encountered an uncategorized error condition """ - from uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_69db000d3ef3b060f5edc387b878736c import TlvProfile + from uhd_restpy.testplatform.sessions.ixnetwork.topology.tlvprofile.tlvprofile_421be1db953efaf826fe146cf9700e26 import TlvProfile if len(self._object_properties) > 0: if self._properties.get('TlvProfile', None) is not None: return self._properties.get('TlvProfile') diff --git a/uhd_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/tlvprofile_69db000d3ef3b060f5edc387b878736c.py b/uhd_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/tlvprofile_421be1db953efaf826fe146cf9700e26.py similarity index 100% rename from uhd_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/tlvprofile_69db000d3ef3b060f5edc387b878736c.py rename to uhd_restpy/testplatform/sessions/ixnetwork/topology/tlvprofile/tlvprofile_421be1db953efaf826fe146cf9700e26.py diff --git a/uhd_restpy/testplatform/sessions/sessions.py b/uhd_restpy/testplatform/sessions/sessions.py index ed498ce38..7909f2ed3 100644 --- a/uhd_restpy/testplatform/sessions/sessions.py +++ b/uhd_restpy/testplatform/sessions/sessions.py @@ -154,7 +154,7 @@ def Name(self, value): elif self._connection.platform == "linux" and "name" not in self._properties: if "sessionName" in self._properties: self._properties["name"] = self._properties["sessionName"] - else: + elif "configName" in self._properties: self._properties["name"] = self._properties["configName"] def Start(self): diff --git a/uhd_restpy/testplatform/testplatform.py b/uhd_restpy/testplatform/testplatform.py index b195bfcbb..b022da78b 100644 --- a/uhd_restpy/testplatform/testplatform.py +++ b/uhd_restpy/testplatform/testplatform.py @@ -52,6 +52,7 @@ def __init__( verify_cert=False, trace=TRACE_NONE, script_watch=True, + url_prefix=None, ): """Establishes an initial connection to an IxNetwork test tool platform. Currently supported platforms are Linux API Server, Windows GUI and ConnectionManager. @@ -69,6 +70,7 @@ def __init__( - verify_cert (bool): enable this flag to verify the certificate - trace (str(none|info|warning|request|request_response|all)): set the tracing level of requests and responses. - script_watch (bool): disable this to not have REST API requests logged with the server script watch + - url_prefix (str): Some appliances (like novus-mini) needs url prefix in their rest url nomenclature Raises ------ @@ -84,6 +86,7 @@ def __init__( verify_cert, trace, script_watch, + url_prefix, ) self._uid = "" self._set_default_href() @@ -102,13 +105,14 @@ def _set_default_href(self, href="/api/v1"): } self._set_properties(properties, clear=True) - def Authenticate(self, uid, pwd): + def Authenticate(self, uid, pwd, ignore_policy=True): """Set the X-Api-Key by authenticating against the connected TestPlatform Args ---- - uid (str): The userid to be authenticated - pwd (str): The password to be authenticated + - ignore_policy (bool): The flag to ignore strong password policy, default value is True Raises ------ @@ -116,7 +120,10 @@ def Authenticate(self, uid, pwd): - ServerError: The server has encountered an uncategorized error condition """ self._set_default_href("/api/v1/auth/session") - response = self._execute(None, payload={"username": uid, "password": pwd}) + response = self._execute( + None, + payload={"username": uid, "password": pwd, "ignorePolicy": ignore_policy}, + ) self.ApiKey = response["apiKey"] self._uid = uid self._set_default_href() diff --git a/version.txt b/version.txt index a5e428299..9695327b3 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -1.1.9 \ No newline at end of file +1.1.10 \ No newline at end of file